Skip to content

chore(deps): update dependency @clack/core to v1.0.0#163

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2026

This PR contains the following updates:

Package Change Age Confidence
@clack/core (source) 1.0.0-alpha.71.0.0 age confidence

Release Notes

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

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

v1.0.0-alpha.8

Compare Source

Patch Changes
  • 68dbf9b: select-key: Fixed wrapping and added new caseSensitive option

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

@renovate renovate bot requested a review from ryuudotgg January 27, 2026 22:42
@renovate renovate bot temporarily deployed to Code Scanning January 27, 2026 22:42 Inactive
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 1d6af96 to 6ea91b0 Compare January 28, 2026 18:27
@renovate renovate bot changed the title chore(deps): update dependency @clack/core to v1.0.0-alpha.8 chore(deps): update dependency @clack/core to v1.0.0 Jan 28, 2026
@renovate renovate bot temporarily deployed to Code Scanning January 28, 2026 18:28 Inactive
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from 6ea91b0 to 79da2de Compare February 2, 2026 04:50
@renovate renovate bot temporarily deployed to Code Scanning February 2, 2026 04:51 Inactive
ryuudotgg
ryuudotgg previously approved these changes Feb 2, 2026
@renovate renovate bot force-pushed the renovate/clack-core-1.x branch from f7fb2f7 to d114869 Compare February 9, 2026 06:28
@renovate renovate bot temporarily deployed to Code Scanning February 9, 2026 06:28 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant