Skip to content

chore(deps-dev): Bump i18next-cli from 1.53.2 to 1.56.11#1875

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/i18next-cli-1.56.11
Open

chore(deps-dev): Bump i18next-cli from 1.53.2 to 1.56.11#1875
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/i18next-cli-1.56.11

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps i18next-cli from 1.53.2 to 1.56.11.

Changelog

Sourced from i18next-cli's changelog.

1.56.11 - 2026-05-07

  • extract and status now mirror i18next's runtime selector rule (v25.8.19) for multi-namespace useTranslation([nsA, nsB, ...]) hooks. When a selector path's first segment matches a secondary namespace from the hook's array, the key is routed to that namespace's file instead of the primary. Single-namespace hooks and primary-prefixed paths are unaffected — the primary namespace is never rewritten, matching i18next/src/selector.js exactly. Fixes #256.

1.56.10 - 2026-05-06

  • lint now sets type: 'hardcoded' on hardcoded-string issues. The LintIssue type already declared a 'hardcoded' | 'interpolation' union, but findHardcodedStrings only emitted text and line, leaving type undefined. Consumers (including lintOnResult plugins) had to rely on type !== 'interpolation', which would silently misclassify any future issue category. The discriminant is now populated so issue.type === 'hardcoded' works as advertised. Fixes #255.

1.56.9 - 2026-04-29

  • extract now propagates namespace/keyPrefix from a useTranslationNames-listed call when its result is stored on a class field and later destructured inside a method, e.g. #ctx = getTranslationContext('settings') followed by const { t } = this.#ctx (or this.#ctx()) inside a class method. Previously, only top-level VariableDeclarator initializers were tracked, so t('hello') reached through this.#ctx was extracted without its namespace. The scope manager now keeps a per-class field registry (public and private fields, including the () invocation form) and resolves this.<field> references against it during destructuring. The non-class form const { t } = getTranslationContext(...) is unchanged. Fixes #251.

1.56.8 - 2026-04-29

  • extract --sync-primary now updates <Trans> defaults when the key contains an underscore but is not actually a plural or context variant. Previously, the "is this a variant key?" check used a loose key.includes(pluralSeparator) || key.includes(contextSeparator) heuristic, which (with the default _ separator) misclassified ordinary keys like abc_123 as variants and preserved the existing translation instead of adopting the new default from code. The check now treats a key as a synthesized plural variant only when the extractor flagged it with hasCount AND its suffix matches a CLDR plural form; context variants are unaffected because they were

... (truncated)

Commits
  • 3224d88 1.56.11
  • 8e5ebdb changelog fix
  • 9fa173f extract/status: route selector secondary-ns prefix in useTranslation([nsA,nsB...
  • 149893d 1.56.10
  • 6d74070 populate type: 'hardcoded' on hardcoded-string lint issues (fixes #255)
  • ed16625 Modernize locize.com URLs and refresh UTM tags
  • 7c7c3d6 1.56.9
  • 36d257f propagate namespace through class field initializers (fixes #251)
  • eda4425 1.56.8
  • 8dbd304 make isVariantKey detection precise so keys containing '_' are not mis-preser...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 <dependency name> 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)

Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.53.2 to 1.56.11.
- [Changelog](https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md)
- [Commits](i18next/i18next-cli@v1.53.2...v1.56.11)

---
updated-dependencies:
- dependency-name: i18next-cli
  dependency-version: 1.56.11
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 11, 2026
@github-actions github-actions Bot enabled auto-merge (squash) May 11, 2026 21:33
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.45%. Comparing base (5862d81) to head (47111be).
⚠️ Report is 5 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (5862d81) and HEAD (47111be). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (5862d81) HEAD (47111be)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1875       +/-   ##
===========================================
- Coverage   70.25%   46.45%   -23.81%     
===========================================
  Files         102        3       -99     
  Lines        6442      127     -6315     
  Branches     1881       35     -1846     
===========================================
- Hits         4526       59     -4467     
+ Misses       1914       55     -1859     
- Partials        2       13       +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant