Skip to content

fix: respect allowScripts policy in prune, dedupe, uninstall, audit, and link#9456

Open
JamieMagee wants to merge 1 commit into
npm:latestfrom
JamieMagee:fix/9435-respect-allow-scripts
Open

fix: respect allowScripts policy in prune, dedupe, uninstall, audit, and link#9456
JamieMagee wants to merge 1 commit into
npm:latestfrom
JamieMagee:fix/9435-respect-allow-scripts

Conversation

@JamieMagee
Copy link
Copy Markdown
Contributor

These commands built Arborist options without resolving the package.json allowScripts policy, so they warned about install scripts that were already approved. They now resolve the policy the same way install, ci, and update do.

References

Fixes #9435
Superseded #9438

@JamieMagee JamieMagee requested review from a team as code owners June 1, 2026 21:24
@JamieMagee JamieMagee changed the title fix: respect allowScripts policy in prune, dedupe, uninstall, audit fix, and link fix: respect allowScripts policy in prune, dedupe, uninstall, audit, and link Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] allowsScripts not respected by prune command

2 participants