chore(deps): update i18next-cli to v1.54.2#2740
Merged
Merged
Conversation
✅ Deploy Preview for atlassify canceled.
|
✅ Deploy Preview for atlassify canceled.
|
e0d0d56 to
06e1bb7
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
1.53.2→1.54.2Release Notes
i18next/i18next-cli (i18next-cli)
v1.54.2Compare Source
defaultNsandkeyPrefixfrom a custom translation hook toinner
t()calls accessed via a member expression (e.g.const obj = useMyHook('auth'); obj.t('key')). Previously the scope wasstored on the outer variable but the call-site lookup used the full
obj.tname and missed it, causing keys to fall back to the defaultnamespace. The lookup now also tries the object part(s) of the member
expression.
Fixes #239.
v1.54.1Compare Source
--sync-allunexpectedly clearing secondary locale translations forkeys with explicit defaults (e.g.
t('my-key', 'my message')) when thecode-provided default still matches the primary locale value. Secondary
translations are now only reset when the primary value has actually
diverged from the code default, matching the behavior already in place
for trusted derived defaults.
Fixes #235.
v1.54.0Compare Source
Resourcesinterface as a single combinedexport default interface Resources { ... }declaration, and import it inthe generated i18next module augmentation file using
import type. Thismakes the generated type files compatible with TypeScript's
verbatimModuleSyntaxcompiler option. The interface's type identity isunchanged, so consumers importing
Resourcesfrom the resources filecontinue to work without modification.
Fixes #238.
i18next-resources-for-tsto2.1.0for the new interface outputformat.
Configuration
📅 Schedule: (UTC)
* 0-3 * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.