Packages

valibot

1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed

Upgrading valibot from 1.4.0 to 1.5.0

3 releases in betweenevery note read

Other targets from 1.4.0Clears its advisory1.4.2

Security

Fixes 1 advisory affecting 1.4.0

Release by release

  1. 1.5.0

    9 Sep 20262 new · 7 fixes
    • new

      Add codePoints, maxCodePoints, minCodePoints and notCodePoints validation actions to validate the number of Unicode code points (pull request #888)

    • new

      Add ksuid validation action to validate KSUIDs (pull request #1370)

    • fixed

      Fix stringifyJson action to preserve the dataset value when JSON.stringify returns undefined (pull request #1476)

    • fixed

      Fix literal schema and value, values, notValue and notValues actions to treat NaN as equal to itself (pull request #1573)

  2. 1.4.2

    28 Jun 20262 fixes
    • fixed

      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)

    • fixed

      Fix flatten method to handle issue path keys that collide with Object.prototype members like toString instead of throwing a TypeError (pull request #1522)

  3. 1.4.1

    24 May 20261 fix
    • fixed

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

2 other lines we could not sort, mostly version bumps
  • Change Standard Schema properties to use eager initialization for faster schema construction and replace internal _getStandardProps utility with _standardSchema (pull request #1534)

    1.5.0
  • Change url action to use URL.canParse when available to avoid constructing URL objects (pull request #1608)

    1.5.0