Commit b93f8d4
authored
Added check and fix for global --install.ignore-scripts yarn config (#1451)
ref https://linear.app/ghost/issue/PRO-1540/
- there have been multiple recent npm incidents with compromised
packages using pre/post-install scripts to run malicious scripts
- we want to default to not running these scripts as a security
precaution, this matches behaviour of pnpm which is touted as a modern,
more secure, npm package manager1 parent acc6097 commit b93f8d4
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments