mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-26 11:48:25 +00:00
59 lines
2.9 KiB
Markdown
59 lines
2.9 KiB
Markdown
|
### v4.0.1 (2016-12-14)
|
||
|
|
||
|
#### WHOOPS
|
||
|
|
||
|
* [`fb9b1ce`](https://github.com/npm/nopt/commit/fb9b1ce57b3c69b4f7819015be87719204f77ef6)
|
||
|
Merged so many patches at once that the code fencing
|
||
|
([@adius](https://github.com/adius)) added got broken. Sorry,
|
||
|
([@adius](https://github.com/adius))!
|
||
|
([@othiym23](https://github.com/othiym23))
|
||
|
|
||
|
### v4.0.0 (2016-12-13)
|
||
|
|
||
|
#### BREAKING CHANGES
|
||
|
|
||
|
* [`651d447`](https://github.com/npm/nopt/commit/651d4473946096d341a480bbe56793de3fc706aa)
|
||
|
When parsing String-typed arguments, if the next value is `""`, don't simply
|
||
|
swallow it. ([@samjonester](https://github.com/samjonester))
|
||
|
|
||
|
#### PERFORMANCE TWEAKS
|
||
|
|
||
|
* [`3370ce8`](https://github.com/npm/nopt/commit/3370ce87a7618ba228883861db84ddbcdff252a9)
|
||
|
Simplify initialization. ([@elidoran](https://github.com/elidoran))
|
||
|
* [`356e58e`](https://github.com/npm/nopt/commit/356e58e3b3b431a4b1af7fd7bdee44c2c0526a09)
|
||
|
Store `Array.isArray(types[arg])` for reuse.
|
||
|
([@elidoran](https://github.com/elidoran))
|
||
|
* [`0d95e90`](https://github.com/npm/nopt/commit/0d95e90515844f266015b56d2c80b94e5d14a07e)
|
||
|
Interpret single-item type arrays as a single type.
|
||
|
([@samjonester](https://github.com/samjonester))
|
||
|
* [`07c69d3`](https://github.com/npm/nopt/commit/07c69d38b5186450941fbb505550becb78a0e925)
|
||
|
Simplify key-value extraction. ([@elidoran](https://github.com/elidoran))
|
||
|
* [`39b6e5c`](https://github.com/npm/nopt/commit/39b6e5c65ac47f60cd43a1fbeece5cd4c834c254)
|
||
|
Only call `Date.parse(val)` once. ([@elidoran](https://github.com/elidoran))
|
||
|
* [`934943d`](https://github.com/npm/nopt/commit/934943dffecb55123a2b15959fe2a359319a5dbd)
|
||
|
Use `osenv.home()` to find a user's home directory instead of assuming it's
|
||
|
always `$HOME`. ([@othiym23](https://github.com/othiym23))
|
||
|
|
||
|
#### TEST & CI IMPROVEMENTS
|
||
|
|
||
|
* [`326ffff`](https://github.com/npm/nopt/commit/326ffff7f78a00bcd316adecf69075f8a8093619)
|
||
|
Fix `/tmp` test to work on Windows.
|
||
|
([@elidoran](https://github.com/elidoran))
|
||
|
* [`c89d31a`](https://github.com/npm/nopt/commit/c89d31a49d14f2238bc6672db08da697bbc57f1b)
|
||
|
Only run Windows tests on Windows, only run Unix tests on a Unix.
|
||
|
([@elidoran](https://github.com/elidoran))
|
||
|
* [`affd3d1`](https://github.com/npm/nopt/commit/affd3d1d0addffa93006397b2013b18447339366)
|
||
|
Refresh Travis to run the tests against the currently-supported batch of npm
|
||
|
versions. ([@helio](https://github.com/helio)-frota)
|
||
|
* [`55f9449`](https://github.com/npm/nopt/commit/55f94497d163ed4d16dd55fd6c4fb95cc440e66d)
|
||
|
`tap@8.0.1` ([@othiym23](https://github.com/othiym23))
|
||
|
|
||
|
#### DOC TWEAKS
|
||
|
|
||
|
* [`5271229`](https://github.com/npm/nopt/commit/5271229ee7c810217dd51616c086f5d9ab224581)
|
||
|
Use JavaScript code block for syntax highlighting.
|
||
|
([@adius](https://github.com/adius))
|
||
|
* [`c0d156f`](https://github.com/npm/nopt/commit/c0d156f229f9994c5dfcec4a8886eceff7a07682)
|
||
|
The code sample in the README had `many2: [ oneThing ]`, and now it has
|
||
|
`many2: [ two, things ]`. ([@silkentrance](https://github.com/silkentrance))
|