Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction to my comment on line 20 above: please disregard both suggestion blocks in that comment — a GitHub suggestion always replaces the exact line(s) the comment is anchored to (line 20), so the second block (showing the allowScripts fix) would incorrectly overwrite the devDependencies version line if applied, and the first is a no-op since line 20 already reads 2.1.268. The allowScripts fix still needs to be applied by hand, since it's outside this diff's hunk and can't be anchored directly:

   "allowScripts": {
-    "@anthropic-ai/claude-code@2.1.259": true
+    "@anthropic-ai/claude-code@2.1.268": true
   }

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"format:check": "prettier --check ."
},
"devDependencies": {
"@anthropic-ai/claude-code": "2.1.259",
"@anthropic-ai/claude-code": "2.1.268",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Should fix [policy]

This bump orphans the allowScripts entry at line 43, which pins the postinstall-script allowlist to the old exact version:

"allowScripts": {
  "@anthropic-ai/claude-code@2.1.259": true
}

npm 12's lifecycle-script gate (this repo's own packageManager: npm@12.0.2...) matches allowScripts keys by exact name@version. After this bump, 2.1.268 no longer matches the allowlisted 2.1.259, so @anthropic-ai/claude-code's postinstall script will be silently blocked again on any npm ci/npm install — including in .github/workflows/dependabot.yml's investigate job and every npm ci step in ci.yml.

This field was added deliberately in 2d35b3f specifically so this CLI's postinstall script keeps working under the new npm 12 lifecycle-script gate ("the dependabot investigate job invokes this CLI directly via npx, so the script genuinely needs to run"). This PR's version bump silently undoes that fix.

Suggested change
"@anthropic-ai/claude-code": "2.1.268",
"@anthropic-ai/claude-code": "2.1.268",

Please also update line 43:

Suggested change
"@anthropic-ai/claude-code": "2.1.268",
"@anthropic-ai/claude-code@2.1.268": true

"@commitlint/cli": "21.2.2",
"@commitlint/config-conventional": "21.2.2",
"@eslint/json": "2.1.0",
Expand Down
Loading