Skip to content
Closed
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
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.266",

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 bumps @anthropic-ai/claude-code to 2.1.266, but the version-pinned allowScripts entry below (line 43) still names the old version:

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

npm 12's lifecycle-script gate keys allowScripts approvals by exact name@version. Since that key no longer matches the installed version, @anthropic-ai/claude-code@2.1.266's postinstall script will be silently blocked on the next npm ci/npm install — non-fatally (a log.warn, not a failed install), so CI stays green while the script quietly stops running.

This isn't a hypothetical stack default: the allowScripts entry was deliberately added in 2d35b3f specifically because .github/workflows/dependabot.yml's investigate job invokes this CLI directly via npx claude, so the postinstall script "genuinely needs to run." This PR reintroduces the exact gap that commit closed.

Suggested fix — update line 43 to:

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

(and separately bump "@anthropic-ai/claude-code@2.1.259": true"@anthropic-ai/claude-code@2.1.266": true on line 43, outside this diff's hunk)

Since the automatic-fix pass is off for this run: @claude please update the allowScriptskey on line 43 of package.json from"@anthropic-ai/claude-code@2.1.259": trueto"@anthropic-ai/claude-code@2.1.266": true to match this bump.

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