[Snyk] Upgrade @clack/prompts from 0.6.3 to 0.10.0 - #5
Open
lucifer-yf wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade @clack/prompts from 0.6.3 to 0.10.0. See this package in npm: @clack/prompts See this project in Snyk: https://app.snyk.io/org/lucifer-yf/project/dd93e923-08f6-40d5-a27d-8a06f32ebdf1?utm_source=github&utm_medium=referral&page=upgrade-pr
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Code Review Agent Run Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @clack/prompts from 0.6.3 to 0.10.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 6 versions ahead of your current version.
The recommended version was released 3 months ago.
Release notes
Package name: @clack/prompts
-
0.10.0 - 2025-02-05
-
import * as p from "@ clack/prompts";
-
import * as p from "@ clack/prompts";
-
0.9.1 - 2025-01-09
- 8093f3c: Adds
- 98925e3: Exports the
- 1904e57: Replace custom utility for stripping ANSI control sequences with Node's built-in
- Updated dependencies [8093f3c]
- Updated dependencies [e5ba09a]
- Updated dependencies [8cba8e3]
- @ clack/core@0.4.1
-
0.9.0 - 2024-12-19
-
import { updateSettings } from "@ clack/prompts";
-
const abortController = new AbortController();
-
alias
action
up
right
down
left
cancel
- f9f139d: Adapts
- Updated dependencies [a83d2f8]
- Updated dependencies [801246b]
- Updated dependencies [a83d2f8]
- Updated dependencies [51e12bc]
- @ clack/core@0.4.0
-
0.8.2 - 2024-11-22
- Updated dependencies [4845f4f]
- Updated dependencies [d7b2fb9]
- @ clack/core@0.3.5
-
0.8.1 - 2024-11-15
- 360afeb: feat: adaptative max items
-
0.7.0 - 2023-08-09
- b27a701: add maxItems option to select prompt
- 89371be: added a new method called
- 52183c4: Fix
- ab51d29: Fixes cases where the note title length was miscalculated due to ansi characters
- Updated dependencies [cd79076]
- @ clack/core@0.3.3
-
0.6.3 - 2023-03-06
from @clack/prompts GitHub release notesMinor Changes
613179d: Adds a new
indicatoroption tospinner, which supports the original"dots"loading animation or a new"timer"loading animation.const spin = p.spinner({ indicator: "timer" });
spin.start("Loading");
await sleep(3000);
spin.stop("Loaded");
a38b2bc: Adds
streamAPI which provides the same methods aslog, but for iterable (even async) message streams. This is particularly useful for AI responses which are dynamically generated by LLMs.await p.stream.step(
(async function () {
yield generateLLMResponse(question);
})()
);
Patch Changes
Errorsupport to thevalidatefunctionOptiontype and improves JSDocannotationsstripVTControlCharactersutility.Minor Changes
a83d2f8: Adds a new
updateSettings()function to support new global keybindings.updateSettings()accepts analiasesobject that maps custom keys to an action (up | down | left | right | space | enter | cancel).// Support custom keybindings
updateSettings({
aliases: {
w: "up",
a: "left",
s: "down",
d: "right",
},
});
Warning
In order to enforce consistent, user-friendly defaults across the ecosystem,
updateSettingsdoes not support disabling Clack's default keybindings.801246b: Adds a new
signaloption to support programmatic prompt cancellation with an abort controller.One example use case is automatically cancelling a prompt after a timeout.
Another use case is racing a long running task with a manual prompt.
const projectType = await Promise.race([
detectProjectType({
signal: abortController.signal,
}),
select({
message: "Pick a project type.",
options: [
{ value: "ts", label: "TypeScript" },
{ value: "js", label: "JavaScript" },
{ value: "coffee", label: "CoffeeScript", hint: "oh no" },
],
signal: abortController.signal,
}),
]);
abortController.abort();
a83d2f8: Updates default keybindings to support Vim motion shortcuts and map the
escapekey to cancel (ctrl+c).kljhescPatch Changes
spinneroutput for static CI environmentsPatch Changes
Patch Changes
Minor Changes
spinner.message(msg: string)Patch Changes
spinnerconflict with terminal on error betweenspinner.start()andspinner.stop()Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: