Skip to content

Commit f0912df

Browse files
chore(deps): bump yargs from 17.7.2 to 18.0.0 (#99)
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 || &gt;=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 || &amp;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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=yargs&package-manager=npm_and_yarn&previous-version=17.7.2&new-version=18.0.0)](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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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 9f9269e commit f0912df

2 files changed

Lines changed: 31 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"chalk": "^5.4.1",
2929
"concat-with-sourcemaps": "^1.1.0",
3030
"fast-glob": "^3.3.3",
31-
"yargs": "^17.7.2"
31+
"yargs": "^18.0.0"
3232
},
3333
"devDependencies": {
3434
"@commitlint/cli": "^19.8.1",

yarn.lock

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,15 @@ cliui@^8.0.1:
14641464
strip-ansi "^6.0.1"
14651465
wrap-ansi "^7.0.0"
14661466

1467+
cliui@^9.0.1:
1468+
version "9.0.1"
1469+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-9.0.1.tgz#6f7890f386f6f1f79953adc1f78dec46fcc2d291"
1470+
integrity sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==
1471+
dependencies:
1472+
string-width "^7.2.0"
1473+
strip-ansi "^7.1.0"
1474+
wrap-ansi "^9.0.0"
1475+
14671476
clone@^1.0.2:
14681477
version "1.0.4"
14691478
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
@@ -4672,10 +4681,10 @@ string-width@^5.0.1, string-width@^5.1.2:
46724681
emoji-regex "^9.2.2"
46734682
strip-ansi "^7.0.1"
46744683

4675-
string-width@^7.0.0:
4676-
version "7.1.0"
4677-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.1.0.tgz#d994252935224729ea3719c49f7206dc9c46550a"
4678-
integrity sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==
4684+
string-width@^7.0.0, string-width@^7.2.0:
4685+
version "7.2.0"
4686+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.2.0.tgz#b5bb8e2165ce275d4d43476dd2700ad9091db6dc"
4687+
integrity sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==
46794688
dependencies:
46804689
emoji-regex "^10.3.0"
46814690
get-east-asian-width "^1.0.0"
@@ -5203,6 +5212,11 @@ yargs-parser@^21.1.1:
52035212
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
52045213
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
52055214

5215+
yargs-parser@^22.0.0:
5216+
version "22.0.0"
5217+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-22.0.0.tgz#87b82094051b0567717346ecd00fd14804b357c8"
5218+
integrity sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==
5219+
52065220
yargs@^16.0.0:
52075221
version "16.2.0"
52085222
resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66"
@@ -5229,6 +5243,18 @@ yargs@^17.0.0, yargs@^17.5.1, yargs@^17.7.2:
52295243
y18n "^5.0.5"
52305244
yargs-parser "^21.1.1"
52315245

5246+
yargs@^18.0.0:
5247+
version "18.0.0"
5248+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-18.0.0.tgz#6c84259806273a746b09f579087b68a3c2d25bd1"
5249+
integrity sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==
5250+
dependencies:
5251+
cliui "^9.0.1"
5252+
escalade "^3.1.1"
5253+
get-caller-file "^2.0.5"
5254+
string-width "^7.2.0"
5255+
y18n "^5.0.5"
5256+
yargs-parser "^22.0.0"
5257+
52325258
yocto-queue@^0.1.0:
52335259
version "0.1.0"
52345260
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"

0 commit comments

Comments
 (0)