[Changed] Vendor lodash, so it's easier to use i18n-js with importmaps.
v4.2.3 - Mar 5, 2023
[Added] Introduce useMakePlural(options) function as way of creating
pluralizers on top of make-plural.
[Changed] Use make-plural's en function as the default pluralizer.
[Changed] Mark Scope type as read-only.
V4.2.2 - Dec 16, 2022
[Changed] Import lodash modules directly, which reduces final exported size by
36% (#41).
v4.2.1 - Dec 13, 2022
[Changed] The I18n#translate's return type is now a string and generics
union.
[Fixed] Fix issue when pluralization missed a key required by the pluralizer
raised an error rather thanr returning the missing translation message (#39)
v4.2.0 - Nov 24, 2022
[Changed] Interpolate strings when i18n.t(..args) returns an array.
[Fixed] Import cycle issue on src/helpers/formatNumber.ts.
[Added] I18n#formatNumber is now available as a I18n instance method.
v4.1.1 - Aug 25, 2022
[Changed] Removed @internal annotation from functions, so TypeScript can
export types properly.
[Changed] Export additional types from main file.
v4.1.0 - Aug 22, 2022
[Added] I18n#onChange now returns a function that removes the handler from
events.
[Added] I18n#interpolate is now available on the instance of I18n and can
therefore be overridden.
You can trigger a rebase of this PR 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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps i18n-js from 3.9.2 to 4.3.0.
Changelog
Sourced from i18n-js's changelog.
Commits
You can trigger a rebase of this PR 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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)