Skip to content

Commit d604079

Browse files
committed
upgraded to node20
1 parent a0f318a commit d604079

File tree

6 files changed

+19
-12
lines changed

6 files changed

+19
-12
lines changed

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.13.0
1+
20.12.2

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.13.0 as builder
1+
FROM node:20.12.2 as builder
22

33
WORKDIR /usr/src/app
44

@@ -11,7 +11,7 @@ RUN chmod -R 777 /usr/src/app \
1111
&& yarn install \
1212
&& yarn build
1313

14-
FROM node:18.13.0-alpine
14+
FROM node:20.12.2-alpine
1515
LABEL maintainer="https://pagopa.gov.it"
1616

1717
WORKDIR /usr/src/app

docker-compose.override.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "2.2"
22

33
services:
44
io-spid-commons:
5-
image: node:18.13.0-alpine
5+
image: node:20.12.2-alpine
66
working_dir: /usr/src/app
77
volumes:
88
- ".:/usr/src/app"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- "3000"
1414
ports:
1515
- "3000:3000"
16-
image: node:18.13.0-alpine
16+
image: node:20.12.2-alpine
1717
working_dir: /usr/src/app
1818
volumes:
1919
- "./certs:/usr/src/app/certs:delegated"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@pagopa/eslint-config": "^3.0.0",
2929
"@types/express": "4.17.11",
3030
"@types/jest": "^29.5.1",
31-
"@types/node": "~18.13.0",
31+
"@types/node": "~20.12.2",
3232
"@types/node-fetch": "^2.1.2",
3333
"@types/node-forge": "^0.9.1",
3434
"@types/passport": "^1.0.2",
@@ -39,11 +39,11 @@
3939
"@types/xml-crypto": "^1.4.1",
4040
"@types/xml2js": "^0.4.5",
4141
"@types/yargs": "^15.0.4",
42-
"fp-ts": "^2.16.5",
43-
"io-ts": "^2.2.21",
4442
"auto-changelog": "^2.2.1",
4543
"eslint-plugin-prettier": "^4.2.1",
4644
"express": "4.17.0",
45+
"fp-ts": "^2.16.5",
46+
"io-ts": "^2.2.21",
4747
"jest": "^29.5.0",
4848
"nock": "^11.7.1",
4949
"nodemon": "^2.0.2",

yarn.lock

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,12 @@
10221022
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.1.tgz#aee62c7b966f55fc66c7b6dfa1d58db2a616da61"
10231023
integrity sha512-Sr7BhXEAer9xyGuCN3Ek9eg9xPviCF2gfu9kTfuU2HkTVAMYSDeX40fvpmo72n5nansg3nsBjuQBrsS28r+NUw==
10241024

1025-
"@types/node@~18.13.0":
1026-
version "18.13.0"
1027-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.13.0.tgz#0400d1e6ce87e9d3032c19eb6c58205b0d3f7850"
1028-
integrity sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg==
1025+
"@types/node@~20.12.2":
1026+
version "20.12.14"
1027+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.14.tgz#0c5cf7ef26aedfd64b0539bba9380ed1f57dcc77"
1028+
integrity sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==
1029+
dependencies:
1030+
undici-types "~5.26.4"
10291031

10301032
"@types/passport-saml@1.1.1":
10311033
version "1.1.1"
@@ -5141,6 +5143,11 @@ undefsafe@^2.0.5:
51415143
resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c"
51425144
integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==
51435145

5146+
undici-types@~5.26.4:
5147+
version "5.26.5"
5148+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
5149+
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
5150+
51445151
unpipe@1.0.0, unpipe@~1.0.0:
51455152
version "1.0.0"
51465153
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"

0 commit comments

Comments
 (0)