Skip to content

Commit c3259a2

Browse files
committed
Require Node.js >= 12.20, >= 14.13.1
Which added support for named exports for CJS via static analysis: nodejs/node#35249 nodejs/node@1e8cb08edc for v15 nodejs/node@f551f52f83 for v14.13 nodejs/node@9eb1fa1924 for v12.20 This is also necessary for `node:` scheme support, checked by the `unicorn/prefer-node-protocol` ESLint rule (currently disabled pending support in eslint-plugin-node): nodejs/node#35387 nodejs/node@ee9e3e75aa for v15 nodejs/node@91b820e939 for v14.13.1 nodejs/node@0f757bc2df for v12.20 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
1 parent 00677e9 commit c3259a2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/node.js.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- ubuntu-latest
7070
- windows-latest
7171
node:
72-
- '12.17'
72+
- '12.20'
7373
- '*'
7474
exclude:
7575
# Exclude os/version already run in test-primary

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"rimraf": "^3.0.0"
7272
},
7373
"engines": {
74-
"node": ">=12.17",
74+
"node": ">=12.20 || >=14.13.1",
7575
"npm": ">=1.3.7"
7676
},
7777
"david": {

0 commit comments

Comments
 (0)