Repository navigation
Commit 02ad7c3
committed
Opt in to npm v11 supply-chain security features
Mirrors #78191 (min-release-age): contributors running npm v11 get the
hardening locally, while npm v10 (still used in CI) ignores the settings.
- .npmrc: allow-git=none, allow-remote=none
- package.json: allowScripts deny-by-default policy; esbuild is allowed
to avoid npm/cli#9681 (denying a script also drops the package's bin link)
- package-lock.json: drop a stale extraneous esbuild entry
strict-allow-scripts is intentionally left off until CI runs npm v11.1 parent 5aafb79 commit 02ad7c3
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
226 | 237 | | |
0 commit comments