You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

jackspeak

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jackspeak - npm Package Compare versions

Comparing version
4.1.0
to
4.1.1
+12
-0
dist/commonjs/index.d.ts

@@ -198,5 +198,17 @@ import { inspect, InspectOptions, ParseArgsConfig } from 'node:util';

constructor(options?: JackOptions);
/**
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
* but also including `description` and `short` fields, if set.
*/
get definitions(): C;
/** map of `{ <short>: <long> }` strings for each short name defined */
get shorts(): Record<string, string>;
/**
* options passed to the {@link Jack} constructor
*/
get jackOptions(): JackOptions;
/**
* the data used to generate {@link Jack#usage} and
* {@link Jack#usageMarkdown} content.
*/
get usageFields(): UsageField[];

@@ -203,0 +215,0 @@ /**

@@ -246,11 +246,23 @@ "use strict";

}
/**
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
* but also including `description` and `short` fields, if set.
*/
get definitions() {
return this.#configSet;
}
/** map of `{ <short>: <long> }` strings for each short name defined */
get shorts() {
return this.#shorts;
}
/**
* options passed to the {@link Jack} constructor
*/
get jackOptions() {
return this.#options;
}
/**
* the data used to generate {@link Jack#usage} and
* {@link Jack#usageMarkdown} content.
*/
get usageFields() {

@@ -274,2 +286,3 @@ return this.#fields;

er.cause = { ...cause, path: source };
Error.captureStackTrace(er, this.setConfigValues);
}

@@ -276,0 +289,0 @@ throw er;

@@ -198,5 +198,17 @@ import { inspect, InspectOptions, ParseArgsConfig } from 'node:util';

constructor(options?: JackOptions);
/**
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
* but also including `description` and `short` fields, if set.
*/
get definitions(): C;
/** map of `{ <short>: <long> }` strings for each short name defined */
get shorts(): Record<string, string>;
/**
* options passed to the {@link Jack} constructor
*/
get jackOptions(): JackOptions;
/**
* the data used to generate {@link Jack#usage} and
* {@link Jack#usageMarkdown} content.
*/
get usageFields(): UsageField[];

@@ -203,0 +215,0 @@ /**

@@ -237,11 +237,23 @@ import { inspect, parseArgs, } from 'node:util';

}
/**
* Resulting definitions, suitable to be passed to Node's `util.parseArgs`,
* but also including `description` and `short` fields, if set.
*/
get definitions() {
return this.#configSet;
}
/** map of `{ <short>: <long> }` strings for each short name defined */
get shorts() {
return this.#shorts;
}
/**
* options passed to the {@link Jack} constructor
*/
get jackOptions() {
return this.#options;
}
/**
* the data used to generate {@link Jack#usage} and
* {@link Jack#usageMarkdown} content.
*/
get usageFields() {

@@ -265,2 +277,3 @@ return this.#fields;

er.cause = { ...cause, path: source };
Error.captureStackTrace(er, this.setConfigValues);
}

@@ -267,0 +280,0 @@ throw er;

+1
-1
{
"name": "jackspeak",
"version": "4.1.0",
"version": "4.1.1",
"description": "A very strict and proper argument parser.",

@@ -5,0 +5,0 @@ "tshy": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display