From ca52edda6d6dae6af970bf01df92698ab4f75e80 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 04:31:13 +0000 Subject: [PATCH] fix: upgrade i18next from 23.16.4 to 23.16.8 Snyk has created this PR to upgrade i18next from 23.16.4 to 23.16.8. See this package in yarn: i18next 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 | 324 +++++++++++++----------------------------- 2 files changed, 101 insertions(+), 225 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 4dccbc0c0..df2371b27 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -38,7 +38,7 @@ "dayjs": "^1.11.13", "finnish-personal-identity-code-validator": "kimmotaskinen/finnish-personal-identity-code-validator#support-new-delimiters", "history": "^5.3.0", - "i18next": "^23.16.0", + "i18next": "^23.16.8", "i18next-browser-languagedetector": "^7.2.1", "js-cookie": "^3.0.5", "normalize.css": "^8.0.1", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 7ff5ea64d..6fee1fbbb 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.4" - 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.4" - 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.1.0" - "@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.8" - 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.1.0 + "@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.8 + 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.16.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.27.0" - 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.4": - 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.4" - 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.4" + git-revision-webpack-plugin: ^5.0.0 + history: ^5.3.0 + html-webpack-plugin: ^5.5.3 + i18next: ^23.16.8 + 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.27.0 + 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" @@ -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 @@ -7838,12 +7770,12 @@ __metadata: languageName: node linkType: hard -"i18next@npm:^23.16.0": - version: 23.16.4 - resolution: "i18next@npm:23.16.4" +"i18next@npm:^23.16.8": + version: 23.16.8 + resolution: "i18next@npm:23.16.8" dependencies: - "@babel/runtime": "npm:^7.23.2" - checksum: a3aa6189aa4bf3022c372a03c88a2216d420b70f01369bd1017f7e51d0ed012dcda8b5f6476021835ab9574ee0ac5d056049fe4b720b5458b42bcc6ae66bd38d + "@babel/runtime": ^7.23.2 + checksum: 8/288dab98225d769c6ad7835e9c534a184a2a8fb28485000f35b10c467439478047b367d39015c1920ac9c5cfc33572ffd75ecf1778edcd96536024bf594f4ca9 languageName: node linkType: hard @@ -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"