From 027000b5e83e7e7aff43b8813d5f8d2d0a7d130a Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:37:38 +0000 Subject: [PATCH 01/11] fix: upgrade axios from 1.7.4 to 1.7.7 Snyk has created this PR to upgrade axios from 1.7.4 to 1.7.7. See this package in yarn: axios See this project in Snyk: https://app.snyk.io/org/oph-snyk/project/84abdeeb-9d9e-4376-92f5-0d0983809ad7?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr --- frontend/package.json | 2 +- frontend/yarn.lock | 328 +++++++++++++----------------------------- 2 files changed, 103 insertions(+), 227 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 7bc4471b3..827cddab7 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -34,7 +34,7 @@ "@mui/x-date-pickers": "^5.0.20", "@reduxjs/toolkit": "^1.9.7", "@types/js-cookie": "^3.0.6", - "axios": "^1.7.4", + "axios": "^1.7.7", "dayjs": "^1.11.13", "finnish-personal-identity-code-validator": "kimmotaskinen/finnish-personal-identity-code-validator#support-new-delimiters", "history": "^5.3.0", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 48d990b32..e3c974474 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2,7 +2,7 @@ # Manual changes might be lost - proceed with caution! __metadata: - version: 8 + version: 6 cacheKey: 10 "@aashutoshrathi/word-wrap@npm:^1.2.3": @@ -2584,132 +2584,92 @@ __metadata: languageName: node linkType: hard -"@opetushallitus/kieli-ja-kaantajatutkinnot.akr@workspace:packages/akr": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.akr@workspace:packages/akr" - dependencies: - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.1" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.otr@workspace:packages/otr": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.otr@workspace:packages/otr" - dependencies: - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.1" - languageName: unknown - linkType: soft - "@opetushallitus/kieli-ja-kaantajatutkinnot.root@workspace:.": version: 0.0.0-use.local resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.root@workspace:." dependencies: - "@babel/core": "npm:^7.23.2" - "@babel/plugin-transform-runtime": "npm:^7.23.2" - "@babel/preset-env": "npm:^7.23.2" - "@babel/preset-react": "npm:^7.22.15" - "@babel/preset-typescript": "npm:^7.23.2" - "@babel/runtime": "npm:^7.23.2" - "@cypress/webpack-preprocessor": "npm:^6.0.0" - "@emotion/react": "npm:^11.13.0" - "@emotion/styled": "npm:^11.13.0" - "@fontsource/roboto": "npm:^5.0.14" - "@mui/icons-material": "npm:^5.16.7" - "@mui/material": "npm:^5.16.7" - "@mui/system": "npm:^5.16.7" - "@mui/x-date-pickers": "npm:^5.0.20" - "@reduxjs/toolkit": "npm:^1.9.7" - "@testing-library/cypress": "npm:^10.0.1" - "@testing-library/dom": "npm:^9.3.3" - "@testing-library/jest-dom": "npm:^6.1.4" - "@testing-library/react": "npm:^14.0.0" - "@testing-library/user-event": "npm:^14.5.1" - "@types/jest": "npm:^29.5.7" - "@types/js-cookie": "npm:^3.0.6" - "@types/node": "npm:^20.8.10" - "@types/react": "npm:^18.2.36" - "@types/react-dom": "npm:^18.2.14" - "@types/react-redux": "npm:^7.1.29" - "@types/react-test-renderer": "npm:^18.0.5" - "@typescript-eslint/eslint-plugin": "npm:^6.10.0" - "@typescript-eslint/parser": "npm:^6.10.0" - axios: "npm:^1.7.4" - babel-jest: "npm:^29.7.0" - babel-loader: "npm:^9.1.3" - compression-webpack-plugin: "npm:^10.0.0" - copy-webpack-plugin: "npm:^11.0.0" - css-loader: "npm:^6.8.1" - cypress: "npm:^13.13.3" - dayjs: "npm:^1.11.13" - eslint: "npm:^8.53.0" - eslint-config-prettier: "npm:^9.0.0" - eslint-import-resolver-webpack: "npm:^0.13.8" - eslint-plugin-eslint-comments: "npm:^3.2.0" - eslint-plugin-import: "npm:^2.29.0" - eslint-plugin-jsx-a11y: "npm:^6.8.0" - eslint-plugin-no-only-tests: "npm:^3.1.0" - eslint-plugin-prettier: "npm:^5.0.1" - eslint-plugin-react: "npm:^7.33.2" - eslint-plugin-react-hooks: "npm:^4.6.0" - eslint-webpack-plugin: "npm:^4.0.1" + "@babel/core": ^7.23.2 + "@babel/plugin-transform-runtime": ^7.23.2 + "@babel/preset-env": ^7.23.2 + "@babel/preset-react": ^7.22.15 + "@babel/preset-typescript": ^7.23.2 + "@babel/runtime": ^7.23.2 + "@cypress/webpack-preprocessor": ^6.0.0 + "@emotion/react": ^11.13.0 + "@emotion/styled": ^11.13.0 + "@fontsource/roboto": ^5.0.14 + "@mui/icons-material": ^5.16.7 + "@mui/material": ^5.16.7 + "@mui/system": ^5.16.7 + "@mui/x-date-pickers": ^5.0.20 + "@reduxjs/toolkit": ^1.9.7 + "@testing-library/cypress": ^10.0.1 + "@testing-library/dom": ^9.3.3 + "@testing-library/jest-dom": ^6.1.4 + "@testing-library/react": ^14.0.0 + "@testing-library/user-event": ^14.5.1 + "@types/jest": ^29.5.7 + "@types/js-cookie": ^3.0.6 + "@types/node": ^20.8.10 + "@types/react": ^18.2.36 + "@types/react-dom": ^18.2.14 + "@types/react-redux": ^7.1.29 + "@types/react-test-renderer": ^18.0.5 + "@typescript-eslint/eslint-plugin": ^6.10.0 + "@typescript-eslint/parser": ^6.10.0 + axios: ^1.7.7 + babel-jest: ^29.7.0 + babel-loader: ^9.1.3 + compression-webpack-plugin: ^10.0.0 + copy-webpack-plugin: ^11.0.0 + css-loader: ^6.8.1 + cypress: ^13.13.3 + dayjs: ^1.11.13 + eslint: ^8.53.0 + eslint-config-prettier: ^9.0.0 + eslint-import-resolver-webpack: ^0.13.8 + eslint-plugin-eslint-comments: ^3.2.0 + eslint-plugin-import: ^2.29.0 + eslint-plugin-jsx-a11y: ^6.8.0 + eslint-plugin-no-only-tests: ^3.1.0 + eslint-plugin-prettier: ^5.0.1 + eslint-plugin-react: ^7.33.2 + eslint-plugin-react-hooks: ^4.6.0 + eslint-webpack-plugin: ^4.0.1 finnish-personal-identity-code-validator: "kimmotaskinen/finnish-personal-identity-code-validator#support-new-delimiters" - git-revision-webpack-plugin: "npm:^5.0.0" - history: "npm:^5.3.0" - html-webpack-plugin: "npm:^5.5.3" - i18next: "npm:^23.14.0" - i18next-browser-languagedetector: "npm:^7.2.1" - jest: "npm:^29.7.0" - jest-environment-jsdom: "npm:^29.7.0" - js-cookie: "npm:^3.0.5" - mini-css-extract-plugin: "npm:^2.7.6" - msw: "npm:^2.0.4" - normalize.css: "npm:^8.0.1" - postcss: "npm:^8.4.31" - prettier: "npm:^3.0.3" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" - react-i18next: "npm:^13.5.0" - react-redux: "npm:^8.1.3" - react-router-dom: "npm:6.26.1" - react-test-renderer: "npm:^18.2.0" - redux-saga: "npm:^1.3.0" - sass: "npm:^1.69.5" - sass-loader: "npm:^13.3.2" - style-loader: "npm:^3.3.3" - stylelint: "npm:^15.11.0" - stylelint-config-prettier: "npm:^9.0.5" - stylelint-config-sass-guidelines: "npm:^10.0.0" - stylelint-prettier: "npm:^4.0.2" - stylelint-webpack-plugin: "npm:^4.1.1" - ts-unused-exports: "npm:^10.0.1" - typescript: "npm:^5.2.2" - webpack: "npm:^5.94.0" - webpack-cli: "npm:^5.1.4" - webpack-dev-server: "npm:^4.15.1" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared, shared@npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.1": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.vkt@workspace:packages/vkt": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.vkt@workspace:packages/vkt" - dependencies: - reduxjs-toolkit-persist: "npm:^7.2.1" - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.1" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.yki@workspace:packages/yki": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.yki@workspace:packages/yki" - dependencies: - multer: "npm:^1.4.5-lts.1" - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.1" + git-revision-webpack-plugin: ^5.0.0 + history: ^5.3.0 + html-webpack-plugin: ^5.5.3 + i18next: ^23.14.0 + i18next-browser-languagedetector: ^7.2.1 + jest: ^29.7.0 + jest-environment-jsdom: ^29.7.0 + js-cookie: ^3.0.5 + mini-css-extract-plugin: ^2.7.6 + msw: ^2.0.4 + normalize.css: ^8.0.1 + postcss: ^8.4.31 + prettier: ^3.0.3 + react: ^18.3.1 + react-dom: ^18.3.1 + react-i18next: ^13.5.0 + react-redux: ^8.1.3 + react-router-dom: 6.26.1 + react-test-renderer: ^18.2.0 + redux-saga: ^1.3.0 + sass: ^1.69.5 + sass-loader: ^13.3.2 + style-loader: ^3.3.3 + stylelint: ^15.11.0 + stylelint-config-prettier: ^9.0.5 + stylelint-config-sass-guidelines: ^10.0.0 + stylelint-prettier: ^4.0.2 + stylelint-webpack-plugin: ^4.1.1 + ts-unused-exports: ^10.0.1 + typescript: ^5.2.2 + webpack: ^5.94.0 + webpack-cli: ^5.1.4 + webpack-dev-server: ^4.15.1 languageName: unknown linkType: soft @@ -4067,13 +4027,6 @@ __metadata: languageName: node linkType: hard -"append-field@npm:^1.0.0": - version: 1.0.0 - resolution: "append-field@npm:1.0.0" - checksum: afb50f5ff668af1cb66bc5cfebb55ed9a1d99e24901782ee83d00aed1a499835f9375a149cf27b17f79595ecfcc3d1de0cd5b020b210a5359c43eaf607c217de - languageName: node - linkType: hard - "arch@npm:^2.2.0": version: 2.2.0 resolution: "arch@npm:2.2.0" @@ -4331,14 +4284,14 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.7.4": - version: 1.7.4 - resolution: "axios@npm:1.7.4" +"axios@npm:^1.7.7": + version: 1.7.7 + resolution: "axios@npm:1.7.7" dependencies: - follow-redirects: "npm:^1.15.6" - form-data: "npm:^4.0.0" - proxy-from-env: "npm:^1.1.0" - checksum: 7a1429be1e3d0c2e1b96d4bba4d113efbfabc7c724bed107beb535c782c7bea447ff634886b0c7c43395a264d085450d009eb1154b5f38a8bae49d469fdcbc61 + follow-redirects: ^1.15.6 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: 8/882d4fe0ec694a07c7f5c1f68205eb6dc5a62aecdb632cc7a4a3d0985188ce3030e0b277e1a8260ac3f194d314ae342117660a151fabffdc5081ca0b5a8b47fe languageName: node linkType: hard @@ -4716,15 +4669,6 @@ __metadata: languageName: node linkType: hard -"busboy@npm:^1.0.0": - version: 1.6.0 - resolution: "busboy@npm:1.6.0" - dependencies: - streamsearch: "npm:^1.1.0" - checksum: bee10fa10ea58e7e3e7489ffe4bda6eacd540a17de9f9cd21cc37e297b2dd9fe52b2715a5841afaec82900750d810d01d7edb4b2d456427f449b92b417579763 - languageName: node - linkType: hard - "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -5199,18 +5143,6 @@ __metadata: languageName: node linkType: hard -"concat-stream@npm:^1.5.2": - version: 1.6.2 - resolution: "concat-stream@npm:1.6.2" - dependencies: - buffer-from: "npm:^1.0.0" - inherits: "npm:^2.0.3" - readable-stream: "npm:^2.2.2" - typedarray: "npm:^0.0.6" - checksum: 71db903c84fc073ca35a274074e8d26c4330713d299f8623e993c448c1f6bf8b967806dd1d1a7b0f8add6f15ab1af7435df21fe79b4fe7efd78420c89e054e28 - languageName: node - linkType: hard - "connect-history-api-fallback@npm:^2.0.0": version: 2.0.0 resolution: "connect-history-api-fallback@npm:2.0.0" @@ -7174,9 +7106,9 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": +"fsevents@patch:fsevents@npm%3A^2.3.2#~builtin, fsevents@patch:fsevents@npm%3A~2.3.2#~builtin": version: 2.3.3 - resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#~builtin::version=2.3.3&hash=df0bf1" dependencies: node-gyp: "npm:latest" conditions: os=darwin @@ -9859,17 +9791,6 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^0.5.4": - version: 0.5.6 - resolution: "mkdirp@npm:0.5.6" - dependencies: - minimist: "npm:^1.2.6" - bin: - mkdirp: bin/cmd.js - checksum: 0c91b721bb12c3f9af4b77ebf73604baf350e64d80df91754dc509491ae93bf238581e59c7188360cec7cb62fc4100959245a42cfe01834efedc5e9d068376c2 - languageName: node - linkType: hard - "mkdirp@npm:^1.0.3": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" @@ -9937,21 +9858,6 @@ __metadata: languageName: node linkType: hard -"multer@npm:^1.4.5-lts.1": - version: 1.4.5-lts.1 - resolution: "multer@npm:1.4.5-lts.1" - dependencies: - append-field: "npm:^1.0.0" - busboy: "npm:^1.0.0" - concat-stream: "npm:^1.5.2" - mkdirp: "npm:^0.5.4" - object-assign: "npm:^4.1.1" - type-is: "npm:^1.6.4" - xtend: "npm:^4.0.0" - checksum: 957c09956f3b7f79d8586cac5e2a50e9a5c3011eb841667b5e4590c5f31d9464f5b46aecd399c83e183a15b88b019cccf0e4fa5620db40bf16b9e3af7fab3ac6 - languageName: node - linkType: hard - "multicast-dns@npm:^7.2.5": version: 7.2.5 resolution: "multicast-dns@npm:7.2.5" @@ -11172,7 +11078,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^2.0.1, readable-stream@npm:^2.2.2": +"readable-stream@npm:^2.0.1": version: 2.3.8 resolution: "readable-stream@npm:2.3.8" dependencies: @@ -11263,15 +11169,6 @@ __metadata: languageName: node linkType: hard -"reduxjs-toolkit-persist@npm:^7.2.1": - version: 7.2.1 - resolution: "reduxjs-toolkit-persist@npm:7.2.1" - peerDependencies: - "@reduxjs/toolkit": ^1.6.1 - checksum: 94c75dff10c8442e69feda9c2a647df23c43c99a74fe175f2623acd8518ae7f47ad48f636d7b8ae26ee1b7b7927ad6c93e6c2b8150bb1a77274f8135eddce8b9 - languageName: node - linkType: hard - "reflect.getprototypeof@npm:^1.0.4": version: 1.0.4 resolution: "reflect.getprototypeof@npm:1.0.4" @@ -11467,29 +11364,29 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": +"resolve@patch:resolve@npm%3A^1.14.2#~builtin, resolve@patch:resolve@npm%3A^1.19.0#~builtin, resolve@patch:resolve@npm%3A^1.20.0#~builtin, resolve@patch:resolve@npm%3A^1.22.4#~builtin": version: 1.22.8 - resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" + resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" dependencies: is-core-module: "npm:^2.13.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: f345cd37f56a2c0275e3fe062517c650bb673815d885e7507566df589375d165bbbf4bdb6aa95600a9bc55f4744b81f452b5a63f95b9f10a72787dba3c90890a + checksum: 8/5479b7d431cacd5185f8db64bfcb7286ae5e31eb299f4c4f404ad8aa6098b77599563ac4257cb2c37a42f59dfc06a1bec2bcf283bb448f319e37f0feb9a09847 languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^2.0.0-next.4#optional!builtin, resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin": +"resolve@patch:resolve@npm%3A^2.0.0-next.4#~builtin, resolve@patch:resolve@npm%3A^2.0.0-next.5#~builtin": version: 2.0.0-next.5 - resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin::version=2.0.0-next.5&hash=c3c19d" + resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin::version=2.0.0-next.5&hash=c3c19d" dependencies: is-core-module: "npm:^2.13.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: 05fa778de9d0347c8b889eb7a18f1f06bf0f801b0eb4610b4871a4b2f22e220900cf0ad525e94f990bb8d8921c07754ab2122c0c225ab4cdcea98f36e64fa4c2 + checksum: 8/064d09c1808d0c51b3d90b5d27e198e6d0c5dad0eb57065fd40803d6a20553e5398b07f76739d69cbabc12547058bec6b32106ea66622375fb0d7e8fca6a846c languageName: node linkType: hard @@ -12166,13 +12063,6 @@ __metadata: languageName: node linkType: hard -"streamsearch@npm:^1.1.0": - version: 1.1.0 - resolution: "streamsearch@npm:1.1.0" - checksum: 612c2b2a7dbcc859f74597112f80a42cbe4d448d03da790d5b7b39673c1197dd3789e91cd67210353e58857395d32c1e955a9041c4e6d5bae723436b3ed9ed14 - languageName: node - linkType: hard - "strict-event-emitter@npm:^0.5.0, strict-event-emitter@npm:^0.5.1": version: 0.5.1 resolution: "strict-event-emitter@npm:0.5.1" @@ -12868,7 +12758,7 @@ __metadata: languageName: node linkType: hard -"type-is@npm:^1.6.4, type-is@npm:~1.6.18": +"type-is@npm:~1.6.18": version: 1.6.18 resolution: "type-is@npm:1.6.18" dependencies: @@ -12925,13 +12815,6 @@ __metadata: languageName: node linkType: hard -"typedarray@npm:^0.0.6": - version: 0.0.6 - resolution: "typedarray@npm:0.0.6" - checksum: 2cc1bcf7d8c1237f6a16c04efc06637b2c5f2d74e58e84665445cf87668b85a21ab18dd751fa49eee6ae024b70326635d7b79ad37b1c370ed2fec6aeeeb52714 - languageName: node - linkType: hard - "typescript-compare@npm:^0.0.2": version: 0.0.2 resolution: "typescript-compare@npm:0.0.2" @@ -12967,13 +12850,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin": +"typescript@patch:typescript@^5.2.2#~builtin": version: 5.2.2 - resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin::version=5.2.2&hash=f3b441" + resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=d73830" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: f79cc2ba802c94c2b78dbb00d767a10adb67368ae764709737dc277273ec148aa4558033a03ce901406b35fddf4eac46dabc94a1e1d12d2587e2b9cfe5707b4a + checksum: 8/07106822b4305de3f22835cbba949a2b35451cad50888759b6818421290ff95d522b38ef7919e70fb381c5fe9c1c643d7dea22c8b31652a717ddbd57b7f4d554 languageName: node linkType: hard @@ -13654,13 +13537,6 @@ __metadata: languageName: node linkType: hard -"xtend@npm:^4.0.0": - version: 4.0.2 - resolution: "xtend@npm:4.0.2" - checksum: ac5dfa738b21f6e7f0dd6e65e1b3155036d68104e67e5d5d1bde74892e327d7e5636a076f625599dc394330a731861e87343ff184b0047fef1360a7ec0a5a36a - languageName: node - linkType: hard - "y18n@npm:^5.0.5": version: 5.0.8 resolution: "y18n@npm:5.0.8" From 9209b5c4656d055d5743866893bd3e2cc4bf0e46 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 01:44:02 +0000 Subject: [PATCH 02/11] fix: upgrade org.liquibase:liquibase-core from 4.29.1 to 4.29.2 Snyk has created this PR to upgrade org.liquibase:liquibase-core from 4.29.1 to 4.29.2. See this package in maven: org.liquibase:liquibase-core See this project in Snyk: https://app.snyk.io/org/oph-snyk/project/d824f7ed-bf61-4724-becd-c480f7e7c8ea?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr --- backend/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pom.xml b/backend/pom.xml index 1cbd6f2d1..185d6b79e 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -35,7 +35,7 @@ 4.48.0 5.3.0 - 4.29.1 + 4.29.2 From 24b4edcbbae0c3b407c5f86a06c09cc1c045c1f4 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 02:15:54 +0000 Subject: [PATCH 03/11] fix: upgrade io.netty:netty-resolver-dns-native-macos from 4.1.112.Final to 4.1.113.Final Snyk has created this PR to upgrade io.netty:netty-resolver-dns-native-macos from 4.1.112.Final to 4.1.113.Final. See this package in maven: io.netty:netty-resolver-dns-native-macos See this project in Snyk: https://app.snyk.io/org/oph-snyk/project/e59ac9f1-fa97-493f-be51-738241cda069?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr --- backend/vkt/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/vkt/pom.xml b/backend/vkt/pom.xml index 4e7987588..b9bebd1ec 100644 --- a/backend/vkt/pom.xml +++ b/backend/vkt/pom.xml @@ -51,7 +51,7 @@ io.netty netty-resolver-dns-native-macos - 4.1.112.Final + 4.1.113.Final osx-aarch_64 runtime From 869b23d6d88948707a37d91e5cb6ef8695aac172 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 18:23:47 +0000 Subject: [PATCH 04/11] fix: upgrade react-router-dom from 6.26.1 to 6.26.2 Snyk has created this PR to upgrade react-router-dom from 6.26.1 to 6.26.2. See this package in yarn: react-router-dom See this project in Snyk: https://app.snyk.io/org/oph-snyk/project/84abdeeb-9d9e-4376-92f5-0d0983809ad7?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr --- frontend/package.json | 2 +- frontend/yarn.lock | 344 ++++++++++++++---------------------------- 2 files changed, 111 insertions(+), 235 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 7bc4471b3..3127d8c67 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -46,7 +46,7 @@ "react-dom": "^18.3.1", "react-i18next": "^13.5.0", "react-redux": "^8.1.3", - "react-router-dom": "6.26.1", + "react-router-dom": "6.26.2", "redux-saga": "^1.3.0" }, "devDependencies": { diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 417092cc3..bf042d533 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2,7 +2,7 @@ # Manual changes might be lost - proceed with caution! __metadata: - version: 8 + version: 6 cacheKey: 10 "@aashutoshrathi/word-wrap@npm:^1.2.3": @@ -2584,132 +2584,92 @@ __metadata: languageName: node linkType: hard -"@opetushallitus/kieli-ja-kaantajatutkinnot.akr@workspace:packages/akr": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.akr@workspace:packages/akr" - dependencies: - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.3" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.otr@workspace:packages/otr": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.otr@workspace:packages/otr" - dependencies: - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.3" - languageName: unknown - linkType: soft - "@opetushallitus/kieli-ja-kaantajatutkinnot.root@workspace:.": version: 0.0.0-use.local resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.root@workspace:." dependencies: - "@babel/core": "npm:^7.23.2" - "@babel/plugin-transform-runtime": "npm:^7.23.2" - "@babel/preset-env": "npm:^7.23.2" - "@babel/preset-react": "npm:^7.22.15" - "@babel/preset-typescript": "npm:^7.23.2" - "@babel/runtime": "npm:^7.23.2" - "@cypress/webpack-preprocessor": "npm:^6.0.0" - "@emotion/react": "npm:^11.13.0" - "@emotion/styled": "npm:^11.13.0" - "@fontsource/roboto": "npm:^5.0.14" - "@mui/icons-material": "npm:^5.16.7" - "@mui/material": "npm:^5.16.7" - "@mui/system": "npm:^5.16.7" - "@mui/x-date-pickers": "npm:^5.0.20" - "@reduxjs/toolkit": "npm:^1.9.7" - "@testing-library/cypress": "npm:^10.0.1" - "@testing-library/dom": "npm:^9.3.3" - "@testing-library/jest-dom": "npm:^6.1.4" - "@testing-library/react": "npm:^14.0.0" - "@testing-library/user-event": "npm:^14.5.1" - "@types/jest": "npm:^29.5.7" - "@types/js-cookie": "npm:^3.0.6" - "@types/node": "npm:^20.8.10" - "@types/react": "npm:^18.2.36" - "@types/react-dom": "npm:^18.2.14" - "@types/react-redux": "npm:^7.1.29" - "@types/react-test-renderer": "npm:^18.0.5" - "@typescript-eslint/eslint-plugin": "npm:^6.10.0" - "@typescript-eslint/parser": "npm:^6.10.0" - axios: "npm:^1.7.4" - babel-jest: "npm:^29.7.0" - babel-loader: "npm:^9.1.3" - compression-webpack-plugin: "npm:^10.0.0" - copy-webpack-plugin: "npm:^11.0.0" - css-loader: "npm:^6.8.1" - cypress: "npm:^13.13.3" - dayjs: "npm:^1.11.13" - eslint: "npm:^8.53.0" - eslint-config-prettier: "npm:^9.0.0" - eslint-import-resolver-webpack: "npm:^0.13.8" - eslint-plugin-eslint-comments: "npm:^3.2.0" - eslint-plugin-import: "npm:^2.29.0" - eslint-plugin-jsx-a11y: "npm:^6.8.0" - eslint-plugin-no-only-tests: "npm:^3.1.0" - eslint-plugin-prettier: "npm:^5.0.1" - eslint-plugin-react: "npm:^7.33.2" - eslint-plugin-react-hooks: "npm:^4.6.0" - eslint-webpack-plugin: "npm:^4.0.1" + "@babel/core": ^7.23.2 + "@babel/plugin-transform-runtime": ^7.23.2 + "@babel/preset-env": ^7.23.2 + "@babel/preset-react": ^7.22.15 + "@babel/preset-typescript": ^7.23.2 + "@babel/runtime": ^7.23.2 + "@cypress/webpack-preprocessor": ^6.0.0 + "@emotion/react": ^11.13.0 + "@emotion/styled": ^11.13.0 + "@fontsource/roboto": ^5.0.14 + "@mui/icons-material": ^5.16.7 + "@mui/material": ^5.16.7 + "@mui/system": ^5.16.7 + "@mui/x-date-pickers": ^5.0.20 + "@reduxjs/toolkit": ^1.9.7 + "@testing-library/cypress": ^10.0.1 + "@testing-library/dom": ^9.3.3 + "@testing-library/jest-dom": ^6.1.4 + "@testing-library/react": ^14.0.0 + "@testing-library/user-event": ^14.5.1 + "@types/jest": ^29.5.7 + "@types/js-cookie": ^3.0.6 + "@types/node": ^20.8.10 + "@types/react": ^18.2.36 + "@types/react-dom": ^18.2.14 + "@types/react-redux": ^7.1.29 + "@types/react-test-renderer": ^18.0.5 + "@typescript-eslint/eslint-plugin": ^6.10.0 + "@typescript-eslint/parser": ^6.10.0 + axios: ^1.7.4 + babel-jest: ^29.7.0 + babel-loader: ^9.1.3 + compression-webpack-plugin: ^10.0.0 + copy-webpack-plugin: ^11.0.0 + css-loader: ^6.8.1 + cypress: ^13.13.3 + dayjs: ^1.11.13 + eslint: ^8.53.0 + eslint-config-prettier: ^9.0.0 + eslint-import-resolver-webpack: ^0.13.8 + eslint-plugin-eslint-comments: ^3.2.0 + eslint-plugin-import: ^2.29.0 + eslint-plugin-jsx-a11y: ^6.8.0 + eslint-plugin-no-only-tests: ^3.1.0 + eslint-plugin-prettier: ^5.0.1 + eslint-plugin-react: ^7.33.2 + eslint-plugin-react-hooks: ^4.6.0 + eslint-webpack-plugin: ^4.0.1 finnish-personal-identity-code-validator: "kimmotaskinen/finnish-personal-identity-code-validator#support-new-delimiters" - git-revision-webpack-plugin: "npm:^5.0.0" - history: "npm:^5.3.0" - html-webpack-plugin: "npm:^5.5.3" - i18next: "npm:^23.14.0" - i18next-browser-languagedetector: "npm:^7.2.1" - jest: "npm:^29.7.0" - jest-environment-jsdom: "npm:^29.7.0" - js-cookie: "npm:^3.0.5" - mini-css-extract-plugin: "npm:^2.7.6" - msw: "npm:^2.0.4" - normalize.css: "npm:^8.0.1" - postcss: "npm:^8.4.31" - prettier: "npm:^3.0.3" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" - react-i18next: "npm:^13.5.0" - react-redux: "npm:^8.1.3" - react-router-dom: "npm:6.26.1" - react-test-renderer: "npm:^18.2.0" - redux-saga: "npm:^1.3.0" - sass: "npm:^1.69.5" - sass-loader: "npm:^13.3.2" - style-loader: "npm:^3.3.3" - stylelint: "npm:^15.11.0" - stylelint-config-prettier: "npm:^9.0.5" - stylelint-config-sass-guidelines: "npm:^10.0.0" - stylelint-prettier: "npm:^4.0.2" - stylelint-webpack-plugin: "npm:^4.1.1" - ts-unused-exports: "npm:^10.0.1" - typescript: "npm:^5.2.2" - webpack: "npm:^5.94.0" - webpack-cli: "npm:^5.1.4" - webpack-dev-server: "npm:^4.15.1" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared, shared@npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.3": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.vkt@workspace:packages/vkt": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.vkt@workspace:packages/vkt" - dependencies: - reduxjs-toolkit-persist: "npm:^7.2.1" - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.3" - languageName: unknown - linkType: soft - -"@opetushallitus/kieli-ja-kaantajatutkinnot.yki@workspace:packages/yki": - version: 0.0.0-use.local - resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.yki@workspace:packages/yki" - dependencies: - multer: "npm:^1.4.5-lts.1" - shared: "npm:@opetushallitus/kieli-ja-kaantajatutkinnot.shared@1.11.3" + git-revision-webpack-plugin: ^5.0.0 + history: ^5.3.0 + html-webpack-plugin: ^5.5.3 + i18next: ^23.14.0 + i18next-browser-languagedetector: ^7.2.1 + jest: ^29.7.0 + jest-environment-jsdom: ^29.7.0 + js-cookie: ^3.0.5 + mini-css-extract-plugin: ^2.7.6 + msw: ^2.0.4 + normalize.css: ^8.0.1 + postcss: ^8.4.31 + prettier: ^3.0.3 + react: ^18.3.1 + react-dom: ^18.3.1 + react-i18next: ^13.5.0 + react-redux: ^8.1.3 + react-router-dom: 6.26.2 + react-test-renderer: ^18.2.0 + redux-saga: ^1.3.0 + sass: ^1.69.5 + sass-loader: ^13.3.2 + style-loader: ^3.3.3 + stylelint: ^15.11.0 + stylelint-config-prettier: ^9.0.5 + stylelint-config-sass-guidelines: ^10.0.0 + stylelint-prettier: ^4.0.2 + stylelint-webpack-plugin: ^4.1.1 + ts-unused-exports: ^10.0.1 + typescript: ^5.2.2 + webpack: ^5.94.0 + webpack-cli: ^5.1.4 + webpack-dev-server: ^4.15.1 languageName: unknown linkType: soft @@ -2816,10 +2776,10 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.19.1": - version: 1.19.1 - resolution: "@remix-run/router@npm:1.19.1" - checksum: 2800c2f6567a982fe942aacc4cb5b170e7cc89bd455960e3bea2424161ff7dac32d01886322d88dd19b88d1bea711f39566d17f02b73eeb74999affb471f8f52 +"@remix-run/router@npm:1.19.2": + version: 1.19.2 + resolution: "@remix-run/router@npm:1.19.2" + checksum: 8/fb2f297b392c75b34c73981e1ef3ce31edd88448bc4ffc2fbc3386e705470d7537ca89e901ec57c07f3cca3a771151f58f7ed6bfcb3e8ef929596637984f068b languageName: node linkType: hard @@ -4067,13 +4027,6 @@ __metadata: languageName: node linkType: hard -"append-field@npm:^1.0.0": - version: 1.0.0 - resolution: "append-field@npm:1.0.0" - checksum: afb50f5ff668af1cb66bc5cfebb55ed9a1d99e24901782ee83d00aed1a499835f9375a149cf27b17f79595ecfcc3d1de0cd5b020b210a5359c43eaf607c217de - languageName: node - linkType: hard - "arch@npm:^2.2.0": version: 2.2.0 resolution: "arch@npm:2.2.0" @@ -4716,15 +4669,6 @@ __metadata: languageName: node linkType: hard -"busboy@npm:^1.0.0": - version: 1.6.0 - resolution: "busboy@npm:1.6.0" - dependencies: - streamsearch: "npm:^1.1.0" - checksum: bee10fa10ea58e7e3e7489ffe4bda6eacd540a17de9f9cd21cc37e297b2dd9fe52b2715a5841afaec82900750d810d01d7edb4b2d456427f449b92b417579763 - languageName: node - linkType: hard - "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -5199,18 +5143,6 @@ __metadata: languageName: node linkType: hard -"concat-stream@npm:^1.5.2": - version: 1.6.2 - resolution: "concat-stream@npm:1.6.2" - dependencies: - buffer-from: "npm:^1.0.0" - inherits: "npm:^2.0.3" - readable-stream: "npm:^2.2.2" - typedarray: "npm:^0.0.6" - checksum: 71db903c84fc073ca35a274074e8d26c4330713d299f8623e993c448c1f6bf8b967806dd1d1a7b0f8add6f15ab1af7435df21fe79b4fe7efd78420c89e054e28 - languageName: node - linkType: hard - "connect-history-api-fallback@npm:^2.0.0": version: 2.0.0 resolution: "connect-history-api-fallback@npm:2.0.0" @@ -7174,9 +7106,9 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": +"fsevents@patch:fsevents@npm%3A^2.3.2#~builtin, fsevents@patch:fsevents@npm%3A~2.3.2#~builtin": version: 2.3.3 - resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#~builtin::version=2.3.3&hash=df0bf1" dependencies: node-gyp: "npm:latest" conditions: os=darwin @@ -9859,17 +9791,6 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^0.5.4": - version: 0.5.6 - resolution: "mkdirp@npm:0.5.6" - dependencies: - minimist: "npm:^1.2.6" - bin: - mkdirp: bin/cmd.js - checksum: 0c91b721bb12c3f9af4b77ebf73604baf350e64d80df91754dc509491ae93bf238581e59c7188360cec7cb62fc4100959245a42cfe01834efedc5e9d068376c2 - languageName: node - linkType: hard - "mkdirp@npm:^1.0.3": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" @@ -9937,21 +9858,6 @@ __metadata: languageName: node linkType: hard -"multer@npm:^1.4.5-lts.1": - version: 1.4.5-lts.1 - resolution: "multer@npm:1.4.5-lts.1" - dependencies: - append-field: "npm:^1.0.0" - busboy: "npm:^1.0.0" - concat-stream: "npm:^1.5.2" - mkdirp: "npm:^0.5.4" - object-assign: "npm:^4.1.1" - type-is: "npm:^1.6.4" - xtend: "npm:^4.0.0" - checksum: 957c09956f3b7f79d8586cac5e2a50e9a5c3011eb841667b5e4590c5f31d9464f5b46aecd399c83e183a15b88b019cccf0e4fa5620db40bf16b9e3af7fab3ac6 - languageName: node - linkType: hard - "multicast-dns@npm:^7.2.5": version: 7.2.5 resolution: "multicast-dns@npm:7.2.5" @@ -11076,27 +10982,27 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:6.26.1": - version: 6.26.1 - resolution: "react-router-dom@npm:6.26.1" +"react-router-dom@npm:6.26.2": + version: 6.26.2 + resolution: "react-router-dom@npm:6.26.2" dependencies: - "@remix-run/router": "npm:1.19.1" - react-router: "npm:6.26.1" + "@remix-run/router": 1.19.2 + react-router: 6.26.2 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: 1bd255d1ff88f477699c72656e7c07702a907e644388a1bea1c648f2df0c3c86db2e90bea945b1d43eaf84ebab194f3868f3788502965ad5f20c508c6874f1fe + checksum: 8/d65507ffb920e03212bf32d294eb608df7f6cb85c26ec24f88e8f2a2718ffedeccfe0a8e1bc8d23561d6d796f8af61a8bed4a9a0541fbfd83096ecc93eaad5c7 languageName: node linkType: hard -"react-router@npm:6.26.1": - version: 6.26.1 - resolution: "react-router@npm:6.26.1" +"react-router@npm:6.26.2": + version: 6.26.2 + resolution: "react-router@npm:6.26.2" dependencies: - "@remix-run/router": "npm:1.19.1" + "@remix-run/router": 1.19.2 peerDependencies: react: ">=16.8" - checksum: b3761515c75da65a1678f005d08a6285ceccd9df7237ae6fdd9ab2ab816ef328435b75610f705ecd9ecd41c6878fd22eb9b44c5391cdef2e1ed99ddbc78de8a4 + checksum: 8/80ad9db316ad11761b7d5de0c9ed61f3e4345d8984929db802d37d9a6a2174b42a952b0b01ba45833b00f8cd7b5755f198d2f0a8a62a486ebbfbacabbe379be5 languageName: node linkType: hard @@ -11172,7 +11078,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^2.0.1, readable-stream@npm:^2.2.2": +"readable-stream@npm:^2.0.1": version: 2.3.8 resolution: "readable-stream@npm:2.3.8" dependencies: @@ -11263,15 +11169,6 @@ __metadata: languageName: node linkType: hard -"reduxjs-toolkit-persist@npm:^7.2.1": - version: 7.2.1 - resolution: "reduxjs-toolkit-persist@npm:7.2.1" - peerDependencies: - "@reduxjs/toolkit": ^1.6.1 - checksum: 94c75dff10c8442e69feda9c2a647df23c43c99a74fe175f2623acd8518ae7f47ad48f636d7b8ae26ee1b7b7927ad6c93e6c2b8150bb1a77274f8135eddce8b9 - languageName: node - linkType: hard - "reflect.getprototypeof@npm:^1.0.4": version: 1.0.4 resolution: "reflect.getprototypeof@npm:1.0.4" @@ -11467,29 +11364,29 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": +"resolve@patch:resolve@npm%3A^1.14.2#~builtin, resolve@patch:resolve@npm%3A^1.19.0#~builtin, resolve@patch:resolve@npm%3A^1.20.0#~builtin, resolve@patch:resolve@npm%3A^1.22.4#~builtin": version: 1.22.8 - resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" + resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" dependencies: is-core-module: "npm:^2.13.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: f345cd37f56a2c0275e3fe062517c650bb673815d885e7507566df589375d165bbbf4bdb6aa95600a9bc55f4744b81f452b5a63f95b9f10a72787dba3c90890a + checksum: 8/5479b7d431cacd5185f8db64bfcb7286ae5e31eb299f4c4f404ad8aa6098b77599563ac4257cb2c37a42f59dfc06a1bec2bcf283bb448f319e37f0feb9a09847 languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^2.0.0-next.4#optional!builtin, resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin": +"resolve@patch:resolve@npm%3A^2.0.0-next.4#~builtin, resolve@patch:resolve@npm%3A^2.0.0-next.5#~builtin": version: 2.0.0-next.5 - resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin::version=2.0.0-next.5&hash=c3c19d" + resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin::version=2.0.0-next.5&hash=c3c19d" dependencies: is-core-module: "npm:^2.13.0" path-parse: "npm:^1.0.7" supports-preserve-symlinks-flag: "npm:^1.0.0" bin: resolve: bin/resolve - checksum: 05fa778de9d0347c8b889eb7a18f1f06bf0f801b0eb4610b4871a4b2f22e220900cf0ad525e94f990bb8d8921c07754ab2122c0c225ab4cdcea98f36e64fa4c2 + checksum: 8/064d09c1808d0c51b3d90b5d27e198e6d0c5dad0eb57065fd40803d6a20553e5398b07f76739d69cbabc12547058bec6b32106ea66622375fb0d7e8fca6a846c languageName: node linkType: hard @@ -12166,13 +12063,6 @@ __metadata: languageName: node linkType: hard -"streamsearch@npm:^1.1.0": - version: 1.1.0 - resolution: "streamsearch@npm:1.1.0" - checksum: 612c2b2a7dbcc859f74597112f80a42cbe4d448d03da790d5b7b39673c1197dd3789e91cd67210353e58857395d32c1e955a9041c4e6d5bae723436b3ed9ed14 - languageName: node - linkType: hard - "strict-event-emitter@npm:^0.5.0, strict-event-emitter@npm:^0.5.1": version: 0.5.1 resolution: "strict-event-emitter@npm:0.5.1" @@ -12868,7 +12758,7 @@ __metadata: languageName: node linkType: hard -"type-is@npm:^1.6.4, type-is@npm:~1.6.18": +"type-is@npm:~1.6.18": version: 1.6.18 resolution: "type-is@npm:1.6.18" dependencies: @@ -12925,13 +12815,6 @@ __metadata: languageName: node linkType: hard -"typedarray@npm:^0.0.6": - version: 0.0.6 - resolution: "typedarray@npm:0.0.6" - checksum: 2cc1bcf7d8c1237f6a16c04efc06637b2c5f2d74e58e84665445cf87668b85a21ab18dd751fa49eee6ae024b70326635d7b79ad37b1c370ed2fec6aeeeb52714 - languageName: node - linkType: hard - "typescript-compare@npm:^0.0.2": version: 0.0.2 resolution: "typescript-compare@npm:0.0.2" @@ -12967,13 +12850,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin": +"typescript@patch:typescript@^5.2.2#~builtin": version: 5.2.2 - resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin::version=5.2.2&hash=f3b441" + resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=d73830" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: f79cc2ba802c94c2b78dbb00d767a10adb67368ae764709737dc277273ec148aa4558033a03ce901406b35fddf4eac46dabc94a1e1d12d2587e2b9cfe5707b4a + checksum: 8/07106822b4305de3f22835cbba949a2b35451cad50888759b6818421290ff95d522b38ef7919e70fb381c5fe9c1c643d7dea22c8b31652a717ddbd57b7f4d554 languageName: node linkType: hard @@ -13654,13 +13537,6 @@ __metadata: languageName: node linkType: hard -"xtend@npm:^4.0.0": - version: 4.0.2 - resolution: "xtend@npm:4.0.2" - checksum: ac5dfa738b21f6e7f0dd6e65e1b3155036d68104e67e5d5d1bde74892e327d7e5636a076f625599dc394330a731861e87343ff184b0047fef1360a7ec0a5a36a - languageName: node - linkType: hard - "y18n@npm:^5.0.5": version: 5.0.8 resolution: "y18n@npm:5.0.8" From de0c5176e1ac6331e13dc61ae1a6f5a08c9a7e55 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 02:39:47 +0000 Subject: [PATCH 05/11] fix: backend/pom.xml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365 --- backend/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pom.xml b/backend/pom.xml index 1cbd6f2d1..aad082481 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -33,7 +33,7 @@ 2.6.0 - 4.48.0 + 5.13.0 5.3.0 4.29.1 From e41e3ab7f0194eea7f8016ea07dcb15136769cda Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 02:45:30 +0000 Subject: [PATCH 06/11] fix: backend/pom.xml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230366 --- backend/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/pom.xml b/backend/pom.xml index 1cbd6f2d1..b1e35aba0 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -33,7 +33,7 @@ 2.6.0 - 4.48.0 + 5.13.0 5.3.0 4.29.1 @@ -55,13 +55,13 @@ org.springframework.security spring-security-config - 6.3.3 + 6.3.4 org.springframework.security spring-security-web - 6.3.3 + 6.3.4 org.springframework.boot From 0af66503a83693cf670ebc4d4b6c8fa40de4f7a8 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 02:29:54 +0000 Subject: [PATCH 07/11] fix: backend/pom.xml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230372 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230373 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230366 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230367 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230368 --- backend/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/pom.xml b/backend/pom.xml index 1cbd6f2d1..b1e35aba0 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -33,7 +33,7 @@ 2.6.0 - 4.48.0 + 5.13.0 5.3.0 4.29.1 @@ -55,13 +55,13 @@ org.springframework.security spring-security-config - 6.3.3 + 6.3.4 org.springframework.security spring-security-web - 6.3.3 + 6.3.4 org.springframework.boot From f06e131df69e5f10d15247544f7393af70d10a23 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2024 03:21:32 +0000 Subject: [PATCH 08/11] fix: backend/pom.xml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230372 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230373 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230366 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230367 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230368 --- backend/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/pom.xml b/backend/pom.xml index 1cbd6f2d1..a9932df82 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -55,13 +55,13 @@ org.springframework.security spring-security-config - 6.3.3 + 6.3.4 org.springframework.security spring-security-web - 6.3.3 + 6.3.4 org.springframework.boot From 45bbf0e284998c9ea564f75a777a1f54d31da5fa Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:47:06 +0000 Subject: [PATCH 09/11] fix: backend/pom.xml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-8309135 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230372 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230373 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230366 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230367 - https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-8230368 --- backend/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pom.xml b/backend/pom.xml index 1cbd6f2d1..66e8de740 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -61,7 +61,7 @@ org.springframework.security spring-security-web - 6.3.3 + 6.3.4 org.springframework.boot From c1fbace6464cd94883c07320f76d337196f92bf3 Mon Sep 17 00:00:00 2001 From: Jarkko Pesonen <435495+jrkkp@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:25:15 +0200 Subject: [PATCH 10/11] VKT:AKR:OTR:YKI(Backend) Dummy commit for [deploy] --- backend/akr/src/main/java/fi/oph/akr/config/AppConfig.java | 4 ++-- backend/otr/src/main/java/fi/oph/otr/util/DateUtil.java | 1 - .../main/java/fi/oph/vkt/repository/CasTicketRepository.java | 1 - backend/yki/src/main/java/fi/oph/yki/YkiApplication.java | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/backend/akr/src/main/java/fi/oph/akr/config/AppConfig.java b/backend/akr/src/main/java/fi/oph/akr/config/AppConfig.java index 8237dbbe4..6cc3f112d 100644 --- a/backend/akr/src/main/java/fi/oph/akr/config/AppConfig.java +++ b/backend/akr/src/main/java/fi/oph/akr/config/AppConfig.java @@ -86,7 +86,7 @@ public SpringResourceTemplateResolver emailTemplateResolver(final ApplicationCon } private static WebClient.Builder webClientBuilderWithCallerId(final String connectionProviderName) { - ConnectionProvider connectionProvider = ConnectionProvider + final ConnectionProvider connectionProvider = ConnectionProvider .builder(connectionProviderName) .maxConnections(50) .maxIdleTime(Duration.ofSeconds(20)) @@ -94,7 +94,7 @@ private static WebClient.Builder webClientBuilderWithCallerId(final String conne .pendingAcquireTimeout(Duration.ofSeconds(60)) .evictInBackground(Duration.ofSeconds(120)) .build(); - HttpClient httpClient = HttpClient.create(connectionProvider); + final HttpClient httpClient = HttpClient.create(connectionProvider); return WebClient .builder() .defaultHeader("Caller-Id", Constants.CALLER_ID) diff --git a/backend/otr/src/main/java/fi/oph/otr/util/DateUtil.java b/backend/otr/src/main/java/fi/oph/otr/util/DateUtil.java index aafdd51de..0809d8e79 100644 --- a/backend/otr/src/main/java/fi/oph/otr/util/DateUtil.java +++ b/backend/otr/src/main/java/fi/oph/otr/util/DateUtil.java @@ -1,7 +1,6 @@ package fi.oph.otr.util; import java.time.LocalDate; -import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class DateUtil { diff --git a/backend/vkt/src/main/java/fi/oph/vkt/repository/CasTicketRepository.java b/backend/vkt/src/main/java/fi/oph/vkt/repository/CasTicketRepository.java index 4a492de31..2bf0d89ca 100644 --- a/backend/vkt/src/main/java/fi/oph/vkt/repository/CasTicketRepository.java +++ b/backend/vkt/src/main/java/fi/oph/vkt/repository/CasTicketRepository.java @@ -1,7 +1,6 @@ package fi.oph.vkt.repository; import fi.oph.vkt.model.CasTicket; -import fi.oph.vkt.model.Person; import java.time.LocalDateTime; import java.util.List; import java.util.Optional; diff --git a/backend/yki/src/main/java/fi/oph/yki/YkiApplication.java b/backend/yki/src/main/java/fi/oph/yki/YkiApplication.java index fef15c8f8..91ac3c247 100644 --- a/backend/yki/src/main/java/fi/oph/yki/YkiApplication.java +++ b/backend/yki/src/main/java/fi/oph/yki/YkiApplication.java @@ -6,7 +6,7 @@ @SpringBootApplication public class YkiApplication { - public static void main(String[] args) { + public static void main(final String[] args) { SpringApplication.run(YkiApplication.class, args); } } From e762a2a823e56f1cca586a7696b837d5ac9eb5bd Mon Sep 17 00:00:00 2001 From: Jarkko Pesonen <435495+jrkkp@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:51:31 +0200 Subject: [PATCH 11/11] YKI(Backend) Disable default authentication [deploy] --- .../fi/oph/yki/config/security/WebSecurityConfig.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backend/yki/src/main/java/fi/oph/yki/config/security/WebSecurityConfig.java b/backend/yki/src/main/java/fi/oph/yki/config/security/WebSecurityConfig.java index 5797f4333..322022b80 100644 --- a/backend/yki/src/main/java/fi/oph/yki/config/security/WebSecurityConfig.java +++ b/backend/yki/src/main/java/fi/oph/yki/config/security/WebSecurityConfig.java @@ -2,6 +2,8 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.security.authentication.AuthenticationManager; +import org.springframework.security.authentication.AuthenticationServiceException; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.web.SecurityFilterChain; @@ -31,4 +33,11 @@ public static HttpSecurity configCsrf(final HttpSecurity httpSecurity) throws Ex configurer.csrfTokenRepository(csrfTokenRepository).csrfTokenRequestHandler(requestHandler) ); } + + @Bean + public AuthenticationManager noopAuthenticationManager() { + return authentication -> { + throw new AuthenticationServiceException("Authentication is disabled"); + }; + } }