source: trip-planner-front/node_modules/yargs-parser/CHANGELOG.md@ b738035

Last change on this file since b738035 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 17.2 KB
RevLine 
[6a3a178]1# Changelog
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
[e29cc2e]5### [13.1.1](https://www.github.com/yargs/yargs-parser/compare/v13.1.0...v13.1.1) (2019-06-10)
[6a3a178]6
7
8### Bug Fixes
9
[e29cc2e]10* convert values to strings when tokenizing ([#167](https://www.github.com/yargs/yargs-parser/issues/167)) ([57b7883](https://www.github.com/yargs/yargs-parser/commit/57b7883))
11* nargs should allow duplicates when duplicate-arguments-array=false ([#164](https://www.github.com/yargs/yargs-parser/issues/164)) ([47ccb0b](https://www.github.com/yargs/yargs-parser/commit/47ccb0b))
12* should populate "_" when given config with "short-option-groups" false ([#179](https://www.github.com/yargs/yargs-parser/issues/179)) ([6055974](https://www.github.com/yargs/yargs-parser/commit/6055974))
[6a3a178]13
[e29cc2e]14## [13.1.0](https://github.com/yargs/yargs-parser/compare/v13.0.0...v13.1.0) (2019-05-05)
[6a3a178]15
16
[e29cc2e]17### Features
[6a3a178]18
[e29cc2e]19* add `strip-aliased` and `strip-dashed` configuration options. ([#172](https://github.com/yargs/yargs-parser/issues/172)) ([a3936aa](https://github.com/yargs/yargs-parser/commit/a3936aa))
20* support boolean which do not consume next argument. ([#171](https://github.com/yargs/yargs-parser/issues/171)) ([0ae7fcb](https://github.com/yargs/yargs-parser/commit/0ae7fcb))
[6a3a178]21
22
23
[e29cc2e]24<a name="13.0.0"></a>
25# [13.0.0](https://github.com/yargs/yargs-parser/compare/v12.0.0...v13.0.0) (2019-02-02)
[6a3a178]26
27
[e29cc2e]28### Features
[6a3a178]29
[e29cc2e]30* don't coerce number from string with leading '0' or '+' ([#158](https://github.com/yargs/yargs-parser/issues/158)) ([18d0fd5](https://github.com/yargs/yargs-parser/commit/18d0fd5))
[6a3a178]31
32
[e29cc2e]33### BREAKING CHANGES
[6a3a178]34
[e29cc2e]35* options with leading '+' or '0' now parse as strings
36
37
38
39<a name="12.0.0"></a>
40# [12.0.0](https://github.com/yargs/yargs-parser/compare/v11.1.1...v12.0.0) (2019-01-29)
[6a3a178]41
42
43### Bug Fixes
44
[e29cc2e]45* better handling of quoted strings ([#153](https://github.com/yargs/yargs-parser/issues/153)) ([2fb71b2](https://github.com/yargs/yargs-parser/commit/2fb71b2))
46
[6a3a178]47
[e29cc2e]48### Features
[6a3a178]49
[e29cc2e]50* default value is now used if no right-hand value provided for numbers/strings ([#156](https://github.com/yargs/yargs-parser/issues/156)) ([5a7c46a](https://github.com/yargs/yargs-parser/commit/5a7c46a))
51
52
53### BREAKING CHANGES
54
55* a flag with no right-hand value no longer populates defaulted options with `undefined`.
56* quotes at beginning and endings of strings are not removed during parsing.
[6a3a178]57
58
59
[e29cc2e]60<a name="11.1.1"></a>
61## [11.1.1](https://github.com/yargs/yargs-parser/compare/v11.1.0...v11.1.1) (2018-11-19)
[6a3a178]62
63
64### Bug Fixes
65
[e29cc2e]66* ensure empty string is added into argv._ ([#140](https://github.com/yargs/yargs-parser/issues/140)) ([79cda98](https://github.com/yargs/yargs-parser/commit/79cda98))
67
68
69### Reverts
70
71* make requiresArg work in conjunction with arrays ([#136](https://github.com/yargs/yargs-parser/issues/136)) ([f4a3063](https://github.com/yargs/yargs-parser/commit/f4a3063))
[6a3a178]72
[e29cc2e]73
74
75<a name="11.1.0"></a>
76# [11.1.0](https://github.com/yargs/yargs-parser/compare/v11.0.0...v11.1.0) (2018-11-10)
[6a3a178]77
78
79### Bug Fixes
80
[e29cc2e]81* handling of one char alias ([#139](https://github.com/yargs/yargs-parser/issues/139)) ([ee56e31](https://github.com/yargs/yargs-parser/commit/ee56e31))
82
83
84### Features
[6a3a178]85
[e29cc2e]86* add halt-at-non-option configuration option ([#130](https://github.com/yargs/yargs-parser/issues/130)) ([a849fce](https://github.com/yargs/yargs-parser/commit/a849fce))
87
88
89
90<a name="11.0.0"></a>
91# [11.0.0](https://github.com/yargs/yargs-parser/compare/v10.1.0...v11.0.0) (2018-10-06)
[6a3a178]92
93
94### Bug Fixes
95
[e29cc2e]96* flatten-duplicate-arrays:false for more than 2 arrays ([#128](https://github.com/yargs/yargs-parser/issues/128)) ([2bc395f](https://github.com/yargs/yargs-parser/commit/2bc395f))
97* hyphenated flags combined with dot notation broke parsing ([#131](https://github.com/yargs/yargs-parser/issues/131)) ([dc788da](https://github.com/yargs/yargs-parser/commit/dc788da))
98* make requiresArg work in conjunction with arrays ([#136](https://github.com/yargs/yargs-parser/issues/136)) ([77ae1d4](https://github.com/yargs/yargs-parser/commit/77ae1d4))
99
[6a3a178]100
[e29cc2e]101### Chores
102
103* update dependencies ([6dc42a1](https://github.com/yargs/yargs-parser/commit/6dc42a1))
[6a3a178]104
105
106### Features
107
[e29cc2e]108* also add camelCase array options ([#125](https://github.com/yargs/yargs-parser/issues/125)) ([08c0117](https://github.com/yargs/yargs-parser/commit/08c0117))
109* array.type can now be provided, supporting coercion ([#132](https://github.com/yargs/yargs-parser/issues/132)) ([4b8cfce](https://github.com/yargs/yargs-parser/commit/4b8cfce))
[6a3a178]110
111
[e29cc2e]112### BREAKING CHANGES
113
114* drops Node 4 support
115* the argv object is now populated differently (correctly) when hyphens and dot notation are used in conjunction.
116
[6a3a178]117
118
[e29cc2e]119<a name="10.1.0"></a>
120# [10.1.0](https://github.com/yargs/yargs-parser/compare/v10.0.0...v10.1.0) (2018-06-29)
[6a3a178]121
122
123### Features
124
[e29cc2e]125* add `set-placeholder-key` configuration ([#123](https://github.com/yargs/yargs-parser/issues/123)) ([19386ee](https://github.com/yargs/yargs-parser/commit/19386ee))
126
127
128
129<a name="10.0.0"></a>
130# [10.0.0](https://github.com/yargs/yargs-parser/compare/v9.0.2...v10.0.0) (2018-04-04)
131
132
133### Bug Fixes
134
135* do not set boolean flags if not defined in `argv` ([#119](https://github.com/yargs/yargs-parser/issues/119)) ([f6e6599](https://github.com/yargs/yargs-parser/commit/f6e6599))
136
137
138### BREAKING CHANGES
139
140* `boolean` flags defined without a `default` value will now behave like other option type and won't be set in the parsed results when the user doesn't set the corresponding CLI arg.
141
142Previous behavior:
143```js
144var parse = require('yargs-parser');
145
146parse('--flag', {boolean: ['flag']});
147// => { _: [], flag: true }
148
149parse('--no-flag', {boolean: ['flag']});
150// => { _: [], flag: false }
151
152parse('', {boolean: ['flag']});
153// => { _: [], flag: false }
154```
155
156New behavior:
157```js
158var parse = require('yargs-parser');
159
160parse('--flag', {boolean: ['flag']});
161// => { _: [], flag: true }
162
163parse('--no-flag', {boolean: ['flag']});
164// => { _: [], flag: false }
165
166parse('', {boolean: ['flag']});
167// => { _: [] } => flag not set similarly to other option type
168```
169
170
171
172<a name="9.0.2"></a>
173## [9.0.2](https://github.com/yargs/yargs-parser/compare/v9.0.1...v9.0.2) (2018-01-20)
[6a3a178]174
175
176### Bug Fixes
177
[e29cc2e]178* nargs was still aggressively consuming too many arguments ([9b28aad](https://github.com/yargs/yargs-parser/commit/9b28aad))
[6a3a178]179
180
181
[e29cc2e]182<a name="9.0.1"></a>
183## [9.0.1](https://github.com/yargs/yargs-parser/compare/v9.0.0...v9.0.1) (2018-01-20)
[6a3a178]184
185
186### Bug Fixes
187
[e29cc2e]188* nargs was consuming too many arguments ([4fef206](https://github.com/yargs/yargs-parser/commit/4fef206))
[6a3a178]189
190
191
[e29cc2e]192<a name="9.0.0"></a>
193# [9.0.0](https://github.com/yargs/yargs-parser/compare/v8.1.0...v9.0.0) (2018-01-20)
[6a3a178]194
[e29cc2e]195
196### Features
197
198* narg arguments no longer consume flag arguments ([#114](https://github.com/yargs/yargs-parser/issues/114)) ([60bb9b3](https://github.com/yargs/yargs-parser/commit/60bb9b3))
199
200
201### BREAKING CHANGES
202
203* arguments of form --foo, -abc, will no longer be consumed by nargs
204
205
206
207<a name="8.1.0"></a>
208# [8.1.0](https://github.com/yargs/yargs-parser/compare/v8.0.0...v8.1.0) (2017-12-20)
[6a3a178]209
210
211### Bug Fixes
212
[e29cc2e]213* allow null config values ([#108](https://github.com/yargs/yargs-parser/issues/108)) ([d8b14f9](https://github.com/yargs/yargs-parser/commit/d8b14f9))
214* ensure consistent parsing of dot-notation arguments ([#102](https://github.com/yargs/yargs-parser/issues/102)) ([c9bd79c](https://github.com/yargs/yargs-parser/commit/c9bd79c))
215* implement [@antoniom](https://github.com/antoniom)'s fix for camel-case expansion ([3087e1d](https://github.com/yargs/yargs-parser/commit/3087e1d))
216* only run coercion functions once, despite aliases. ([#76](https://github.com/yargs/yargs-parser/issues/76)) ([#103](https://github.com/yargs/yargs-parser/issues/103)) ([507aaef](https://github.com/yargs/yargs-parser/commit/507aaef))
217* scientific notation circumvented bounds check ([#110](https://github.com/yargs/yargs-parser/issues/110)) ([3571f57](https://github.com/yargs/yargs-parser/commit/3571f57))
218* tokenizer should ignore spaces at the beginning of the argString ([#106](https://github.com/yargs/yargs-parser/issues/106)) ([f34ead9](https://github.com/yargs/yargs-parser/commit/f34ead9))
[6a3a178]219
[e29cc2e]220
221### Features
222
223* make combining arrays a configurable option ([#111](https://github.com/yargs/yargs-parser/issues/111)) ([c8bf536](https://github.com/yargs/yargs-parser/commit/c8bf536))
224* merge array from arguments with array from config ([#83](https://github.com/yargs/yargs-parser/issues/83)) ([806ddd6](https://github.com/yargs/yargs-parser/commit/806ddd6))
225
226
227
228<a name="8.0.0"></a>
229# [8.0.0](https://github.com/yargs/yargs-parser/compare/v7.0.0...v8.0.0) (2017-10-05)
[6a3a178]230
231
232### Bug Fixes
233
[e29cc2e]234* Ignore multiple spaces between arguments. ([#100](https://github.com/yargs/yargs-parser/issues/100)) ([d137227](https://github.com/yargs/yargs-parser/commit/d137227))
235
236
237### Features
[6a3a178]238
[e29cc2e]239* allow configuration of prefix for boolean negation ([#94](https://github.com/yargs/yargs-parser/issues/94)) ([00bde7d](https://github.com/yargs/yargs-parser/commit/00bde7d))
240* reworking how numbers are parsed ([#104](https://github.com/yargs/yargs-parser/issues/104)) ([fba00eb](https://github.com/yargs/yargs-parser/commit/fba00eb))
241
242
243### BREAKING CHANGES
244
245* strings that fail `Number.isSafeInteger()` are no longer coerced into numbers.
246
247
248
249<a name="7.0.0"></a>
250# [7.0.0](https://github.com/yargs/yargs-parser/compare/v6.0.1...v7.0.0) (2017-05-02)
251
252
253### Chores
254
255* revert populate-- logic ([#91](https://github.com/yargs/yargs-parser/issues/91)) ([6003e6d](https://github.com/yargs/yargs-parser/commit/6003e6d))
256
257
258### BREAKING CHANGES
259
260* populate-- now defaults to false.
261
262
263
264<a name="6.0.1"></a>
265## [6.0.1](https://github.com/yargs/yargs-parser/compare/v6.0.0...v6.0.1) (2017-05-01)
[6a3a178]266
267
268### Bug Fixes
269
[e29cc2e]270* default '--' to undefined when not provided; this is closer to the array API ([#90](https://github.com/yargs/yargs-parser/issues/90)) ([4e739cc](https://github.com/yargs/yargs-parser/commit/4e739cc))
271
[6a3a178]272
[e29cc2e]273
274<a name="6.0.0"></a>
275# [6.0.0](https://github.com/yargs/yargs-parser/compare/v4.2.1...v6.0.0) (2017-05-01)
[6a3a178]276
277
278### Bug Fixes
279
[e29cc2e]280* environment variables should take precedence over config file ([#81](https://github.com/yargs/yargs-parser/issues/81)) ([76cee1f](https://github.com/yargs/yargs-parser/commit/76cee1f))
281* parsing hints should apply for dot notation keys ([#86](https://github.com/yargs/yargs-parser/issues/86)) ([3e47d62](https://github.com/yargs/yargs-parser/commit/3e47d62))
[6a3a178]282
283
[e29cc2e]284### Chores
[6a3a178]285
[e29cc2e]286* upgrade to newest version of camelcase ([#87](https://github.com/yargs/yargs-parser/issues/87)) ([f1903aa](https://github.com/yargs/yargs-parser/commit/f1903aa))
[6a3a178]287
288
289### Features
290
[e29cc2e]291* add -- option which allows arguments after the -- flag to be returned separated from positional arguments ([#84](https://github.com/yargs/yargs-parser/issues/84)) ([2572ca8](https://github.com/yargs/yargs-parser/commit/2572ca8))
292* when parsing stops, we now populate "--" by default ([#88](https://github.com/yargs/yargs-parser/issues/88)) ([cd666db](https://github.com/yargs/yargs-parser/commit/cd666db))
293
294
295### BREAKING CHANGES
296
297* rather than placing arguments in "_", when parsing is stopped via "--"; we now populate an array called "--" by default.
298* camelcase now requires Node 4+.
299* environment variables will now override config files (args, env, config-file, config-object)
300
301
302
303<a name="5.0.0"></a>
304# [5.0.0](https://github.com/yargs/yargs-parser/compare/v4.2.1...v5.0.0) (2017-02-18)
[6a3a178]305
306
307### Bug Fixes
308
[e29cc2e]309* environment variables should take precedence over config file ([#81](https://github.com/yargs/yargs-parser/issues/81)) ([76cee1f](https://github.com/yargs/yargs-parser/commit/76cee1f))
[6a3a178]310
311
[e29cc2e]312### BREAKING CHANGES
[6a3a178]313
[e29cc2e]314* environment variables will now override config files (args, env, config-file, config-object)
[6a3a178]315
316
317
[e29cc2e]318<a name="4.2.1"></a>
319## [4.2.1](https://github.com/yargs/yargs-parser/compare/v4.2.0...v4.2.1) (2017-01-02)
320
321
322### Bug Fixes
323
324* flatten/duplicate regression ([#75](https://github.com/yargs/yargs-parser/issues/75)) ([68d68a0](https://github.com/yargs/yargs-parser/commit/68d68a0))
[6a3a178]325
[e29cc2e]326
327
328<a name="4.2.0"></a>
329# [4.2.0](https://github.com/yargs/yargs-parser/compare/v4.1.0...v4.2.0) (2016-12-01)
[6a3a178]330
331
332### Bug Fixes
333
[e29cc2e]334* inner objects in configs had their keys appended to top-level key when dot-notation was disabled ([#72](https://github.com/yargs/yargs-parser/issues/72)) ([0b1b5f9](https://github.com/yargs/yargs-parser/commit/0b1b5f9))
335
336
337### Features
338
339* allow multiple arrays to be provided, rather than always combining ([#71](https://github.com/yargs/yargs-parser/issues/71)) ([0f0fb2d](https://github.com/yargs/yargs-parser/commit/0f0fb2d))
340
341
[6a3a178]342
[e29cc2e]343<a name="4.1.0"></a>
344# [4.1.0](https://github.com/yargs/yargs-parser/compare/v4.0.2...v4.1.0) (2016-11-07)
345
346
347### Features
348
349* apply coercions to default options ([#65](https://github.com/yargs/yargs-parser/issues/65)) ([c79052b](https://github.com/yargs/yargs-parser/commit/c79052b))
350* handle dot notation boolean options ([#63](https://github.com/yargs/yargs-parser/issues/63)) ([02c3545](https://github.com/yargs/yargs-parser/commit/02c3545))
351
352
353
354<a name="4.0.2"></a>
355## [4.0.2](https://github.com/yargs/yargs-parser/compare/v4.0.1...v4.0.2) (2016-09-30)
[6a3a178]356
357
358### Bug Fixes
359
[e29cc2e]360* whoops, let's make the assign not change the Object key order ([29d069a](https://github.com/yargs/yargs-parser/commit/29d069a))
361
362
[6a3a178]363
[e29cc2e]364<a name="4.0.1"></a>
365## [4.0.1](https://github.com/yargs/yargs-parser/compare/v4.0.0...v4.0.1) (2016-09-30)
[6a3a178]366
367
368### Bug Fixes
369
[e29cc2e]370* lodash.assign was deprecated ([#59](https://github.com/yargs/yargs-parser/issues/59)) ([5e7eb11](https://github.com/yargs/yargs-parser/commit/5e7eb11))
[6a3a178]371
372
373
[e29cc2e]374<a name="4.0.0"></a>
375# [4.0.0](https://github.com/yargs/yargs-parser/compare/v3.2.0...v4.0.0) (2016-09-26)
376
[6a3a178]377
[e29cc2e]378### Bug Fixes
[6a3a178]379
[e29cc2e]380* coerce should be applied to the final objects and arrays created ([#57](https://github.com/yargs/yargs-parser/issues/57)) ([4ca69da](https://github.com/yargs/yargs-parser/commit/4ca69da))
[6a3a178]381
382
[e29cc2e]383### BREAKING CHANGES
[6a3a178]384
[e29cc2e]385* coerce is no longer applied to individual arguments in an implicit array.
[6a3a178]386
387
388
[e29cc2e]389<a name="3.2.0"></a>
390# [3.2.0](https://github.com/yargs/yargs-parser/compare/v3.1.0...v3.2.0) (2016-08-13)
[6a3a178]391
392
393### Features
394
[e29cc2e]395* coerce full array instead of each element ([#51](https://github.com/yargs/yargs-parser/issues/51)) ([cc4dc56](https://github.com/yargs/yargs-parser/commit/cc4dc56))
[6a3a178]396
[e29cc2e]397
398
399<a name="3.1.0"></a>
400# [3.1.0](https://github.com/yargs/yargs-parser/compare/v3.0.0...v3.1.0) (2016-08-09)
[6a3a178]401
402
403### Bug Fixes
404
[e29cc2e]405* address pkgConf parsing bug outlined in [#37](https://github.com/yargs/yargs-parser/issues/37) ([#45](https://github.com/yargs/yargs-parser/issues/45)) ([be76ee6](https://github.com/yargs/yargs-parser/commit/be76ee6))
406* better parsing of negative values ([#44](https://github.com/yargs/yargs-parser/issues/44)) ([2e43692](https://github.com/yargs/yargs-parser/commit/2e43692))
407* check aliases when guessing defaults for arguments fixes [#41](https://github.com/yargs/yargs-parser/issues/41) ([#43](https://github.com/yargs/yargs-parser/issues/43)) ([f3e4616](https://github.com/yargs/yargs-parser/commit/f3e4616))
[6a3a178]408
409
[e29cc2e]410### Features
[6a3a178]411
[e29cc2e]412* added coerce option, for providing specialized argument parsing ([#42](https://github.com/yargs/yargs-parser/issues/42)) ([7b49cd2](https://github.com/yargs/yargs-parser/commit/7b49cd2))
[6a3a178]413
414
415
[e29cc2e]416<a name="3.0.0"></a>
417# [3.0.0](https://github.com/yargs/yargs-parser/compare/v2.4.1...v3.0.0) (2016-08-07)
[6a3a178]418
419
420### Bug Fixes
421
[e29cc2e]422* parsing issue with numeric character in group of options ([#19](https://github.com/yargs/yargs-parser/issues/19)) ([f743236](https://github.com/yargs/yargs-parser/commit/f743236))
423* upgraded lodash.assign ([5d7fdf4](https://github.com/yargs/yargs-parser/commit/5d7fdf4))
[6a3a178]424
[e29cc2e]425### BREAKING CHANGES
[6a3a178]426
[e29cc2e]427* subtle change to how values are parsed in a group of single-character arguments.
428* _first released in 3.1.0, better handling of negative values should be considered a breaking change._
[6a3a178]429
430
[e29cc2e]431
432<a name="2.4.1"></a>
433## [2.4.1](https://github.com/yargs/yargs-parser/compare/v2.4.0...v2.4.1) (2016-07-16)
434
435
436### Bug Fixes
437
438* **count:** do not increment a default value ([#39](https://github.com/yargs/yargs-parser/issues/39)) ([b04a189](https://github.com/yargs/yargs-parser/commit/b04a189))
439
440
441
442<a name="2.4.0"></a>
443# [2.4.0](https://github.com/yargs/yargs-parser/compare/v2.3.0...v2.4.0) (2016-04-11)
444
[6a3a178]445
446### Features
447
[e29cc2e]448* **environment:** Support nested options in environment variables ([#26](https://github.com/yargs/yargs-parser/issues/26)) thanks [@elas7](https://github.com/elas7) \o/ ([020778b](https://github.com/yargs/yargs-parser/commit/020778b))
[6a3a178]449
450
451
[e29cc2e]452<a name="2.3.0"></a>
453# [2.3.0](https://github.com/yargs/yargs-parser/compare/v2.2.0...v2.3.0) (2016-04-09)
454
455
456### Bug Fixes
457
458* **boolean:** fix for boolean options with non boolean defaults (#20) ([2dbe86b](https://github.com/yargs/yargs-parser/commit/2dbe86b)), closes [(#20](https://github.com/(/issues/20)
459* **package:** remove tests from tarball ([0353c0d](https://github.com/yargs/yargs-parser/commit/0353c0d))
460* **parsing:** handle calling short option with an empty string as the next value. ([a867165](https://github.com/yargs/yargs-parser/commit/a867165))
461* boolean flag when next value contains the strings 'true' or 'false'. ([69941a6](https://github.com/yargs/yargs-parser/commit/69941a6))
462* update dependencies; add standard-version bin for next release (#24) ([822d9d5](https://github.com/yargs/yargs-parser/commit/822d9d5))
463
464### Features
465
466* **configuration:** Allow to pass configuration objects to yargs-parser ([0780900](https://github.com/yargs/yargs-parser/commit/0780900))
467* **normalize:** allow normalize to work with arrays ([e0eaa1a](https://github.com/yargs/yargs-parser/commit/e0eaa1a))
Note: See TracBrowser for help on using the repository browser.