From 2c550fe4aa55bcce263f1dfe15920b6b5e6a72e7 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 04:34:47 +0000 Subject: [PATCH] OPHJOD-851: Upgrade i18next from 23.16.5 to 24.2.0 --- package-lock.json | 16 ++++++++++++---- package.json | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c58621b1..f9d4b13a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@hookform/resolvers": "^3.9.1", "@jod/design-system": "github:Opetushallitus/jod-design-system#main", - "i18next": "^23.16.4", + "i18next": "^24.2.0", "openapi-fetch": "^0.13.0", "openapi-typescript-fetch": "^2.0.0", "react": "^18.3.1", @@ -6121,9 +6121,9 @@ } }, "node_modules/i18next": { - "version": "23.16.5", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.5.tgz", - "integrity": "sha512-KTlhE3EP9x6pPTAW7dy0WKIhoCpfOGhRQlO+jttQLgzVaoOjWwBWramu7Pp0i+8wDNduuzXfe3kkVbzrKyrbTA==", + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-24.2.0.tgz", + "integrity": "sha512-ArJJTS1lV6lgKH7yEf4EpgNZ7+THl7bsGxxougPYiXRTJ/Fe1j08/TBpV9QsXCIYVfdE/HWG/xLezJ5DOlfBOA==", "funding": [ { "type": "individual", @@ -6140,6 +6140,14 @@ ], "dependencies": { "@babel/runtime": "^7.23.2" + }, + "peerDependencies": { + "typescript": "^5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/iconv-lite": { diff --git a/package.json b/package.json index 1e87f851..2fc6bcf0 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "@hookform/resolvers": "^3.9.1", "@jod/design-system": "github:Opetushallitus/jod-design-system#main", - "i18next": "^23.16.4", + "i18next": "^24.2.0", "openapi-fetch": "^0.13.0", "openapi-typescript-fetch": "^2.0.0", "react": "^18.3.1",