Skip to content

Commit 3097b9c

Browse files
feat(deps): Bump valibot from 1.2.0 to 1.4.2 (#22655)
Bumps [valibot](https://github.com/open-circle/valibot) from 1.2.0 to 1.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/open-circle/valibot/releases">valibot's releases</a>.</em></p> <blockquote> <h2>v1.4.2</h2> <p>Many thanks to <a href="https://github.com/Faze-up"><code>@​Faze-up</code></a> and <a href="https://github.com/chatman-media"><code>@​chatman-media</code></a> for contributing to this release.</p> <ul> <li>Fix word count actions to cache the <code>Intl.Segmenter</code> for non-primitive locales, preventing it from being recreated on every <code>words</code>, <code>minWords</code>, <code>maxWords</code> and <code>notWords</code> validation (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1521">#1521</a>)</li> <li>Fix <code>flatten</code> method to handle issue path keys that collide with <code>Object.prototype</code> members like <code>toString</code> instead of throwing a <code>TypeError</code> (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1522">#1522</a>)</li> <li>Fix <code>intersect</code> schema to merge object keys that collide with <code>Object.prototype</code> members like <code>toString</code> instead of failing to merge them (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1522">#1522</a>)</li> </ul> <h2>v1.4.1</h2> <ul> <li>Fix <code>intersect</code> schema to infer correct input and output types for non-tuple array options instead of <code>never</code> (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1478">#1478</a>)</li> </ul> <h2>v1.4.0</h2> <p>Many thanks to <a href="https://github.com/ksaurav24"><code>@​ksaurav24</code></a>, <a href="https://github.com/heiwen"><code>@​heiwen</code></a>, <a href="https://github.com/compulim"><code>@​compulim</code></a>, <a href="https://github.com/ysknsid25"><code>@​ysknsid25</code></a>, <a href="https://github.com/alaycock-stripe"><code>@​alaycock-stripe</code></a>, <a href="https://github.com/IlyaSemenov"><code>@​IlyaSemenov</code></a>, <a href="https://github.com/wszgrcy"><code>@​wszgrcy</code></a>, <a href="https://github.com/LMGO"><code>@​LMGO</code></a>, <a href="https://github.com/yslpn"><code>@​yslpn</code></a>, <a href="https://github.com/EltonLobo07"><code>@​EltonLobo07</code></a> and <a href="https://github.com/Eronmmer"><code>@​Eronmmer</code></a> for contributing to this release.</p> <blockquote> <p>Read the <a href="https://valibot.dev/blog/valibot-v1.4-release-notes/">release notes</a> on our website for a quick overview of the most exciting new features in this release.</p> </blockquote> <ul> <li>Add <code>isoDateTimeSecond</code> validation action to validate ISO date times with seconds (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1418">#1418</a>)</li> <li>Add <code>toCamelCase</code>, <code>toKebabCase</code>, <code>toPascalCase</code> and <code>toSnakeCase</code> transformation actions to convert strings between common naming conventions (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1457">#1457</a>)</li> <li>Change internal <code>ReadonlyOutputKeys</code> and <code>OutputWithReadonly</code> types of <code>object</code> schemas and <code>WithReadonly</code> type of <code>record</code> schemas to improve TypeScript type performance (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1442">#1442</a>)</li> <li>Change hot paths to reduce object allocations and improve runtime performance (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1437">#1437</a>)</li> <li>Change build target to ES2020 so distributed output stays compatible with environments that lack support for newer syntax (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1455">#1455</a>)</li> <li>Change internal <code>_LruCache</code> to use a TypeScript <code>private</code> method instead of a <code>#private</code> class field to avoid runtime helpers in the transpiled output (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1455">#1455</a>)</li> <li>Change internal <code>_isValidObjectKey</code> to use <code>Object.prototype.hasOwnProperty.call</code> instead of <code>Object.hasOwn</code> so the distributed output stays compatible with runtimes that lack the ES2022 <code>Object.hasOwn</code> builtin (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1421">#1421</a>)</li> <li>Change <code>flatten</code> method to accept readonly issue arrays (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1269">#1269</a>)</li> <li>Fix potential <code>RangeError</code> caused by spreading large issue arrays (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1437">#1437</a>)</li> <li>Fix <code>creditCard</code> validation action to reject Mastercard numbers with invalid lengths (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1462">#1462</a>)</li> <li>Fix <code>intersect</code> schema to no longer mutate input values, allowing frozen objects and arrays to be merged (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1463">#1463</a>)</li> </ul> <h2>v1.4.0 (to-json-schema)</h2> <p>Many thanks to <a href="https://github.com/stefanprobst"><code>@​stefanprobst</code></a>, <a href="https://github.com/sruenwg"><code>@​sruenwg</code></a> and <a href="https://github.com/cruzdanilo"><code>@​cruzdanilo</code></a> for contributing to this release.</p> <ul> <li>Add support for <code>examples</code> action</li> <li>Add support for <code>integer</code> when used with <code>minValue</code> and <code>maxValue</code> actions (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1367">#1367</a>)</li> <li>Change Valibot peer dependency to v1.2.0</li> <li>Fix conversion of <code>exactOptional</code> object properties (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1220">#1220</a>)</li> <li>Fix conversion of <code>variant</code> to use <code>oneOf</code> instead of <code>anyOf</code> (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1193">#1193</a>)</li> </ul> <h2>v1.3.1</h2> <ul> <li>Change <code>MAC48_REGEX</code>, <code>MAC64_REGEX</code> and <code>MAC_REGEX</code> to drop the <code>i</code> flag for better JSON Schema compatibility (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1430">#1430</a>)</li> <li>Change <code>hash</code> action to use case-expanded character classes instead of the <code>i</code> flag (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1430">#1430</a>)</li> </ul> <h2>v1.3.0</h2> <p>Many thanks to <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>, <a href="https://github.com/yslpn"><code>@​yslpn</code></a>, <a href="https://github.com/alexilyaev"><code>@​alexilyaev</code></a>, <a href="https://github.com/idleberg"><code>@​idleberg</code></a>, <a href="https://github.com/BerkliumBirb"><code>@​BerkliumBirb</code></a> and <a href="https://github.com/frenzzy"><code>@​frenzzy</code></a> for contributing to this release.</p> <blockquote> <p>Read the <a href="https://valibot.dev/blog/valibot-v1.3-release-notes/">release notes</a> on our website for a quick overview of the most exciting new features in this release.</p> </blockquote> <ul> <li>Add <code>guard</code> transformation action to narrow types using type predicates (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1204">#1204</a>)</li> <li>Add <code>parseBoolean</code> transformation action to parse boolean values from strings and other types (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1251">#1251</a>)</li> <li>Add <code>isrc</code> validation action to validate ISRC codes (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1373">#1373</a>)</li> <li>Add <code>cache</code> method for caching schema output by input (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1170">#1170</a>)</li> <li>Add <code>domain</code> validation action to validate domain names (pull request <a href="https://redirect.github.com/open-circle/valibot/issues/1284">#1284</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-circle/valibot/commit/0dc26ea88cf07a414653375f0da43f97e0eed607"><code>0dc26ea</code></a> Bump library version to 1.4.2</li> <li><a href="https://github.com/open-circle/valibot/commit/1bd01c304657cd0809cc92694360b6cc60f700bf"><code>1bd01c3</code></a> fix: handle keys that collide with Object.prototype in flatten and merge (<a href="https://redirect.github.com/open-circle/valibot/issues/1522">#1522</a>)</li> <li><a href="https://github.com/open-circle/valibot/commit/752c6369bbd05904bab22149bf79f716a274c99d"><code>752c636</code></a> docs: clarify string length semantics (<a href="https://redirect.github.com/open-circle/valibot/issues/1505">#1505</a>)</li> <li><a href="https://github.com/open-circle/valibot/commit/a3beff96ad65e5409cb9202c9d2b30f670b3cde3"><code>a3beff9</code></a> fix: cache word-count segmenter for non-primitive locales (<a href="https://redirect.github.com/open-circle/valibot/issues/1521">#1521</a>)</li> <li><a href="https://github.com/open-circle/valibot/commit/1f9b18338ad5530f1f6c63c2cf241962bd82d6f8"><code>1f9b183</code></a> Update FUNDING.yml in fabvor of Open Collective</li> <li><a href="https://github.com/open-circle/valibot/commit/2c63b2a0c8ad23ace4e52f6e4a93524d39c25947"><code>2c63b2a</code></a> Update logos of partners in README</li> <li><a href="https://github.com/open-circle/valibot/commit/09616b20c8772aeb2e6203b58f1254fae27cb071"><code>09616b2</code></a> Add CodeRabbit as partner and remove Stainless</li> <li><a href="https://github.com/open-circle/valibot/commit/92bcf55fff4347f7d43327a0224565699df6602c"><code>92bcf55</code></a> Add Cloudflare to privacy policy page</li> <li><a href="https://github.com/open-circle/valibot/commit/9bb6617f2f04e735cc815d771eb15f6b7ad0feb6"><code>9bb6617</code></a> Add Cloudflare as a deploy target to our website (<a href="https://redirect.github.com/open-circle/valibot/issues/1508">#1508</a>)</li> <li><a href="https://github.com/open-circle/valibot/commit/c05bf954ada47d5ff953cdfad905cc701b25719c"><code>c05bf95</code></a> Bump to-json-schema version to 1.7.1</li> <li>Additional commits viewable in <a href="https://github.com/open-circle/valibot/compare/v1.2.0...v1.4.2">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for valibot since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=valibot&package-manager=npm_and_yarn&previous-version=1.2.0&new-version=1.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/getsentry/sentry-javascript/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 3295723 commit 3097b9c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29991,9 +29991,9 @@ v8-compile-cache@^2.3.0:
2999129991
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
2999229992

2999329993
valibot@^1.2.0:
29994-
version "1.2.0"
29995-
resolved "https://registry.yarnpkg.com/valibot/-/valibot-1.2.0.tgz#8fc720d9e4082ba16e30a914064a39619b2f1d6f"
29996-
integrity sha512-mm1rxUsmOxzrwnX5arGS+U4T25RdvpPjPN4yR0u9pUBov9+zGVtO84tif1eY4r6zWxVxu3KzIyknJy3rxfRZZg==
29994+
version "1.4.2"
29995+
resolved "https://registry.yarnpkg.com/valibot/-/valibot-1.4.2.tgz#da857781187f170aeaf4498d463d25028615b0d6"
29996+
integrity sha512-gjdCvJ6d3RyHAneqxMYMW9QMCwYMb3jpOO0IyHZV1bnRHFBHrX3VkIILt5XYR0WhwHiH7Mty8ovuPZ/O3gamrg==
2999729997

2999829998
validate-html-nesting@^1.2.1:
2999929999
version "1.2.2"

0 commit comments

Comments
 (0)