Skip to content

Commit 634d862

Browse files
sirdeggenclaude
andcommitted
chore: upgrade Node 22→24, asyncapi-generator 2→3, fix tar vuln
- CI and release workflows: node-version 22 → 24 (Node 24 is Active LTS) - Root engines field: >=20 → >=24 - @asyncapi/generator: ^2.8.4 → ^3.2.1 (requires Node 24+) - scripts/generate-asyncapi-html.mjs: use named import { Generator } - pnpm override tar >=7.5.8: forces patched tar across sqlite3@5.1.7 chain - sync-versions: bump wallet-toolbox deps from ^2.1.22 → ^2.1.24 Eliminates all 6 high-severity audit findings (tar CVEs). Remaining 9 are moderate/low in dev-only toolchain with no patches available upstream. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0bc61fe commit 634d862

9 files changed

Lines changed: 664 additions & 652 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
node-version: [22.x]
15+
node-version: [24.x]
1616

1717
steps:
1818
- uses: actions/checkout@v6
@@ -53,7 +53,7 @@ jobs:
5353
- uses: pnpm/action-setup@v6
5454
- uses: actions/setup-node@v6
5555
with:
56-
node-version: 22
56+
node-version: 24
5757
cache: pnpm
5858

5959
- run: pnpm install --ignore-scripts

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v6
2222
with:
23-
node-version: 22
23+
node-version: 24
2424
registry-url: https://registry.npmjs.org
2525
cache: pnpm
2626

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
"docs:preview": "pnpm --filter docs-site preview"
1717
},
1818
"devDependencies": {
19-
"@asyncapi/generator": "^2.8.4",
19+
"@asyncapi/generator": "^3.2.1",
2020
"@asyncapi/html-template": "^3.5.6"
2121
},
2222
"engines": {
23-
"node": ">=20",
23+
"node": ">=24",
2424
"pnpm": ">=9"
2525
},
2626
"packageManager": "pnpm@9.0.0",
2727
"pnpm": {
2828
"overrides": {
2929
"jest-environment-node": "^30.3.0",
30-
"jest-mock": "^30.3.0"
30+
"jest-mock": "^30.3.0",
31+
"tar": ">=7.5.8"
3132
}
3233
}
3334
}

packages/helpers/fund-wallet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@bsv/sdk": "^2.0.14",
25-
"@bsv/wallet-toolbox": "^2.1.22",
25+
"@bsv/wallet-toolbox": "^2.1.24",
2626
"chalk": "^5.4.1",
2727
"crypto": "^1.0.1",
2828
"dotenv": "^16.5.0",

packages/helpers/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"@bsv/message-box-client": "^2.1.1",
4747
"@bsv/sdk": "^2.0.14",
48-
"@bsv/wallet-toolbox": "^2.1.22",
48+
"@bsv/wallet-toolbox": "^2.1.24",
4949
"@bsv/wallet-toolbox-client": "^2.1.18"
5050
},
5151
"overrides": {

packages/helpers/ts-templates/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"homepage": "https://github.com/bsv-blockchain/ts-templates#readme",
5454
"devDependencies": {
55-
"@bsv/wallet-toolbox": "^2.1.22",
55+
"@bsv/wallet-toolbox": "^2.1.24",
5656
"@types/jest": "^30.0.0",
5757
"jest": "^30.3.0",
5858
"ts-jest": "^29.4.9",

packages/wallet/wallet-toolbox-examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
},
5454
"dependencies": {
5555
"@bsv/sdk": "^2.0.14",
56-
"@bsv/wallet-toolbox": "^2.1.22"
56+
"@bsv/wallet-toolbox": "^2.1.24"
5757
}
5858
}

0 commit comments

Comments
 (0)