Skip to content

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

Merged
owlstronaut merged 1 commit into
npm:latestfrom
JamieMagee:fix/9435-respect-allow-scripts
Jun 2, 2026
Merged

fix: respect allowScripts policy in prune, dedupe, uninstall, audit, and link#9456
owlstronaut merged 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
@owlstronaut owlstronaut merged commit 75bf7de into npm:latest Jun 2, 2026
22 of 23 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

🎉 Backport to release/v11 created: #9462

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