jamiem·w zeszłym miesiącu·discussMajor npm version bumps have landed mid-stream for node in the past: v18.19.0[1] and v20.10.0[2] bumped npm 9 to 10.[1]: https://nodejs.org/en/blog/release/v18.19.0#npm-updated-to-v... [2]: https://nodejs.org/en/blog/release/v20.10.0
jamiem·w zeszłym miesiącu·discussEither pass the --allow-scripts=<pkg> flag with npx or npm install -g, or set allow-scripts=<pkg> in .npmrc
jamiem·w zeszłym miesiącu·discussYes, all install scripts will be disabled by default regardless of if they are from direct or transitive dependencies.But if you're already following the os + cpu + optionalDependencies model to distribute your precompiled binaries you should be fine.
[1]: https://nodejs.org/en/blog/release/v18.19.0#npm-updated-to-v... [2]: https://nodejs.org/en/blog/release/v20.10.0