Socket
Socket
Sign inDemoInstall

@inquirer/checkbox

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/checkbox - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

2

./dist/cjs/index.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc