diff --git a/.github/workflows/.tests.yml b/.github/workflows/.tests.yml index 03042531b..3067b599d 100644 --- a/.github/workflows/.tests.yml +++ b/.github/workflows/.tests.yml @@ -12,7 +12,7 @@ on: jobs: integration-tests: name: Integration Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: cypress-e2e: name: E2E Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 defaults: run: working-directory: frontend diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index f722881d5..0248f0e12 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -19,7 +19,7 @@ jobs: codeql: name: CodeQL if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: trivy: name: Trivy Security Scan if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - uses: actions/checkout@v4 @@ -61,7 +61,7 @@ jobs: tests: name: Tests if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 services: postgres: @@ -123,7 +123,7 @@ jobs: name: Results needs: [codeql, trivy, tests] if: always() && (! failure()) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - run: echo "Success!" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8258f496b..89f87367b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -115,7 +115,7 @@ jobs: deploys: name: Helm environment: ${{ inputs.environment }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/loadtest.yml b/.github/workflows/loadtest.yml index e94078bf2..3ed19594b 100644 --- a/.github/workflows/loadtest.yml +++ b/.github/workflows/loadtest.yml @@ -29,13 +29,13 @@ jobs: loadtests: name: Loadtests environment: ${{ inputs.environment }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 60 steps: - uses: actions/checkout@v4 - name: Run All JMeter Tests In tests Folder - uses: rbhadti94/apache-jmeter-action@v0.5.0 + uses: rbhadti94/apache-jmeter-action@v0.7.0 with: testFilePath: loadtests outputReportsFolder: loadtests/results @@ -48,7 +48,7 @@ jobs: -JVEHICLES_API_URL=${{inputs.vehicles_api_url}} -JRESULTS_DIR=loadtest/results - - uses: actions/upload-artifact@v4.3.6 + - uses: actions/upload-artifact@v4.4.0 with: name: jmeter-test-results path: loadtests/results diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 97ce93ebb..beeca0bf2 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -23,7 +23,7 @@ jobs: name: Set Variables outputs: pr: ${{ steps.pr.outputs.pr }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: # Get PR number for squash merges to main @@ -46,7 +46,7 @@ jobs: promote-images-test: name: Promote Images - Test needs: [deploys-test, vars] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: diff --git a/.github/workflows/notifications.yml b/.github/workflows/notifications.yml index 116e5c09a..981ac1a33 100644 --- a/.github/workflows/notifications.yml +++ b/.github/workflows/notifications.yml @@ -7,7 +7,7 @@ on: jobs: notify-teams-pr: if: ${{github.event.workflow_run.event == 'pull_request'}} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: simbo/msteams-message-card-action@latest with: @@ -27,7 +27,7 @@ jobs: text: PR Opened notify-teams-merged: if: ${{github.event.workflow_run.event == 'push'}} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: PR Number id: pr diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 5b66b040a..cc09c8c8d 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -12,7 +12,7 @@ concurrency: jobs: cleanup: name: Cleanup OpenShift and/or Promote Images - uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.7.1 + uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.8.0 secrets: oc_namespace: ${{ vars.OC_NAMESPACE }} oc_token: ${{ secrets.OC_TOKEN }} diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index ea34523c5..4f63849c9 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -16,7 +16,7 @@ jobs: env: DOMAIN: apps.silver.devops.gov.bc.ca PREFIX: ${{ github.event.repository.name }}-${{ github.event.number }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: pull-requests: write timeout-minutes: 1 @@ -47,7 +47,7 @@ jobs: name: Set Variables outputs: pr: ${{ steps.pr.outputs.pr }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: PR Number id: pr @@ -57,7 +57,7 @@ jobs: builds: name: Builds needs: [vars] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbf2a8dae..7386e0eb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: outputs: pr: ${{ steps.pr.outputs.pr }} release-name: ${{ steps.release-name.outputs.release-name }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: # Get PR number for squash merges to main @@ -35,7 +35,7 @@ jobs: promote-images-release: name: Promote Images - Release needs: [vars] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: @@ -61,7 +61,7 @@ jobs: promote-images-uat: name: Promote Images - Uat needs: [vars,deploys-uat] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: @@ -87,7 +87,7 @@ jobs: promote-images-prod: name: Promote Images - Prod needs: [vars,deploys-prod] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 5ee888e79..7257b6883 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -20,7 +20,7 @@ jobs: name: [dops, frontend, vehicles, policy, scheduler] steps: - name: ZAP Scan - uses: zaproxy/action-full-scan@v0.10.0 + uses: zaproxy/action-full-scan@v0.11.0 with: allow_issue_writing: true artifact_name: "zap_${{ matrix.name }}" @@ -30,7 +30,7 @@ jobs: generate-schema-spy: name: Generate SchemaSpy Documentation - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 services: postgres: image: postgres diff --git a/dops/Dockerfile b/dops/Dockerfile index 20a16f7cb..ad45811cc 100644 --- a/dops/Dockerfile +++ b/dops/Dockerfile @@ -1,5 +1,5 @@ # Build container. -FROM node:20.15.1-alpine AS builder +FROM node:20.17.0-alpine AS builder # Set the working directory to /app inside the container WORKDIR /app @@ -21,7 +21,7 @@ RUN npm prune --production # Deployment container -FROM node:20.15.1-alpine +FROM node:20.17.0-alpine RUN npm cache clean --force # Create and Assign permissions to npm folder diff --git a/dops/package.json b/dops/package.json index b8062f739..f45b6a909 100644 --- a/dops/package.json +++ b/dops/package.json @@ -62,32 +62,32 @@ "@nestjs/typeorm": "^10.0.2", "@types/response-time": "^2.3.8", "axios-retry": "^4.5.0", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "dayjs": "^1.11.13", "dotenv": "^16.4.5", "handlebars": "^4.7.8", - "helmet": "^7.1.0", + "helmet": "^8.0.0", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.4.1", "passport": "^0.7.0", "passport-jwt": "^4.0.1", "pdf-lib": "^1.17.1", - "puppeteer": "^22.15.0", + "puppeteer": "^23.0.0", "response-time": "^2.3.2", "rxjs": "^7.8.1", "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", "typescript-eslint": "^7.18.0", - "uuid": "^9.0.1", + "uuid": "^10.0.0", "winston": "^3.14.2" }, "devDependencies": { "@golevelup/ts-jest": "^0.5.4", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.12", "@types/multer": "^1.4.12", "@types/node": "^20.16.1", @@ -108,7 +108,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.9", "prettier": "^3.3.3", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 94c8c5baf..89cd16746 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.15.1-alpine AS builder +FROM node:20.17.0-alpine AS builder # Set the working directory to /app inside the container WORKDIR /app diff --git a/frontend/package.json b/frontend/package.json index b068b137f..53e1c8b9a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,15 +10,15 @@ "@fortawesome/free-regular-svg-icons": "^6.6.0", "@fortawesome/free-solid-svg-icons": "^6.6.0", "@fortawesome/react-fontawesome": "^0.2.2", - "@mui/icons-material": "^5.16.7", - "@mui/material": "^5.16.7", - "@mui/x-date-pickers": "^6.20.2", + "@mui/icons-material": "^6.0.0", + "@mui/material": "^6.0.0", + "@mui/x-date-pickers": "^7.0.0", "@tanstack/react-query": "^5.52.2", "@uidotdev/usehooks": "^2.4.1", "axios": "^1.7.5", "dayjs": "^1.11.13", "lottie-web": "^5.12.2", - "material-react-table": "^2.13.1", + "material-react-table": "^3.0.0", "mui-nested-menu": "^3.4.0", "oidc-client-ts": "^3.0.1", "react": "^18.3.1", @@ -29,7 +29,7 @@ "react-oidc-context": "^3.1.0", "react-router-dom": "^6.26.1", "sass": "^1.77.8", - "uuid": "^9.0.1", + "uuid": "^10.0.0", "validator": "^13.12.0" }, "scripts": { @@ -58,7 +58,7 @@ "@hookform/devtools": "^4.3.1", "@mswjs/data": "^0.16.1", "@testing-library/jest-dom": "^6.5.0", - "@testing-library/react": "^14.3.1", + "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/material-ui": "^0.21.17", "@types/node": "^20.16.2", @@ -69,7 +69,7 @@ "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "@vitejs/plugin-react-swc": "^3.7.0", - "@vitest/coverage-v8": "^1.6.0", + "@vitest/coverage-v8": "^2.0.0", "autoprefixer": "^10.4.20", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", @@ -77,7 +77,7 @@ "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.35.0", - "jsdom": "^24.1.3", + "jsdom": "^25.0.0", "msw": "^2.4.1", "postcss": "^8.4.41", "prettier": "^3.3.3", @@ -85,8 +85,8 @@ "vite": "^5.4.2", "vite-plugin-eslint": "^1.8.1", "vite-plugin-svgr": "^4.2.0", - "vite-tsconfig-paths": "^4.3.2", - "vitest": "^1.6.0", + "vite-tsconfig-paths": "^5.0.0", + "vitest": "^2.0.0", "vitest-canvas-mock": "^0.3.3" }, "overrides": { diff --git a/policy-engine/package-lock.json b/policy-engine/package-lock.json index dbe272077..7bf44a9ef 100644 --- a/policy-engine/package-lock.json +++ b/policy-engine/package-lock.json @@ -1,12 +1,12 @@ { "name": "onroute-policy-engine", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "onroute-policy-engine", - "version": "0.1.0", + "version": "0.2.0", "license": "Apache-2.0", "dependencies": { "dayjs": "^1.11.10", @@ -20,7 +20,7 @@ "eslint-config-prettier": "^9.1.0", "jest": "^29.7.0", "prettier": "^3.2.5", - "rimraf": "^5.0.7", + "rimraf": "^6.0.0", "ts-jest": "^29.1.2", "typescript": "^5.4.3" } @@ -1241,16 +1241,6 @@ "node": ">= 8" } }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "dev": true, - "optional": true, - "engines": { - "node": ">=14" - } - }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", @@ -3406,21 +3396,19 @@ } }, "node_modules/jackspeak": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", - "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz", + "integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, "engines": { - "node": ">=14" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" } }, "node_modules/jest": { @@ -4510,28 +4498,30 @@ "dev": true }, "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", - "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.1.tgz", + "integrity": "sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==", "dev": true, + "license": "ISC", "engines": { - "node": "14 || >=16.14" + "node": "20 || >=22" } }, "node_modules/path-type": { @@ -4763,18 +4753,20 @@ } }, "node_modules/rimraf": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.7.tgz", - "integrity": "sha512-nV6YcJo5wbLW77m+8KjH8aB/7/rxQy9SZ0HY5shnwULfS+9nmTtVXAJET5NdZmCzA4fPI/Hm1wo/Po/4mopOdg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", + "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", "dev": true, + "license": "ISC", "dependencies": { - "glob": "^10.3.7" + "glob": "^11.0.0", + "package-json-from-dist": "^1.0.0" }, "bin": { "rimraf": "dist/esm/bin.mjs" }, "engines": { - "node": ">=14.18" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -4785,43 +4777,46 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", + "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" + "path-scurry": "^2.0.0" }, "bin": { "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/rimraf/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" diff --git a/policy-engine/package.json b/policy-engine/package.json index 7a846121b..e3a53abed 100644 --- a/policy-engine/package.json +++ b/policy-engine/package.json @@ -33,7 +33,7 @@ "eslint-config-prettier": "^9.1.0", "jest": "^29.7.0", "prettier": "^3.2.5", - "rimraf": "^5.0.7", + "rimraf": "^6.0.0", "ts-jest": "^29.1.2", "typescript": "^5.4.3" }, diff --git a/policy/Dockerfile b/policy/Dockerfile index ba701649d..97cf3c7eb 100644 --- a/policy/Dockerfile +++ b/policy/Dockerfile @@ -1,5 +1,5 @@ # Build container. -FROM node:20.15.1-alpine AS builder +FROM node:20.17.0-alpine AS builder # Set the working directory to /app inside the container WORKDIR /app @@ -18,7 +18,7 @@ RUN npm prune --production # Deployment container -FROM node:20.15.1-alpine +FROM node:20.17.0-alpine RUN npm cache clean --force # Create and Assign permissions to npm folder diff --git a/policy/package.json b/policy/package.json index 41b4439a2..684e97f7f 100644 --- a/policy/package.json +++ b/policy/package.json @@ -59,14 +59,14 @@ "@nestjs/typeorm": "^10.0.2", "@types/response-time": "^2.3.8", "axios-retry": "^4.5.0", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "dayjs": "^1.11.13", "dotenv": "^16.4.5", - "helmet": "^7.1.0", + "helmet": "^8.0.0", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.4.1", "passport": "^0.7.0", @@ -76,12 +76,12 @@ "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", "typescript-eslint": "^7.18.0", - "uuid": "^9.0.1", + "uuid": "^10.0.0", "winston": "^3.14.2" }, "devDependencies": { "@golevelup/ts-jest": "^0.5.4", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.12", "@types/multer": "^1.4.12", "@types/node": "^20.16.1", @@ -102,7 +102,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.9", "prettier": "^3.3.3", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", diff --git a/scheduler/Dockerfile b/scheduler/Dockerfile index e52daa821..8de9f9a1a 100644 --- a/scheduler/Dockerfile +++ b/scheduler/Dockerfile @@ -1,5 +1,5 @@ # Build container -FROM node:20.15.1-alpine AS builder +FROM node:20.17.0-alpine AS builder # Set the working directory to /app inside the container WORKDIR /app @@ -18,7 +18,7 @@ RUN npm prune --production # Deployment container -FROM node:20.15.1-alpine +FROM node:20.17.0-alpine RUN npm cache clean --force # Create and Assign permissions to npm folder diff --git a/scheduler/package.json b/scheduler/package.json index aea908d0e..dc132636f 100644 --- a/scheduler/package.json +++ b/scheduler/package.json @@ -59,27 +59,27 @@ "@nestjs/testing": "^10.4.1", "@nestjs/typeorm": "^10.0.2", "@types/crypto-js": "^4.2.2", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "crypto-js": "^4.2.0", "dayjs": "^1.11.13", "dotenv": "^16.4.5", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.4.1", "rxjs": "^7.8.1", - "ssh2-sftp-client": "^10.0.3", + "ssh2-sftp-client": "^11.0.0", "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", "typescript-eslint": "^7.18.0", - "uuid": "^9.0.1", + "uuid": "^10.0.0", "winston": "^3.14.2" }, "devDependencies": { "@golevelup/ts-jest": "^0.5.4", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.12", "@types/multer": "^1.4.12", "@types/node": "^20.16.1", @@ -100,7 +100,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.9", "prettier": "^3.3.3", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", diff --git a/vehicles/Dockerfile b/vehicles/Dockerfile index 141dcaaa4..667329f50 100644 --- a/vehicles/Dockerfile +++ b/vehicles/Dockerfile @@ -1,5 +1,5 @@ # Build container -FROM node:20.15.1-alpine AS builder +FROM node:20.17.0-alpine AS builder # Set the working directory to /app inside the container WORKDIR /app @@ -18,7 +18,7 @@ RUN npm prune --production # Deployment container -FROM node:20.15.1-alpine +FROM node:20.17.0-alpine RUN npm cache clean --force # Create and Assign permissions to npm folder diff --git a/vehicles/package.json b/vehicles/package.json index 2e9e7fa73..b75e5652e 100644 --- a/vehicles/package.json +++ b/vehicles/package.json @@ -58,16 +58,16 @@ "@nestjs/testing": "^10.4.1", "@nestjs/typeorm": "^10.0.2", "@types/response-time": "^2.3.8", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "dayjs": "^1.11.13", "dotenv": "^16.4.5", "form-data": "^4.0.0", "handlebars": "^4.7.8", - "helmet": "^7.1.0", + "helmet": "^8.0.0", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.4.1", "nestjs-typeorm-paginate": "^4.0.4", @@ -77,14 +77,14 @@ "rxjs": "^7.8.1", "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", - "uuid": "^9.0.1", + "uuid": "^10.0.0", "winston": "^3.14.2" }, "devDependencies": { "@golevelup/ts-jest": "^0.5.4", "@types/cache-manager": "^4.0.6", "@types/crypto-js": "^4.2.2", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.12", "@types/multer": "^1.4.12", "@types/node": "^20.16.1", @@ -105,7 +105,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.9", "prettier": "^3.3.3", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5",