From a525fe46fac053f029afc22880b8067b9d2620a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2026 14:06:56 +0000 Subject: [PATCH 1/2] chore(deps): bump @clack/prompts from 0.10.1 to 1.5.1 Bumps [@clack/prompts](https://github.com/bombshell-dev/clack/tree/HEAD/packages/prompts) from 0.10.1 to 1.5.1. - [Release notes](https://github.com/bombshell-dev/clack/releases) - [Changelog](https://github.com/bombshell-dev/clack/blob/main/packages/prompts/CHANGELOG.md) - [Commits](https://github.com/bombshell-dev/clack/commits/@clack/prompts@1.5.1/packages/prompts) --- updated-dependencies: - dependency-name: "@clack/prompts" dependency-version: 1.5.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 46e4e32..8bad8dc 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "files": ["dist"], "dependencies": { - "@clack/prompts": "^0.10.0", + "@clack/prompts": "^1.5.1", "chalk": "^5.4.1", "citty": "^0.2.2", "dotenv": "^17.2.4", From 427b0f7783c1e75a86a96746c207e94269f85cd7 Mon Sep 17 00:00:00 2001 From: Marco Vinciguerra Date: Mon, 8 Jun 2026 16:39:08 +0200 Subject: [PATCH 2/2] fix: handle optional value in clack 1.5 validate callback @clack/prompts 1.5 types the text() validate callback value as `string | undefined`. Use optional chaining so the empty-key check compiles and still rejects empty input. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/lib/folders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/folders.ts b/src/lib/folders.ts index 84eddef..e70fc54 100644 --- a/src/lib/folders.ts +++ b/src/lib/folders.ts @@ -26,7 +26,7 @@ export async function resolveApiKey(quiet = false): Promise { message: "Enter your ScrapeGraph API key (get one at https://dashboard.scrapegraphai.com):", placeholder: "sgai-...", validate: (v) => { - if (!v.trim()) return "API key is required"; + if (!v?.trim()) return "API key is required"; }, });