From e2ab50512f205f2342aec8021f8fc92045e0c878 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:53:04 +0000 Subject: [PATCH] chore(deps): Bump i18next from 26.7.2 to 27.0.0 (#2321) Bumps [i18next](https://github.com/i18next/i18next) from 26.7.2 to 27.0.0.
Release notes

Sourced from i18next's releases.

v27.0.0

This is a major breaking release. It changes defaults that most setups had to override, gives every instance its own logger and post-processors, refuses language codes that look like markup or paths, and removes options that were broken or had no effect. 26.7 warned in debug mode about most of the runtime changes. The migration guide has the details; to keep the v26 behavior where an option exists:

i18next.init({
fallbackLng: 'dev', // or better your source language: there is no
implicit 'dev' any more
returnEmptyString: true, // an empty translation is a translation again
cleanCode: false, // keep codes without a region as they are ('EN' stays
'EN')
});
declare module 'i18next' {
  interface CustomTypeOptions {
    strictInterpolationChecks: false;
    returnEmptyString: true;
  }
}

Changed defaults

Changed behavior

Removed

Support

... (truncated)

Changelog

Sourced from i18next's changelog.

27.0.0

This is a major breaking release. It changes defaults that most setups had to override, gives every instance its own logger and post-processors, refuses language codes that look like markup or paths, and removes options that were broken or had no effect. 26.7 warned in debug mode about most of the runtime changes. The migration guide has the details; to keep the v26 behavior where an option exists:

i18next.init({
fallbackLng: 'dev', // or better your source language: there is no
implicit 'dev' any more
returnEmptyString: true, // an empty translation is a translation again
cleanCode: false, // keep codes without a region as they are ('EN' stays
'EN')
});
declare module 'i18next' {
  interface CustomTypeOptions {
    strictInterpolationChecks: false;
    returnEmptyString: true;
  }
}

Changed defaults

Changed behavior

Removed

Support

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next&package-manager=npm_and_yarn&previous-version=26.7.2&new-version=27.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 43 +++++++------------------------------------ package.json | 2 +- 2 files changed, 8 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 09838191..c8baf121 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "downshift": "^9.4.0", "events": "^3.3.0", "file-saver": "^2.0.5", - "i18next": "^26.7.2", + "i18next": "^27.0.0", "i18next-browser-languagedetector": "^8.3.0", "i18next-resources-to-backend": "^1.2.4", "json-stringify-pretty-compact": "^4.0.0", @@ -5809,9 +5809,9 @@ } }, "node_modules/i18next": { - "version": "26.7.2", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.7.2.tgz", - "integrity": "sha512-RsOY3BeaCDdkk52NeJSFAXELQ2rQXBO/tOub6L8ue2ICPfR/FRDWDOfEDg4xMPd1SqO5goVYQ6i72qWEUB/PPw==", + "version": "27.0.0", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-27.0.0.tgz", + "integrity": "sha512-lCP39wHw2s0MZLyNXNvVEVhSRx3STHXB7XUbyS5qVabE3b+SSqFM/Ffb6HIygeKjYrMAwRV2qDShBQRba/DvAQ==", "funding": [ { "type": "individual", @@ -5827,6 +5827,9 @@ } ], "license": "MIT", + "engines": { + "node": ">=22" + }, "peerDependencies": { "typescript": "^5 || ^6 || ^7" }, @@ -5881,38 +5884,6 @@ "node": ">=22" } }, - "node_modules/i18next-cli/node_modules/i18next": { - "version": "27.0.0", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-27.0.0.tgz", - "integrity": "sha512-lCP39wHw2s0MZLyNXNvVEVhSRx3STHXB7XUbyS5qVabE3b+SSqFM/Ffb6HIygeKjYrMAwRV2qDShBQRba/DvAQ==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://www.locize.com/i18next" - }, - { - "type": "individual", - "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" - }, - { - "type": "individual", - "url": "https://www.locize.com" - } - ], - "license": "MIT", - "engines": { - "node": ">=22" - }, - "peerDependencies": { - "typescript": "^5 || ^6 || ^7" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, "node_modules/i18next-cli/node_modules/minimatch": { "version": "11.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.4.tgz", diff --git a/package.json b/package.json index b4d2bd17..fad1fa99 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "downshift": "^9.4.0", "events": "^3.3.0", "file-saver": "^2.0.5", - "i18next": "^26.7.2", + "i18next": "^27.0.0", "i18next-browser-languagedetector": "^8.3.0", "i18next-resources-to-backend": "^1.2.4", "json-stringify-pretty-compact": "^4.0.0",