dependabot[bot] opened a new pull request, #3491: URL: https://github.com/apache/apisix-dashboard/pull/3491
Bumps [seroval](https://github.com/lxsmnsyc/seroval) from 1.6.9 to 1.8.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lxsmnsyc/seroval/releases">seroval's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li>Stop capturing a stack trace when deserializing <code>Error</code> and <code>AggregateError</code> nodes.</li> </ul> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li>0d5c590: <code>fromJSON</code> and <code>fromCrossJSON</code> now decode a well-known symbol that appears more than once in a value. The second use used to become <code>undefined</code>, or failed as a malformed node when it was an object key. A value with two iterables or async iterables, such as <code>[gen1, gen2]</code>, hit this.</li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li>7fe0193: The web plugins check their fields with <code>validate</code>. A field with the wrong type now throws <code>SerovalPluginValidationError</code>, as the <code>cause</code> of the decoding error. The ReadableStream plugin now also checks that its source is a stream. <code>seroval-plugins</code> now needs <code>seroval</code> 1.8.0 or newer.</li> </ul> <h3>Patch Changes</h3> <ul> <li>9250406: The web plugins import from <code>seroval/shared</code> instead of <code>seroval</code>, so a bundle that only reads or only writes does not pull in the other side through them.</li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p>7fe0193: Add the optional <code>validate</code> plugin field and the <code>v</code> validators. <code>validate</code> lists a validator for each field of a plugin's node. When <code>deserialize</code> reads a listed field with <code>ctx.deserialize</code>, the decoded value is checked first, and <code>SerovalPluginValidationError</code> is thrown if it fails. It applies to <code>fromJSON</code>, <code>fromCrossJSON</code> and <code>createCrossDeserializer</code>. The validators are exported as <code>v</code> from <code>seroval</code>, and as a module from <code>seroval/validator</code>.</p> </li> <li> <p>d1ada33: Add the <code>seroval/read</code>, <code>seroval/write</code> and <code>seroval/shared</code> entry points, so bundlers can put reading and writing in separate chunks.</p> <ul> <li><code>seroval/read</code> exports <code>fromJSON</code>, <code>fromCrossJSON</code>, <code>createCrossDeserializer</code> and <code>deserialize</code>.</li> <li><code>seroval/write</code> exports the serializers, <code>Serializer</code> and <code>getCrossReferenceHeader</code>.</li> <li><code>seroval/shared</code> exports what both sides use, such as <code>createPlugin</code>, <code>Feature</code>, <code>Stream</code> and the errors. <code>seroval/read</code> and <code>seroval/write</code> also export it.</li> <li><code>seroval</code> still exports everything. All entry points load the same chunks, so classes keep one identity.</li> </ul> </li> </ul> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li> <p>7ae5573: Fix several parser edge cases:</p> <ul> <li>The async parser no longer leaves a rejecting promise unhandled while an earlier sibling is still pending.</li> <li>The stream parser removes queued records in constant time, so a consumer that applies backpressure no longer makes emission quadratic.</li> <li>A failed parse no longer leaves ids in a caller-owned <code>refs</code> map, so later calls and <code>Serializer</code> writes define those values again.</li> <li>The stream parser counts only the first settlement of a promise whose <code>then</code> calls back more than once.</li> <li>Arrays with more than 1,000,000 holes are rejected with a <code>SerovalParserError</code> instead of exhausting memory.</li> <li><code>Buffer</code> and other typed array subclasses serialize as their base typed array, and the typed array size limit applies to them.</li> </ul> </li> </ul> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li>Harden decoding limits.</li> </ul> <h2>[email protected]</h2> <h3>Patch Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lxsmnsyc/seroval/commit/696a55d32958c26a6dc25a1eb88318c492fd736d"><code>696a55d</code></a> fix: skip stack capture for deserialized errors</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/9c376d84dc004bda9a8db17827d97ce105e38480"><code>9c376d8</code></a> Merge pull request <a href="https://redirect.github.com/lxsmnsyc/seroval/issues/339">#339</a> from lxsmnsyc/chore/solid-2-stable-website</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/acdb3f0ef5b3b0e4067694502e4fe70557decd54"><code>acdb3f0</code></a> chore: move the website to the stable Solid 2.0 release</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/c753230041f2877c630c03f0d33880c354a017e2"><code>c753230</code></a> fix(transport): harden form data decoding</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/3a24371fcaba64d680b06e7f65c38294c4ebe312"><code>3a24371</code></a> fix(transport): harden value validation in the JSON reader</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/22777287161fb2d5b155966b1cac1dd611c4414e"><code>2277728</code></a> Merge pull request <a href="https://redirect.github.com/lxsmnsyc/seroval/issues/330">#330</a> from lxsmnsyc/chore/vercel-main-site-changes</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/199dba4c8e799f634ede7daded8d3c816ce152f6"><code>199dba4</code></a> chore(website): deploy only main when the site changes</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/3688807f6d0ed75eae1207148b858f361f407c4f"><code>3688807</code></a> Merge pull request <a href="https://redirect.github.com/lxsmnsyc/seroval/issues/323">#323</a> from lxsmnsyc/changeset-release/main</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/c2817aeb8d18131447aa8bea86fa6e0dd247490a"><code>c2817ae</code></a> chore: version packages</li> <li><a href="https://github.com/lxsmnsyc/seroval/commit/1336442ad24a204d7e11b176845dd34e6217d035"><code>1336442</code></a> Merge pull request <a href="https://redirect.github.com/lxsmnsyc/seroval/issues/322">#322</a> from lxsmnsyc/fix/wk-symbol-refs</li> <li>Additional commits viewable in <a href="https://github.com/lxsmnsyc/seroval/compare/[email protected]@1.8.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 seroval since your current version.</p> </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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/apisix-dashboard/network/alerts). </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]
