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 ARCH=%%BALENA_ARCH%%
ARG FATRW_VERSION=0.2.9 ARG FATRW_VERSION=0.2.9
ARG NODE="nodejs<18" ARG NODE="nodejs>16"
ARG NPM="npm<9" ARG NPM="npm>8"
################################################### ###################################################
# Build the supervisor dependencies # Build the supervisor dependencies
################################################### ###################################################
FROM alpine:3.16 as build-base FROM alpine:3.18 as build-base
ARG ARCH ARG ARCH
ARG NODE ARG NODE

14
package-lock.json generated
View File

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

View File

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

View File

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