From 3e26fed39987e127c152afa310b261bddac00ae6 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Tue, 14 Jan 2025 09:55:40 +0100 Subject: [PATCH 1/3] chore!: remove Node.js 21.x from the range of supported versions Node.js EOL was Jun 6, 2024 and is unsupported Co-Authored-By: Antoine du Hamel --- .github/workflows/ci.yml | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f2101694..8d29ae4a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,6 @@ jobs: node: - 18 - 20 - - 21 - 22 platform: - ubuntu-latest diff --git a/package.json b/package.json index cbd6218e2..4c7efce18 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/nodejs/corepack.git" }, "engines": { - "node": "^18.17.1 || >=20.10.0" + "node": "^18.17.1 || ^20.10.0 || >=22.11.0" }, "exports": { "./package.json": "./package.json" From da5c398f2f152f0f42c6014d668175d23794abbb Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Tue, 14 Jan 2025 10:24:30 +0100 Subject: [PATCH 2/3] chore(deps): update better-sqlite3 to 11.7.2 --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4c7efce18..712b69c4f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@yarnpkg/eslint-config": "^2.0.0", "@yarnpkg/fslib": "^3.0.0-rc.48", "@zkochan/cmd-shim": "^6.0.0", - "better-sqlite3": "^10.0.0", + "better-sqlite3": "^11.7.2", "clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch", "debug": "^4.1.1", "esbuild": "^0.21.0", diff --git a/yarn.lock b/yarn.lock index 2a5c2238b..8b9d20ab8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -991,14 +991,14 @@ __metadata: languageName: node linkType: hard -"better-sqlite3@npm:^10.0.0": - version: 10.1.0 - resolution: "better-sqlite3@npm:10.1.0" +"better-sqlite3@npm:^11.7.2": + version: 11.7.2 + resolution: "better-sqlite3@npm:11.7.2" dependencies: bindings: "npm:^1.5.0" node-gyp: "npm:latest" prebuild-install: "npm:^7.1.1" - checksum: 10c0/3c858214b8b6f0c3f536759a863dfc79b11c52cecd6061525fb7707d950ea2ef369280276d8cc62d504119514b7d32ea4aab134d260f6b5a0419a8119d613a67 + checksum: 10c0/bcc7606dc597738679c073bd7333d44f5abca02b6f87ab1aaf99cf5c3f9d0f29dff39f3cc59de97ff9683fcaeadc8229441396f9d6cca68aa3619672270083c8 languageName: node linkType: hard @@ -1229,7 +1229,7 @@ __metadata: "@yarnpkg/eslint-config": "npm:^2.0.0" "@yarnpkg/fslib": "npm:^3.0.0-rc.48" "@zkochan/cmd-shim": "npm:^6.0.0" - better-sqlite3: "npm:^10.0.0" + better-sqlite3: "npm:^11.7.2" clipanion: "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch" debug: "npm:^4.1.1" esbuild: "npm:^0.21.0" From 34797f8457a85fc82bbb175bcbcab7a1491d36d4 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Sun, 19 Jan 2025 10:46:43 +0100 Subject: [PATCH 3/3] chore(ci): add Node.js 23 to tested versions Windows tests are excluded --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d29ae4a7..5eb4bbfe4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,11 +49,19 @@ jobs: - 18 - 20 - 22 + - 23 platform: - ubuntu-latest - macos-latest - windows-latest + # Temporarily skipping Node.js 23 under Windows due to issue + # https://github.com/nodejs/corepack/issues/597 + # ci vitest fails "handle integrity checks" on Windows Node.js 23 + exclude: + - node: 23 + platform: windows-latest + name: "${{matrix.platform}} w/ Node.js ${{matrix.node}}.x" runs-on: ${{matrix.platform}}