Unverified Commit fdb2cc80 authored by Steven's avatar Steven Committed by GitHub

Bump "engines" to node >= 12.22.0 (#29949)

Older versions of Node.js don't have a stable ESM implementation

https://nodejs.org/api/esm.html#esm_modules_ecmascript_modules
parent 73a3a957
...@@ -34,7 +34,7 @@ pr: ...@@ -34,7 +34,7 @@ pr:
variables: variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
NEXT_TELEMETRY_DISABLED: '1' NEXT_TELEMETRY_DISABLED: '1'
node_version: ^12.0.0 node_version: ^12.22.0
stages: stages:
- stage: Build - stage: Build
......
...@@ -164,6 +164,6 @@ ...@@ -164,6 +164,6 @@
"caniuse-lite": "1.0.30001228" "caniuse-lite": "1.0.30001228"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.22.0"
} }
} }
...@@ -47,6 +47,6 @@ ...@@ -47,6 +47,6 @@
"validate-npm-package-name": "3.0.0" "validate-npm-package-name": "3.0.0"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.22.0"
} }
} }
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
"caniuse-lite": "1.0.30001228" "caniuse-lite": "1.0.30001228"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.22.0"
}, },
"napi": { "napi": {
"name": "next-swc", "name": "next-swc",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment