microsoft / microsoft/component-detection
NpmComponentDetector doesnt detect dependencies
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 553
- Forks
- 135
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 6
Description
From reading the Readme I was under the impression that the `NpmComponentDetector` detect the packages under the package.json "dependencies" field.
from reading the source it seems it only extract the name of the package and not its dependencies.
is this intended?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README description of NpmComponentDetector and inspect its source, focusing on how package.json and its "dependencies" field are handled. Compare the documented behavior with the implementation and establish whether dependency extraction is expected; done means the intended behavior is clear and, if missing, covered by an existing or new test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100