You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allowScripts tooling and inBundle hardening (backportable)
Behavior-neutral additive tooling split out of #9424 so it can land on
v11 without the v12 default-deny flip:
- arborist: add collectUnreviewedScripts() + strictAllowScriptsError
(ESTRICTALLOWSCRIPTS) helpers in unreviewed-scripts.js
- arborist: isScriptAllowed() returns null for bundled deps; propagate
inBundle through isolated reifier / isolated-classes
- libnpmexec: opt-in strict-allow-scripts preflight (only under
--strict-allow-scripts); no default behavior change
- cli: rewrite check-allow-scripts as a wrapper over
collectUnreviewedScripts; exclude bundled deps from rebuild/runAll
- tests for all of the above
No default install-script behavior changes; the default-deny gate stays
in #9424 for v12.
0 commit comments