build(deps): Bump @clack/prompts from 1.8.1 to 1.9.0

Merged
DE
17d ago
+17-15

Bumps @clack/prompts from 1.8.1 to 1.9.0.

Release notes

Sourced from @​clack/prompts's releases.

@​clack/prompts@​1.9.0

Minor Changes

  • #596 cbeefcb Thanks @​dreyfus92! - Add accessible mode to spinner: when enabled via the accessible option, the global setting, or the ACCESSIBLE env var, the spinner emits static, append-only, screen-reader friendly output, a plain start line, a "still working" heartbeat every 30 seconds, and a plain final line. Instead of animated in-place repaints.

  • #614 5ac9e73 Thanks @​btea! - Allow multiselect to accept readonly option arrays, e.g. options declared with as const. The Value type parameter is now inferred as a literal union ('a' | 'b') from such arrays, and initialValues also accepts readonly arrays.

  • #622 1835f41 Thanks @​btea! - Add support for disabled selectKey options: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value.

Patch Changes

  • #610 be35482 Thanks @​43081j! - Update sisteransi to 2.x (ESM only).

  • #618 3e0bffd Thanks @​btea! - Use an explicit undefined check when forwarding autocomplete initialValue so 0, false, and empty strings remain selectable instead of falling back to the first option.

  • #631 9053625 Thanks @​43081j! - Account for escape sequences in prefixes during line wrapping. Very narrow outputs will now render correctly.

  • #616 f325a53 Thanks @​btea! - Fix that isCancelled returned after calling cancel and start methods in progress does not refresh.

  • #627 34976a7 Thanks @​b84330808! - Fix the path prompt in directory mode on Windows: typing a trailing \ after a directory now lists its children instead of showing no matches.

  • #628 85f6aff Thanks @​imharjot! - Render falsy primitive options through the limitOptions style callback instead of leaving blank rows.

  • Updated dependencies [be35482, 9053625, f2bc46b, f325a53, 5ac9e73, e66ab12, 1835f41]:

    • @​clack/core@​1.6.0
Changelog

Sourced from @​clack/prompts's changelog.

1.9.0

Minor Changes

  • #596 cbeefcb Thanks @​dreyfus92! - Add accessible mode to spinner: when enabled via the accessible option, the global setting, or the ACCESSIBLE env var, the spinner emits static, append-only, screen-reader friendly output, a plain start line, a "still working" heartbeat every 30 seconds, and a plain final line. Instead of animated in-place repaints.

  • #614 5ac9e73 Thanks @​btea! - Allow multiselect to accept readonly option arrays, e.g. options declared with as const. The Value type parameter is now inferred as a literal union ('a' | 'b') from such arrays, and initialValues also accepts readonly arrays.

  • #622 1835f41 Thanks @​btea! - Add support for disabled selectKey options: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value.

Patch Changes

  • #610 be35482 Thanks @​43081j! - Update sisteransi to 2.x (ESM only).

  • #618 3e0bffd Thanks @​btea! - Use an explicit undefined check when forwarding autocomplete initialValue so 0, false, and empty strings remain selectable instead of falling back to the first option.

  • #631 9053625 Thanks @​43081j! - Account for escape sequences in prefixes during line wrapping. Very narrow outputs will now render correctly.

  • #616 f325a53 Thanks @​btea! - Fix that isCancelled returned after calling cancel and start methods in progress does not refresh.

  • #627 34976a7 Thanks @​b84330808! - Fix the path prompt in directory mode on Windows: typing a trailing \ after a directory now lists its children instead of showing no matches.

  • #628 85f6aff Thanks @​imharjot! - Render falsy primitive options through the limitOptions style callback instead of leaving blank rows.

  • Updated dependencies [be35482, 9053625, f2bc46b, f325a53, 5ac9e73, e66ab12, 1835f41]:

    • @​clack/core@​1.6.0
Commits
  • 50c8ea0 [ci] release (#611)
  • 9053625 fix: account for escape sequences in prefixes (#631)
  • e66ab12 fix: respect the prompt output stream width (#630)
  • 34976a7 fix(prompts): handle trailing backslash in path prompt directory mode (#627)
  • 3e0bffd fix(prompts): preserve falsy autocomplete initial values (#618)
  • 85f6aff fix(prompts): render falsy options in limitOptions (#628)
  • 1835f41 fix(core, prompts): correctly render the disabled options of selectKey (#622)
  • f325a53 fix(progress): the progress returns isCancelled without real-time refresh (#616)
  • 5ac9e73 feat(prompts): support readonly options in multiselect (#614)
  • cbeefcb feat(prompts): add accessible mode to spinner (#596)
  • Additional commits viewable in compare view


Body edited by AthyaBot so the Guard check (added after this PR opened) runs on it.