🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@commander-js/extra-typings

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commander-js/extra-typings - npm Package Compare versions

Comparing version
13.0.0-1
to
13.0.0
+16
-0
index.d.ts

@@ -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",