269.json (10312B)
1 { 2 "number": 269, 3 "title": "Bump i18next-parser from 6.4.0 to 7.1.0", 4 "state": "closed", 5 "diff_file": "269.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-01-03T16:46:32Z", 8 "closed_at": "2023-01-03T17:36:26Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/i18next-parser-7.1.0", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [i18next-parser](https://github.com/i18next/i18next-parser) from 6.4.0 to 7.1.0.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/i18next/i18next-parser/releases\">i18next-parser's releases</a>.</em></p>\n<blockquote>\n<h2>7.0.0</h2>\n<ul>\n<li>BREAKING: change the API for <code>defaultValue</code>. Deprecate <code>skipDefaultValues</code> and <code>useKeysAsDefaultValues</code> options. <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/676\">#676</a></li>\n<li>Add support for <code>shouldUnescape</code> option in jsx-lexer <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/678\">#678</a></li>\n<li>Add support for .ts, .json and .yaml config <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/673\">#673</a></li>\n<li>Update dependencies</li>\n</ul>\n<h2>Migrating from <code>6.x</code> to <code>7.x</code></h2>\n<p>he API to manage what default value is being used was getting too complicated. This version simplifies the API by deprecating the <code>skipDefaultValues</code> and <code>useKeysAsDefaultValues</code> options and adding a <code>value</code> argument when the <code>defaultValue</code> option is used as a function. Here are couple example of how it can be used:</p>\n<p>To replace <code>skipDefaultValue</code>, make the following change:</p>\n<pre lang=\"js\"><code>// 5.x.x\n{\n skipDefaultValues: true\n}\n<p>// 6.x.x\n{\ndefaultValue: function (locale, namespace, key, value) {\nreturn '';\n}\n}\n</code></pre></p>\n<p>To replace <code>useKeysAsDefaultValues</code>, make the following change:</p>\n<pre lang=\"js\"><code>// 5.x.x\n{\n useKeysAsDefaultValues: true\n}\n<p>// 6.x.x\n{\ndefaultValue: function (locale, namespace, key, value) {\nreturn key;\n}\n}\n</code></pre></p>\n<p>And now you have complete control over the logic:</p>\n<pre lang=\"js\"><code>// 6.x.x\n{\n defaultValue: function (locale, namespace, key, value) {\n if (locale === 'fr') {\n return '';\n</tr></table> \n</code></pre>\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md\">i18next-parser's changelog</a>.</em></p>\n<blockquote>\n<h1>7.1.0</h1>\n<ul>\n<li>Fix config loading on Windows <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/725\">#725</a> <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/698\">#698</a></li>\n<li>Update dependencies</li>\n</ul>\n<h1>7.0.3</h1>\n<ul>\n<li>Fix a bug when using the cli and passing no config file <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/690\">#690</a></li>\n<li>Update dependencies</li>\n</ul>\n<h1>7.0.0</h1>\n<ul>\n<li>BREAKING: change the API for <code>defaultValue</code>. Deprecate <code>skipDefaultValues</code> and <code>useKeysAsDefaultValues</code> options. <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/676\">#676</a></li>\n<li>Add support for <code>shouldUnescape</code> option in jsx-lexer <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/678\">#678</a></li>\n<li>Add support for .ts, .json and .yaml config <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/673\">#673</a></li>\n<li>Update dependencies</li>\n</ul>\n<h1>6.6.0</h1>\n<ul>\n<li>Support custom yaml output options <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/626\">#626</a></li>\n<li>Do not fail on JSX spread attribute in Trans component <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/637\">#637</a></li>\n<li>Support TypeScript typecasts <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/604\">#604</a></li>\n<li>Add LICENSE.md</li>\n<li>Update dependencies</li>\n</ul>\n<h1>6.5.0</h1>\n<ul>\n<li>Fix: coverage testing <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/586\">#586</a></li>\n<li>Fix: reset nested keys if default value is changed <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/582\">#582</a></li>\n<li>Update dependencies</li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/dc15de0292a3d3f56b79dfa63abc14e18b7df743\"><code>dc15de0</code></a> Bump to 7.1.0</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/d5df589d7c3723ff36b070f2a90f4d8399737b2d\"><code>d5df589</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/725\">#725</a> from jotoeri/fix/win_parse</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/8d89f1f623b40e98a3c27b38ee4e8eac777812e2\"><code>8d89f1f</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/711\">#711</a> from i18next/dependabot/npm_and_yarn/master/lint-stag...</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/52e0c9c78da780f382c2d9b3fc5cf9ec9224bdd0\"><code>52e0c9c</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/716\">#716</a> from i18next/dependabot/npm_and_yarn/master/prettier-...</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/0ac9d4cc10708d5a82c3ca6fba04375186cde8a4\"><code>0ac9d4c</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/717\">#717</a> from i18next/dependabot/npm_and_yarn/master/typescrip...</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/7875931bdfb9a1a8233ab2f000b1e0ba11b99ba4\"><code>7875931</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/724\">#724</a> from i18next/dependabot/npm_and_yarn/master/i18next-2...</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/b7e8c664e6bee8b363d541add02c36c2b553b1e4\"><code>b7e8c66</code></a> Fix parse on windows</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/2f557f85c6bf1d68a7aa8042e7cdfdacc580d5a8\"><code>2f557f8</code></a> Build(deps): bump i18next from 22.0.5 to 22.4.3</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/b49002935e44464557eeddf020e61325f1c066e9\"><code>b490029</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/723\">#723</a> from i18next/dependabot/npm_and_yarn/master/esbuild-0...</li>\n<li><a href=\"https://github.com/i18next/i18next-parser/commit/e995d1e3af9091a839d3dc258d736dd8efd67399\"><code>e995d1e</code></a> Merge pull request <a href=\"https://github-redirect.dependabot.com/i18next/i18next-parser/issues/709\">#709</a> from i18next/dependabot/npm_and_yarn/decode-uri-compo...</li>\n<li>Additional commits viewable in <a href=\"https://github.com/i18next/i18next-parser/compare/6.4.0...7.1.0\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-01-03T17:36:28Z", 27 "body": "OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.\n\nIf you change your mind, just re-open this PR and I'll resolve any conflicts on it." 28 } 29 ], 30 "review_comments": [] 31 }