Commit 3de5ea9
authored
deps: Bump yargs from 17.7.2 to 18.0.0 (#1342)
Bumps [yargs](https://github.com/yargs/yargs) from 17.7.2 to 18.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/yargs/yargs/blob/main/CHANGELOG.md">yargs's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/yargs/yargs/compare/v17.7.2...v18.0.0">18.0.0</a>
(2025-05-26)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>command names are not derived from modules passed to
<code>command</code>.</li>
<li>singleton usage of yargs yargs.foo, yargs().argv, has been
removed.</li>
<li>minimum node.js versions now <code>^20.19.0 || ^22.12.0 ||
>=23</code>.</li>
<li>yargs is now ESM first</li>
</ul>
<h3>Features</h3>
<ul>
<li>commandDir now works with ESM files (<a
href="https://redirect.github.com/yargs/yargs/issues/2461">#2461</a>)
(<a
href="https://github.com/yargs/yargs/commit/27eec188dad09656fe2e8dd42b529a5d98fea794">27eec18</a>)</li>
<li><strong>locale:</strong> adds hebrew translation (<a
href="https://redirect.github.com/yargs/yargs/issues/2357">#2357</a>)
(<a
href="https://github.com/yargs/yargs/commit/4266485b20e9b0f3a7f196e84c6d8284b04642cd">4266485</a>)</li>
<li>yargs is now ESM first (<a
href="https://github.com/yargs/yargs/commit/d90af45f18db093396b41196830b04e6930aa542">d90af45</a>)</li>
<li><strong>zsh:</strong> Add default completion as fallback (<a
href="https://redirect.github.com/yargs/yargs/issues/2331">#2331</a>)
(<a
href="https://github.com/yargs/yargs/commit/e02c91b861380eccf743ac9c5c27c6895366e320">e02c91b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>addDirectory do not support absolute command dir (<a
href="https://redirect.github.com/yargs/yargs/issues/2465">#2465</a>)
(<a
href="https://github.com/yargs/yargs/commit/3a40a787edc5784b8134af022948b30c707001ba">3a40a78</a>)</li>
<li>allows ESM modules commands to be extensible using visit option (<a
href="https://redirect.github.com/yargs/yargs/issues/2468">#2468</a>)
(<a
href="https://github.com/yargs/yargs/commit/200e1aae95aeac71fc084aabf449fa95edf63300">200e1aa</a>)</li>
<li><strong>browser:</strong> fix shims so that yargs continues working
in browser context (<a
href="https://redirect.github.com/yargs/yargs/issues/2457">#2457</a>)
(<a
href="https://github.com/yargs/yargs/commit/4ae5f5742e2ce7bd9d7b18f3de25c90a938e5cc3">4ae5f57</a>)</li>
<li><strong>build:</strong> address problems with typescript compilation
(<a
href="https://redirect.github.com/yargs/yargs/issues/2445">#2445</a>)
(<a
href="https://github.com/yargs/yargs/commit/8d72fb3968498447df52e994e259920c9fefc2b5">8d72fb3</a>)</li>
<li>coerce should play well with parser configuration (<a
href="https://redirect.github.com/yargs/yargs/issues/2308">#2308</a>)
(<a
href="https://github.com/yargs/yargs/commit/8343c66eac10fbe60e85fc17adfe07eadd45cb35">8343c66</a>)</li>
<li><strong>deps:</strong> update dependency yargs-parser to v22 (<a
href="https://redirect.github.com/yargs/yargs/issues/2470">#2470</a>)
(<a
href="https://github.com/yargs/yargs/commit/639130d332066c204776c263b4217ac265a0a861">639130d</a>)</li>
<li>exit after async handler done (<a
href="https://redirect.github.com/yargs/yargs/issues/2313">#2313</a>)
(<a
href="https://github.com/yargs/yargs/commit/e326cde53173e82407bf5e79cfdd58a199bcb909">e326cde</a>)</li>
<li>handle spaces in bash completion (<a
href="https://redirect.github.com/yargs/yargs/issues/2452">#2452</a>)
(<a
href="https://github.com/yargs/yargs/commit/83b7788a09576feb2ca1c8aa762431a8a4d6a186">83b7788</a>)</li>
<li>parser-configuration should work well with generated completion
script (<a
href="https://redirect.github.com/yargs/yargs/issues/2332">#2332</a>)
(<a
href="https://github.com/yargs/yargs/commit/888db19ccebcb5065a7aa415445e41cb15411c50">888db19</a>)</li>
<li>propagate Dictionary including undefined in value type (<a
href="https://redirect.github.com/yargs/yargs/issues/2393">#2393</a>)
(<a
href="https://github.com/yargs/yargs/commit/2b2f7f5611ec6b4229ca609041b0fc8ffc393d14">2b2f7f5</a>)</li>
<li><strong>zsh:</strong> completion no longer requires double tab when
using autoloaded (<a
href="https://github.com/yargs/yargs/commit/0dd8fe42ce98401fa54fd2458bf248bb38cb064d">0dd8fe4</a>)</li>
</ul>
<h3>Code Refactoring</h3>
<ul>
<li>command names are not derived from modules passed to
<code>command</code>. (<a
href="https://github.com/yargs/yargs/commit/d90af45f18db093396b41196830b04e6930aa542">d90af45</a>)</li>
<li>singleton usage of yargs yargs.foo, yargs().argv, has been removed.
(<a
href="https://github.com/yargs/yargs/commit/d90af45f18db093396b41196830b04e6930aa542">d90af45</a>)</li>
</ul>
<h3>Build System</h3>
<ul>
<li>minimum node.js versions now <code>^20.19.0 || ^22.12.0 ||
&gt;=23</code>. (<a
href="https://github.com/yargs/yargs/commit/d90af45f18db093396b41196830b04e6930aa542">d90af45</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/yargs/yargs/commit/0bc72553e8c247695579ff6deccce114eca13a14"><code>0bc7255</code></a>
chore(main): release 18.0.0 (<a
href="https://redirect.github.com/yargs/yargs/issues/2325">#2325</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/639130d332066c204776c263b4217ac265a0a861"><code>639130d</code></a>
fix(deps): update dependency yargs-parser to v22 (<a
href="https://redirect.github.com/yargs/yargs/issues/2470">#2470</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/200e1aae95aeac71fc084aabf449fa95edf63300"><code>200e1aa</code></a>
fix: allows ESM modules commands to be extensible using visit option (<a
href="https://redirect.github.com/yargs/yargs/issues/2468">#2468</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/888db19ccebcb5065a7aa415445e41cb15411c50"><code>888db19</code></a>
fix: parser-configuration should work well with generated completion
script (...</li>
<li><a
href="https://github.com/yargs/yargs/commit/3a40a787edc5784b8134af022948b30c707001ba"><code>3a40a78</code></a>
fix: addDirectory do not support absolute command dir (<a
href="https://redirect.github.com/yargs/yargs/issues/2465">#2465</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/90e9ecaef9f9f112896aecd822009bf1781db37a"><code>90e9eca</code></a>
docs: remove to old slack channel (<a
href="https://redirect.github.com/yargs/yargs/issues/2466">#2466</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/0dd8fe42ce98401fa54fd2458bf248bb38cb064d"><code>0dd8fe4</code></a>
fix(zsh): completion no longer requires double tab when using
autoloaded</li>
<li><a
href="https://github.com/yargs/yargs/commit/27eec188dad09656fe2e8dd42b529a5d98fea794"><code>27eec18</code></a>
feat: commandDir now works with ESM files (<a
href="https://redirect.github.com/yargs/yargs/issues/2461">#2461</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/f9c72a7016927bc0e486aa7056873fa4f2febccc"><code>f9c72a7</code></a>
docs: update examples to run from examples folder (<a
href="https://redirect.github.com/yargs/yargs/issues/2463">#2463</a>)</li>
<li><a
href="https://github.com/yargs/yargs/commit/e02c91b861380eccf743ac9c5c27c6895366e320"><code>e02c91b</code></a>
feat(zsh): Add default completion as fallback (<a
href="https://redirect.github.com/yargs/yargs/issues/2331">#2331</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/yargs/yargs/compare/v17.7.2...v18.0.0">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>1 parent a204e65 commit 3de5ea9
2 files changed
+73
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments