fix(deps): update dependency @clack/prompts to v1.5.0#317
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
This PR contains the following updates:
1.4.0→1.5.0Release Notes
bombshell-dev/clack (@clack/prompts)
v1.5.0Compare Source
Minor Changes
#543
83428acThanks @florian-lefebvre! - Adds support for Standard Schema validationPrompts accept an optional
validate()function to validate user input. While a function provides more flexibility and customization over your validation, it can be a bit verbose. To help solve this, there are libraries that provide schema-based validation to make shorthand and type-strict validation substantially easier.Libraries following the Standard Schema specification are now natively supported. For example, using Arktype:
import { text } from '@​clack/prompts'; import { type } from 'arktype'; const name = await text({ message: 'Enter your email', + validate: type('string.email').describe('Invalid email'), });Patch Changes
#542
adb6af9Thanks @ghostdevv! - docs: add jsdoc forbox,group, andgroup-multi-select#534
3dcb31aThanks @MattStypa! - Fixed spaces and uppercase characters in multiline prompt#540
3170ed9Thanks @ghostdevv! - docs: add jsdoc forautocomplete,confirm, andpathpromptsUpdated dependencies [
83428ac,3dcb31a]:Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.