@commander-js/extra-typings
Advanced tools
+16
-0
@@ -1243,2 +1243,18 @@ // eslint complains about {} as a type, but hard to be more accurate. | ||
| /** | ||
| * Called the first time parse is called to save state and allow a restore before subsequent calls to parse. | ||
| * Not usually called directly, but available for subclasses to save their custom state. | ||
| * | ||
| * This is called in a lazy way. Only commands used in parsing chain will have state saved. | ||
| */ | ||
| saveStateBeforeParse(): void; | ||
| /** | ||
| * Restore state before parse for calls after the first. | ||
| * Not usually called directly, but available for subclasses to save their custom state. | ||
| * | ||
| * This is called in a lazy way. Only commands used in parsing chain will have state restored. | ||
| */ | ||
| restoreStateBeforeParse(): void; | ||
| /** | ||
| * Parse options from `argv` removing known options, | ||
@@ -1245,0 +1261,0 @@ * and return argv split into operands and unknown arguments. |
+3
-3
| { | ||
| "name": "@commander-js/extra-typings", | ||
| "version": "13.0.0-1", | ||
| "version": "13.0.0", | ||
| "description": "Infer strong typings for commander options and action handlers", | ||
@@ -46,3 +46,3 @@ "main": "index.js", | ||
| "peerDependencies": { | ||
| "commander": "~13.0.0-0" | ||
| "commander": "~13.0.0" | ||
| }, | ||
@@ -52,3 +52,3 @@ "devDependencies": { | ||
| "@types/node": "^22.10.1", | ||
| "commander": "~13.0.0-0", | ||
| "commander": "^13.0.0", | ||
| "eslint": "^9.16.0", | ||
@@ -55,0 +55,0 @@ "eslint-config-prettier": "^9.1.0", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
51021
1.27%1358
1.04%0
-100%