Skip to content

Remove legacy NodeAuditAnalyzer dependency on NPM audit v1 API#8428

Closed
marcelstoer wants to merge 1 commit intodependency-check:mainfrom
marcelstoer:feature/yarn-classic-npm-cli
Closed

Remove legacy NodeAuditAnalyzer dependency on NPM audit v1 API#8428
marcelstoer wants to merge 1 commit intodependency-check:mainfrom
marcelstoer:feature/yarn-classic-npm-cli

Conversation

@marcelstoer
Copy link
Copy Markdown
Collaborator

Description of Change

Stop going to https://registry.npmjs.org/-/npm/v1/security/audits and parse the audit locally instead for Yarn classic (v1, non-berry).

Related issues

Fixes #8422

Have test cases been added to cover the new functionality?

yes

@boring-cyborg boring-cyborg Bot added core changes to core tests test cases utils changes to utils labels Apr 16, 2026
@marcelstoer marcelstoer requested a review from chadlwilson April 16, 2026 13:01
@chadlwilson
Copy link
Copy Markdown
Collaborator

I don’t understand this. You can’t use npm CLI to interact with a yarn project?

@marcelstoer marcelstoer marked this pull request as draft April 16, 2026 13:23
@marcelstoer
Copy link
Copy Markdown
Collaborator Author

🙈 I kept storming forward with my head down on a path that leads nowhere. Hasn't happened in quite a while that I ignored "if you want to be fast, you have to go slow". I'll need to start over.

@chadlwilson
Copy link
Copy Markdown
Collaborator

Well, that might be the right path for NodeAuditAnalyzer for the NPM projects?

And we can have a separate conversation in #8423 about whether we should support Yarn v1 at all, so just drop the yarn related changes from here for now?

I haven't actually looked at the rest, just confused by the Yarn stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core changes to core tests test cases utils changes to utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove legacy NodeAuditAnalyzer dependency on NPM audit legacy /quick API

2 participants