mirror of
https://github.com/maputnik/editor.git
synced 2026-11-09 19:53:45 +00:00
chore(deps-dev): Bump i18next-cli from 1.82.4 to 1.85.1 (#2310)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.82.4 to 1.85.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md">i18next-cli's changelog</a>.</em></p> <blockquote> <h2>1.85.1</h2> <ul> <li>fix(extractor): names imported through a barrel's <code>index</code> file (1.85.0, <a href="https://redirect.github.com/i18next/i18next-cli/issues/327">#327</a>) also resolve on Windows, where the import path kept its backslashes and never matched the <code>index</code> file.</li> </ul> <h2>1.85.0</h2> <ul> <li>fix(extractor): a type, enum or constant imported through a barrel file (<code>export * from './abc'</code>, <code>export { ABC } from './abc'</code>, <code>import { ABC } from './abc'; export { ABC }</code>, also through a namespace import <code>import * as Types from './types'</code>) resolves to the declaration the barrel re-exports, instead of to whichever scanned file declared that name last.</li> <li>fix(extractor): a name a file declares itself (a type, interface, enum or function, like variables since <a href="https://redirect.github.com/i18next/i18next-cli/issues/307">#307</a>), or imports from a scanned file that declares it, no longer resolves to another file's same-named declaration, also when the extractor cannot read its values (<code>interface Props { size: string }</code>).</li> <li>fix(extractor): <code>useTranslation(NS)</code> and <code>{ ns: NS }</code> read <code>NS</code> from the file it is imported from. A file whose own <code>NS</code> the extractor cannot read (<code>const NS = getNs()</code>) no longer takes another file's <code>NS</code>, so its keys go to the default namespace.</li> <li>feat(extractor): new <code>extract.warnOnAmbiguousTypes</code> (<code>true</code> / <code>'warn'</code> / <code>'error'</code>, default <code>false</code>): warns, or aborts extraction, when the extractor has to guess which of several differently declared same-named types, enums or constants a file means. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/327">#327</a></li> </ul> <h2>1.84.0</h2> <ul> <li>feat: plugins' <code>afterSync</code> gets a third argument <code>{ isDryRun }</code>, true for <code>extract --dry-run</code> and <code>runExtractor(config, { isDryRun: true })</code>, so a plugin that writes files can skip that on a dry run. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/326">#326</a></li> </ul> <h2>1.83.0</h2> <ul> <li>feat: <code>extract.ignoreNamespaces</code> accepts glob patterns like <code>status.ignoreKeys</code> does, so <code>['dev.*', 'test.*']</code> ignores every <code>dev.</code> and <code>test.</code> namespace in <code>extract</code>, <code>status</code>, <code>sync</code> and <code>lint</code>. <code>*</code> matches any characters. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/325">#325</a></li> </ul> <h2>1.82.5</h2> <ul> <li>fix: with an <code>extract.output</code> that puts the namespace in a folder, like <code>locales/{{namespace}}/{{language}}.json</code>, <code>lint</code>, <code>sync</code>, <code>extract</code> and <code>rename-key</code> now read the namespace from where the template has it instead of from the file name, which there is the language. <code>lint</code> checked no ICU/MF2 message at all, <code>sync</code> wrote the secondary languages to <code>locales/en/de.json</code> instead of <code>locales/common/de.json</code>, and <code>rename-key</code> missed calls like <code>t('hello', { ns: 'common' })</code>. <code>sync</code> and <code>lint</code> also read a namespace with a dot, like <code>app.settings.json</code>, whole. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/324">#324</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next-cli/commit/a6d0cc9a2248d960a4bd94e1077d0dfafa658bb3"><code>a6d0cc9</code></a> 1.85.1</li> <li><a href="https://github.com/i18next/i18next-cli/commit/50269e78cd9b4386b1819f245fdf8b890a05cbcf"><code>50269e7</code></a> docs: changelog for 1.85.1</li> <li><a href="https://github.com/i18next/i18next-cli/commit/98340c7701f5446487390308801e54c96dbc1e24"><code>98340c7</code></a> fix: resolve barrel index imports on Windows</li> <li><a href="https://github.com/i18next/i18next-cli/commit/9c9be9bd73bf7d1be92c148e353a3e3987f22c35"><code>9c9be9b</code></a> 1.85.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/f7b98283eae067185ae5935ce92f040d21bf5c96"><code>f7b9828</code></a> docs: changelog for 1.85.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/51f33c2efa335367b029cfa0b8a42641849b0fe4"><code>51f33c2</code></a> fix: resolve names imported through barrel files, add warnOnAmbiguousTypes</li> <li><a href="https://github.com/i18next/i18next-cli/commit/f76590f0361b2855850b628b167682065c4a4f3d"><code>f76590f</code></a> 1.84.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/eb03151fd23645d2640c7c532bc8a3203492ead2"><code>eb03151</code></a> docs: changelog for 1.84.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/6ea4c95b108ae5909b74c8cce29bdd03dce7289e"><code>6ea4c95</code></a> feat: afterSync tells plugins whether it is a dry run</li> <li><a href="https://github.com/i18next/i18next-cli/commit/b3bfeaf1d34b08fc1d0cdf0484a874de480938ca"><code>b3bfeaf</code></a> 1.83.0</li> <li>Additional commits viewable in <a href="https://github.com/i18next/i18next-cli/compare/v1.82.4...v1.85.1">compare view</a></li> </ul> </details> <br /> [](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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Generated
+4
-4
@@ -96,7 +96,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.7",
|
||||
"i18next-cli": "^1.82.4",
|
||||
"i18next-cli": "^1.85.1",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
@@ -5846,9 +5846,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-cli": {
|
||||
"version": "1.82.4",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.82.4.tgz",
|
||||
"integrity": "sha512-6etrx4jpQFE2fHadWDoYealI5mTiOsMBYDFpv10PIIvZRQ+rw2F/ObRKc5lrBh8Kbssj3EtUNCeVch9MuBfoVg==",
|
||||
"version": "1.85.1",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.85.1.tgz",
|
||||
"integrity": "sha512-LyblXTvK7CTKKmbEVZ3t8nA863AR6oEpeipJenEc2QNuWAvDngKvFaYXf77NlDRzHjqLuPNnugd4AArskZMAdg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -130,7 +130,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.7",
|
||||
"i18next-cli": "^1.82.4",
|
||||
"i18next-cli": "^1.85.1",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user