Disable npm lifecycle scripts and security hardening improvements#10176
Merged
tobias-jarvelov merged 5 commits intomainfrom Apr 23, 2026
Merged
Disable npm lifecycle scripts and security hardening improvements#10176tobias-jarvelov merged 5 commits intomainfrom
npm lifecycle scripts and security hardening improvements#10176tobias-jarvelov merged 5 commits intomainfrom
Conversation
894c433 to
2faf3b2
Compare
9fc5dc0 to
dcb8a1b
Compare
65ef8f4 to
6f1139a
Compare
dcb8a1b to
fc82d0c
Compare
olmoh
reviewed
Apr 21, 2026
npm lifecycle scriptsnpm lifecycle scripts and security hardening improvements
a287deb to
318a85c
Compare
olmoh
approved these changes
Apr 22, 2026
455abff to
e6f3c9c
Compare
e6f3c9c to
765cf12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will:
npmto 11.12.1.npmrcto:npmlifecycle scripts, i.e.preinstall,postinstallet al. (ignore-scripts)min-release-age)gitdependencies. (allow-git)gitdependencies is that the repository could contain a.npmrcfile which could override the path to thegitbinary, which would allow for execution of arbitrary binaries.ciandinstallnpm scripts todesktop/package.jsonto replace their counterparts.npm ciandnpm installtonpm run ciandnpm run installrespectively.Edit:
Pushed a tag for a test build:
test-disable-npm-lifecycle-scriptsThis change is