Skip to content

fix(deps): update dependency i18next to v26.3.6#69

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/i18next-26.3.x
Jul 14, 2026
Merged

fix(deps): update dependency i18next to v26.3.6#69
renovate[bot] merged 1 commit into
mainfrom
renovate/i18next-26.3.x

Conversation

@renovate

@renovate renovate Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
i18next (source) 26.3.426.3.6 age confidence

Release Notes

i18next/i18next (i18next)

v26.3.6

Compare Source

  • fix: allow TypeScript 7 in the optional typescript peer dependency range (^5 || ^6 || ^7). With typescript@7.0.2 in a project, npm install failed with an ERESOLVE peer conflict. The published types are TS7-compatible as-is: every test/typescript suite produces identical results under 6.0 and 7.0.2. Reported in react-i18next#1927, thanks @​andikapradanaarif.

v26.3.5

Compare Source

  • fix: $t() nesting options blocks that span multiple lines are now parsed. nest() decided where the nested key ends by testing match[1] with /{.*}/, whose dot does not cross line breaks — so a $t(key, { ... }) options object containing a newline was treated as having no options, mis-split as formatters, and the nested lookup ran without its options (placeholders stayed unresolved). The nesting regexp itself already matches newlines inside $t(...); adding the s (dotAll) flag makes multiline options behave like the single-line form. Thanks @​spokodev (#​2440).
  • fix: getUsedParamsDetails (the returnDetails: true path) no longer mutates the passed replace object. It wrote count straight onto options.replace so the returned usedParams would include it — a caller reusing one replace object across t() calls then carried a stale count into later interpolations (e.g. a previous call's count: 5 rendered instead of the current call's value). The details are now built from a copy; usedParams still includes count. Thanks @​spokodev (#​2441).
  • fix: with the default skipOnVariables: true + escapeValue: true, a {{placeholder}} carried inside an interpolated value now stays literal even when the value contains escapable characters. The skip logic advanced the regex lastIndex by the raw value length, but the escaped text written into the string is longer, so lastIndex landed inside the inserted value and a trailing {{placeholder}} in it got interpolated — leaking another in-scope variable that should have stayed literal (values without escapable characters were already skipped correctly). The advance now uses the escaped length that is actually written, and the regex-safe $-doubling is applied only at the String.replace call so it can't distort the length arithmetic. Thanks @​spokodev (#​2442).

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Jul 14, 2026
@renovate
renovate Bot requested a review from a team as a code owner July 14, 2026 04:53
@renovate
renovate Bot requested review from jleichty-ren and removed request for a team July 14, 2026 04:53
@renovate renovate Bot added the renovate label Jul 14, 2026
@renovate
renovate Bot force-pushed the renovate/i18next-26.3.x branch 2 times, most recently from 7b3e269 to 9dd7d9a Compare July 14, 2026 15:07
@renovate renovate Bot changed the title fix(deps): update dependency i18next to v26.3.5 fix(deps): update dependency i18next to v26.3.6 Jul 14, 2026
@renovate
renovate Bot force-pushed the renovate/i18next-26.3.x branch from 9dd7d9a to 94c15c5 Compare July 14, 2026 15:07
@renovate
renovate Bot merged commit 5240669 into main Jul 14, 2026
3 checks passed
@renovate
renovate Bot deleted the renovate/i18next-26.3.x branch July 14, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants