@inquirer/checkbox
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -57,3 +57,3 @@ "use strict"; | ||
if (first < 0) { | ||
throw new Error('[checkbox prompt] No selectable choices. All choices are disabled.'); | ||
throw new core_1.ValidationError('[checkbox prompt] No selectable choices. All choices are disabled.'); | ||
} | ||
@@ -60,0 +60,0 @@ return { first, last }; |
@@ -57,3 +57,3 @@ "use strict"; | ||
if (first < 0) { | ||
throw new Error('[checkbox prompt] No selectable choices. All choices are disabled.'); | ||
throw new core_1.ValidationError('[checkbox prompt] No selectable choices. All choices are disabled.'); | ||
} | ||
@@ -60,0 +60,0 @@ return { first, last }; |
{ | ||
"name": "@inquirer/checkbox", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"engines": { | ||
@@ -60,4 +60,4 @@ "node": ">=18" | ||
"dependencies": { | ||
"@inquirer/core": "^7.0.2", | ||
"@inquirer/type": "^1.2.0", | ||
"@inquirer/core": "^7.1.0", | ||
"@inquirer/type": "^1.2.1", | ||
"ansi-escapes": "^4.3.2", | ||
@@ -68,3 +68,3 @@ "chalk": "^4.1.2", | ||
"devDependencies": { | ||
"@inquirer/testing": "^2.1.12" | ||
"@inquirer/testing": "^2.1.13" | ||
}, | ||
@@ -74,3 +74,4 @@ "scripts": { | ||
"tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json", | ||
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs" | ||
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs", | ||
"attw": "attw --pack" | ||
}, | ||
@@ -92,3 +93,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "85fba2337df29f689d058a9260df163af89caa98" | ||
"gitHead": "2de191afab92c1a214dfe268c80109014803f11b" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31640
Updated@inquirer/core@^7.1.0
Updated@inquirer/type@^1.2.1