From afb5747fd447d1a7c0dd9db8bb434a52e96c9bc1 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 2 Dec 2024 21:50:15 +0100 Subject: [PATCH] Add support for Node.js 22.x --- .changeset/neat-goats-visit.md | 5 +++++ .github/workflows/node.js.yml | 2 +- README.md | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/neat-goats-visit.md diff --git a/.changeset/neat-goats-visit.md b/.changeset/neat-goats-visit.md new file mode 100644 index 00000000..d0861250 --- /dev/null +++ b/.changeset/neat-goats-visit.md @@ -0,0 +1,5 @@ +--- +"types-react-codemod": minor +--- + +Add support for Node.js 22.x diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 05220b21..6177d37b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: # #nodejs-suppport - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/README.md b/README.md index af3f77d1..7d664693 100644 --- a/README.md +++ b/README.md @@ -480,4 +480,4 @@ Please file an issue for runtimes that are not included in this list. -- Node.js `16.x || 18.x || 20.x` +- Node.js `18.x || 20.x || 22.x` diff --git a/package.json b/package.json index 22b9b331..eb8b226e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test:unit": "jest" }, "engines": { - "node": "18.x || 20.x" + "node": "18.x || 20.x || 22.x" }, "dependencies": { "@babel/core": "^7.17.8",