diff --git a/.github/workflows/deploy-bumblebee.yaml b/.github/workflows/deploy-bumblebee.yaml index cd29a3d904..fc74e79689 100644 --- a/.github/workflows/deploy-bumblebee.yaml +++ b/.github/workflows/deploy-bumblebee.yaml @@ -19,7 +19,7 @@ jobs: working-directory: ./tools/bumblebee steps: - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16' diff --git a/.github/workflows/deploy-sloths.yaml b/.github/workflows/deploy-sloths.yaml index ec315643ad..ec81b76783 100644 --- a/.github/workflows/deploy-sloths.yaml +++ b/.github/workflows/deploy-sloths.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e4d5c45beb..07843ec347 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v2 @@ -106,7 +106,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v2 @@ -169,7 +169,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/nextjs_bundle_analysis.yml b/.github/workflows/nextjs_bundle_analysis.yml index 6b3b842f2c..9bc12b78b2 100644 --- a/.github/workflows/nextjs_bundle_analysis.yml +++ b/.github/workflows/nextjs_bundle_analysis.yml @@ -31,7 +31,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d220ad3ee3..0b2688e71e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v3 @@ -40,7 +40,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v3 @@ -90,7 +90,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v3 @@ -243,7 +243,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v3 @@ -297,7 +297,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Restore npm cache uses: actions/cache@v3 diff --git a/.github/workflows/pull_request_close.yml b/.github/workflows/pull_request_close.yml index 75bbecffea..bc52b87e2a 100644 --- a/.github/workflows/pull_request_close.yml +++ b/.github/workflows/pull_request_close.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '20' - name: Checkout uses: actions/checkout@v2 diff --git a/client/Dockerfile b/client/Dockerfile index c81b1d83f3..33aa78f85a 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine EXPOSE 8080 diff --git a/client/Dockerfile.lambda b/client/Dockerfile.lambda index ffcb6f7324..0da65b61c9 100644 --- a/client/Dockerfile.lambda +++ b/client/Dockerfile.lambda @@ -1,4 +1,4 @@ -FROM node:18-bullseye-slim as builder +FROM node:20-bullseye-slim as builder ENV NEXT_RUNTIME nodejs @@ -18,7 +18,7 @@ COPY client/dist client/ COPY client/.next client/.next # Lambda Container -FROM public.ecr.aws/lambda/nodejs:18 +FROM public.ecr.aws/lambda/nodejs:20 ENV NODE_ENV production ENV TZ utc diff --git a/nestjs/Dockerfile b/nestjs/Dockerfile index 0841289626..d0f6d31292 100755 --- a/nestjs/Dockerfile +++ b/nestjs/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine EXPOSE 8080 diff --git a/nestjs/Dockerfile.lambda b/nestjs/Dockerfile.lambda index a526eea97e..85ba8d8035 100755 --- a/nestjs/Dockerfile.lambda +++ b/nestjs/Dockerfile.lambda @@ -1,4 +1,4 @@ -FROM node:18-bullseye-slim as builder +FROM node:20-bullseye-slim as builder WORKDIR /container_out @@ -13,7 +13,7 @@ COPY nestjs/lambda nestjs/ COPY nestjs/dist nestjs/ # Lambda Container -FROM public.ecr.aws/lambda/nodejs:18 +FROM public.ecr.aws/lambda/nodejs:20 ENV NODE_ENV production ENV TZ utc diff --git a/package-lock.json b/package-lock.json index 4758992042..5fe06b942a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23479,7 +23479,7 @@ "pg": "8.11.3", "pino-multi-stream": "4.2.0", "reflect-metadata": "0.1.13", - "typeorm": "0.3.14" + "typeorm": "0.3.17" }, "devDependencies": { "@types/jest": "29.5.4", @@ -23598,37 +23598,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "server/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "server/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "server/node_modules/commander": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", @@ -23732,24 +23701,6 @@ "node": ">=12" } }, - "server/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "server/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -23762,17 +23713,6 @@ "node": ">=10.13.0" } }, - "server/node_modules/glob/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, "server/node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -23818,20 +23758,6 @@ "npm": ">=1.4.28" } }, - "server/node_modules/mkdirp": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", - "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", - "bin": { - "mkdirp": "dist/cjs/src/bin.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "server/node_modules/passport-jwt": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/passport-jwt/-/passport-jwt-4.0.0.tgz", @@ -23928,121 +23854,6 @@ "node": ">=6" } }, - "server/node_modules/typeorm": { - "version": "0.3.14", - "resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.14.tgz", - "integrity": "sha512-tEPEN8qmA2a2wmjkaDcWBZ6LsECHofJW2vaCQMklYs+4JRJMAJ5FfbPIWMbhJ3ANJGMtLAmU1GfC8rLFIpbWsg==", - "dependencies": { - "@sqltools/formatter": "^1.2.5", - "app-root-path": "^3.1.0", - "buffer": "^6.0.3", - "chalk": "^4.1.2", - "cli-highlight": "^2.1.11", - "debug": "^4.3.4", - "dotenv": "^16.0.3", - "glob": "^8.1.0", - "mkdirp": "^2.1.3", - "reflect-metadata": "^0.1.13", - "sha.js": "^2.4.11", - "tslib": "^2.5.0", - "uuid": "^9.0.0", - "yargs": "^17.6.2" - }, - "bin": { - "typeorm": "cli.js", - "typeorm-ts-node-commonjs": "cli-ts-node-commonjs.js", - "typeorm-ts-node-esm": "cli-ts-node-esm.js" - }, - "engines": { - "node": ">= 12.9.0" - }, - "funding": { - "url": "https://opencollective.com/typeorm" - }, - "peerDependencies": { - "@google-cloud/spanner": "^5.18.0", - "@sap/hana-client": "^2.12.25", - "better-sqlite3": "^7.1.2 || ^8.0.0", - "hdb-pool": "^0.1.6", - "ioredis": "^5.0.4", - "mongodb": "^3.6.0", - "mssql": "^9.1.1", - "mysql2": "^2.2.5 || ^3.0.1", - "oracledb": "^5.1.0", - "pg": "^8.5.1", - "pg-native": "^3.0.0", - "pg-query-stream": "^4.0.0", - "redis": "^3.1.1 || ^4.0.0", - "sql.js": "^1.4.0", - "sqlite3": "^5.0.3", - "ts-node": "^10.7.0", - "typeorm-aurora-data-api-driver": "^2.0.0" - }, - "peerDependenciesMeta": { - "@google-cloud/spanner": { - "optional": true - }, - "@sap/hana-client": { - "optional": true - }, - "better-sqlite3": { - "optional": true - }, - "hdb-pool": { - "optional": true - }, - "ioredis": { - "optional": true - }, - "mongodb": { - "optional": true - }, - "mssql": { - "optional": true - }, - "mysql2": { - "optional": true - }, - "oracledb": { - "optional": true - }, - "pg": { - "optional": true - }, - "pg-native": { - "optional": true - }, - "pg-query-stream": { - "optional": true - }, - "redis": { - "optional": true - }, - "sql.js": { - "optional": true - }, - "sqlite3": { - "optional": true - }, - "ts-node": { - "optional": true - }, - "typeorm-aurora-data-api-driver": { - "optional": true - } - } - }, - "server/node_modules/typeorm/node_modules/dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" - } - }, "server/node_modules/typescript": { "version": "4.5.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", @@ -24055,18 +23866,6 @@ "engines": { "node": ">=4.2.0" } - }, - "server/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } } }, "dependencies": { @@ -39458,7 +39257,7 @@ "ts-node": "10.9.1", "ts-node-dev": "2.0.0", "tsconfig-paths": "4.1.0", - "typeorm": "0.3.14", + "typeorm": "0.3.17", "typescript": "4.5.5" }, "dependencies": { @@ -39529,23 +39328,6 @@ "uri-js": "^4.2.2" } }, - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "requires": { - "balanced-match": "^1.0.0" - } - }, - "buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "commander": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", @@ -39627,28 +39409,6 @@ } } }, - "glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "dependencies": { - "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "requires": { - "brace-expansion": "^2.0.1" - } - } - } - }, "glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -39691,11 +39451,6 @@ "semver": "^5.6.0" } }, - "mkdirp": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", - "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==" - }, "passport-jwt": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/passport-jwt/-/passport-jwt-4.0.0.tgz", @@ -39777,44 +39532,11 @@ "strip-bom": "^3.0.0" } }, - "typeorm": { - "version": "0.3.14", - "resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.14.tgz", - "integrity": "sha512-tEPEN8qmA2a2wmjkaDcWBZ6LsECHofJW2vaCQMklYs+4JRJMAJ5FfbPIWMbhJ3ANJGMtLAmU1GfC8rLFIpbWsg==", - "requires": { - "@sqltools/formatter": "^1.2.5", - "app-root-path": "^3.1.0", - "buffer": "^6.0.3", - "chalk": "^4.1.2", - "cli-highlight": "^2.1.11", - "debug": "^4.3.4", - "dotenv": "^16.0.3", - "glob": "^8.1.0", - "mkdirp": "^2.1.3", - "reflect-metadata": "^0.1.13", - "sha.js": "^2.4.11", - "tslib": "^2.5.0", - "uuid": "^9.0.0", - "yargs": "^17.6.2" - }, - "dependencies": { - "dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==" - } - } - }, "typescript": { "version": "4.5.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", "dev": true - }, - "uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==" } } }, diff --git a/server/Dockerfile b/server/Dockerfile index 94b3c97b4e..ae2d332e60 100755 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine EXPOSE 8080 diff --git a/server/Dockerfile.lambda b/server/Dockerfile.lambda index a8a4271f12..5429277bbd 100755 --- a/server/Dockerfile.lambda +++ b/server/Dockerfile.lambda @@ -1,4 +1,4 @@ -FROM node:18-bullseye-slim as builder +FROM node:20-bullseye-slim as builder WORKDIR /container_out @@ -14,7 +14,7 @@ COPY server/lambda server/ COPY server/dist server/ # Lambda Container -FROM public.ecr.aws/lambda/nodejs:14 +FROM public.ecr.aws/lambda/nodejs:20 ENV NODE_ENV production ENV TZ utc diff --git a/server/package.json b/server/package.json index 5424fcb569..999e9efdcc 100644 --- a/server/package.json +++ b/server/package.json @@ -42,7 +42,7 @@ "pg": "8.11.3", "pino-multi-stream": "4.2.0", "reflect-metadata": "0.1.13", - "typeorm": "0.3.14" + "typeorm": "0.3.17" }, "devDependencies": { "@types/jest": "29.5.4", diff --git a/setup/docker-compose.yml b/setup/docker-compose.yml index ad2a182619..d191178579 100644 --- a/setup/docker-compose.yml +++ b/setup/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: postgres: - image: postgres:12.8 + image: postgres:15.5 container_name: db restart: always #volumes: