Repository navigation
Commit fe9534d
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 484eecc commit fe9534d
3 files changed
Lines changed: 16 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| 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