matrix-art.meta

Issues/PRs archive for MTRNord/matrix-art
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.meta.git
Log | Files | Refs

269.md (9901B)


      1 # PR #269 Bump i18next-parser from 6.4.0 to 7.1.0
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-01-03T16:46:32Z
      6 - **Branch:** dependabot/npm_and_yarn/i18next-parser-7.1.0 → main
      7 - **Closed:** 2023-01-03T17:36:26Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [269.diff](./269.diff)
     12 
     13 ---
     14 
     15 Bumps [i18next-parser](https://github.com/i18next/i18next-parser) from 6.4.0 to 7.1.0.
     16 <details>
     17 <summary>Release notes</summary>
     18 <p><em>Sourced from <a href="https://github.com/i18next/i18next-parser/releases">i18next-parser's releases</a>.</em></p>
     19 <blockquote>
     20 <h2>7.0.0</h2>
     21 <ul>
     22 <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>
     23 <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>
     24 <li>Add support for .ts, .json and .yaml config <a href="https://github-redirect.dependabot.com/i18next/i18next-parser/issues/673">#673</a></li>
     25 <li>Update dependencies</li>
     26 </ul>
     27 <h2>Migrating from <code>6.x</code> to <code>7.x</code></h2>
     28 <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>
     29 <p>To replace <code>skipDefaultValue</code>, make the following change:</p>
     30 <pre lang="js"><code>// 5.x.x
     31 {
     32   skipDefaultValues: true
     33 }
     34 <p>// 6.x.x
     35 {
     36 defaultValue: function (locale, namespace, key, value) {
     37 return '';
     38 }
     39 }
     40 </code></pre></p>
     41 <p>To replace <code>useKeysAsDefaultValues</code>, make the following change:</p>
     42 <pre lang="js"><code>// 5.x.x
     43 {
     44   useKeysAsDefaultValues: true
     45 }
     46 <p>// 6.x.x
     47 {
     48 defaultValue: function (locale, namespace, key, value) {
     49 return key;
     50 }
     51 }
     52 </code></pre></p>
     53 <p>And now you have complete control over the logic:</p>
     54 <pre lang="js"><code>// 6.x.x
     55 {
     56   defaultValue: function (locale, namespace, key, value) {
     57     if (locale === 'fr') {
     58       return '';
     59 &lt;/tr&gt;&lt;/table&gt; 
     60 </code></pre>
     61 </blockquote>
     62 <p>... (truncated)</p>
     63 </details>
     64 <details>
     65 <summary>Changelog</summary>
     66 <p><em>Sourced from <a href="https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md">i18next-parser's changelog</a>.</em></p>
     67 <blockquote>
     68 <h1>7.1.0</h1>
     69 <ul>
     70 <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>
     71 <li>Update dependencies</li>
     72 </ul>
     73 <h1>7.0.3</h1>
     74 <ul>
     75 <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>
     76 <li>Update dependencies</li>
     77 </ul>
     78 <h1>7.0.0</h1>
     79 <ul>
     80 <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>
     81 <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>
     82 <li>Add support for .ts, .json and .yaml config <a href="https://github-redirect.dependabot.com/i18next/i18next-parser/issues/673">#673</a></li>
     83 <li>Update dependencies</li>
     84 </ul>
     85 <h1>6.6.0</h1>
     86 <ul>
     87 <li>Support custom yaml output options <a href="https://github-redirect.dependabot.com/i18next/i18next-parser/issues/626">#626</a></li>
     88 <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>
     89 <li>Support TypeScript typecasts <a href="https://github-redirect.dependabot.com/i18next/i18next-parser/issues/604">#604</a></li>
     90 <li>Add LICENSE.md</li>
     91 <li>Update dependencies</li>
     92 </ul>
     93 <h1>6.5.0</h1>
     94 <ul>
     95 <li>Fix: coverage testing <a href="https://github-redirect.dependabot.com/i18next/i18next-parser/issues/586">#586</a></li>
     96 <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>
     97 <li>Update dependencies</li>
     98 </ul>
     99 </blockquote>
    100 </details>
    101 <details>
    102 <summary>Commits</summary>
    103 <ul>
    104 <li><a href="https://github.com/i18next/i18next-parser/commit/dc15de0292a3d3f56b79dfa63abc14e18b7df743"><code>dc15de0</code></a> Bump to 7.1.0</li>
    105 <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>
    106 <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>
    107 <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>
    108 <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>
    109 <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>
    110 <li><a href="https://github.com/i18next/i18next-parser/commit/b7e8c664e6bee8b363d541add02c36c2b553b1e4"><code>b7e8c66</code></a> Fix parse on windows</li>
    111 <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>
    112 <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>
    113 <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>
    114 <li>Additional commits viewable in <a href="https://github.com/i18next/i18next-parser/compare/6.4.0...7.1.0">compare view</a></li>
    115 </ul>
    116 </details>
    117 <br />
    118 
    119 
    120 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-parser&package-manager=npm_and_yarn&previous-version=6.4.0&new-version=7.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    121 
    122 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`.
    123 
    124 [//]: # (dependabot-automerge-start)
    125 [//]: # (dependabot-automerge-end)
    126 
    127 ---
    128 
    129 <details>
    130 <summary>Dependabot commands and options</summary>
    131 <br />
    132 
    133 You can trigger Dependabot actions by commenting on this PR:
    134 - `@dependabot rebase` will rebase this PR
    135 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    136 - `@dependabot merge` will merge this PR after your CI passes on it
    137 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    138 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    139 - `@dependabot reopen` will reopen this PR if it is closed
    140 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    141 - `@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)
    142 - `@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)
    143 - `@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)
    144 
    145 
    146 </details>
    147 
    148 
    149 ## Comments
    150 
    151 ### @dependabot[bot] — 2023-01-03T17:36:28Z
    152 
    153 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.
    154 
    155 If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
    156