Skip to content

Commit

Permalink
Bump "engines" to node >= 12.22.0 (#29949)
Browse files Browse the repository at this point in the history
Older versions of Node.js don't have a stable ESM implementation

https://nodejs.org/api/esm.html#esm_modules_ecmascript_modules
  • Loading branch information
styfle authored Oct 15, 2021
1 parent 73a3a95 commit fdb2cc8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pr:
variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
NEXT_TELEMETRY_DISABLED: '1'
node_version: ^12.0.0
node_version: ^12.22.0

stages:
- stage: Build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@
"caniuse-lite": "1.0.30001228"
},
"engines": {
"node": ">=12.0.0"
"node": ">=12.22.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"validate-npm-package-name": "3.0.0"
},
"engines": {
"node": ">=12.0.0"
"node": ">=12.22.0"
}
}
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"caniuse-lite": "1.0.30001228"
},
"engines": {
"node": ">=12.0.0"
"node": ">=12.22.0"
},
"napi": {
"name": "next-swc",
Expand Down

0 comments on commit fdb2cc8

Please sign in to comment.