Closed greenkeeper[bot] closed 3 years ago
Update to this version instead 🚀
The new version differs by 7 commits0.
b2d07e5
4.0.4
fc21ce7
Merge branch 'value-equals-default-value'
2ce90aa
more tests, ensure 100% branch coverage
36af5e5
refactor, more tests
e1e01a0
Setting a non-multiple defaultOption with a value equal to its defaultValue corrected, fixes #48
a440783
test a default option with a value equal to its default value
f16b8c8
added more defaultValue tests
false
See the full diff
Version 4.0.0 of command-line-args just got published.
The version 4.0.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of command-line-args. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Commits
The new version differs by 15 commits .
4e40041
4.0.0
266098b
4.0.0-1
769b447
update examples
c7a43d9
overhauled the examples
8b98b9d
update validate example
2d70566
docs
978dae2
implemented partial parsing on grouped output
1808f75
4.0.0-0
279cc83
for non-multiple defaultOptions, the first parsed value is now taken - not the last
8f2ce47
method sig is now commandLineArgs(definitions, [options]). Added mocha and unknown-options examples.
8549990
implement 'partial' parse option.. initial tests
e72101e
refactored internals.. default option type is now 'String'.
c343257
Options with multiple:true set must always return an array. Fixed a case where that was not so (where a scalar defaultValue was supplied and no option values passed on the command line). Fixes #24
a04ff8f
fix tests.. linting
d54564a
remove support for node versions less than v4.0.0
See the full diff.
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: