@inquirer/checkbox
Advanced tools
Comparing version 0.0.28-alpha.0 to 0.0.29-alpha.0
@@ -18,3 +18,5 @@ import { createPrompt, useState, useRef, useKeypress, usePrefix, isUpKey, isDownKey, isSpaceKey, isNumberKey, isEnterKey, Paginator, } from '@inquirer/core'; | ||
setStatus('done'); | ||
done(choices.filter((choice) => choice.checked).map((choice) => choice.value)); | ||
done(choices | ||
.filter((choice) => choice.checked && !choice.disabled) | ||
.map((choice) => choice.value)); | ||
} | ||
@@ -21,0 +23,0 @@ else if (isUpKey(key) || isDownKey(key)) { |
{ | ||
"name": "@inquirer/checkbox", | ||
"version": "0.0.28-alpha.0", | ||
"version": "0.0.29-alpha.0", | ||
"type": "module", | ||
@@ -58,3 +58,3 @@ "description": "Inquirer checkbox prompt", | ||
"ansi-escapes": "^5.0.0", | ||
"chalk": "^5.0.1", | ||
"chalk": "^5.1.0", | ||
"figures": "^5.0.0" | ||
@@ -68,3 +68,3 @@ }, | ||
}, | ||
"gitHead": "0e3ef8e31fc34b5fa5308be95af77ba9f5ede8fa" | ||
"gitHead": "c3b92d07e2f5d72976cf233f6ab13f00be9b1785" | ||
} |
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
8341
119
Updatedchalk@^5.1.0