Skip to content

fix(deps): update dependency @clack/core to v1#306

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/clack-core-1.x
Open

fix(deps): update dependency @clack/core to v1#306
renovate[bot] wants to merge 1 commit intomainfrom
renovate/clack-core-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 2, 2026

This PR contains the following updates:

Package Change Age Confidence
@clack/core (source) ^0.5.0^1.0.0 age confidence

Release Notes

bombshell-dev/clack (@​clack/core)

v1.2.0

Compare Source

Minor Changes
  • 9786226: Externalize fast-string-width and fast-wrap-ansi to avoid double dependencies
  • 090902c: Adds date prompt with format support (YMD, MDY, DMY)
Patch Changes
  • bdf89a5: Adds placeholder option to autocomplete. When the placeholder is set and the input is empty, pressing tab will set the value to placeholder.
  • 417b451: Only apply autocomplete default filter if it has been explicitly set or if options is not a getter.

v1.1.0

Compare Source

Minor Changes
  • e3333fb: Replaces picocolors with Node.js built-in styleText.

v1.0.1

Compare Source

Patch Changes
  • 6404dc1: Disallows selection of disabled options in autocomplete.
  • 2533180: Updates the documentation to mention userInputWithCursor when using the TextPrompt primitive.

v1.0.0

Compare Source

Major Changes
Minor Changes
  • 7bc3301: Prompts now have a userInput stored separately from their value.

  • 2837845: Adds suggestion and path prompts

  • 729bbb6: Add support for customizable spinner cancel and error messages. Users can now customize these messages either per spinner instance or globally via the updateSettings function to support multilingual CLIs.

    This update also improves the architecture by exposing the core settings to the prompts package, enabling more consistent default message handling across the codebase.

    // Per-instance customization
    const spinner = prompts.spinner({
      cancelMessage: "Operación cancelada", // "Operation cancelled" in Spanish
      errorMessage: "Se produjo un error", // "An error occurred" in Spanish
    });
    
    // Global customization via updateSettings
    prompts.updateSettings({
      messages: {
        cancel: "Operación cancelada", // "Operation cancelled" in Spanish
        error: "Se produjo un error", // "An error occurred" in Spanish
      },
    });
    
    // Settings can now be accessed directly
    console.log(prompts.settings.messages.cancel); // "Operación cancelada"
    
    // Direct options take priority over global settings
    const spinner = prompts.spinner({
      cancelMessage: "Cancelled", // This will be used instead of the global setting
    });
  • 55645c2: Support wrapping autocomplete and select prompts.

  • f2c2b89: Adds AutocompletePrompt to core with comprehensive tests and implement both autocomplete and autocomplete-multiselect components in prompts package.

  • df4eea1: Remove suggestion prompt and change path prompt to be an autocomplete prompt.

  • 1604f97: Add clearOnError option to password prompt to automatically clear input when validation fails

Patch Changes
  • 0718b07: fix: export *Options types for prompts.
  • bfe0dd3: Prevents placeholder from being used as input value in text prompts
  • 6868c1c: Adds a new selectableGroups boolean to the group multi-select prompt. Using selectableGroups: false will disable the ability to select a top-level group, but still allow every child to be selected individually.
  • 7df841d: Removed all trailing space in prompt output and fixed various padding rendering bugs.
  • a4f5034: Fixes an edge case for placeholder values. Previously, when pressing enter on an empty prompt, placeholder values would be ignored. Now, placeholder values are treated as the prompt value.
  • b103ad3: Allow disabled options in multi-select and select prompts.
  • 71b5029: Add missing nullish checks around values.
  • a36292b: Fix "TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)" error happening on Windows for non-tty terminals.
  • 1a45f93: Switched from wrap-ansi to fast-wrap-ansi
  • 4ba2d78: Support short terminal windows when re-rendering by accounting for off-screen lines
  • 34f52fe: Validates initial values immediately when using text prompts with initialValue and validate props.
  • 94fee2a: Changes placeholder to be a visual hint rather than a tabbable value.
  • 4f6b3c2: Set initial values of auto complete prompt to first option when multiple is false.
  • 8ead5d3: Avoid passing initial values to core when using auto complete prompt
  • acc4c3a: Add a new withGuide option to all prompts to disable the default clack border
  • 68dbf9b: select-key: Fixed wrapping and added new caseSensitive option
  • 2310b43: Allow custom writables as output stream.
  • d98e033: add invert selection for multiselect prompt

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 2, 2026

⚠️ No Changeset found

Latest commit: c3fc5f6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ts-ghost-docs Ready Ready Preview, Comment Apr 4, 2026 1:26pm

@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Feb 2, 2026

Required label not found on this PR.

@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 5a2736a to 0af3cc0 Compare February 12, 2026 18:05
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 0af3cc0 to c3be5fb Compare February 16, 2026 00:51
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from c3be5fb to ea815c3 Compare March 5, 2026 19:03
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from ea815c3 to 2328c89 Compare April 1, 2026 18:01
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 2328c89 to 0b2e0a0 Compare April 4, 2026 07:45
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 0b2e0a0 to d62fbbd Compare April 4, 2026 10:05
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from d62fbbd to caf3901 Compare April 4, 2026 10:28
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from caf3901 to 8905bef Compare April 4, 2026 12:07
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 8905bef to b7aa102 Compare April 4, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants