Skip to content

Commit daadc68

Browse files
layershifterclaude
andauthored
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

File tree

.yarn/releases/yarn-4.15.0.cjs

Lines changed: 940 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-4.3.1.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ compressionLevel: mixed
22

33
enableGlobalCache: false
44

5+
enableScripts: false
6+
57
nodeLinker: node-modules
68

7-
yarnPath: .yarn/releases/yarn-4.3.1.cjs
9+
npmMinimalAgeGate: 1d
10+
11+
yarnPath: .yarn/releases/yarn-4.15.0.cjs

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"packages/*",
1313
"tools/*"
1414
],
15-
"packageManager": "yarn@4.3.1",
15+
"packageManager": "yarn@4.15.0",
1616
"engines": {
1717
"node": ">=24"
1818
},

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Manual changes might be lost - proceed with caution!
33

44
__metadata:
5-
version: 8
5+
version: 10
66
cacheKey: 10
77

88
"@-xun/debug@npm:^2.0.2":
@@ -24842,11 +24842,11 @@ __metadata:
2484224842

2484324843
"typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A~5.9.2#optional!builtin<compat/typescript>":
2484424844
version: 5.9.3
24845-
resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=379a07"
24845+
resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=5786d5"
2484624846
bin:
2484724847
tsc: bin/tsc
2484824848
tsserver: bin/tsserver
24849-
checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7
24849+
checksum: 10/696e1b017bc2635f4e0c94eb4435357701008e2f272f553d06e35b494b8ddc60aa221145e286c28ace0c89ee32827a28c2040e3a69bdc108b1a5dc8fb40b72e3
2485024850
languageName: node
2485124851
linkType: hard
2485224852

0 commit comments

Comments
 (0)