Skip to content

Commit 288d757

Browse files
authored
security(.npmrc): ignore npm scripts (#3805)
After the recent supply chain attacks that use install scripts, this simple update prevents the automatic installation of npm scripts for maintainers and contributors. - There is no security fault, this is just a precaution. - The end user isn't affected by this change.
1 parent 430dba7 commit 288d757

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ lib-cov
99
.DS_Store
1010
.idea/
1111
.vscode/
12-
.npmrc
1312
coverage/
1413
mysqldata/
1514

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore-scripts=true

0 commit comments

Comments
 (0)