This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @clack/core (source) | ^0.4.1 → ^1.3.0 |
Release Notes
bombshell-dev/clack (@​clack/core)
v1.3.0
Minor Changes
78fd3ae: Remove unuseddebugoption key.ea5702e: fix: add engines field expressing node >=20.12 requirement814ab9a: Add new multiline prompt for multi-line text input.
v1.2.0
Minor Changes
9786226: Externalizefast-string-widthandfast-wrap-ansito avoid double dependencies090902c: Addsdateprompt withformatsupport (YMD, MDY, DMY)
Patch Changes
bdf89a5: Addsplaceholderoption toautocomplete. When the placeholder is set and the input is empty, pressingtabwill set the value toplaceholder.417b451: Only apply autocomplete default filter if it has been explicitly set or if options is not a getter.
v1.1.0
Minor Changes
e3333fb: Replacespicocolorswith Node.js built-instyleText.
v1.0.1
Patch Changes
6404dc1: Disallows selection ofdisabledoptions in autocomplete.2533180: Updates the documentation to mentionuserInputWithCursorwhen using theTextPromptprimitive.
v1.0.0
Major Changes
c713fd5: The package is now distributed as ESM-only. Inv0releases, the package was dual-published as CJS and ESM.For existing CJS projects using Node v20+, please see Node's guide on Loading ECMAScript modules using
require().
Minor Changes
7bc3301: Prompts now have auserInputstored separately from theirvalue.2837845: Adds suggestion and path prompts729bbb6: Add support for customizable spinner cancel and error messages. Users can now customize these messages either per spinner instance or globally via theupdateSettingsfunction 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: AddsAutocompletePromptto core with comprehensive tests and implement bothautocompleteandautocomplete-multiselectcomponents in prompts package.df4eea1: Removesuggestionprompt and changepathprompt to be an autocomplete prompt.1604f97: AddclearOnErroroption to password prompt to automatically clear input when validation fails
Patch Changes
0718b07: fix: export*Optionstypes for prompts.bfe0dd3: Prevents placeholder from being used as input value in text prompts6868c1c: Adds a newselectableGroupsboolean to the group multi-select prompt. UsingselectableGroups: falsewill 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 pressingenteron 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-ansi4ba2d78: Support short terminal windows when re-rendering by accounting for off-screen lines34f52fe: Validates initial values immediately when using text prompts with initialValue and validate props.94fee2a: Changesplaceholderto 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 promptacc4c3a: Add a newwithGuideoption to all prompts to disable the default clack border68dbf9b: select-key: Fixed wrapping and added newcaseSensitiveoption2310b43: Allow custom writables as output stream.d98e033: add invert selection for multiselect prompt
v0.5.0
Minor Changes
07ca32d: Reverted a change where placeholders were being set as values on return.
v0.4.2
Patch Changes
30aa7ed: Adds a newselectableGroupsboolean to the group multi-select prompt. UsingselectableGroups: falsewill disable the ability to select a top-level group, but still allow every child to be selected individually.5dfce8a: Fixes an edge case for placeholder values. Previously, when pressingenteron an empty prompt, placeholder values would be ignored. Now, placeholder values are treated as the prompt value.f574297: Fix "TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)" error happening on Windows for non-tty terminals.
Configuration
📅 Schedule: (UTC)
- 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 becomes conflicted, 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.