Skip to content

Commit

Permalink
feat(deps): update node.js to v20 (#304)
Browse files Browse the repository at this point in the history
* chore(deps): update node.js to v20

* Support all LTS

* Add changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Silbermann <sebastian.silbermann@klarna.com>
  • Loading branch information
renovate[bot] and Sebastian Silbermann committed Dec 2, 2023
1 parent e635880 commit 0730d90
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
7 changes: 7 additions & 0 deletions .changeset/kind-seahorses-visit.md
@@ -0,0 +1,7 @@
---
"types-react-codemod": major
---

Update Node.js support matrix

Drop support for unmaintained Node.js versions (14.x, 17.x, and 19.x) to reduce maintenance cost.
Binary file not shown.
Binary file added .yarn/cache/fsevents-patch-21ad2b1333-8.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -294,4 +294,4 @@ Please file an issue for runtimes that are not included in this list.

<!-- #nodejs-suppport Should match CI test matrix -->

- Node.js `14.x || 16.x || 17.x || 18.x || 19.x`
- Node.js `16.x || 18.x || 20.x`
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -12,7 +12,7 @@
"test:unit": "jest"
},
"engines": {
"node": "14.x || 16.x || 17.x || 18.x || 19.x"
"node": "16.x || 18.x || 20.x"
},
"dependencies": {
"@babel/core": "^7.17.8",
Expand All @@ -28,7 +28,7 @@
"@jest/globals": "^29.0.0",
"@types/inquirer": "^9.0.0",
"@types/jscodeshift": "^0.11.3",
"@types/node": "^18.0.0",
"@types/node": "^20.0.0",
"@types/yargs": "^17.0.10",
"dedent": "^1.0.0",
"eslint": "^8.12.0",
Expand All @@ -45,6 +45,6 @@
"access": "public"
},
"volta": {
"node": "18.19.0"
"node": "20.10.0"
}
}
13 changes: 2 additions & 11 deletions yarn.lock
Expand Up @@ -2297,7 +2297,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*":
"@types/node@npm:*, @types/node@npm:^20.0.0":
version: 20.10.2
resolution: "@types/node@npm:20.10.2"
dependencies:
Expand All @@ -2313,15 +2313,6 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^18.0.0":
version: 18.19.1
resolution: "@types/node@npm:18.19.1"
dependencies:
undici-types: ~5.26.4
checksum: f687338a6f1c463b03232337652804f62f5ae197ae9517a76cf6543ec5a3e358e41f26da0e4fc1afe4871c4a96eec3e3c440fb4ddb616cdc336b42ca203adb29
languageName: node
linkType: hard

"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"
Expand Down Expand Up @@ -7399,7 +7390,7 @@ __metadata:
"@jest/globals": ^29.0.0
"@types/inquirer": ^9.0.0
"@types/jscodeshift": ^0.11.3
"@types/node": ^18.0.0
"@types/node": ^20.0.0
"@types/yargs": ^17.0.10
dedent: ^1.0.0
eslint: ^8.12.0
Expand Down

0 comments on commit 0730d90

Please sign in to comment.