Update to nodejs 18

Change-type: minor
This commit is contained in:
Pagan Gazzard 2022-10-27 16:38:31 +01:00 committed by Felipe Lalanne
parent eb69295ca3
commit 2da691bcd5
4 changed files with 14 additions and 14 deletions

View File

@ -1,12 +1,12 @@
ARG ARCH=%%BALENA_ARCH%%
ARG FATRW_VERSION=0.2.9
ARG NODE="nodejs<18"
ARG NPM="npm<9"
ARG NODE="nodejs>16"
ARG NPM="npm>8"
###################################################
# Build the supervisor dependencies
###################################################
FROM alpine:3.16 as build-base
FROM alpine:3.18 as build-base
ARG ARCH
ARG NODE

14
package-lock.json generated
View File

@ -37,7 +37,7 @@
"@types/mocha": "^8.2.3",
"@types/mock-fs": "^4.13.1",
"@types/morgan": "^1.9.3",
"@types/node": "^16.11.63",
"@types/node": "^18.11.7",
"@types/request": "^2.48.8",
"@types/rewire": "^2.5.28",
"@types/rimraf": "^2.0.5",
@ -1485,9 +1485,9 @@
}
},
"node_modules/@types/node": {
"version": "16.11.63",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.63.tgz",
"integrity": "sha512-3OxnrEQLBz8EIIaHpg3CibmTAEGkDBcHY4fL5cnBwg2vd2yvHrUDGWxK+MlYPeXWWIoJJW79dGtU+oeBr6166Q==",
"version": "18.11.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.7.tgz",
"integrity": "sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==",
"dev": true
},
"node_modules/@types/object-hash": {
@ -14734,9 +14734,9 @@
}
},
"@types/node": {
"version": "16.11.63",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.63.tgz",
"integrity": "sha512-3OxnrEQLBz8EIIaHpg3CibmTAEGkDBcHY4fL5cnBwg2vd2yvHrUDGWxK+MlYPeXWWIoJJW79dGtU+oeBr6166Q==",
"version": "18.11.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.7.tgz",
"integrity": "sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==",
"dev": true
},
"@types/object-hash": {

View File

@ -40,8 +40,8 @@
"systeminformation": "^5.6.10"
},
"engines": {
"node": "^16.17.0",
"npm": "^8.15.0"
"node": ">=16.17.0",
"npm": ">=8.15.0"
},
"devDependencies": {
"@balena/contrato": "^0.6.0",
@ -63,7 +63,7 @@
"@types/mocha": "^8.2.3",
"@types/mock-fs": "^4.13.1",
"@types/morgan": "^1.9.3",
"@types/node": "^16.11.63",
"@types/node": "^18.11.7",
"@types/request": "^2.48.8",
"@types/rewire": "^2.5.28",
"@types/rimraf": "^2.0.5",

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": "./",
"target": "ES2021",
"target": "ES2022",
"module": "commonjs",
"moduleResolution": "Node16",
"strict": true,