Skip to content

Commit

Permalink
Chore(*): Bump devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Oct 6, 2024
1 parent 5f4ae3e commit 9d0c140
Show file tree
Hide file tree
Showing 65 changed files with 308 additions and 252 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,27 +70,27 @@
"type-fest": "^4.0.0"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@eslint/js": "^9.12.0",
"@repo/tsconfig": "workspace:*",
"@types/node": "^22.7.4",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"eslint": "^9.11.1",
"@vitest/coverage-v8": "^2.1.2",
"@vitest/ui": "^2.1.2",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unicorn": "^55.0.0",
"globals": "^15.9.0",
"eslint-plugin-unicorn": "^56.0.0",
"globals": "^15.10.0",
"globby": "^14.0.2",
"husky": "^9.1.6",
"lerna": "^8.1.8",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"turbo": "^2.1.2",
"turbo": "^2.1.3",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0",
"vitest": "^2.1.1"
"typescript-eslint": "^8.8.0",
"vitest": "^2.1.2"
},
"packageManager": "yarn@4.5.0+sha512.837566d24eec14ec0f5f1411adb544e892b3454255e61fdef8fd05f3429480102806bac7446bc9daff3896b01ae4b62d00096c7e989f1596f2af10b927532f39",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default createPrompt(
const first = items.findIndex(isSelectable);
const last = items.findLastIndex(isSelectable);

if (first < 0) {
if (first === -1) {
throw new ValidationError(
'[checkbox prompt] No selectable choices. All choices are disabled.',
);
Expand Down
4 changes: 2 additions & 2 deletions packages/select/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default createPrompt(
const first = items.findIndex(isSelectable);
const last = items.findLastIndex(isSelectable);

if (first < 0) {
if (first === -1) {
throw new ValidationError(
'[select prompt] No selectable choices. All choices are disabled.',
);
Expand Down Expand Up @@ -182,7 +182,7 @@ export default createPrompt(
return item.name.toLowerCase().startsWith(searchTerm);
});

if (matchIndex >= 0) {
if (matchIndex !== -1) {
setActive(matchIndex);
}

Expand Down
Loading

0 comments on commit 9d0c140

Please sign in to comment.