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.1
to
4.1.2
+1
-1
dist/commonjs/index.d.ts

@@ -306,3 +306,3 @@ import { inspect, InspectOptions, ParseArgsConfig } from 'node:util';

validOptions?: readonly number[] | readonly string[] | undefined;
validate?: ((v: unknown) => boolean) | ((v: unknown) => v is ValidValue<ConfigType, boolean>) | undefined;
validate?: ((v: unknown) => boolean) | ((v: unknown) => v is ConfigValue) | undefined;
description?: string | undefined;

@@ -309,0 +309,0 @@ short?: string | undefined;

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.jack = exports.Jack = exports.isConfigOption = exports.isConfigOptionOfType = exports.isConfigType = void 0;
const node_util_1 = require("node:util");
// it's a tiny API, just cast it inline, it's fine
//@ts-ignore
const cliui_1 = __importDefault(require("@isaacs/cliui"));
const cliui_1 = require("@isaacs/cliui");
const node_path_1 = require("node:path");

@@ -639,3 +634,3 @@ const isConfigType = (t) => typeof t === 'string' &&

//@ts-ignore
const ui = (0, cliui_1.default)({ width });
const ui = (0, cliui_1.cliui)({ width });
const first = this.#fields[0];

@@ -642,0 +637,0 @@ let start = first?.type === 'heading' ? 1 : 0;

@@ -306,3 +306,3 @@ import { inspect, InspectOptions, ParseArgsConfig } from 'node:util';

validOptions?: readonly number[] | readonly string[] | undefined;
validate?: ((v: unknown) => boolean) | ((v: unknown) => v is ValidValue<ConfigType, boolean>) | undefined;
validate?: ((v: unknown) => boolean) | ((v: unknown) => v is ConfigValue) | undefined;
description?: string | undefined;

@@ -309,0 +309,0 @@ short?: string | undefined;

import { inspect, parseArgs, } from 'node:util';
// it's a tiny API, just cast it inline, it's fine
//@ts-ignore
import cliui from '@isaacs/cliui';
import { cliui } from '@isaacs/cliui';
import { basename } from 'node:path';

@@ -6,0 +4,0 @@ export const isConfigType = (t) => typeof t === 'string' &&

{
"name": "jackspeak",
"version": "4.1.1",
"version": "4.1.2",
"description": "A very strict and proper argument parser.",

@@ -58,10 +58,10 @@ "tshy": {

"devDependencies": {
"@types/node": "^22.6.0",
"@types/node": "^25.2.0",
"prettier": "^3.3.3",
"tap": "^21.0.1",
"tshy": "^3.0.2",
"typedoc": "^0.26.7"
"typedoc": "^0.28.16"
},
"dependencies": {
"@isaacs/cliui": "^8.0.2"
"@isaacs/cliui": "^9.0.0"
},

@@ -68,0 +68,0 @@ "engines": {

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