Skip to content

feat: override pnpm audit registry parameter#8158

Merged
jeremylong merged 1 commit intodependency-check:mainfrom
fdlk:fix/pnpm-audit-registry-override
Dec 2, 2025
Merged

feat: override pnpm audit registry parameter#8158
jeremylong merged 1 commit intodependency-check:mainfrom
fdlk:fix/pnpm-audit-registry-override

Conversation

@fdlk
Copy link
Copy Markdown
Contributor

@fdlk fdlk commented Nov 28, 2025

Description of Change

Allows overriding the value of the --registry parameter that is passed to pnpm audit.
The current behavior always goes to https://registry.npmjs.org/ which is not always allowed.

Related issues

Have test cases been added to cover the new functionality?

no

@boring-cyborg boring-cyborg bot added core changes to core utils changes to utils labels Nov 28, 2025
@chadlwilson
Copy link
Copy Markdown
Collaborator

Additional changes will be needed to expose to cli, plugins etc (via their native config) and their docs I guess.

@jeremylong
Copy link
Copy Markdown
Collaborator

@chadlwilson if someone wants to expose these they can submit a PR. It is possible to override the default now using the properties mechanisms built into the various integrations.

@jeremylong jeremylong merged commit 5a5990e into dependency-check:main Dec 2, 2025
5 checks passed
@jeremylong jeremylong added this to the 12.2.0 milestone Dec 2, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core utils changes to utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pnpm Audit Analyzer registry url

3 participants