Skip to content

Commit e31db5d

Browse files
committed
Update supported Node.js versions.
1 parent a1f3d41 commit e31db5d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest]
10-
node: ["18", "20", "21"]
10+
node: ["18", "20", "22"]
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Setup Node.js v${{ matrix.node }}

changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
### Major
66

7-
- Updated Node.js support to `^18.18.0 || ^20.9.0 || >=21.1.0`.
7+
- Updated Node.js support to `^18.18.0 || ^20.9.0 || >=22.0.0`.
88
- Use the Node.js test runner API and remove the dev dependency [`test-director`](https://npm.im/test-director).
99
- Refactored tests to use the standard `AbortController`, `AbortSignal`, `Event`, `EventTarget`, `File`, `FormData`, and `Response` APIs available in modern Node.js and removed the dev dependencies [`abort-controller`](https://npm.im/abort-controller), [`event-target-shim`](https://npm.im/event-target-shim), and [`node-fetch`](https://npm.im/node-fetch).
1010

1111
### Patch
1212

1313
- Updated the `package.json` field `repository` to conform to new npm requirements.
1414
- Updated GitHub Actions CI config:
15-
- Run tests with Node.js v18, v20, v21.
15+
- Run tests with Node.js v18, v20, v22.
1616
- Updated `actions/checkout` to v4.
1717
- Updated `actions/setup-node` to v4.
1818

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@
9797
"./useWaterfallLoad.mjs": "./useWaterfallLoad.mjs"
9898
},
9999
"engines": {
100-
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
100+
"node": "^18.18.0 || ^20.9.0 || >=22.0.0"
101101
},
102-
"browserslist": "Node 18.18 - 19 and Node < 19, Node 20.9 - 21 and Node < 21, Node >= 21.1, > 0.5%, not OperaMini all, not dead",
102+
"browserslist": "Node 18.18 - 19 and Node < 19, Node 20.9 - 21 and Node < 21, Node >= 22, > 0.5%, not OperaMini all, not dead",
103103
"peerDependencies": {
104104
"react": "16.14 - 18"
105105
},

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default function GitHubRepoStars({ repoId }) {
151151

152152
Supported runtime environments:
153153

154-
- [Node.js](https://nodejs.org) versions `^18.18.0 || ^20.9.0 || >=21.1.0`.
154+
- [Node.js](https://nodejs.org) versions `^18.18.0 || ^20.9.0 || >=22.0.0`.
155155
- [Deno](https://deno.land), importing from a CDN that might require an import map for dependencies.
156156
- Browsers matching the [Browserslist](https://browsersl.ist) query [`> 0.5%, not OperaMini all, not dead`](https://browsersl.ist/?q=%3E+0.5%25%2C+not+OperaMini+all%2C+not+dead).
157157

0 commit comments

Comments
 (0)