@@ -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' && |
+4
-4
| { | ||
| "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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
287360
-0.15%2524
-0.28%+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated