dependabot[bot] opened a new pull request, #26862: URL: https://github.com/apache/superset/pull/26862
Bumps [immer](https://github.com/immerjs/immer) from 9.0.19 to 10.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/immerjs/immer/releases">immer's releases</a>.</em></p> <blockquote> <h2>v10.0.3</h2> <h2><a href="https://github.com/immerjs/immer/compare/v10.0.2...v10.0.3">10.0.3</a> (2023-10-02)</h2> <h3>Bug Fixes</h3> <ul> <li>don't use <code>.mjs</code> file for react-native, which isn't supported by default. Fixes <a href="https://redirect.github.com/immerjs/immer/issues/1058">#1058</a> <a href="https://redirect.github.com/immerjs/immer/issues/1065">#1065</a> (<a href="https://redirect.github.com/immerjs/immer/issues/1075">#1075</a>) (<a href="https://github.com/immerjs/immer/commit/f6736a4beef727c6e5b41c312ce1b202ad3afb23">f6736a4</a>)</li> </ul> <h2>v10.0.2</h2> <h2><a href="https://github.com/immerjs/immer/compare/v10.0.1...v10.0.2">10.0.2</a> (2023-05-09)</h2> <h3>Bug Fixes</h3> <ul> <li>export <code>Objectish</code> type (<a href="https://redirect.github.com/immerjs/immer/issues/1043">#1043</a>) (<a href="https://github.com/immerjs/immer/commit/75e004db1374e059773047e786d6d01ee1e90a0f">75e004d</a>)</li> <li>Move index.js.flow from dist/ -> dist/cjs/ to match index.js (<a href="https://redirect.github.com/immerjs/immer/issues/1038">#1038</a>) (<a href="https://github.com/immerjs/immer/commit/a3b5603c7270ba5b5267b41312a66931026c21c9">a3b5603</a>)</li> </ul> <h2>v10.0.1</h2> <h2><a href="https://github.com/immerjs/immer/compare/v10.0.0...v10.0.1">10.0.1</a> (2023-04-17)</h2> <h3>Bug Fixes</h3> <ul> <li>production bundle was loaded incorrectly, fixes <a href="https://redirect.github.com/immerjs/immer/issues/1037">#1037</a> (<a href="https://github.com/immerjs/immer/commit/707e72b49f7c06b623242a3b66c2bda83e786d63">707e72b</a>)</li> </ul> <h2>v10.0.0</h2> <h1><a href="https://github.com/immerjs/immer/compare/v9.0.21...v10.0.0">10.0.0</a> (2023-04-17)</h1> <h1>Release notes</h1> <ul> <li>[breaking change] Immer 10 only supports modern browsers, that have support for <code>Proxy</code>, <code>Reflect</code>, <code>Symbol</code> and <code>Map</code> and <code>Set</code>.</li> <li>[breaking change] There is no longer a UMD build exposed (thanks <a href="https://github.com/markerikson">Mark Erikson</a> for modernizing the build setup in <a href="https://redirect.github.com/immerjs/immer/issues/1032">#1032</a>!</li> <li>[breaking change] getters and setters are ignored by default on plain object, as this is a very uncommon case and provides a significant performance boost (ca 33%, but depends a lot on the scenario). Fixes <a href="https://redirect.github.com/immerjs/immer/issues/867">#867</a>, <a href="https://redirect.github.com/immerjs/immer/issues/1012">#1012</a>. Thanks <a href="https://github.com/hrsh7th">hrsh7th</a> for implementing it in <a href="https://redirect.github.com/immerjs/immer/issues/941">#941</a>!</li> <li>[breaking change] Promise based reducers are no longer supported. Conceptually it is an anti pattern to hold on to drafts over time. If needed the old behavior can still be achieved by leveraging <code>createDraft</code> and <code>finishDraft</code>.</li> <li>[breaking change] ES5 mode (for legacy browsers) has been dropped. If your project relies on <code>enableES5()</code>, you SHOULD NOT upgrade Immer. <code>enableES5</code> has been removed.</li> <li>[breaking change] <code>produce</code> is no longer exposed as the <code>default</code> export. This improves eco system compatibility, and makes sure that there is only one correct way of doing things</li> <li>[breaking change] <code>enableAllPlugins</code> has been removed, use <code>enablePatches(); enableMapSet()</code> instead</li> <li>[breaking change] shortening the length of a JSON array now results in delete patches, rather than a mutation of the <code>length</code> property, in accordance with JSON spec. Thanks <a href="https://github.com/kshramt">kshramt</a> for implementing this in <a href="https://redirect.github.com/immerjs/immer/issues/964">#964</a>!</li> <li>Immer is now an ESM package that can be directly imported into the browser. CJS should still work, UMD support has been removed.</li> </ul> <p>Overall, there is a rough performance increase of 33% for Immer (and in some cases significantly higher), and the (non gzipped) bundle size has reduced from 16 to 11.5 KB, while the the minimal gzipped import of just <code>produce</code> has remained roughly the same at 3.3 KB.</p> <p>For more details, see <a href="https://redirect.github.com/immerjs/immer/issues/1015">#1015</a></p> <h2>Migration steps</h2> <ol> <li>If you have any <code>enableES5()</code> call, don't migrate</li> <li>When using getters/ setters icmw plain objects, call <code>useStrictShallowCopy(true)</code> at startup</li> <li>Replace all default imports: Replace <code>import produce from "immer"</code> with <code>import {produce} from "immer"</code></li> <li>Replace all calls to <code>enableAllPlugins()</code> with <code>enablePatches(); enableMapSet();</code> to be more specific and smoothen future migrations.</li> </ol> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/immerjs/immer/commit/f6736a4beef727c6e5b41c312ce1b202ad3afb23"><code>f6736a4</code></a> fix: don't use <code>.mjs</code> file for react-native, which isn't supported by default...</li> <li><a href="https://github.com/immerjs/immer/commit/75e004db1374e059773047e786d6d01ee1e90a0f"><code>75e004d</code></a> fix: export <code>Objectish</code> type (<a href="https://redirect.github.com/immerjs/immer/issues/1043">#1043</a>)</li> <li><a href="https://github.com/immerjs/immer/commit/a3b5603c7270ba5b5267b41312a66931026c21c9"><code>a3b5603</code></a> fix: Move index.js.flow from dist/ -> dist/cjs/ to match index.js (<a href="https://redirect.github.com/immerjs/immer/issues/1038">#1038</a>)</li> <li><a href="https://github.com/immerjs/immer/commit/327082c18722b4e56e1b2e78c5112c70fc01f1cc"><code>327082c</code></a> chore(deps): bump ajv from 6.11.0 to 6.12.6 (<a href="https://redirect.github.com/immerjs/immer/issues/1036">#1036</a>)</li> <li><a href="https://github.com/immerjs/immer/commit/7f261afe7f7f8a9b65215e1dd30cf3d418ae2734"><code>7f261af</code></a> chore(deps): bump ansi-regex from 4.1.0 to 4.1.1 in /website (<a href="https://redirect.github.com/immerjs/immer/issues/1035">#1035</a>)</li> <li><a href="https://github.com/immerjs/immer/commit/371b7b46a4f0a228f110562408cd0280df683c2e"><code>371b7b4</code></a> chore: update badge (<a href="https://redirect.github.com/immerjs/immer/issues/1040">#1040</a>)</li> <li><a href="https://github.com/immerjs/immer/commit/707e72b49f7c06b623242a3b66c2bda83e786d63"><code>707e72b</code></a> fix: production bundle was loaded incorrectly, fixes <a href="https://redirect.github.com/immerjs/immer/issues/1037">#1037</a></li> <li><a href="https://github.com/immerjs/immer/commit/2ef9a421b852c667517d4c98e079fd6b9090a0c0"><code>2ef9a42</code></a> Merge pull request <a href="https://redirect.github.com/immerjs/immer/issues/1028">#1028</a> from immerjs/immer-10</li> <li><a href="https://github.com/immerjs/immer/commit/41ebbbc2f7983a7b65b4d0a442bf09567dfa9798"><code>41ebbbc</code></a> Restore mangleProps</li> <li><a href="https://github.com/immerjs/immer/commit/6f2a12b557fcf8280a3e92820a7782526a0c1aa3"><code>6f2a12b</code></a> Merge branch 'markerikson-feature/build-tsup' into immer-10</li> <li>Additional commits viewable in <a href="https://github.com/immerjs/immer/compare/v9.0.19...v10.0.3">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org