diff --git a/libcal.dockerfile b/libcal.dockerfile index 170d507..5a43c52 100644 --- a/libcal.dockerfile +++ b/libcal.dockerfile @@ -1,4 +1,4 @@ -FROM node:20.11.1-alpine as builder +FROM node:22.12.0-alpine as builder WORKDIR /app # Install dependencies @@ -10,7 +10,7 @@ COPY libcal/src ./src COPY libcal/tsconfig.json ./ RUN npm run build -FROM node:20.11.1-alpine as runner +FROM node:22.12.0-alpine as runner ENV NODE_ENV production WORKDIR /app diff --git a/libcal/package-lock.json b/libcal/package-lock.json index 915a25d..c3b9c2f 100644 --- a/libcal/package-lock.json +++ b/libcal/package-lock.json @@ -21,7 +21,7 @@ "@types/cors": "2.8.13", "@types/express": "4.17.17", "@types/luxon": "^3.2.0", - "@types/node": "18.16.18", + "@types/node": "22.10.3", "nodemon": "^2.0.20", "ts-node": "10.9.1", "typescript": "4.9.5" @@ -170,10 +170,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.16.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", - "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", - "dev": true + "version": "22.10.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.3.tgz", + "integrity": "sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.20.0" + } }, "node_modules/@types/qs": { "version": "6.9.11", @@ -1639,6 +1643,13 @@ "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", "dev": true }, + "node_modules/undici-types": { + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true, + "license": "MIT" + }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", diff --git a/libcal/package.json b/libcal/package.json index 142a9c7..7b6853e 100644 --- a/libcal/package.json +++ b/libcal/package.json @@ -25,7 +25,7 @@ "@types/cors": "2.8.13", "@types/express": "4.17.17", "@types/luxon": "^3.2.0", - "@types/node": "18.16.18", + "@types/node": "22.10.3", "nodemon": "^2.0.20", "ts-node": "10.9.1", "typescript": "4.9.5" diff --git a/nss.dockerfile b/nss.dockerfile index af995e5..f203067 100644 --- a/nss.dockerfile +++ b/nss.dockerfile @@ -1,4 +1,4 @@ -FROM node:20.11.1-alpine as builder +FROM node:22.12.0-alpine as builder WORKDIR /app # Install dependencies @@ -10,7 +10,7 @@ COPY nss/src ./src COPY nss/tsconfig.json ./ RUN npm run build -FROM node:20.11.1-alpine as runner +FROM node:22.12.0-alpine as runner ENV NODE_ENV production WORKDIR /app diff --git a/nss/package-lock.json b/nss/package-lock.json index b1fe1bb..4e9f4b2 100644 --- a/nss/package-lock.json +++ b/nss/package-lock.json @@ -17,7 +17,7 @@ "dotenv": "^16.3.1" }, "devDependencies": { - "@types/node": "^20.1.7", + "@types/node": "^22.0.0", "ts-node": "^10.9.1", "typescript": "5.4.3" } @@ -95,12 +95,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.30", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz", - "integrity": "sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==", + "version": "22.10.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.3.tgz", + "integrity": "sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.20.0" } }, "node_modules/acorn": { @@ -526,10 +527,11 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true, + "license": "MIT" }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", diff --git a/nss/package.json b/nss/package.json index 90fbb74..92fe024 100644 --- a/nss/package.json +++ b/nss/package.json @@ -28,7 +28,7 @@ "dotenv": "^16.3.1" }, "devDependencies": { - "@types/node": "^20.1.7", + "@types/node": "^22.0.0", "ts-node": "^10.9.1", "typescript": "5.4.3" }