diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d57ded73..9fb37694 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: key: build-${{ hashFiles('**/package.json') }} - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - run: corepack pnpm install env: PUPPETEER_SKIP_DOWNLOAD: true @@ -26,7 +26,7 @@ jobs: unittest: strategy: matrix: - node: [20, 22] + node: [20, 22, 23] fail-fast: false runs-on: ubuntu-22.04 steps: @@ -52,15 +52,13 @@ jobs: env: PUPPETEER_SKIP_DOWNLOAD: true - run: corepack pnpm test - if: ${{ matrix.node == 22 }} + if: ${{ matrix.node != 22 }} - run: corepack pnpm cover - env: - NODE_OPTIONS: --experimental-websocket - if: ${{ matrix.node == 20 }} + if: ${{ matrix.node == 22 }} - uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - if: ${{ matrix.node == 20 }} + if: ${{ matrix.node == 22 }} continue-on-error: true timeout-minutes: 30 integ: @@ -77,7 +75,7 @@ jobs: key: integ-${{ hashFiles('**/package.json') }} - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: Install dependencies run: | echo "deb [arch=amd64 trusted=yes] https://nfd-nightly-apt.ndn.today/ubuntu jammy main" \ diff --git a/README.md b/README.md index 65b6d770..55c5f17b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Supported platforms include: -* Node.js: 20.x and 22.x, on Windows and Linux. +* Node.js: 20.x and 22.x and 23.x, on Windows and Linux. * Generally, I support *Active LTS* and *Current* versions. * Bundlers: webpack 5. * Firefox: latest version on Windows and Mac. diff --git a/integ/browser-tests/package.json b/integ/browser-tests/package.json index 744f163b..ce215e97 100644 --- a/integ/browser-tests/package.json +++ b/integ/browser-tests/package.json @@ -25,14 +25,14 @@ "devDependencies": { "@nodelib/fs.walk": "^2.0.0", "@types/webpack": "^5.28.5", - "@zenfs/core": "^1.3.5", + "@zenfs/core": "^1.3.6", "@zenfs/dom": "^1.0.6", "fork-ts-checker-webpack-plugin": "^9.0.2", "html-webpack-plugin": "^5.6.3", "puppeteer": "^23.9.0", "ts-loader": "^9.5.1", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "webpack": "^5.96.1", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.1.0" diff --git a/mk/package.json b/mk/package.json index f29aba41..31f1d5c5 100644 --- a/mk/package.json +++ b/mk/package.json @@ -9,6 +9,6 @@ "js-yaml": "^4.1.0", "readlink": "^3.0.0", "split2": "^4.2.0", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" } } diff --git a/package.json b/package.json index f54bac41..dbd941cc 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387", "devDependencies": { - "@types/node": "^20.17.6", + "@types/node": "^20.17.7", "@types/wtfnode": "^0.7.3", "@typescript/lib-dom": "npm:@types/web@0.0.182", "@vitest/coverage-v8": "^2.1.5", @@ -27,7 +27,7 @@ "vitest": "^2.1.5" }, "engines": { - "node": "^20.12.0 || ^22.0.0" + "node": "^20.18.0 || ^22.11.0 || ^23.0.0" }, "pnpm": { "peerDependencyRules": { diff --git a/pkg/autoconfig/package.json b/pkg/autoconfig/package.json index f63ed5b0..34756207 100644 --- a/pkg/autoconfig/package.json +++ b/pkg/autoconfig/package.json @@ -40,6 +40,6 @@ "@types/default-gateway": "^7.2.2", "@types/koa": "^2.15.0", "koa": "^2.15.3", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" } } \ No newline at end of file diff --git a/pkg/fileserver/package.json b/pkg/fileserver/package.json index d9bd9143..657174ed 100644 --- a/pkg/fileserver/package.json +++ b/pkg/fileserver/package.json @@ -32,7 +32,7 @@ "@ndn/segmented-object": "workspace:*", "@ndn/tlv": "workspace:*", "@ndn/util": "workspace:*", - "@zenfs/core": "^1.3.5", + "@zenfs/core": "^1.3.6", "mnemonist": "^0.39.8", "obliterator": "^2.0.4", "streaming-iterables": "^8.0.1", diff --git a/pkg/keychain/package.json b/pkg/keychain/package.json index f78fd121..32702d99 100644 --- a/pkg/keychain/package.json +++ b/pkg/keychain/package.json @@ -35,7 +35,7 @@ "idb-keyval": "^6.2.1", "mnemonist": "^0.39.8", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "wait-your-turn": "^1.0.1" }, "devDependencies": { diff --git a/pkg/l3face/package.json b/pkg/l3face/package.json index e5b55858..bb1d1897 100644 --- a/pkg/l3face/package.json +++ b/pkg/l3face/package.json @@ -36,7 +36,7 @@ "retry": "^0.13.1", "streaming-iterables": "^8.0.1", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "typescript-event-target": "^1.1.1" } } \ No newline at end of file diff --git a/pkg/nac/package.json b/pkg/nac/package.json index bff73bdf..77533b04 100644 --- a/pkg/nac/package.json +++ b/pkg/nac/package.json @@ -37,7 +37,7 @@ "@yoursunny/asn1": "0.0.20200718", "mnemonist": "^0.39.8", "tslib": "^2.8.1", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" }, "devDependencies": { "@ndn/l3face": "workspace:^", diff --git a/pkg/ndncert/package.json b/pkg/ndncert/package.json index 3be05da7..51017136 100644 --- a/pkg/ndncert/package.json +++ b/pkg/ndncert/package.json @@ -41,7 +41,7 @@ "nodemailer": "^6.9.16", "p-timeout": "^6.1.3", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "typescript-event-target": "^1.1.1" }, "devDependencies": { diff --git a/pkg/nfdmgmt/package.json b/pkg/nfdmgmt/package.json index 71b8b952..98b77abe 100644 --- a/pkg/nfdmgmt/package.json +++ b/pkg/nfdmgmt/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@ndn/l3face": "workspace:*", "@ndn/node-transport": "workspace:*", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "typescript-event-target": "^1.1.1" } } \ No newline at end of file diff --git a/pkg/node-transport/package.json b/pkg/node-transport/package.json index 818cd9b8..0ab671c2 100644 --- a/pkg/node-transport/package.json +++ b/pkg/node-transport/package.json @@ -28,7 +28,7 @@ "event-iterator": "^2.0.0", "p-event": "^6.0.1", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "url-format-lax": "^2.0.0", "url-parse-lax": "^5.0.0" }, diff --git a/pkg/packet/package.json b/pkg/packet/package.json index d2a37e12..a9219d1d 100644 --- a/pkg/packet/package.json +++ b/pkg/packet/package.json @@ -31,7 +31,7 @@ "buffer-compare": "^1.1.1", "mnemonist": "^0.39.8", "tslib": "^2.8.1", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" }, "devDependencies": { "@types/buffer-compare": "^0.0.33" diff --git a/pkg/pyrepo/package.json b/pkg/pyrepo/package.json index 194e2c5a..93ebddcd 100644 --- a/pkg/pyrepo/package.json +++ b/pkg/pyrepo/package.json @@ -37,7 +37,7 @@ "p-defer": "^4.0.1", "streaming-iterables": "^8.0.1", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "typescript-event-target": "^1.1.1" }, "devDependencies": { diff --git a/pkg/repo-api/package.json b/pkg/repo-api/package.json index d290c556..967139f7 100644 --- a/pkg/repo-api/package.json +++ b/pkg/repo-api/package.json @@ -46,6 +46,6 @@ "@ndn/node-transport": "workspace:*", "@ndn/segmented-object": "workspace:*", "stream-mock": "^2.0.5", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" } } \ No newline at end of file diff --git a/pkg/repo/package.json b/pkg/repo/package.json index c57a23c3..9d7573fc 100644 --- a/pkg/repo/package.json +++ b/pkg/repo/package.json @@ -37,7 +37,7 @@ "memory-level": "^2.0.0", "streaming-iterables": "^8.0.1", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "typescript-event-target": "^1.1.1", "wait-your-turn": "^1.0.1" }, diff --git a/pkg/segmented-object/package.json b/pkg/segmented-object/package.json index 84fdf427..ffa21096 100644 --- a/pkg/segmented-object/package.json +++ b/pkg/segmented-object/package.json @@ -31,7 +31,7 @@ "@ndn/naming-convention2": "workspace:*", "@ndn/packet": "workspace:*", "@ndn/util": "workspace:*", - "@zenfs/core": "^1.3.5", + "@zenfs/core": "^1.3.6", "it-keepalive": "^1.2.0", "mnemonist": "^0.39.8", "obliterator": "^2.0.4", @@ -45,6 +45,6 @@ "@ndn/l3face": "workspace:*", "@ndn/repo-api": "workspace:*", "stream-mock": "^2.0.5", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" } } \ No newline at end of file diff --git a/pkg/svs/package.json b/pkg/svs/package.json index d986cfa3..4f1e5cbe 100644 --- a/pkg/svs/package.json +++ b/pkg/svs/package.json @@ -37,7 +37,7 @@ "@ndn/util": "workspace:*", "streaming-iterables": "^8.0.1", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "typescript-event-target": "^1.1.1", "wait-your-turn": "^1.0.1" }, diff --git a/pkg/tlv/package.json b/pkg/tlv/package.json index 7dfb5770..eba8b307 100644 --- a/pkg/tlv/package.json +++ b/pkg/tlv/package.json @@ -29,6 +29,6 @@ "@ndn/util": "workspace:*", "mnemonist": "^0.39.8", "tslib": "^2.8.1", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" } } \ No newline at end of file diff --git a/pkg/trust-schema/package.json b/pkg/trust-schema/package.json index 84bd3671..2c062b8d 100644 --- a/pkg/trust-schema/package.json +++ b/pkg/trust-schema/package.json @@ -35,7 +35,7 @@ "mnemonist": "^0.39.8", "obliterator": "^2.0.4", "tslib": "^2.8.1", - "type-fest": "^4.27.0" + "type-fest": "^4.28.0" }, "devDependencies": { "@ndn/l3face": "workspace:^", diff --git a/pkg/util/package.json b/pkg/util/package.json index 8b9a1e98..a373ffce 100644 --- a/pkg/util/package.json +++ b/pkg/util/package.json @@ -33,7 +33,7 @@ "streaming-iterables": "^8.0.1", "tiny-invariant": "^1.3.3", "tslib": "^2.8.1", - "type-fest": "^4.27.0", + "type-fest": "^4.28.0", "wait-your-turn": "^1.0.1" }, "devDependencies": { @@ -43,6 +43,6 @@ "write": "^2.0.0" }, "engines": { - "node": "^20.12.0 || ^22.0.0" + "node": "^20.18.0 || ^22.11.0 || ^23.0.0" } } \ No newline at end of file