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
This commit is contained in:
Steven 2021-10-15 16:55:14 -04:00 committed by GitHub
parent 73a3a957db
commit fdb2cc80b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -164,6 +164,6 @@
"caniuse-lite": "1.0.30001228"
},
"engines": {
"node": ">=12.0.0"
"node": ">=12.22.0"
}
}

View file

@ -47,6 +47,6 @@
"validate-npm-package-name": "3.0.0"
},
"engines": {
"node": ">=12.0.0"
"node": ">=12.22.0"
}
}

View file

@ -258,7 +258,7 @@
"caniuse-lite": "1.0.30001228"
},
"engines": {
"node": ">=12.0.0"
"node": ">=12.22.0"
},
"napi": {
"name": "next-swc",