diff --git a/paperboy-core/Dockerfile b/paperboy-core/Dockerfile index db5ab90..2ea5bf7 100644 --- a/paperboy-core/Dockerfile +++ b/paperboy-core/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.14.0-buster-slim +FROM node:20.15.0-buster-slim USER node WORKDIR /home/node/ COPY --chown=node package*.json ./ diff --git a/paperboy-core/package-lock.json b/paperboy-core/package-lock.json index 173be82..b1240bb 100644 --- a/paperboy-core/package-lock.json +++ b/paperboy-core/package-lock.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/jest": "29.5.12", - "@types/node": "20.14.5", + "@types/node": "20.17.10", "@types/retry": "0.12.5", "@types/shelljs": "0.8.15", "@types/winston": "2.4.4", @@ -1248,12 +1248,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz", - "integrity": "sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==", + "version": "20.17.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.10.tgz", + "integrity": "sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/retry": { @@ -4545,10 +4546,11 @@ "dev": true }, "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.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" }, "node_modules/update-browserslist-db": { "version": "1.0.16", diff --git a/paperboy-core/package.json b/paperboy-core/package.json index 82e4bff..cfa059c 100644 --- a/paperboy-core/package.json +++ b/paperboy-core/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@types/jest": "29.5.12", - "@types/node": "20.14.5", + "@types/node": "20.17.10", "@types/retry": "0.12.5", "@types/shelljs": "0.8.15", "@types/winston": "2.4.4", diff --git a/paperboy-push-service/Dockerfile b/paperboy-push-service/Dockerfile index ec6d184..be7a009 100644 --- a/paperboy-push-service/Dockerfile +++ b/paperboy-push-service/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.14.0-buster-slim AS build +FROM node:20.15.0-buster-slim AS build RUN apt-get update && \ apt-get install -y build-essential WORKDIR /home/node/app @@ -6,13 +6,13 @@ COPY package*.json ./ RUN npm i COPY --chown=node . ./ -FROM node:20.14.0-buster-slim AS development +FROM node:20.15.0-buster-slim AS development USER node WORKDIR /home/node/app COPY --from=build --chown=node /home/node/app ./ CMD npm run start:dev -FROM node:20.14.0-buster-slim AS production +FROM node:20.15.0-buster-slim AS production USER node RUN mkdir -p /home/node/app WORKDIR /home/node/app diff --git a/paperboy-push-service/package-lock.json b/paperboy-push-service/package-lock.json index f3c71f1..1213ffa 100644 --- a/paperboy-push-service/package-lock.json +++ b/paperboy-push-service/package-lock.json @@ -31,7 +31,7 @@ "@types/async-lock": "1.4.2", "@types/express": "4.17.21", "@types/jest": "29.5.12", - "@types/node": "20.14.5", + "@types/node": "20.17.10", "@types/retry": "0.12.5", "@types/supertest": "6.0.2", "jest": "29.7.0", @@ -1563,12 +1563,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz", - "integrity": "sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==", + "version": "20.17.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.10.tgz", + "integrity": "sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/qs": { @@ -5841,10 +5842,11 @@ "dev": true }, "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.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" }, "node_modules/unpipe": { "version": "1.0.0", diff --git a/paperboy-push-service/package.json b/paperboy-push-service/package.json index 012f8e4..eb52bbe 100644 --- a/paperboy-push-service/package.json +++ b/paperboy-push-service/package.json @@ -42,7 +42,7 @@ "@types/async-lock": "1.4.2", "@types/express": "4.17.21", "@types/jest": "29.5.12", - "@types/node": "20.14.5", + "@types/node": "20.17.10", "@types/retry": "0.12.5", "@types/supertest": "6.0.2", "jest": "29.7.0",