114.md (10431B)
1 # PR #114 fix(deps): update dependency yargs to v12 - autoclosed 2 3 - **Status:** closed 4 - **Author:** @renovate[bot] 5 - **Created:** 2018-06-26T05:28:32Z 6 - **Branch:** renovate/yargs-12.x → master 7 - **Closed:** 2019-02-12T06:31:26Z 8 - **Diff:** [114.diff](./114.diff) 9 10 --- 11 12 This PR contains the following updates: 13 14 | Package | Type | Update | Change | References | 15 |---|---|---|---|---| 16 | yargs | dependencies | major | `^11.0.0` -> `^12.0.0` | [homepage](https://yargs.js.org/), [source](https://togithub.com/yargs/yargs) | 17 18 --- 19 20 ### Release Notes 21 22 <details> 23 <summary>yargs/yargs</summary> 24 25 ### [`v12.0.5`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1300httpsgithubcomyargsyargscomparev1205v1300-2019-02-02) 26 27 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.4...v12.0.5) 28 29 ##### Bug Fixes 30 31 - **deps:** Update os-locale to avoid security vulnerability ([#​1270](https://togithub.com/yargs/yargs/issues/1270)) ([27bf739](https://togithub.com/yargs/yargs/commit/27bf739)) 32 - **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)) 33 - better bash path completion ([#​1272](https://togithub.com/yargs/yargs/issues/1272)) ([da75ea2](https://togithub.com/yargs/yargs/commit/da75ea2)) 34 - middleware added multiple times due to reference bug ([#​1282](https://togithub.com/yargs/yargs/issues/1282)) ([64af518](https://togithub.com/yargs/yargs/commit/64af518)) 35 36 ##### Chores 37 38 - drop Node 6 from testing matrix ([#​1287](https://togithub.com/yargs/yargs/issues/1287)) ([ef16792](https://togithub.com/yargs/yargs/commit/ef16792)) 39 - update dependencies ([#​1284](https://togithub.com/yargs/yargs/issues/1284)) ([f25de4f](https://togithub.com/yargs/yargs/commit/f25de4f)) 40 41 ##### Features 42 43 - Add `.parserConfiguration()` method, deprecating package.json config ([#​1262](https://togithub.com/yargs/yargs/issues/1262)) ([3c6869a](https://togithub.com/yargs/yargs/commit/3c6869a)) 44 - adds config option for sorting command output ([#​1256](https://togithub.com/yargs/yargs/issues/1256)) ([6916ce9](https://togithub.com/yargs/yargs/commit/6916ce9)) 45 - 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)) 46 - support promises in middleware ([f3a4e4f](https://togithub.com/yargs/yargs/commit/f3a4e4f)) 47 48 ##### BREAKING CHANGES 49 50 - options with leading '+' or '0' now parse as strings 51 - dropping Node 6 which hits end of life in April 2019 52 - see [yargs-parser@12.0.0 CHANGELOG](https://togithub.com/yargs/yargs-parser/blob/master/CHANGELOG.md#breaking-changes) 53 - we now warn if the yargs stanza package.json is used. 54 55 #### [12.0.5](https://togithub.com/yargs/yargs/compare/v12.0.4...v12.0.5) (2018-11-19) 56 57 ##### Bug Fixes 58 59 - 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)) 60 61 #### [12.0.4](https://togithub.com/yargs/yargs/compare/v12.0.3...v12.0.4) (2018-11-10) 62 63 ##### Bug Fixes 64 65 - don't load config when processing positionals ([5d0dc92](https://togithub.com/yargs/yargs/commit/5d0dc92)) 66 67 #### [12.0.3](https://togithub.com/yargs/yargs/compare/v12.0.2...v12.0.3) (2018-10-06) 68 69 ##### Bug Fixes 70 71 - $0 contains first arg in bundled electron apps ([#​1206](https://togithub.com/yargs/yargs/issues/1206)) ([567820b](https://togithub.com/yargs/yargs/commit/567820b)) 72 - 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) 73 - 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)) 74 - improve Norwegian Bokmål translations ([#​1208](https://togithub.com/yargs/yargs/issues/1208)) ([a458fa4](https://togithub.com/yargs/yargs/commit/a458fa4)) 75 - improve Norwegian Nynorsk translations ([#​1207](https://togithub.com/yargs/yargs/issues/1207)) ([d422eb5](https://togithub.com/yargs/yargs/commit/d422eb5)) 76 77 #### [12.0.2](https://togithub.com/yargs/yargs/compare/v12.0.1...v12.0.2) (2018-09-04) 78 79 ##### Bug Fixes 80 81 - 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) 82 - 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)) 83 - 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)) 84 85 #### [12.0.1](https://togithub.com/yargs/yargs/compare/v12.0.0...v12.0.1) (2018-06-29) 86 87 ### [`v12.0.4`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1205httpsgithubcomyargsyargscomparev1204v1205-2018-11-19) 88 89 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.2...v12.0.4) 90 91 ##### Bug Fixes 92 93 - 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)) 94 95 ### [`v12.0.2`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1203httpsgithubcomyargsyargscomparev1202v1203-2018-10-06) 96 97 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.1...v12.0.2) 98 99 ##### Bug Fixes 100 101 - $0 contains first arg in bundled electron apps ([#​1206](https://togithub.com/yargs/yargs/issues/1206)) ([567820b](https://togithub.com/yargs/yargs/commit/567820b)) 102 - 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) 103 - 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)) 104 - improve Norwegian Bokmål translations ([#​1208](https://togithub.com/yargs/yargs/issues/1208)) ([a458fa4](https://togithub.com/yargs/yargs/commit/a458fa4)) 105 - improve Norwegian Nynorsk translations ([#​1207](https://togithub.com/yargs/yargs/issues/1207)) ([d422eb5](https://togithub.com/yargs/yargs/commit/d422eb5)) 106 107 ### [`v12.0.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1202httpsgithubcomyargsyargscomparev1201v1202-2018-09-04) 108 109 [Compare Source](https://togithub.com/yargs/yargs/compare/v12.0.0...v12.0.1) 110 111 ##### Bug Fixes 112 113 - 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) 114 - 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)) 115 - 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)) 116 117 ### [`v12.0.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#​1200httpsgithubcomyargsyargscomparev1110v1200-2018-06-26) 118 119 [Compare Source](https://togithub.com/yargs/yargs/compare/v11.1.0...v12.0.0) 120 121 ##### Bug Fixes 122 123 - .argv and .parse() now invoke identical code path ([#​1126](https://togithub.com/yargs/yargs/issues/1126)) ([f13ebf4](https://togithub.com/yargs/yargs/commit/f13ebf4)) 124 - 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)) 125 - **completion:** Avoid default command and recommendations during completion ([#​1123](https://togithub.com/yargs/yargs/issues/1123)) ([036e7c5](https://togithub.com/yargs/yargs/commit/036e7c5)) 126 127 ##### Chores 128 129 - test Node.js 6, 8 and 10 ([#​1160](https://togithub.com/yargs/yargs/issues/1160)) ([84f9d2b](https://togithub.com/yargs/yargs/commit/84f9d2b)) 130 - 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)) 131 132 ##### Features 133 134 - 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)) 135 - allow setting scriptName $0 ([#​1143](https://togithub.com/yargs/yargs/issues/1143)) ([a2f2eae](https://togithub.com/yargs/yargs/commit/a2f2eae)) 136 - remove `setPlaceholderKeys` ([#​1105](https://togithub.com/yargs/yargs/issues/1105)) ([6ee2c82](https://togithub.com/yargs/yargs/commit/6ee2c82)) 137 138 ##### BREAKING CHANGES 139 140 - Options absent from `argv` (not set via CLI argument) are now absent from the parsed result object rather than being set with `undefined` 141 - drop Node 4 from testing matrix, such that we'll gradually start drifting away from supporting Node 4. 142 - yargs-parser does not populate 'false' when boolean flag is not passed 143 - tests that assert against help output will need to be updated 144 145 </details> 146 147 --- 148 149 ### Renovate configuration 150 151 :date: **Schedule**: At any time (no schedule defined). 152 153 :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 154 155 :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". 156 157 :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. 158 159 --- 160 161 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box 162 163 --- 164 165 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). 166