All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
- [meta] add
auto-changelog
0ebf4eb
- [actions] add reusable workflows
e115b63
- [eslint] add eslint; rules to enable later are warnings
f58745b
- [Dev Deps] switch from
covert
to nyc
ab03356
- [readme] rename and add badges
236f4a0
- [meta] create FUNDING.yml; add
funding
in package.json 783a49b
- [meta] use
npmignore
to autogenerate an npmignore file f81ece6
- Only apps should have lockfiles
56cad44
- [Dev Deps] update
covert
, tape
; remove unnecessary tap
49c5f9f
- [Tests] add
aud
in posttest
228ae93
- [meta] add
safe-publish-latest
01fc23f
- [meta] update repo URLs
6b164c7
- test from prototype pollution PR
bc8ecee
- isConstructorOrProto adapted from PR
c2b9819
- security notice for additional prototype pollution issue
ef88b93
- security notice
4cf1354
- additional test for constructor prototype pollution
1043d21
- more failing proto pollution tests
13c01a5
- even more aggressive checks for protocol pollution
38a4d1c
- move the
opts['--']
example back where it belongs #63
- add failing test - boolean alias array
0fa3c5b
- fix boolean values with multiple aliases
9c0a6e7
- Convert boolean arguments to boolean values
8f3dc27
- use non-ancient npm, node 0.12 and iojs
61ed1d0
- an older npm for 0.8
25cf778
- check that they type of a value is a boolean, not just that it is currently set to a boolean
6863198
- upgrade tape, fix type issues from old tape version
806712d
- test for setting a boolean to a null default
8c444fe
- if the previous value was a boolean, without an default (or with an alias) don't make an array either
e5f419a
- add support for handling "unknown" options not registered with the parser.
6f3cc5d
- reformat package.json
02ed371
- coverage script
e5531ba
- extra fn to get 100% coverage again
a6972da
- Provide a mechanism to segregate -- arguments
ce4a1e6
- documented argv['--']
14db0e6
- Adding a test-case for notFlags segregation
715c1e3
- dedicated boolean test
46e448f
- dedicated num test
9bf2d36
- aliased values treated as strings
1ab743b
- cover the case of already numbers, at 100% coverage
b2bb044
- another test for higher coverage
3662624
- return '' if flag is string and empty
fa63ed4
- handle joined single letters
66c248f
- another swap of .test for .match
d1da408
- use .test() instead of .match() to not crash on non-string values in the arguments array
7e0d1ad
- failing test for single dash preceeding a double dash
b465514
- fix for the dot test
6a095f1
- allow dotted aliases & defaults
321c33e
- use a better version of ff
e40f611
- half of the parse test ported
3079326
- stripped down code and a passing test from optimist
7cced88
- ported parse tests completely over
9448754
- docs, package.json
a5bf46a
- move more short tests into short.js
503edb5
- default bool test was wrong, not the code
1b9f5db
- passing long tests ripped out of parse.js
7972c4a
- badges
84c0370
- all the tests now ported, some failures
64239ed
- failing short test
f8a5341
- fixed the numeric test
6b034f3