@jakubmazanec/args 2.0.4-unstable.a62cf49 → 2.0.4-unstable.bd0959d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ParsingError.d.ts +1 -1
- package/build/ValidationError.d.ts +1 -1
- package/package.json +15 -15
package/build/ParsingError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A subclass of `Error` that indicates a parsing failure.
|
|
3
3
|
*/
|
|
4
|
-
export declare const ParsingError: new (code: "INVALID_PARAMETER" | "UNKNOWN_PARAMETER" | "INVALID_OPTION" | "UNKNOWN_OPTION", options?: import("@jakubmazanec/error").CustomErrorOptions
|
|
4
|
+
export declare const ParsingError: new (code: "INVALID_PARAMETER" | "UNKNOWN_PARAMETER" | "INVALID_OPTION" | "UNKNOWN_OPTION", options?: import("@jakubmazanec/error").CustomErrorOptions) => import("@jakubmazanec/error").CustomError<"INVALID_PARAMETER" | "UNKNOWN_PARAMETER" | "INVALID_OPTION" | "UNKNOWN_OPTION" | "UNKNOWN_ERROR">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A subclass of `Error` that indicates a validation issue.
|
|
3
3
|
*/
|
|
4
|
-
export declare const ValidationError: new (code: "INVALID_COMMAND" | "MISSING_PARAMETER" | "INVALID_PARAMETER_DEFAULT_AND_CHOICES" | "INVALID_PARAMETER_ORDER" | "MISSING_OPTION" | "INVALID_OPTION_DEFAULT_AND_CHOICES" | "INVALID_OPTION_NAME" | "REPEATED_OPTION_NAME" | "INVALID_OPTION_ARITY", options?: import("@jakubmazanec/error").CustomErrorOptions
|
|
4
|
+
export declare const ValidationError: new (code: "INVALID_COMMAND" | "MISSING_PARAMETER" | "INVALID_PARAMETER_DEFAULT_AND_CHOICES" | "INVALID_PARAMETER_ORDER" | "MISSING_OPTION" | "INVALID_OPTION_DEFAULT_AND_CHOICES" | "INVALID_OPTION_NAME" | "REPEATED_OPTION_NAME" | "INVALID_OPTION_ARITY", options?: import("@jakubmazanec/error").CustomErrorOptions) => import("@jakubmazanec/error").CustomError<"INVALID_COMMAND" | "MISSING_PARAMETER" | "INVALID_PARAMETER_DEFAULT_AND_CHOICES" | "INVALID_PARAMETER_ORDER" | "MISSING_OPTION" | "INVALID_OPTION_DEFAULT_AND_CHOICES" | "INVALID_OPTION_NAME" | "REPEATED_OPTION_NAME" | "INVALID_OPTION_ARITY" | "UNKNOWN_ERROR">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jakubmazanec/args",
|
|
3
|
-
"version": "2.0.4-unstable.
|
|
3
|
+
"version": "2.0.4-unstable.bd0959d",
|
|
4
4
|
"description": "TypeScript-first library for parsing command line arguments.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,27 +27,27 @@
|
|
|
27
27
|
"typecheck": "tsc --project tsconfig.typecheck.json"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@jakubmazanec/error": "3.0.4-unstable.
|
|
31
|
-
"@jakubmazanec/ts-utils": "3.0.4-unstable.
|
|
30
|
+
"@jakubmazanec/error": "3.0.4-unstable.bd0959d",
|
|
31
|
+
"@jakubmazanec/ts-utils": "3.0.4-unstable.bd0959d",
|
|
32
32
|
"lodash.camelcase": "^4.3.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@jakubmazanec/eslint-config": "3.3.2-unstable.
|
|
36
|
-
"@types/lodash": "^4.
|
|
35
|
+
"@jakubmazanec/eslint-config": "3.3.2-unstable.bd0959d",
|
|
36
|
+
"@types/lodash": "^4.17.13",
|
|
37
37
|
"@types/lodash.camelcase": "^4.3.9",
|
|
38
38
|
"@types/node": "^22.9.0",
|
|
39
|
-
"@vitest/coverage-v8": "^1.
|
|
40
|
-
"concurrently": "^
|
|
41
|
-
"del-cli": "^
|
|
42
|
-
"esbuild": "^0.
|
|
39
|
+
"@vitest/coverage-v8": "^2.1.4",
|
|
40
|
+
"concurrently": "^9.1.0",
|
|
41
|
+
"del-cli": "^6.0.0",
|
|
42
|
+
"esbuild": "^0.24.0",
|
|
43
43
|
"eslint": "^8.56.0",
|
|
44
44
|
"lodash": "^4.17.21",
|
|
45
|
-
"prettier": "^3.3.
|
|
46
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
47
|
-
"typedoc": "^0.
|
|
48
|
-
"typedoc-plugin-markdown": "^4.
|
|
49
|
-
"typescript": "^5.
|
|
50
|
-
"vitest": "^1.
|
|
45
|
+
"prettier": "^3.3.3",
|
|
46
|
+
"prettier-plugin-packagejson": "^2.5.3",
|
|
47
|
+
"typedoc": "^0.26.11",
|
|
48
|
+
"typedoc-plugin-markdown": "^4.2.10",
|
|
49
|
+
"typescript": "^5.6.3",
|
|
50
|
+
"vitest": "^2.1.4"
|
|
51
51
|
},
|
|
52
52
|
"packageManager": "npm@10.9.0",
|
|
53
53
|
"engines": {
|