mirror of
https://github.com/maputnik/editor.git
synced 2026-11-07 10:43:44 +00:00
chore(deps-dev): Bump i18next-cli from 1.80.5 to 1.80.6 (#2290)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.80.5 to 1.80.6. <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.80.6</h2> <ul> <li>fix(extract): a function parameter no longer resolves to a variable of the same name declared elsewhere. <code>const getLabel = (options, value, t) => t(options[value])</code> extracted <code>GET</code> as a key because another file had a <code>const options = { method: 'GET' }</code>. Inside a function, its parameters now hide same-named variables, object maps, enums, functions and string constants from the module, other functions and other files, also when the value goes through a local (<code>const key = options[value]; t(key)</code>) or a function's return value. This also fixes custom hooks like <code>useT(ns) { const { t } = useTranslation(ns) }</code>, whose keys went to the namespace of any <code>const ns = 'admin'</code> in the project (the same for <code>keyPrefix</code>). Parameters with a default value or typed with a union or an interface still resolve as before. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/316">#316</a>.</li> <li>chore(deps): <code>ora</code>, <code>execa</code> and <code>inquirer</code> are replaced by <code>yocto-spinner</code>, <code>nano-spawn</code> and the single <code>@inquirer/input</code>, <code>@inquirer/select</code>, <code>@inquirer/confirm</code> and <code>@inquirer/password</code> prompts. Prompts, spinners and the <code>locize</code>, <code>git</code> and browser-opener subprocesses behave as before. The install tree no longer contains <code>is-interactive</code>, <code>is-unicode-supported</code>, <code>safer-buffer</code>, <code>iconv-lite</code>, <code>@inquirer/external-editor</code>, <code>path-key</code> and <code>get-east-asian-width</code>, including the three packages Socket rated as high-severity alerts.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next-cli/commit/33f0154d0eac3e80e60f433f6006a73de193260e"><code>33f0154</code></a> 1.80.6</li> <li><a href="https://github.com/i18next/i18next-cli/commit/7abf5fd6dbd18ff4c3072b0868f3b847b2a18179"><code>7abf5fd</code></a> docs: changelog for 1.80.6</li> <li><a href="https://github.com/i18next/i18next-cli/commit/740a925c2a2b93e37c427bfd1a798708e68b7431"><code>740a925</code></a> docs: changelog for the dependency replacement</li> <li><a href="https://github.com/i18next/i18next-cli/commit/05774e32d2f1b24467ea314d7642d122800da194"><code>05774e3</code></a> fix(extract): a function parameter hides same-named values declared elsewhere...</li> <li><a href="https://github.com/i18next/i18next-cli/commit/99a5c173e4ab475fa059378fb470b07fdf430533"><code>99a5c17</code></a> docs: add Socket badge to README</li> <li><a href="https://github.com/i18next/i18next-cli/commit/d99dbe6b93eebef82ca6b521ceed3908b627a5dd"><code>d99dbe6</code></a> chore(deps): replace ora, execa and inquirer with lighter packages</li> <li>See full diff in <a href="https://github.com/i18next/i18next-cli/compare/v1.80.5...v1.80.6">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
+78
-744
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -132,7 +132,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.7",
|
||||
"i18next-cli": "^1.80.5",
|
||||
"i18next-cli": "^1.80.6",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user