Skip to content

feat(install-scripts): prune unused allowScripts entries#9662

Merged
owlstronaut merged 1 commit into
release/v11from
backport/v11/9651
Jun 25, 2026
Merged

feat(install-scripts): prune unused allowScripts entries#9662
owlstronaut merged 1 commit into
release/v11from
backport/v11/9651

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #9651 to release/v11.

`npm install-scripts prune` removes `allowScripts` entries that no
longer apply: the package isn't installed, or it no longer has an
install script. Covers both approvals and denials, and `--dry-run`
previews without writing.

Closes #9561

(cherry picked from commit c4e5356)
@owlstronaut owlstronaut merged commit 9420673 into release/v11 Jun 25, 2026
55 checks passed
@owlstronaut owlstronaut deleted the backport/v11/9651 branch June 25, 2026 16:11
@github-actions github-actions Bot mentioned this pull request Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants