Skip to content

chore(deps): update devdependency valibot to v1 - #161

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/valibot-1.x
Open

chore(deps): update devdependency valibot to v1#161
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/valibot-1.x

Conversation

@renovate

@renovate renovate Bot commented Mar 19, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
valibot (source) 0.37.01.4.2 age confidence

Release Notes

open-circle/valibot (valibot)

v1.4.2

Compare Source

Many thanks to @​Faze-up and @​chatman-media for contributing to this release.

  • Fix word count actions to cache the Intl.Segmenter for non-primitive locales, preventing it from being recreated on every words, minWords, maxWords and notWords validation (pull request #​1521)
  • Fix flatten method to handle issue path keys that collide with Object.prototype members like toString instead of throwing a TypeError (pull request #​1522)
  • Fix intersect schema to merge object keys that collide with Object.prototype members like toString instead of failing to merge them (pull request #​1522)

v1.4.1

Compare Source

  • Fix intersect schema to infer correct input and output types for non-tuple array options instead of never (pull request #​1478)

v1.4.0

Compare Source

Many thanks to @​ksaurav24, @​heiwen, @​compulim, @​ysknsid25, @​alaycock-stripe, @​IlyaSemenov, @​wszgrcy, @​LMGO, @​yslpn, @​EltonLobo07 and @​Eronmmer for contributing to this release.

Read the release notes on our website for a quick overview of the most exciting new features in this release.

  • Add isoDateTimeSecond validation action to validate ISO date times with seconds (pull request #​1418)
  • Add toCamelCase, toKebabCase, toPascalCase and toSnakeCase transformation actions to convert strings between common naming conventions (pull request #​1457)
  • Change internal ReadonlyOutputKeys and OutputWithReadonly types of object schemas and WithReadonly type of record schemas to improve TypeScript type performance (pull request #​1442)
  • Change hot paths to reduce object allocations and improve runtime performance (pull request #​1437)
  • Change build target to ES2020 so distributed output stays compatible with environments that lack support for newer syntax (pull request #​1455)
  • Change internal _LruCache to use a TypeScript private method instead of a #private class field to avoid runtime helpers in the transpiled output (pull request #​1455)
  • Change internal _isValidObjectKey to use Object.prototype.hasOwnProperty.call instead of Object.hasOwn so the distributed output stays compatible with runtimes that lack the ES2022 Object.hasOwn builtin (pull request #​1421)
  • Change flatten method to accept readonly issue arrays (pull request #​1269)
  • Fix potential RangeError caused by spreading large issue arrays (pull request #​1437)
  • Fix creditCard validation action to reject Mastercard numbers with invalid lengths (pull request #​1462)
  • Fix intersect schema to no longer mutate input values, allowing frozen objects and arrays to be merged (pull request #​1463)

v1.3.1

Compare Source

  • Change MAC48_REGEX, MAC64_REGEX and MAC_REGEX to drop the i flag for better JSON Schema compatibility (pull request #​1430)
  • Change hash action to use case-expanded character classes instead of the i flag (pull request #​1430)

v1.3.0

Compare Source

Many thanks to @​EskiMojo14, @​yslpn, @​alexilyaev, @​idleberg, @​BerkliumBirb and @​frenzzy for contributing to this release.

Read the release notes on our website for a quick overview of the most exciting new features in this release.

  • Add guard transformation action to narrow types using type predicates (pull request #​1204)
  • Add parseBoolean transformation action to parse boolean values from strings and other types (pull request #​1251)
  • Add isrc validation action to validate ISRC codes (pull request #​1373)
  • Add cache method for caching schema output by input (pull request #​1170)
  • Add domain validation action to validate domain names (pull request #​1284)
  • Add jwsCompact validation action to validate JWS compact strings (pull request #​1348)
  • Fix creditCard validation action to allow 13-digit Visa card numbers (pull request #​1347)
  • Fix isoTimestamp validation action to allow optional space before UTC offset for PostgreSQL timestamptz compatibility (pull request #​1195)
  • Fix types for deeply readonly default and fallback values

v1.2.0

Compare Source

Many thanks to @​EskiMojo14, @​makenowjust, @​ysknsid25 and @​jacekwilczynski for contributing to this release.

Read the release notes on our website for a quick overview of the most exciting new features in this release.

  • Add toBigint, toBoolean, toDate, toNumber and toString transformation actions (pull request #​1212)
  • Add examples action to add example values to a schema (pull request #​1199)
  • Add getExamples method to extract example values from a schema (pull request #​1199)
  • Add isbn validation action to validate ISBN-10 and ISBN-13 strings (pull request #​1097)
  • Add exports for RawCheckAddIssue, RawCheckContext, RawCheckIssueInfo, RawTransformAddIssue, RawTransformContext and RawTransformIssueInfo types for better developer experience with rawCheck and rawTransform actions (pull request #​1359)
  • Change build step to tsdown
  • Fix ReDoS vulnerability in EMOJI_REGEX used by emoji action

v1.1.0

Compare Source

Many thanks to @​EltonLobo07, @​sacrosanctic, @​muningis, @​EskiMojo14, @​MOZGIII, @​vktrl and @​jasperteo for contributing to this release.

Read the release notes on our website for a quick overview of the most exciting new features in this release.

  • Add message method to overwrite local error message configuration of a schema (pull request #​1103)
  • Add summarize method to summarize issues into a pretty-printable multi-line string (pull request #​1158)
  • Add getTitle, getDescription and getMetadata methods to extract metadata of a schema (pull request #​1154)
  • Add minEntries and maxEntries validation action to validate number of object entries (pull request #​1100)
  • Add entries and notEntries validation action to validate number of object entries (pull request #​1156)
  • Add parseJson and stringifyJson transformation action to parse and stringify JSON (pull request #​1137)
  • Add flavor transformation action to flavor the output type of a schema (pull request #​950)
  • Add support for bigints to multipleOf validation action (pull request #​1164)
  • Change implementation of variant and variantAsync schema to improve performance by aborting validation of discriminators early (pull request #​1110)
  • Change name of NanoIDAction and NanoIDIssue interface to NanoIdAction and NanoIdIssue (pull request #​1171)
  • Fix internal MarkOptional type to fix input and output type of objects in edge cases (issue #​1176)

v1.0.0

Compare Source

This is a summary of the changes between v0 and v1. Many thanks to everyone who contributed to this release.

  • Add assert method to assert values (issue #​862)
  • Add checkItemsAsync action (pull request #​856)
  • Add graphemes, maxGraphemes, minGraphemes and notGraphemes action (pull request #​853)
  • Add words, maxWords, minWords and notWords action
  • Add args and returns action to transform functions (issue #​243)
  • Add rfcEmail action to validate RFC 5322 email addresses (pull request #​912)
  • Add gtValue and ltValue action for greater than and less than validation (pull request #​978, #​985)
  • Add values and notValues action for easier multi-value validation (pull request #​919)
  • Add slug action to validate URL slugs (pull request #​910)
  • Add support for ReadonlyMap and ReadonlySet to readonly action (issue #​1059)
  • Add entriesFromObjects util to improve tree shaking (pull request #​1023)
  • Add new overload signature to pipe and pipeAync method to support unlimited pipe items of same input and output type (issue #​852)
  • Add @__NO_SIDE_EFFECTS__ notation to improve tree shaking (pull request #​995)
  • Add exactOptional and exactOptionalAsync schema (PR #​1013)
  • Change types and implementation to support Standard Schema
  • Change behaviour of minValue and maxValue for NaN (pull request #​843)
  • Change type and behaviour of nullable, nullableAsync, nullish, nullishAsync, optional, optionalAsync, undefinedable and undefinedableAsync for undefined default value (issue #​878)
  • Change type signature of partialCheck and partialCheckAsync action to add .pathList property in a type-safe way
  • Change type signature of findItem action to support type predicates (issue #​867)
  • Change validation of missing object entries in looseObject, looseObjectAsync, object, objectAsync, objectWithRest, objectWithRestAsync, strictObject and strictObject (PR #​1013)
  • Change type signature of optional and optionalAsync when used within an object schema (PR #​1013)
  • Change MarkOptional type to fix order of entries and TS error when using generic schemas (issue #​1021)
  • Change VariantOption and VariantOptionAsync type to fix TS error when using generic schemas (issue #​842)
  • Change implementation of variant and variantAsync to support optional discriminators using exactOptional, exactOptionalAsync, optional, optionalAsync, nullish or nullishAsync
  • Change _addIssue to not ignore empty strings as error message (pull request #​1065)
  • Change ISO_DATE_TIME_REGEX and ISO_TIMESTAMP_REGEX to support space as separator (pull request #​1064)
  • Change pipe tuple of pipe and pipeAsync to be readonly by default
  • Change forward, forwardCheck, partialCheck and partialCheckAsync to improve TypeScript performance (issue #​987)
  • Change DECIMAL_REGEX to support floats that start with a dot (pull request #​1086)
  • Change exports to export only public types to reduce noise
  • Refactor bytes, maxBytes, minBytes and notBytes action
  • Fix implementation of nonOptional, nonOptionalAsync, nonNullable, nonNullableAsync, nonNullish and nonNullishAsync schema in edge cases (issue #​909)
  • Fix instantiation error for any in PathKeys type (issue #​929)
  • Fix TypeScript error of keyof method for objects with many keys (pull request #​988)
  • Fix options filtering in enum_ schema (pull request #​941)
  • Fix partialCheck and partialCheckAsync action for typed data with issues

v0.42.1

Compare Source

  • Fix function type declaration of _run property

v0.42.0

Compare Source

Many thanks to @​ajfhs812, @​andrew-d-jackson and @​declanlscott for contributing to this release.

  • Add metadata action to add custom metadata to a schema
  • Add title metadata action to add a title to a schema (discussion #​826)
  • Add decimal action to validate integer and float strings (pull request #​823)
  • Rename decimal action to digits (pull request #​823)
  • Rename NoPipe type to SchemaWithoutPipe
  • Fix inference of generics in IssueDotPath type (issue #​814)

v0.41.0

Compare Source

Many thanks to @​EltonLobo07, @​ZerNico, @​Andarist, @​ruiaraujo012 and @​merodiro for contributing to this release.

  • Change reference property of all action base types to be less strict (issue #​799)
  • Change implementation of variant and variantAsync to improve performance and issues generation for nested variants with different discriminators (pull request #​809)

v0.40.0

Compare Source

Many thanks to @​jasperteo, @​alecmev and @​cruzdanilo for contributing to this release.

  • Add nanoid action to validate Nano IDs (pull request #​789)
  • Add undefinedable and undefinedableAsync schema (issue #​385)
  • Fix invalid output type for transformed optional object entries (issue #​806)

v0.39.0

Compare Source

Many thanks to @​tpetry, @​incompletude, @​ComradeVanti, @​istonikula and @​ShlokDesai33 for contributing to this release.

  • Add support for exactOptionalPropertyTypes config (issue #​385)
  • Fix IssueDotPath type for pipe and pipeAsync method (issue #​793)
  • Fix IssueDotPath type for variant and variantAsync schema (issue #​700)

v0.38.0

Compare Source

Many thanks to @​EltonLobo07, @​samuba, @​alecmev, @​gflohr, @​threehams and @​carcinocron for contributing to this release.

  • Change expects and expected property by enclosing combined values in parentheses
  • Change question mark handling for optional, optionalAsync, nullish and nullishAsync schemas in objects
  • Fix TypeScript errors in TuplePath and QuestionMarkSchema type (issue #​659, #​776)
  • Fix missing TypeScript errors in pipe and pipeAsync method (pull request #​785)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on Monday"
  • 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.

@github-actions

github-actions Bot commented Mar 19, 2025

Copy link
Copy Markdown
Contributor

⏳ Deployment in progress! A preview url will be shown here when the deployment has finished.

@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from f10bc61 to 292607d Compare May 10, 2025 12:19
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 292607d to d196c01 Compare November 25, 2025 02:32
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from d196c01 to 7be0421 Compare December 31, 2025 16:45
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 7be0421 to 696e2e2 Compare January 19, 2026 17:33
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 696e2e2 to 0537b96 Compare February 2, 2026 19:04
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 0537b96 to bcc13b6 Compare February 12, 2026 14:14
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch 2 times, most recently from 5ee5bd3 to 28ccf37 Compare March 19, 2026 00:44
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 28ccf37 to f0b3d2a Compare May 6, 2026 00:56
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from f0b3d2a to 07ab658 Compare May 26, 2026 02:01
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 07ab658 to 02997e1 Compare June 29, 2026 18:15
@renovate
renovate Bot force-pushed the renovate/valibot-1.x branch from 02997e1 to 930a980 Compare July 21, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants