Commit daadc68
chore: bump Yarn to 4.15.0 and harden install config (#965)
* chore: bump Yarn to 4.15.0 and harden install config
- Bump Yarn from 4.3.1 to 4.15.0 (latest v4 stable)
- Add enableScripts: false to skip dependency lifecycle scripts
- Add npmMinimalAgeGate: "1d" to require packages be at least 1 day old
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore: regenerate lockfile for Yarn 4.15
- Bumps lockfile cacheKey 8 -> 10 (required because `yarn install
--immutable` in CI refuses to migrate the lockfile on its own).
- Yarn 4.15 also auto-added `approvedGitRepositories: ["**"]` to
.yarnrc.yml as part of its hardened-mode safelist for git deps;
`["**"]` preserves existing behavior.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore: drop yarn-auto-added approvedGitRepositories
Yarn 4.15 auto-injected approvedGitRepositories: ["**"] during install,
but the repo has no git: protocol deps. Removing keeps the hardened
default (no arbitrary git URL installs allowed).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent cf288a8 commit daadc68
5 files changed
Lines changed: 949 additions & 899 deletions
Large diffs are not rendered by default.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
24842 | 24842 | | |
24843 | 24843 | | |
24844 | 24844 | | |
24845 | | - | |
| 24845 | + | |
24846 | 24846 | | |
24847 | 24847 | | |
24848 | 24848 | | |
24849 | | - | |
| 24849 | + | |
24850 | 24850 | | |
24851 | 24851 | | |
24852 | 24852 | | |
| |||
0 commit comments