dependabot[bot] opened a new pull request, #44383: URL: https://github.com/apache/superset/pull/44383
Bumps [zod](https://github.com/colinhacks/zod) from 4.5.4 to 4.6.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/colinhacks/zod/releases">zod's releases</a>.</em></p> <blockquote> <h2>v4.6.1</h2> <p>A patch on top of <a href="https://github.com/colinhacks/zod/releases/tag/v4.6.0">4.6.0</a>.</p> <ul> <li><a href="https://github.com/colinhacks/zod/commit/b12aa523"><code>b12aa523</code></a> fix: preserve unique tags with defaulted discriminators (<a href="https://redirect.github.com/colinhacks/zod/pull/6582">#6582</a>) — closes <a href="https://redirect.github.com/colinhacks/zod/issues/6577">#6577</a></li> <li><a href="https://github.com/colinhacks/zod/commit/dd9c36fa"><code>dd9c36fa</code></a> fix(v4): defer recursive object index inference (<a href="https://redirect.github.com/colinhacks/zod/pull/6580">#6580</a>)</li> <li><a href="https://github.com/colinhacks/zod/commit/3b154992"><code>3b154992</code></a> feat(lang): add Tajik (<code>tg</code>) locale (<a href="https://redirect.github.com/colinhacks/zod/pull/6581">#6581</a>) by <a href="https://github.com/ismoil77"><code>@ismoil77</code></a></li> <li><a href="https://github.com/colinhacks/zod/commit/2efa8b80"><code>2efa8b80</code></a> ci: give the npm wait a real budget and drop the back-publish path (<a href="https://redirect.github.com/colinhacks/zod/pull/6583">#6583</a>)</li> </ul> <h2>v4.6.0</h2> <p>Zod 4.6 is now available.</p> <pre lang="sh"><code>npm install zod@latest </code></pre> <p>At a glance:</p> <ul> <li><a href="https://zod.dev/blog/zod-4-6#validate"><code>.validate()</code></a> — checks input validity without building a result (up to 35x faster than <code>.safeParse().success</code> on a compiled schema)</li> <li><a href="https://zod.dev/blog/zod-4-6#zproperties"><code>z.instanceof().properties()</code></a> — validates properties of an instance</li> <li><a href="https://zod.dev/blog/zod-4-6#fromjsonschema"><code>fromJSONSchema()</code></a> — enforces six validation keywords it used to ignore</li> <li><a href="https://zod.dev/blog/zod-4-6#ziban"><code>z.iban()</code></a> — electronic-format IBAN plus mod-97 checksum</li> <li><a href="https://zod.dev/blog/zod-4-6#zwithparser"><code>z.withParser()</code></a> — installs a parser generated elsewhere, for environments without <code>new Function</code></li> <li><a href="https://zod.dev/blog/zod-4-6#faster-commonjs">Faster CommonJS</a> — drops the getter on every export (~3x faster <code>z.validate()</code> under <code>require</code>)</li> <li><a href="https://zod.dev/blog/zod-4-6#memory-retention-in-recursive-schemas">Memory retention in recursive schemas</a> — releases the parsed input, fixing a 4.5 out-of-memory regression</li> <li><a href="https://zod.dev/packages/mini"><code>@zod/mini</code></a> — Zod Mini as a standalone package, versioned in lockstep with <code>zod</code> since 4.5</li> </ul> <h2><code>.validate()</code></h2> <p>Standalone boolean validation, in Zod, Zod Mini, and Zod Core. It answers "is this input valid?" without constructing a <code>ZodError</code>, which makes rejection cheap. The return type is a guard on the schema's input type.</p> <pre lang="ts"><code>z.validate(z.string(), "hi"); // true z.validate(z.string(), 42); // false </code></pre> <p>It is a method on Zod Classic schemas too. (<a href="https://redirect.github.com/colinhacks/zod/pull/6547">#6547</a>)</p> <pre lang="ts"><code>const Player = z.object({ username: z.string(), xp: z.number(), }); <p>if (Player.validate(data)) {<br /> data.username; // narrowed<br /> }<br /> </code></pre></p> <p>In conjunction with <a href="https://zod.dev/compile"><code>z.compile()</code></a>, this can be up to 35x faster than <code>.safeParse().success</code> on invalid input.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/colinhacks/zod/commit/62311eb2c4a93c7348a8b1c5abbde1ec77c66b67"><code>62311eb</code></a> 4.6.1</li> <li><a href="https://github.com/colinhacks/zod/commit/2efa8b803c8ad934f7c74772fa7df9d91abcf724"><code>2efa8b8</code></a> ci: give the npm wait a real budget and drop the back-publish path (<a href="https://redirect.github.com/colinhacks/zod/issues/6583">#6583</a>)</li> <li><a href="https://github.com/colinhacks/zod/commit/b12aa523e7e2617c4296cccf9b24d6558ed23e95"><code>b12aa52</code></a> fix: preserve unique tags with defaulted discriminators (<a href="https://redirect.github.com/colinhacks/zod/issues/6582">#6582</a>)</li> <li><a href="https://github.com/colinhacks/zod/commit/dd9c36fa2ddcee79f71d19f9635586c7b65ead86"><code>dd9c36f</code></a> fix(v4): defer recursive object index inference (<a href="https://redirect.github.com/colinhacks/zod/issues/6580">#6580</a>)</li> <li><a href="https://github.com/colinhacks/zod/commit/574d480fb443d3fd396efbcb8230f3dfee4a2cd2"><code>574d480</code></a> fix(locales): clarify Tajik discriminator value message</li> <li><a href="https://github.com/colinhacks/zod/commit/c532d766de54e13aea5d03698980bf7d976fc544"><code>c532d76</code></a> test(locales): cover Tajik error branches</li> <li><a href="https://github.com/colinhacks/zod/commit/3b1549922b56ec17c9c47a521963f820930068e1"><code>3b15499</code></a> feat(lang): add Tajik (<code>tg</code>) locale</li> <li><a href="https://github.com/colinhacks/zod/commit/1c51cbe0fe23d09f8d520b31487d50a01588fae5"><code>1c51cbe</code></a> 4.6.0</li> <li><a href="https://github.com/colinhacks/zod/commit/661673ae3ed42b15e8f835ae1bd0223b1db044a4"><code>661673a</code></a> docs: make the 9thCO logo visible on the light theme</li> <li><a href="https://github.com/colinhacks/zod/commit/6de10dce1afaba7160d1c7ca810cc40bc4a7a733"><code>6de10dc</code></a> docs: reconcile the sponsor listings against every active sponsorship (<a href="https://redirect.github.com/colinhacks/zod/issues/6579">#6579</a>)</li> <li>Additional commits viewable in <a href="https://github.com/colinhacks/zod/compare/v4.5.4...v4.6.1">compare view</a></li> </ul> </details> <br /> [](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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
