@thi.ng/args
Advanced tools
Comparing version 2.2.8 to 2.2.9
# Change Log | ||
- **Last updated**: 2022-10-28T19:08:39Z | ||
- **Last updated**: 2022-11-23T22:46:54Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -48,5 +48,5 @@ | ||
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591)) | ||
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f)) | ||
- add .js suffix for all relative imports | ||
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591)) | ||
@@ -72,5 +72,5 @@ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/args@2.0.0) (2021-10-12) | ||
- update imports ([890936b](https://github.com/thi-ng/umbrella/commit/890936b)) | ||
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc)) | ||
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) | ||
- update imports ([890936b](https://github.com/thi-ng/umbrella/commit/890936b)) | ||
@@ -113,3 +113,2 @@ ### [1.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/args@1.1.1) (2021-09-03) | ||
- add vec() arg type ([f05cb2a](https://github.com/thi-ng/umbrella/commit/f05cb2a)) | ||
- wordwrap usage prefix/suffix, defaults ([325b558](https://github.com/thi-ng/umbrella/commit/325b558)) | ||
@@ -119,2 +118,3 @@ - update/revert default val handling in usage(), don't show null/false | ||
- update doc strings | ||
- add vec() arg type ([f05cb2a](https://github.com/thi-ng/umbrella/commit/f05cb2a)) | ||
@@ -131,2 +131,5 @@ ### [0.4.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/args@0.4.1) (2021-03-24) | ||
- support arbitrary length aliases ([1cfdf49](https://github.com/thi-ng/umbrella/commit/1cfdf49)) | ||
- update parseKey() to allow any length aliases | ||
- add test | ||
- add arg groups, segment usage output ([ebf5197](https://github.com/thi-ng/umbrella/commit/ebf5197)) | ||
@@ -136,5 +139,2 @@ - add `ArgSpecBase.group` to classify args | ||
- update usage() to output segmented & sorted groups of args | ||
- support arbitrary length aliases ([1cfdf49](https://github.com/thi-ng/umbrella/commit/1cfdf49)) | ||
- update parseKey() to allow any length aliases | ||
- add test | ||
@@ -172,15 +172,3 @@ ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/args@0.3.1) (2021-03-21) | ||
- add tuple arg type support ([a05dde9](https://github.com/thi-ng/umbrella/commit/a05dde9)) | ||
- update multi arg specs, parse ([dbdf913](https://github.com/thi-ng/umbrella/commit/dbdf913)) | ||
- simplify Args conditionals (remove special casing for string(s)) | ||
- replace spec.comma => spec.delim | ||
- update ParseResult | ||
- update parse() to stop at first non-arg value | ||
- add/update tests | ||
- add strict mode kvArgs()/coerceKV(), add docs ([b76c4f1](https://github.com/thi-ng/umbrella/commit/b76c4f1)) | ||
- add kv args, callbacks, usage opts ([c306aba](https://github.com/thi-ng/umbrella/commit/c306aba)) | ||
- add KVDict type, coerceKV(), kvPairs() | ||
- add optional `fn` arg spec callbacks | ||
- add `--help` built-in handling | ||
- add ColorTheme, update usage() | ||
- import as new package ([af5d943](https://github.com/thi-ng/umbrella/commit/af5d943)) | ||
- major general package update ([26ec49a](https://github.com/thi-ng/umbrella/commit/26ec49a)) | ||
@@ -197,2 +185,14 @@ - use more mapped types to better infer & verify specs for optional args | ||
- update/rewrite usage(), add color support | ||
- import as new package ([af5d943](https://github.com/thi-ng/umbrella/commit/af5d943)) | ||
- add kv args, callbacks, usage opts ([c306aba](https://github.com/thi-ng/umbrella/commit/c306aba)) | ||
- add KVDict type, coerceKV(), kvPairs() | ||
- add optional `fn` arg spec callbacks | ||
- add `--help` built-in handling | ||
- add ColorTheme, update usage() | ||
- add strict mode kvArgs()/coerceKV(), add docs ([b76c4f1](https://github.com/thi-ng/umbrella/commit/b76c4f1)) | ||
- update multi arg specs, parse ([dbdf913](https://github.com/thi-ng/umbrella/commit/dbdf913)) | ||
- simplify Args conditionals (remove special casing for string(s)) | ||
- replace spec.comma => spec.delim | ||
- update ParseResult | ||
- update parse() to stop at first non-arg value | ||
- add/update tests | ||
- add tuple arg type support ([a05dde9](https://github.com/thi-ng/umbrella/commit/a05dde9)) |
{ | ||
"name": "@thi.ng/args", | ||
"version": "2.2.8", | ||
"version": "2.2.9", | ||
"description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.", | ||
@@ -37,13 +37,13 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.4.5", | ||
"@thi.ng/checks": "^3.3.2", | ||
"@thi.ng/errors": "^2.2.3", | ||
"@thi.ng/strings": "^3.3.16" | ||
"@thi.ng/api": "^8.4.6", | ||
"@thi.ng/checks": "^3.3.3", | ||
"@thi.ng/errors": "^2.2.4", | ||
"@thi.ng/strings": "^3.3.17" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.33.5", | ||
"@thi.ng/testament": "^0.3.4", | ||
"@thi.ng/testament": "^0.3.5", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.23.18", | ||
"typedoc": "^0.23.20", | ||
"typescript": "^4.8.4" | ||
@@ -74,4 +74,4 @@ }, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
"./*.js", | ||
"./*.d.ts" | ||
], | ||
@@ -101,3 +101,3 @@ "exports": { | ||
}, | ||
"gitHead": "a4b60163a8caddceed5ec1b6b3584d164f61e7b6\n" | ||
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n" | ||
} |
58723
16
932
Updated@thi.ng/api@^8.4.6
Updated@thi.ng/checks@^3.3.3
Updated@thi.ng/errors@^2.2.4
Updated@thi.ng/strings@^3.3.17