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.273",

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 updates the devDependencies entry to 2.1.273 but misses the matching allowScripts key further down this same file (line 43), which still pins the old version:

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

That key was introduced deliberately in 2d35b3f ("build(deps): adopt @exadev/eslint-config and bump to npm 12.0.2") specifically to approve @anthropic-ai/claude-code's postinstall script under npm 12's lifecycle-script gate — the commit message notes the dependabot.yml investigate job invokes this CLI directly via npx claude and the script "genuinely needs to run." Since allowScripts is keyed by exact package@version string, leaving it at 2.1.259 means npm 12 will block the postinstall script for the newly-installed 2.1.273, silently breaking whatever that script does for the investigate job going forward.

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

Since the automatic-fix pass is off for this run: @claude fix package.json's allowScripts key to pin @anthropic-ai/claude-code@2.1.273 instead of 2.1.259, matching the devDependencies bump in this PR.

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