117.md (16186B)
1 # PR #117 fix(deps): update dependency yargs to v13 - autoclosed 2 3 - **Status:** closed 4 - **Author:** @renovate[bot] 5 - **Created:** 2019-02-12T06:31:23Z 6 - **Branch:** renovate/yargs-13.x → master 7 - **Closed:** 2019-09-05T05:57:19Z 8 - **Diff:** [117.diff](./117.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` -> `^13.0.0`](https://renovatebot.com/diffs/npm/yargs/11.1.0/13.3.0) | 17 18 --- 19 20 ### Release Notes 21 22 <details> 23 <summary>yargs/yargs</summary> 24 25 ### [`v13.3.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1400httpsgithubcomyargsyargscomparev1330v1400-2019-07-30) 26 27 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.4...v13.3.0) 28 29 ##### ⚠ BREAKING CHANGES 30 31 - we now only officially support yargs.$0 parameter and discourage direct access to yargs.parsed 32 - previously to this fix methods like `yargs.getOptions()` contained the state of the last command to execute. 33 - do not allow additional positionals in strict mode 34 35 ##### Bug Fixes 36 37 - 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)) 38 - prefer user supplied script name in usage ([#​1383](https://togithub.com/yargs/yargs/issues/1383)) ([28c74b9](https://togithub.com/yargs/yargs/commit/28c74b9)) 39 - **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)) 40 - **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)) 41 - do not allow additional positionals in strict mode ([35d777c](https://togithub.com/yargs/yargs/commit/35d777c)) 42 - 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)) 43 - 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) 44 - 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) 45 46 ##### Features 47 48 - adds support for multiple epilog messages ([#​1384](https://togithub.com/yargs/yargs/issues/1384)) ([07a5554](https://togithub.com/yargs/yargs/commit/07a5554)) 49 - allow completionCommand to be set via showCompletionScript ([#​1385](https://togithub.com/yargs/yargs/issues/1385)) ([5562853](https://togithub.com/yargs/yargs/commit/5562853)) 50 51 ### [`v13.2.4`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1330httpswwwgithubcomyargsyargscomparev1324v1330-2019-06-10) 52 53 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.2...v13.2.4) 54 55 ##### Bug Fixes 56 57 - **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)) 58 59 ##### Features 60 61 - **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)) 62 - support defaultDescription for positional arguments ([812048c](https://www.github.com/yargs/yargs/commit/812048c)) 63 64 ##### [13.2.4](https://togithub.com/yargs/yargs/compare/v13.2.3...v13.2.4) (2019-05-13) 65 66 ##### Bug Fixes 67 68 - **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)) 69 70 ##### [13.2.3](https://togithub.com/yargs/yargs/compare/v13.2.2...v13.2.3) (2019-05-05) 71 72 ##### Bug Fixes 73 74 - **deps:** upgrade cliui for compatibility with latest chalk. ([#​1330](https://togithub.com/yargs/yargs/issues/1330)) ([b20db65](https://togithub.com/yargs/yargs/commit/b20db65)) 75 - address issues with dutch translation ([#​1316](https://togithub.com/yargs/yargs/issues/1316)) ([0295132](https://togithub.com/yargs/yargs/commit/0295132)) 76 77 ##### Tests 78 79 - accept differently formatted output ([#​1327](https://togithub.com/yargs/yargs/issues/1327)) ([c294d1b](https://togithub.com/yargs/yargs/commit/c294d1b)) 80 81 ### [`v13.2.2`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1322httpsgithubcomyargsyargscomparev1321v1322-2019-03-06) 82 83 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.1...v13.2.2) 84 85 ### [`v13.2.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1322httpsgithubcomyargsyargscomparev1321v1322-2019-03-06) 86 87 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.2.0...v13.2.1) 88 89 ### [`v13.2.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1320httpsgithubcomyargsyargscomparev1310v1320-2019-02-15) 90 91 [Compare Source](https://togithub.com/yargs/yargs/compare/v13.1.0...v13.2.0) 92 93 ##### Features 94 95 - 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) 96 97 ### [`v13.1.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1320httpsgithubcomyargsyargscomparev1310v1320-2019-02-15) 98 99 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.5...v13.1.0) 100 101 ##### Features 102 103 - 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) 104 105 ### [`v12.0.5`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1300httpsgithubcomyargsyargscomparev1205v1300-2019-02-02) 106 107 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.4...v12.0.5) 108 109 ##### Bug Fixes 110 111 - **deps:** Update os-locale to avoid security vulnerability ([#​1270](https://togithub.com/yargs/yargs/issues/1270)) ([27bf739](https://togithub.com/yargs/yargs/commit/27bf739)) 112 - **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)) 113 - better bash path completion ([#​1272](https://togithub.com/yargs/yargs/issues/1272)) ([da75ea2](https://togithub.com/yargs/yargs/commit/da75ea2)) 114 - middleware added multiple times due to reference bug ([#​1282](https://togithub.com/yargs/yargs/issues/1282)) ([64af518](https://togithub.com/yargs/yargs/commit/64af518)) 115 116 ##### Chores 117 118 - ~drop Node 6 from testing matrix ([#​1287](https://togithub.com/yargs/yargs/issues/1287)) ([ef16792](https://togithub.com/yargs/yargs/commit/ef16792))~ 119 - _opting to not drop Node 6 support until April, [see](https://togithub.com/nodejs/Release)._ 120 - update dependencies ([#​1284](https://togithub.com/yargs/yargs/issues/1284)) ([f25de4f](https://togithub.com/yargs/yargs/commit/f25de4f)) 121 122 ##### Features 123 124 - Add `.parserConfiguration()` method, deprecating package.json config ([#​1262](https://togithub.com/yargs/yargs/issues/1262)) ([3c6869a](https://togithub.com/yargs/yargs/commit/3c6869a)) 125 - adds config option for sorting command output ([#​1256](https://togithub.com/yargs/yargs/issues/1256)) ([6916ce9](https://togithub.com/yargs/yargs/commit/6916ce9)) 126 - 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)) 127 - support promises in middleware ([f3a4e4f](https://togithub.com/yargs/yargs/commit/f3a4e4f)) 128 129 ##### BREAKING CHANGES 130 131 - options with leading '+' or '0' now parse as strings 132 - dropping Node 6 which hits end of life in April 2019 133 - see [yargs-parser@12.0.0 CHANGELOG](https://togithub.com/yargs/yargs-parser/blob/master/CHANGELOG.md#breaking-changes) 134 - we now warn if the yargs stanza package.json is used. 135 136 #### [12.0.5](https://togithub.com/yargs/yargs/compare/v12.0.4...v12.0.5) (2018-11-19) 137 138 ##### Bug Fixes 139 140 - 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)) 141 142 #### [12.0.4](https://togithub.com/yargs/yargs/compare/v12.0.3...v12.0.4) (2018-11-10) 143 144 ##### Bug Fixes 145 146 - don't load config when processing positionals ([5d0dc92](https://togithub.com/yargs/yargs/commit/5d0dc92)) 147 148 #### [12.0.3](https://togithub.com/yargs/yargs/compare/v12.0.2...v12.0.3) (2018-10-06) 149 150 ##### Bug Fixes 151 152 - $0 contains first arg in bundled electron apps ([#​1206](https://togithub.com/yargs/yargs/issues/1206)) ([567820b](https://togithub.com/yargs/yargs/commit/567820b)) 153 - 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) 154 - 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)) 155 - improve Norwegian Bokmål translations ([#​1208](https://togithub.com/yargs/yargs/issues/1208)) ([a458fa4](https://togithub.com/yargs/yargs/commit/a458fa4)) 156 - improve Norwegian Nynorsk translations ([#​1207](https://togithub.com/yargs/yargs/issues/1207)) ([d422eb5](https://togithub.com/yargs/yargs/commit/d422eb5)) 157 158 #### [12.0.2](https://togithub.com/yargs/yargs/compare/v12.0.1...v12.0.2) (2018-09-04) 159 160 ##### Bug Fixes 161 162 - 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) 163 - 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)) 164 - 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)) 165 166 #### [12.0.1](https://togithub.com/yargs/yargs/compare/v12.0.0...v12.0.1) (2018-06-29) 167 168 ### [`v12.0.4`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1205httpsgithubcomyargsyargscomparev1204v1205-2018-11-19) 169 170 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.2...v12.0.4) 171 172 ##### Bug Fixes 173 174 - 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)) 175 176 ### [`v12.0.2`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1203httpsgithubcomyargsyargscomparev1202v1203-2018-10-06) 177 178 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.1...v12.0.2) 179 180 ##### Bug Fixes 181 182 - $0 contains first arg in bundled electron apps ([#​1206](https://togithub.com/yargs/yargs/issues/1206)) ([567820b](https://togithub.com/yargs/yargs/commit/567820b)) 183 - 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) 184 - 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)) 185 - improve Norwegian Bokmål translations ([#​1208](https://togithub.com/yargs/yargs/issues/1208)) ([a458fa4](https://togithub.com/yargs/yargs/commit/a458fa4)) 186 - improve Norwegian Nynorsk translations ([#​1207](https://togithub.com/yargs/yargs/issues/1207)) ([d422eb5](https://togithub.com/yargs/yargs/commit/d422eb5)) 187 188 ### [`v12.0.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1202httpsgithubcomyargsyargscomparev1201v1202-2018-09-04) 189 190 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.0...v12.0.1) 191 192 ##### Bug Fixes 193 194 - 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) 195 - 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)) 196 - 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)) 197 198 ### [`v12.0.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1200httpsgithubcomyargsyargscomparev1110v1200-2018-06-26) 199 200 [Compare Source](https://togithub.com/yargs/yargs/compare/v11.1.0...v12.0.0) 201 202 ##### Bug Fixes 203 204 - .argv and .parse() now invoke identical code path ([#​1126](https://togithub.com/yargs/yargs/issues/1126)) ([f13ebf4](https://togithub.com/yargs/yargs/commit/f13ebf4)) 205 - 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)) 206 - **completion:** Avoid default command and recommendations during completion ([#​1123](https://togithub.com/yargs/yargs/issues/1123)) ([036e7c5](https://togithub.com/yargs/yargs/commit/036e7c5)) 207 208 ##### Chores 209 210 - test Node.js 6, 8 and 10 ([#​1160](https://togithub.com/yargs/yargs/issues/1160)) ([84f9d2b](https://togithub.com/yargs/yargs/commit/84f9d2b)) 211 - 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)) 212 213 ##### Features 214 215 - 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)) 216 - allow setting scriptName $0 ([#​1143](https://togithub.com/yargs/yargs/issues/1143)) ([a2f2eae](https://togithub.com/yargs/yargs/commit/a2f2eae)) 217 - remove `setPlaceholderKeys` ([#​1105](https://togithub.com/yargs/yargs/issues/1105)) ([6ee2c82](https://togithub.com/yargs/yargs/commit/6ee2c82)) 218 219 ##### BREAKING CHANGES 220 221 - Options absent from `argv` (not set via CLI argument) are now absent from the parsed result object rather than being set with `undefined` 222 - drop Node 4 from testing matrix, such that we'll gradually start drifting away from supporting Node 4. 223 - yargs-parser does not populate 'false' when boolean flag is not passed 224 - tests that assert against help output will need to be updated 225 226 </details> 227 228 --- 229 230 ### Renovate configuration 231 232 :date: **Schedule**: At any time (no schedule defined). 233 234 :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 235 236 :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". 237 238 :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. 239 240 --- 241 242 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box 243 244 --- 245 246 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). 247