113.md (14303B)
1 # PR #113 fix(deps): update dependency yargs to ^11.0.0 2 3 - **Status:** merged 4 - **Author:** @renovate[bot] 5 - **Created:** 2018-03-25T16:04:19Z 6 - **Branch:** renovate/yargs-11.x → master 7 - **Merged:** 2018-03-25T16:08:50Z 8 - **Labels:** enhancement 9 - **Assignees:** @MTRNord 10 - **Diff:** [113.diff](./113.diff) 11 12 --- 13 14 This Pull Request updates dependency [yargs](https://github.com/yargs/yargs) from `^9.0.1` to `^11.0.0` 15 16 17 18 <details> 19 <summary>Release Notes</summary> 20 21 ### [`v10.0.0`](https://github.com/yargs/yargs/blob/master/CHANGELOG.md#​1000httpsgithubcomyargsyargscomparev910v1000-2017-10-18) 22 23 ##### Bug Fixes 24 25 * config and normalize can be disabled with false ([#​952](`https://github.com/yargs/yargs/issues/952`)) ([3bb8771](https://github.com/yargs/yargs/commit/3bb8771)) 26 * less eager help command execution ([#​972](`https://github.com/yargs/yargs/issues/972`)) ([8c1d7bf](https://github.com/yargs/yargs/commit/8c1d7bf)) 27 * the positional argument parse was clobbering global flag arguments ([#​984](`https://github.com/yargs/yargs/issues/984`)) ([7e58453](https://github.com/yargs/yargs/commit/7e58453)) 28 ##### Features 29 30 * .usage() can now be used to configure a default command ([#​975](`https://github.com/yargs/yargs/issues/975`)) ([7269531](https://github.com/yargs/yargs/commit/7269531)) 31 * hidden options are now explicitly indicated using "hidden" flag ([#​962](`https://github.com/yargs/yargs/issues/962`)) ([280d0d6](https://github.com/yargs/yargs/commit/280d0d6)) 32 * introduce .positional() for configuring positional arguments ([#​967](`https://github.com/yargs/yargs/issues/967`)) ([cb16460](https://github.com/yargs/yargs/commit/cb16460)) 33 * replace $0 with file basename ([#​983](`https://github.com/yargs/yargs/issues/983`)) ([20bb99b](https://github.com/yargs/yargs/commit/20bb99b)) 34 ##### BREAKING CHANGES 35 36 * .usage() no longer accepts an options object as the second argument. It can instead be used as an alias for configuring a default command. 37 * previously hidden options were simply implied using a falsy description 38 * help command now only executes if it's the last positional in argv._ 39 40 --- 41 42 ### [`v10.0.3`](https://github.com/yargs/yargs/blob/master/CHANGELOG.md#​1010httpsgithubcomyargsyargscomparev1003v1010-2018-01-01) 43 44 ##### Bug Fixes 45 46 * 'undefined' should be taken to mean no argument was provided ([#​1015](`https://github.com/yargs/yargs/issues/1015`)) ([c679e90](https://github.com/yargs/yargs/commit/c679e90)) 47 ##### Features 48 49 * add missing simple chinese locale strings ([#​1004](`https://github.com/yargs/yargs/issues/1004`)) ([3cc24ec](https://github.com/yargs/yargs/commit/3cc24ec)) 50 * add Norwegian Nynorsk translations ([#​1028](`https://github.com/yargs/yargs/issues/1028`)) ([a5ac213](https://github.com/yargs/yargs/commit/a5ac213)) 51 * async command handlers ([#​1001](`https://github.com/yargs/yargs/issues/1001`)) ([241124b](https://github.com/yargs/yargs/commit/241124b)) 52 * middleware ([#​881](`https://github.com/yargs/yargs/issues/881`)) ([77b8dbc](https://github.com/yargs/yargs/commit/77b8dbc)) 53 #### [10.0.3](https://github.com/yargs/yargs/compare/v10.0.2...v10.0.3) (2017-10-21) 54 ##### Bug Fixes 55 56 * parse array rather than string, so that quotes are safe ([#​993](`https://github.com/yargs/yargs/issues/993`)) ([c351685](https://github.com/yargs/yargs/commit/c351685)) 57 #### [10.0.2](https://github.com/yargs/yargs/compare/v10.0.1...v10.0.2) (2017-10-21) 58 ##### Bug Fixes 59 60 * fix tiny spacing issue with usage ([#​992](`https://github.com/yargs/yargs/issues/992`)) ([7871327](https://github.com/yargs/yargs/commit/7871327)) 61 #### [10.0.1](https://github.com/yargs/yargs/compare/v10.0.0...v10.0.1) (2017-10-19) 62 ##### Bug Fixes 63 64 * help strings for nested commands were missing parent commands ([#​990](`https://github.com/yargs/yargs/issues/990`)) ([cd1ca15](https://github.com/yargs/yargs/commit/cd1ca15)) 65 * use correct completion command in generated completion script ([#​988](`https://github.com/yargs/yargs/issues/988`)) ([3c8ac1d](https://github.com/yargs/yargs/commit/3c8ac1d)) 66 67 --- 68 69 ### [`v10.1.0`](https://github.com/yargs/yargs/blob/master/CHANGELOG.md#​1010httpsgithubcomyargsyargscomparev1003v1010-2018-01-01) 70 71 ##### Bug Fixes 72 73 * 'undefined' should be taken to mean no argument was provided ([#​1015](`https://github.com/yargs/yargs/issues/1015`)) ([c679e90](https://github.com/yargs/yargs/commit/c679e90)) 74 ##### Features 75 76 * add missing simple chinese locale strings ([#​1004](`https://github.com/yargs/yargs/issues/1004`)) ([3cc24ec](https://github.com/yargs/yargs/commit/3cc24ec)) 77 * add Norwegian Nynorsk translations ([#​1028](`https://github.com/yargs/yargs/issues/1028`)) ([a5ac213](https://github.com/yargs/yargs/commit/a5ac213)) 78 * async command handlers ([#​1001](`https://github.com/yargs/yargs/issues/1001`)) ([241124b](https://github.com/yargs/yargs/commit/241124b)) 79 * middleware ([#​881](`https://github.com/yargs/yargs/issues/881`)) ([77b8dbc](https://github.com/yargs/yargs/commit/77b8dbc)) 80 #### [10.0.3](https://github.com/yargs/yargs/compare/v10.0.2...v10.0.3) (2017-10-21) 81 ##### Bug Fixes 82 83 * parse array rather than string, so that quotes are safe ([#​993](`https://github.com/yargs/yargs/issues/993`)) ([c351685](https://github.com/yargs/yargs/commit/c351685)) 84 #### [10.0.2](https://github.com/yargs/yargs/compare/v10.0.1...v10.0.2) (2017-10-21) 85 ##### Bug Fixes 86 87 * fix tiny spacing issue with usage ([#​992](`https://github.com/yargs/yargs/issues/992`)) ([7871327](https://github.com/yargs/yargs/commit/7871327)) 88 #### [10.0.1](https://github.com/yargs/yargs/compare/v10.0.0...v10.0.1) (2017-10-19) 89 ##### Bug Fixes 90 91 * help strings for nested commands were missing parent commands ([#​990](`https://github.com/yargs/yargs/issues/990`)) ([cd1ca15](https://github.com/yargs/yargs/commit/cd1ca15)) 92 * use correct completion command in generated completion script ([#​988](`https://github.com/yargs/yargs/issues/988`)) ([3c8ac1d](https://github.com/yargs/yargs/commit/3c8ac1d)) 93 94 --- 95 96 ### [`v10.1.2`](https://github.com/yargs/yargs/blob/master/CHANGELOG.md#​1100httpsgithubcomyargsyargscomparev1012v1100-2018-01-22) 97 98 ##### Bug Fixes 99 100 * Set implicit nargs=1 when type=number requiresArg=true ([#​1050](`https://github.com/yargs/yargs/issues/1050`)) ([2b56812](https://github.com/yargs/yargs/commit/2b56812)) 101 ##### Features 102 103 * requiresArg is now simply an alias for nargs(1) ([#​1054](`https://github.com/yargs/yargs/issues/1054`)) ([a3ddacc](https://github.com/yargs/yargs/commit/a3ddacc)) 104 ##### BREAKING CHANGES 105 106 * requiresArg now has significantly different error output, matching nargs. 107 #### [10.1.2](https://github.com/yargs/yargs/compare/v10.1.1...v10.1.2) (2018-01-17) 108 ##### Bug Fixes 109 110 * requiresArg should only be enforced if argument exists ([#​1043](`https://github.com/yargs/yargs/issues/1043`)) ([fbf41ae](https://github.com/yargs/yargs/commit/fbf41ae)) 111 #### [10.1.1](https://github.com/yargs/yargs/compare/v10.1.0...v10.1.1) (2018-01-09) 112 ##### Bug Fixes 113 114 * Add `dirname` sanity check on `findUp` ([#​1036](`https://github.com/yargs/yargs/issues/1036`)) ([331d103](https://github.com/yargs/yargs/commit/331d103)) 115 116 --- 117 118 ### [`v11.0.0`](https://github.com/yargs/yargs/blob/master/CHANGELOG.md#​1110httpsgithubcomyargsyargscomparev1100v1110-2018-03-04) 119 120 ##### Bug Fixes 121 122 * choose correct config directory when require.main does not exist ([#​1056](`https://github.com/yargs/yargs/issues/1056`)) ([a04678c](https://github.com/yargs/yargs/commit/a04678c)) 123 ##### Features 124 125 * allow hidden options to be displayed with --show-hidden ([#​1061](`https://github.com/yargs/yargs/issues/1061`)) ([ea862ae](https://github.com/yargs/yargs/commit/ea862ae)) 126 * extend *.rc files in addition to json ([#​1080](`https://github.com/yargs/yargs/issues/1080`)) ([11691a6](https://github.com/yargs/yargs/commit/11691a6)) 127 128 --- 129 130 </details> 131 132 133 <details> 134 <summary>Commits</summary> 135 136 #### v10.0.0 137 - [`47b3078`](https://github.com/yargs/yargs/commit/47b3078e4f7c5a73ba06b37b3c2e2003a4384734) chore: update Dutch Translation (#​981) 138 - [`3757194`](https://github.com/yargs/yargs/commit/37571949eb71f25e64c3943ac4a79e1de9167994) chore: add id translation to #​976 (#​986) 139 - [`7269531`](https://github.com/yargs/yargs/commit/72695316e02ae7e5cd0a78897dd0748068e345fc) feat: .usage() can now be used to configure a default command (#​975) 140 - [`fc13dcd`](https://github.com/yargs/yargs/commit/fc13dcd803375f3acd3df79380d8d3ecb20a881b) chore: new translations for command API overhaul (#​976) 141 - [`c809cbe`](https://github.com/yargs/yargs/commit/c809cbee934848295ec703b912d8e71798febaab) chore(release): 10.0.0 142 - [`4b8cfa9`](https://github.com/yargs/yargs/commit/4b8cfa9d307ec331bb01333fb9b157085da94fc4) docs: slight tweaks to CHANGELOG 143 - [`8515e4f`](https://github.com/yargs/yargs/commit/8515e4f5683fb783e6f6f994973207b553e527d5) docs: nit in CHANGELOG 144 #### v10.0.1 145 - [`3c8ac1d`](https://github.com/yargs/yargs/commit/3c8ac1ddd79cc7adc2fc0214318c7b23d98f613c) fix: use correct completion command in generated completion script (#​988) 146 - [`cd1ca15`](https://github.com/yargs/yargs/commit/cd1ca1587910b98a0edf7457f9682e8ea998769d) fix: help strings for nested commands were missing parent commands (#​990) 147 - [`180b5eb`](https://github.com/yargs/yargs/commit/180b5eb50a59cb07198c92a1299043507dd88eda) chore(release): 10.0.1 148 #### v10.0.2 149 - [`38d88d4`](https://github.com/yargs/yargs/commit/38d88d49798408b181286a3428bd0e2f100cd584) chore: new translations for API overhaul for locale: HI (Hindi) (#​991) 150 - [`4043c16`](https://github.com/yargs/yargs/commit/4043c16865cca959c7fc984630c7772de9a793d4) docs: add note about options 151 - [`532c60e`](https://github.com/yargs/yargs/commit/532c60ebc2067a13daa0cd178108cf5ee630e90f) docs: describe hidden option in right place 152 - [`d1cbc75`](https://github.com/yargs/yargs/commit/d1cbc75c6491e52c1236a7b67b1718a0017f00ea) docs: be more shameless about gratipay 153 - [`7871327`](https://github.com/yargs/yargs/commit/78713274d5b911bfa8638544a33cd826c792a5b6) fix: fix tiny spacing issue with usage (#​992) 154 - [`0684741`](https://github.com/yargs/yargs/commit/06847417691f7e6f3823c41cf12b2f05247647ea) chore(release): 10.0.2 155 #### v10.0.3 156 - [`c351685`](https://github.com/yargs/yargs/commit/c3516851f21f0321c44b73048da38546335c7356) fix: parse array rather than string, so that quotes are safe (#​993) 157 - [`968ee06`](https://github.com/yargs/yargs/commit/968ee06d393ee643d0afb5f5c7e82f0759b3c747) chore(release): 10.0.3 158 #### v10.1.0 159 - [`f8efa01`](https://github.com/yargs/yargs/commit/f8efa0168c7cd6ad5a9f2d44a787bf80c0f300fa) docs: document multiple array arguments (#​1009) 160 - [`9e6f5cc`](https://github.com/yargs/yargs/commit/9e6f5cce0f518cb775516488057cda6adf6d878d) docs: fix typo (#​1002) 161 - [`3cc24ec`](https://github.com/yargs/yargs/commit/3cc24ecd49b2c29ee70af6cdab5a3f014d613576) feat: add missing simple chinese locale strings (#​1004) 162 - [`e1117c5`](https://github.com/yargs/yargs/commit/e1117c5849f0343341e5a9d88ab38535d9860897) docs: gratipay is no more 163 - [`77b8dbc`](https://github.com/yargs/yargs/commit/77b8dbc495b926ef2dbc9d839882c828b8dad29b) feat: middleware (#​881) 164 - [`a70b285`](https://github.com/yargs/yargs/commit/a70b285c0f163a000f38be3e70d5f6c21af635f0) docs: fix small typo 165 - [`c679e90`](https://github.com/yargs/yargs/commit/c679e907d1a19d0858698fdd9fa882d10c4ba5a3) fix: 'undefined' should be taken to mean no argument was provided (#​1015) 166 - [`6b857d2`](https://github.com/yargs/yargs/commit/6b857d2e66c9fe9fba8e504649cde090c77c722e) chore: explicitly update dependencies (#​1023) 167 - [`a5ac213`](https://github.com/yargs/yargs/commit/a5ac2133f712a546c88bb00e2443bb9aeb82d0ac) feat: add Norwegian Nynorsk translations (#​1028) 168 - [`c8adffb`](https://github.com/yargs/yargs/commit/c8adffbea3a2aa454887d40cb83b1503c6630bad) docs: remove left over line talking about git-tap donations 169 - [`37915fb`](https://github.com/yargs/yargs/commit/37915fba0c818d7cb074f72bb82381a0a30e844c) test: add failing test for scientific notation (#​1019) 170 - [`6f4640d`](https://github.com/yargs/yargs/commit/6f4640d3f8152a20b6dfcc3637793b7bb431e9ab) chore: docs, clarify test a bit 171 - [`241124b`](https://github.com/yargs/yargs/commit/241124ba4bfad505363433453c51e22c4e4f2baf) feat: async command handlers (#​1001) 172 - [`92faada`](https://github.com/yargs/yargs/commit/92faadad235dd87c4ae61151ba7ac6cfcb61a3d4) chore: add test for happy path of async command handler (#​1034) 173 - [`f4d01d0`](https://github.com/yargs/yargs/commit/f4d01d0cafe151619337e1ac154dc438097924e0) chore(release): 10.1.0 174 #### v10.1.1 175 - [`0942a15`](https://github.com/yargs/yargs/commit/0942a1518aad77656c135439194f8f825bd8b33a) chore: use chai 4.x (#​1033) 176 - [`331d103`](https://github.com/yargs/yargs/commit/331d10305af3991bd225fbd7a1060bf43cff22d3) fix: Add `dirname` sanity check on `findUp` (#​1036) 177 - [`e87f487`](https://github.com/yargs/yargs/commit/e87f4873012e3541325e7ec6dafb11a93b5717e0) docs: fix middlware docs (#​1037) 178 - [`232f9ca`](https://github.com/yargs/yargs/commit/232f9cac56a1096188a8a6b769564225ed497f8b) chore(release): 10.1.1 179 #### v10.1.2 180 - [`fbf41ae`](https://github.com/yargs/yargs/commit/fbf41ae672ea967f80c2f8ec8efd4317e4d70a1d) fix: requiresArg should only be enforced if argument exists (#​1043) 181 - [`6bad6a9`](https://github.com/yargs/yargs/commit/6bad6a92062fde7396e1646e40016288ac6feadf) chore(release): 10.1.2 182 #### v11.0.0 183 - [`2b56812`](https://github.com/yargs/yargs/commit/2b5681233a0d9406e362ce2ddd434a47117755db) fix: Set implicit nargs=1 when type=number requiresArg=true (#​1050) 184 - [`a3ddacc`](https://github.com/yargs/yargs/commit/a3ddacc87e6cbb8a275f97d746511fe1d1f93044) feat: requiresArg is now simply an alias for nargs(1) (#​1054) 185 - [`57a39cb`](https://github.com/yargs/yargs/commit/57a39cb8fe5051b9d9bb87fb789cc0d6d2363ce6) chore(release): 11.0.0 186 187 </details> 188 189 190 191 --- 192 193 This PR has been generated by [Renovate Bot](https://renovateapp.com). 194