chore(deps): update claude-code to v2.0.21

- Bumped `claude-code` package version from `2.0.11` to `2.0.21`.
- Updated `package-lock.json`, hashes, and dependencies for consistency.
This commit is contained in:
Harald Hoyer 2025-10-17 17:37:58 +02:00
parent 1b554f5a46
commit 1616faa66f
2 changed files with 7 additions and 7 deletions

View file

@ -6,13 +6,13 @@
"packages": {
"": {
"dependencies": {
"@anthropic-ai/claude-code": "^2.0.11"
"@anthropic-ai/claude-code": "^2.0.21"
}
},
"node_modules/@anthropic-ai/claude-code": {
"version": "2.0.11",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.0.11.tgz",
"integrity": "sha512-DBQd5znEJn11JsmqFOhjTeSO6oihxPkl9KiHxsvc1kbyQKUNVRLFnaAjUfGUOktmWLN+d7e3vbIRKhHtXoA0BQ==",
"version": "2.0.21",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.0.21.tgz",
"integrity": "sha512-02NcxPVjioLjo4/djzIt4aAYkYqnZsHgdzgMexLURYLR9q1+B+OLkKddKwOHL8fas3WnUGV1oyybu73BfHqQ4A==",
"license": "SEE LICENSE IN README.md",
"bin": {
"claude": "cli.js"

View file

@ -7,16 +7,16 @@
buildNpmPackage rec {
pname = "claude-code";
version = "2.0.11";
version = "2.0.21";
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-h+xNtaA2X9uFlmQgaRUEXB0utIpC9FT2tn+QnnWMVSs=";
hash = "sha256-sX9btcy9uEHloAQNvCJFhwh0U/W14NWz2FjkdLXm1Q0=";
};
npmDepsHash = "sha256-JBr3w0rnvqRFwUbdmo6B1MgijiMzXF4VZm7eRpxnVCM=";
npmDepsHash = "sha256-LBc1M3FwWg6SP+p7GQ00LQfiYyhmU1OzsohDu6rukjA=";
postPatch = ''
cp ${./package-lock.json} package-lock.json