119.md (17845B)
1 # PR #119 fix(deps): update dependency yargs to v14 2 3 - **Status:** merged 4 - **Author:** @renovate[bot] 5 - **Created:** 2019-09-05T05:57:12Z 6 - **Branch:** renovate/yargs-14.x → master 7 - **Merged:** 2019-10-22T15:26:15Z 8 - **Diff:** [119.diff](./119.diff) 9 10 --- 11 12 This PR contains the following updates: 13 14 | Package | Type | Update | Change | 15 |---|---|---|---| 16 | [yargs](https://yargs.js.org/) ([source](https://togithub.com/yargs/yargs)) | dependencies | major | [`^11.0.0` -> `^14.0.0`](https://renovatebot.com/diffs/npm/yargs/11.1.0/14.0.0) | 17 18 --- 19 20 ### Release Notes 21 22 <details> 23 <summary>yargs/yargs</summary> 24 25 ### [`v14.0.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1410httpsgithubcomyargsyargscomparev1400v1410-2019-09-06) 26 27 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.3.0...v14.0.0) 28 29 ##### Bug Fixes 30 31 - **docs:** fix incorrect parserConfiguration documentation ([2a99124](https://togithub.com/yargs/yargs/commit/2a99124)) 32 - detect zsh when zsh isnt run as a login prompt ([#​1395](https://togithub.com/yargs/yargs/issues/1395)) ([8792d13](https://togithub.com/yargs/yargs/commit/8792d13)) 33 - populate correct value on yargs.parsed and stop warning on access ([#​1412](https://togithub.com/yargs/yargs/issues/1412)) ([bb0eb52](https://togithub.com/yargs/yargs/commit/bb0eb52)) 34 - showCompletionScript was logging script twice ([#​1388](https://togithub.com/yargs/yargs/issues/1388)) ([07c8537](https://togithub.com/yargs/yargs/commit/07c8537)) 35 - strict() should not ignore hyphenated arguments ([#​1414](https://togithub.com/yargs/yargs/issues/1414)) ([b774b5e](https://togithub.com/yargs/yargs/commit/b774b5e)) 36 - **docs:** formalize existing callback argument to showHelp ([#​1386](https://togithub.com/yargs/yargs/issues/1386)) ([d217764](https://togithub.com/yargs/yargs/commit/d217764)) 37 38 ##### Features 39 40 - make it possible to merge configurations when extending other config. ([#​1411](https://togithub.com/yargs/yargs/issues/1411)) ([5d7ad98](https://togithub.com/yargs/yargs/commit/5d7ad98)) 41 - **deps:** yargs-parser with support for collect-unknown-options ([#​1421](https://togithub.com/yargs/yargs/issues/1421)) ([d388a7c](https://togithub.com/yargs/yargs/commit/d388a7c)) 42 43 ### [`v13.3.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1400httpsgithubcomyargsyargscomparev1330v1400-2019-07-30) 44 45 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.4...v13.3.0) 46 47 ##### ⚠ BREAKING CHANGES 48 49 - we now only officially support yargs.$0 parameter and discourage direct access to yargs.parsed 50 - previously to this fix methods like `yargs.getOptions()` contained the state of the last command to execute. 51 - do not allow additional positionals in strict mode 52 53 ##### Bug Fixes 54 55 - calling parse multiple times now appropriately maintains state ([#​1137](https://togithub.com/yargs/yargs/issues/1137)) ([#​1369](https://togithub.com/yargs/yargs/issues/1369)) ([026b151](https://togithub.com/yargs/yargs/commit/026b151)) 56 - prefer user supplied script name in usage ([#​1383](https://togithub.com/yargs/yargs/issues/1383)) ([28c74b9](https://togithub.com/yargs/yargs/commit/28c74b9)) 57 - **deps:** use decamelize from npm instead of vendored copy ([#​1377](https://togithub.com/yargs/yargs/issues/1377)) ([015eeb9](https://togithub.com/yargs/yargs/commit/015eeb9)) 58 - **examples:** fix usage-options.js to reflect current API ([#​1375](https://togithub.com/yargs/yargs/issues/1375)) ([6e5b76b](https://togithub.com/yargs/yargs/commit/6e5b76b)) 59 - do not allow additional positionals in strict mode ([35d777c](https://togithub.com/yargs/yargs/commit/35d777c)) 60 - properties accessed on singleton now reflect current state of instance ([#​1366](https://togithub.com/yargs/yargs/issues/1366)) ([409d35b](https://togithub.com/yargs/yargs/commit/409d35b)) 61 - tolerate null prototype for config objects with `extends` ([#​1376](https://togithub.com/yargs/yargs/issues/1376)) ([3d26d11](https://togithub.com/yargs/yargs/commit/3d26d11)), closes [#​1372](https://togithub.com/yargs/yargs/issues/1372) 62 - yargs.parsed now populated before returning, when yargs.parse() called with no args ([#​1382](https://togithub.com/yargs/yargs/issues/1382)) ([e3981fd](https://togithub.com/yargs/yargs/commit/e3981fd)), closes [#​1382](https://togithub.com/yargs/yargs/issues/1382) 63 64 ##### Features 65 66 - adds support for multiple epilog messages ([#​1384](https://togithub.com/yargs/yargs/issues/1384)) ([07a5554](https://togithub.com/yargs/yargs/commit/07a5554)) 67 - allow completionCommand to be set via showCompletionScript ([#​1385](https://togithub.com/yargs/yargs/issues/1385)) ([5562853](https://togithub.com/yargs/yargs/commit/5562853)) 68 69 ### [`v13.2.4`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1330httpswwwgithubcomyargsyargscomparev1324v1330-2019-06-10) 70 71 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.2...v13.2.4) 72 73 ##### Bug Fixes 74 75 - **deps:** yargs-parser update addressing several parsing bugs ([#​1357](https://www.github.com/yargs/yargs/issues/1357)) ([e230d5b](https://www.github.com/yargs/yargs/commit/e230d5b)) 76 77 ##### Features 78 79 - **i18n:** swap out os-locale dependency for simple inline implementation ([#​1356](https://www.github.com/yargs/yargs/issues/1356)) ([4dfa19b](https://www.github.com/yargs/yargs/commit/4dfa19b)) 80 - support defaultDescription for positional arguments ([812048c](https://www.github.com/yargs/yargs/commit/812048c)) 81 82 ##### [13.2.4](https://togithub.com/yargs/yargs/compare/v13.2.3...v13.2.4) (2019-05-13) 83 84 ##### Bug Fixes 85 86 - **i18n:** rename unclear 'implication failed' to 'missing dependent arguments' ([#​1317](https://togithub.com/yargs/yargs/issues/1317)) ([bf46813](https://togithub.com/yargs/yargs/commit/bf46813)) 87 88 ##### [13.2.3](https://togithub.com/yargs/yargs/compare/v13.2.2...v13.2.3) (2019-05-05) 89 90 ##### Bug Fixes 91 92 - **deps:** upgrade cliui for compatibility with latest chalk. ([#​1330](https://togithub.com/yargs/yargs/issues/1330)) ([b20db65](https://togithub.com/yargs/yargs/commit/b20db65)) 93 - address issues with dutch translation ([#​1316](https://togithub.com/yargs/yargs/issues/1316)) ([0295132](https://togithub.com/yargs/yargs/commit/0295132)) 94 95 ##### Tests 96 97 - accept differently formatted output ([#​1327](https://togithub.com/yargs/yargs/issues/1327)) ([c294d1b](https://togithub.com/yargs/yargs/commit/c294d1b)) 98 99 ### [`v13.2.2`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1322httpsgithubcomyargsyargscomparev1321v1322-2019-03-06) 100 101 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.1...v13.2.2) 102 103 ### [`v13.2.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1322httpsgithubcomyargsyargscomparev1321v1322-2019-03-06) 104 105 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.0...v13.2.1) 106 107 ### [`v13.2.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1320httpsgithubcomyargsyargscomparev1310v1320-2019-02-15) 108 109 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.1.0...v13.2.0) 110 111 ##### Features 112 113 - zsh auto completion ([#​1292](https://togithub.com/yargs/yargs/issues/1292)) ([16c5d25](https://togithub.com/yargs/yargs/commit/16c5d25)), closes [#​1156](https://togithub.com/yargs/yargs/issues/1156) 114 115 ### [`v13.1.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1320httpsgithubcomyargsyargscomparev1310v1320-2019-02-15) 116 117 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.5...v13.1.0) 118 119 ##### Features 120 121 - zsh auto completion ([#​1292](https://togithub.com/yargs/yargs/issues/1292)) ([16c5d25](https://togithub.com/yargs/yargs/commit/16c5d25)), closes [#​1156](https://togithub.com/yargs/yargs/issues/1156) 122 123 ### [`v12.0.5`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1300httpsgithubcomyargsyargscomparev1205v1300-2019-02-02) 124 125 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.4...v12.0.5) 126 127 ##### Bug Fixes 128 129 - **deps:** Update os-locale to avoid security vulnerability ([#​1270](https://togithub.com/yargs/yargs/issues/1270)) ([27bf739](https://togithub.com/yargs/yargs/commit/27bf739)) 130 - **validation:** Use the error as a message when none exists otherwise ([#​1268](https://togithub.com/yargs/yargs/issues/1268)) ([0510fe6](https://togithub.com/yargs/yargs/commit/0510fe6)) 131 - better bash path completion ([#​1272](https://togithub.com/yargs/yargs/issues/1272)) ([da75ea2](https://togithub.com/yargs/yargs/commit/da75ea2)) 132 - middleware added multiple times due to reference bug ([#​1282](https://togithub.com/yargs/yargs/issues/1282)) ([64af518](https://togithub.com/yargs/yargs/commit/64af518)) 133 134 ##### Chores 135 136 - ~drop Node 6 from testing matrix ([#​1287](https://togithub.com/yargs/yargs/issues/1287)) ([ef16792](https://togithub.com/yargs/yargs/commit/ef16792))~ 137 - _opting to not drop Node 6 support until April, [see](https://togithub.com/nodejs/Release)._ 138 - update dependencies ([#​1284](https://togithub.com/yargs/yargs/issues/1284)) ([f25de4f](https://togithub.com/yargs/yargs/commit/f25de4f)) 139 140 ##### Features 141 142 - Add `.parserConfiguration()` method, deprecating package.json config ([#​1262](https://togithub.com/yargs/yargs/issues/1262)) ([3c6869a](https://togithub.com/yargs/yargs/commit/3c6869a)) 143 - adds config option for sorting command output ([#​1256](https://togithub.com/yargs/yargs/issues/1256)) ([6916ce9](https://togithub.com/yargs/yargs/commit/6916ce9)) 144 - options/positionals with leading '+' and '0' no longer parse as numbers ([#​1286](https://togithub.com/yargs/yargs/issues/1286)) ([e9dc3aa](https://togithub.com/yargs/yargs/commit/e9dc3aa)) 145 - support promises in middleware ([f3a4e4f](https://togithub.com/yargs/yargs/commit/f3a4e4f)) 146 147 ##### BREAKING CHANGES 148 149 - options with leading '+' or '0' now parse as strings 150 - dropping Node 6 which hits end of life in April 2019 151 - see [yargs-parser@12.0.0 CHANGELOG](https://togithub.com/yargs/yargs-parser/blob/master/CHANGELOG.md#breaking-changes) 152 - we now warn if the yargs stanza package.json is used. 153 154 #### [12.0.5](https://togithub.com/yargs/yargs/compare/v12.0.4...v12.0.5) (2018-11-19) 155 156 ##### Bug Fixes 157 158 - allows camel-case, variadic arguments, and strict mode to be combined ([#​1247](https://togithub.com/yargs/yargs/issues/1247)) ([eacc035](https://togithub.com/yargs/yargs/commit/eacc035)) 159 160 #### [12.0.4](https://togithub.com/yargs/yargs/compare/v12.0.3...v12.0.4) (2018-11-10) 161 162 ##### Bug Fixes 163 164 - don't load config when processing positionals ([5d0dc92](https://togithub.com/yargs/yargs/commit/5d0dc92)) 165 166 #### [12.0.3](https://togithub.com/yargs/yargs/compare/v12.0.2...v12.0.3) (2018-10-06) 167 168 ##### Bug Fixes 169 170 - $0 contains first arg in bundled electron apps ([#​1206](https://togithub.com/yargs/yargs/issues/1206)) ([567820b](https://togithub.com/yargs/yargs/commit/567820b)) 171 - accept single function for middleware ([66fd6f7](https://togithub.com/yargs/yargs/commit/66fd6f7)), closes [#​1214](https://togithub.com/yargs/yargs/issues/1214) [#​1214](https://togithub.com/yargs/yargs/issues/1214) 172 - hide `hidden` options from help output even if they are in a group ([#​1221](https://togithub.com/yargs/yargs/issues/1221)) ([da54028](https://togithub.com/yargs/yargs/commit/da54028)) 173 - improve Norwegian Bokmål translations ([#​1208](https://togithub.com/yargs/yargs/issues/1208)) ([a458fa4](https://togithub.com/yargs/yargs/commit/a458fa4)) 174 - improve Norwegian Nynorsk translations ([#​1207](https://togithub.com/yargs/yargs/issues/1207)) ([d422eb5](https://togithub.com/yargs/yargs/commit/d422eb5)) 175 176 #### [12.0.2](https://togithub.com/yargs/yargs/compare/v12.0.1...v12.0.2) (2018-09-04) 177 178 ##### Bug Fixes 179 180 - middleware should work regardless of when method is called ([664b265](https://togithub.com/yargs/yargs/commit/664b265)), closes [#​1178](https://togithub.com/yargs/yargs/issues/1178) 181 - translation not working when using \_\_ with a single parameter ([#​1183](https://togithub.com/yargs/yargs/issues/1183)) ([f449aea](https://togithub.com/yargs/yargs/commit/f449aea)) 182 - upgrade os-locale to version that addresses license issue ([#​1195](https://togithub.com/yargs/yargs/issues/1195)) ([efc0970](https://togithub.com/yargs/yargs/commit/efc0970)) 183 184 #### [12.0.1](https://togithub.com/yargs/yargs/compare/v12.0.0...v12.0.1) (2018-06-29) 185 186 ### [`v12.0.4`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1205httpsgithubcomyargsyargscomparev1204v1205-2018-11-19) 187 188 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.2...v12.0.4) 189 190 ##### Bug Fixes 191 192 - allows camel-case, variadic arguments, and strict mode to be combined ([#​1247](https://togithub.com/yargs/yargs/issues/1247)) ([eacc035](https://togithub.com/yargs/yargs/commit/eacc035)) 193 194 ### [`v12.0.2`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1203httpsgithubcomyargsyargscomparev1202v1203-2018-10-06) 195 196 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.1...v12.0.2) 197 198 ##### Bug Fixes 199 200 - $0 contains first arg in bundled electron apps ([#​1206](https://togithub.com/yargs/yargs/issues/1206)) ([567820b](https://togithub.com/yargs/yargs/commit/567820b)) 201 - accept single function for middleware ([66fd6f7](https://togithub.com/yargs/yargs/commit/66fd6f7)), closes [#​1214](https://togithub.com/yargs/yargs/issues/1214) [#​1214](https://togithub.com/yargs/yargs/issues/1214) 202 - hide `hidden` options from help output even if they are in a group ([#​1221](https://togithub.com/yargs/yargs/issues/1221)) ([da54028](https://togithub.com/yargs/yargs/commit/da54028)) 203 - improve Norwegian Bokmål translations ([#​1208](https://togithub.com/yargs/yargs/issues/1208)) ([a458fa4](https://togithub.com/yargs/yargs/commit/a458fa4)) 204 - improve Norwegian Nynorsk translations ([#​1207](https://togithub.com/yargs/yargs/issues/1207)) ([d422eb5](https://togithub.com/yargs/yargs/commit/d422eb5)) 205 206 ### [`v12.0.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1202httpsgithubcomyargsyargscomparev1201v1202-2018-09-04) 207 208 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.0...v12.0.1) 209 210 ##### Bug Fixes 211 212 - middleware should work regardless of when method is called ([664b265](https://togithub.com/yargs/yargs/commit/664b265)), closes [#​1178](https://togithub.com/yargs/yargs/issues/1178) 213 - translation not working when using \_\_ with a single parameter ([#​1183](https://togithub.com/yargs/yargs/issues/1183)) ([f449aea](https://togithub.com/yargs/yargs/commit/f449aea)) 214 - upgrade os-locale to version that addresses license issue ([#​1195](https://togithub.com/yargs/yargs/issues/1195)) ([efc0970](https://togithub.com/yargs/yargs/commit/efc0970)) 215 216 ### [`v12.0.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1200httpsgithubcomyargsyargscomparev1110v1200-2018-06-26) 217 218 [Compare Source](https://togithub.com/yargs/yargs/compare/v11.1.0...v12.0.0) 219 220 ##### Bug Fixes 221 222 - .argv and .parse() now invoke identical code path ([#​1126](https://togithub.com/yargs/yargs/issues/1126)) ([f13ebf4](https://togithub.com/yargs/yargs/commit/f13ebf4)) 223 - remove the trailing white spaces from the help output ([#​1090](https://togithub.com/yargs/yargs/issues/1090)) ([3f0746c](https://togithub.com/yargs/yargs/commit/3f0746c)) 224 - **completion:** Avoid default command and recommendations during completion ([#​1123](https://togithub.com/yargs/yargs/issues/1123)) ([036e7c5](https://togithub.com/yargs/yargs/commit/036e7c5)) 225 226 ##### Chores 227 228 - test Node.js 6, 8 and 10 ([#​1160](https://togithub.com/yargs/yargs/issues/1160)) ([84f9d2b](https://togithub.com/yargs/yargs/commit/84f9d2b)) 229 - upgrade to version of yargs-parser that does not populate value for unset boolean ([#​1104](https://togithub.com/yargs/yargs/issues/1104)) ([d4705f4](https://togithub.com/yargs/yargs/commit/d4705f4)) 230 231 ##### Features 232 233 - add support for global middleware, useful for shared tasks like metrics ([#​1119](https://togithub.com/yargs/yargs/issues/1119)) ([9d71ac7](https://togithub.com/yargs/yargs/commit/9d71ac7)) 234 - allow setting scriptName $0 ([#​1143](https://togithub.com/yargs/yargs/issues/1143)) ([a2f2eae](https://togithub.com/yargs/yargs/commit/a2f2eae)) 235 - remove `setPlaceholderKeys` ([#​1105](https://togithub.com/yargs/yargs/issues/1105)) ([6ee2c82](https://togithub.com/yargs/yargs/commit/6ee2c82)) 236 237 ##### BREAKING CHANGES 238 239 - Options absent from `argv` (not set via CLI argument) are now absent from the parsed result object rather than being set with `undefined` 240 - drop Node 4 from testing matrix, such that we'll gradually start drifting away from supporting Node 4. 241 - yargs-parser does not populate 'false' when boolean flag is not passed 242 - tests that assert against help output will need to be updated 243 244 </details> 245 246 --- 247 248 ### Renovate configuration 249 250 :date: **Schedule**: At any time (no schedule defined). 251 252 :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 253 254 :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". 255 256 :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. 257 258 --- 259 260 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box 261 262 --- 263 264 This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#MTRNord/freifunk-bot). 265