Skip to content

Commit 8bebc0c

Browse files
authored
chore!: drop support for Node.js 21.x (#594)
Node.js 21.x EOL was June 6th 2024. * chore(deps): update better-sqlite3 to 11.7.2 Required for running tests with Node.js 23.x. * chore(ci): add Node.js 23 to tested versions Windows tests are excluded due to an upstream bug.
1 parent c7a9bde commit 8bebc0c

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,20 @@ jobs:
4848
node:
4949
- 18
5050
- 20
51-
- 21
5251
- 22
52+
- 23
5353
platform:
5454
- ubuntu-latest
5555
- macos-latest
5656
- windows-latest
5757

58+
# Temporarily skipping Node.js 23 under Windows due to issue
59+
# https://github.com/nodejs/corepack/issues/597
60+
# ci vitest fails "handle integrity checks" on Windows Node.js 23
61+
exclude:
62+
- node: 23
63+
platform: windows-latest
64+
5865
name: "${{matrix.platform}} w/ Node.js ${{matrix.node}}.x"
5966
runs-on: ${{matrix.platform}}
6067

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/nodejs/corepack.git"
1111
},
1212
"engines": {
13-
"node": "^18.17.1 || >=20.10.0"
13+
"node": "^18.17.1 || ^20.10.0 || >=22.11.0"
1414
},
1515
"exports": {
1616
"./package.json": "./package.json"
@@ -26,7 +26,7 @@
2626
"@yarnpkg/eslint-config": "^2.0.0",
2727
"@yarnpkg/fslib": "^3.0.0-rc.48",
2828
"@zkochan/cmd-shim": "^6.0.0",
29-
"better-sqlite3": "^10.0.0",
29+
"better-sqlite3": "^11.7.2",
3030
"clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch",
3131
"debug": "^4.1.1",
3232
"esbuild": "^0.21.0",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -991,14 +991,14 @@ __metadata:
991991
languageName: node
992992
linkType: hard
993993

994-
"better-sqlite3@npm:^10.0.0":
995-
version: 10.1.0
996-
resolution: "better-sqlite3@npm:10.1.0"
994+
"better-sqlite3@npm:^11.7.2":
995+
version: 11.7.2
996+
resolution: "better-sqlite3@npm:11.7.2"
997997
dependencies:
998998
bindings: "npm:^1.5.0"
999999
node-gyp: "npm:latest"
10001000
prebuild-install: "npm:^7.1.1"
1001-
checksum: 10c0/3c858214b8b6f0c3f536759a863dfc79b11c52cecd6061525fb7707d950ea2ef369280276d8cc62d504119514b7d32ea4aab134d260f6b5a0419a8119d613a67
1001+
checksum: 10c0/bcc7606dc597738679c073bd7333d44f5abca02b6f87ab1aaf99cf5c3f9d0f29dff39f3cc59de97ff9683fcaeadc8229441396f9d6cca68aa3619672270083c8
10021002
languageName: node
10031003
linkType: hard
10041004

@@ -1229,7 +1229,7 @@ __metadata:
12291229
"@yarnpkg/eslint-config": "npm:^2.0.0"
12301230
"@yarnpkg/fslib": "npm:^3.0.0-rc.48"
12311231
"@zkochan/cmd-shim": "npm:^6.0.0"
1232-
better-sqlite3: "npm:^10.0.0"
1232+
better-sqlite3: "npm:^11.7.2"
12331233
clipanion: "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch"
12341234
debug: "npm:^4.1.1"
12351235
esbuild: "npm:^0.21.0"

0 commit comments

Comments
 (0)