dependabot[bot] opened a new pull request, #37996: URL: https://github.com/apache/superset/pull/37996
Bumps [react-window](https://github.com/bvaughn/react-window) and [@types/react-window](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-window). These dependencies needed to be updated together. Updates `react-window` from 1.8.11 to 2.2.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bvaughn/react-window/releases">react-window's releases</a>.</em></p> <blockquote> <h2>2.2.7</h2> <ul> <li>Fixed a problem with project logo not displaying correctly in the README for the Firefox browser.</li> </ul> <h2>2.2.6</h2> <ul> <li><code>useDynamicRowHeight</code> should not instantiate <code>ResizeObserver</code> when server-rendering</li> </ul> <h2>2.2.5</h2> <ul> <li>Use <code>defaultHeight</code>/<code>defaultWidth</code> prop to server render initial set of rows/cells</li> <li>Adjust TypeScript return type for <code>rowComponent</code>/<code>cellComponent</code> to work around a <code>ReactNode</code> vs <code>ReactElement</code> mismatch caused by <a href="https://redirect.github.com/bvaughn/react-window/issues/875">#875</a></li> </ul> <h2>2.2.4</h2> <ul> <li>Update README docs</li> </ul> <h2>2.2.3</h2> <ul> <li>Update TS Doc comments for <code>List</code> and <code>Grid</code> imperative methods to specify when a method throws.</li> <li>Throw a <code>RangeError</code> (instead of a regular <code>Error</code>) if an invalid index is passed to one of the imperative scroll-to methods.</li> </ul> <h2>2.2.2</h2> <p>The return type of <code>List</code> and <code>Grid</code> components is explicitly annotated as <code>ReactElement</code>. The return type of <code>rowComponent</code> and <code>cellComponent</code> changed from <code>ReactNode</code> to <code>ReactElement</code>. This was done to fix TypeScript warnings for React versions 18.0 - 18.2. (See issue <a href="https://redirect.github.com/bvaughn/react-window/issues/875">#875</a>)</p> <h2>2.2.1</h2> <ul> <li>Fix possible scroll-jump scenario with <code>useDynamicRowHeight</code></li> </ul> <h2>2.2.0</h2> <ul> <li>Support for dynamic row heights via new <code>useDynamicRowHeight</code> hook.</li> </ul> <pre lang="tsx"><code>const rowHeight = useDynamicRowHeight({ defaultRowHeight: 50 }); <p>return <List rowHeight={rowHeight} {...rest} />;<br /> </code></pre></p> <ul> <li>Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)</li> </ul> <hr /> <p>Documentation at: <a href="https://react-window-9gegorjnr-brian-vaughns-projects.vercel.app/">https://react-window-9gegorjnr-brian-vaughns-projects.vercel.app/</a></p> <h2>2.1.2</h2> <p>Prevent <code>ResizeObserver</code> API from being called at all if an explicit <code>List</code> height (or <code>Grid</code> width and height) is provided.</p> <p>Thanks to <a href="https://github.com/tnajdek"><code>@tnajdek</code></a> for the PR!</p> <hr /> <p>Documentation at: <a href="https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/">https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/</a></p> <h2>2.1.1</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bvaughn/react-window/blob/main/CHANGELOG.md">react-window's changelog</a>.</em></p> <blockquote> <h2>2.2.7</h2> <ul> <li>Fixed a problem with project logo not displaying correctly in the README for the Firefox browser.</li> </ul> <h2>2.2.6</h2> <ul> <li><code>useDynamicRowHeight</code> should not instantiate <code>ResizeObserver</code> when server-rendering</li> </ul> <h2>2.2.5</h2> <ul> <li>Use <code>defaultHeight</code>/<code>defaultWidth</code> prop to server render initial set of rows/cells</li> <li>Adjust TypeScript return type for <code>rowComponent</code>/<code>cellComponent</code> to work around a <code>ReactNode</code> vs <code>ReactElement</code> mismatch caused by <a href="https://redirect.github.com/bvaughn/react-window/issues/875">#875</a></li> </ul> <h2>2.2.4</h2> <ul> <li>Update README docs</li> </ul> <h2>2.2.3</h2> <ul> <li>Update TS Doc comments for <code>List</code> and <code>Grid</code> imperative methods to specify when a method throws.</li> <li>Throw a <code>RangeError</code> (instead of a regular <code>Error</code>) if an invalid index is passed to one of the imperative scroll-to methods.</li> </ul> <h2>2.2.2</h2> <p>The return type of <code>List</code> and <code>Grid</code> components is explicitly annotated as <code>ReactElement</code>. The return type of <code>rowComponent</code> and <code>cellComponent</code> changed from <code>ReactNode</code> to <code>ReactElement</code>. This was done to fix TypeScript warnings for React versions 18.0 - 18.2. (See issue <a href="https://redirect.github.com/bvaughn/react-window/issues/875">#875</a>)</p> <h2>2.2.1</h2> <ul> <li>Fix possible scroll-jump scenario with <code>useDynamicRowHeight</code></li> </ul> <h2>2.2.0</h2> <ul> <li>Support for dynamic row heights via new <code>useDynamicRowHeight</code> hook.</li> </ul> <pre lang="tsx"><code>const rowHeight = useDynamicRowHeight({ defaultRowHeight: 50 }); <p>return <List rowHeight={rowHeight} {...rest} />;<br /> </code></pre></p> <ul> <li>Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)</li> </ul> <h2>2.1.2</h2> <p>Prevent <code>ResizeObserver</code> API from being called at all if an explicit <code>List</code> height (or <code>Grid</code> width and height) is provided.</p> <h2>2.1.1</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bvaughn/react-window/commit/b7e8457d6532444259121aecee665d9bc5902d45"><code>b7e8457</code></a> 2.2.6 -> 2.2.7</li> <li><a href="https://github.com/bvaughn/react-window/commit/dc23245bd3ebfb78be2b6e040673b85c2e36982a"><code>dc23245</code></a> Fixed a problem with project logo not displaying correctly in the README for ...</li> <li><a href="https://github.com/bvaughn/react-window/commit/0138b13f50538e17010ca5c2998d1b660a13cc52"><code>0138b13</code></a> Tweaked how-it-works graphic style</li> <li><a href="https://github.com/bvaughn/react-window/commit/2b982512ffee2fdf73466b087b3715e98b2191f2"><code>2b98251</code></a> 2.2.5 -> 2.2.6</li> <li><a href="https://github.com/bvaughn/react-window/commit/6222edc73a703d2c6204a479cd9c21986e437834"><code>6222edc</code></a> useDynamicRowHeight: Don't instantiate ResizeObserver when server-rendering (...</li> <li><a href="https://github.com/bvaughn/react-window/commit/69330f4325325d1e45afb91ca1d6d02edafacfdc"><code>69330f4</code></a> Fix example</li> <li><a href="https://github.com/bvaughn/react-window/commit/8433914b91b3d0686ef5d6f6fbd5fdfc84940550"><code>8433914</code></a> Update docs to clarify that Grid cells can't be auto-sized</li> <li><a href="https://github.com/bvaughn/react-window/commit/7969e5a4770dc28168c4b4fafd4d56b15eaedebe"><code>7969e5a</code></a> Fix docs typo</li> <li><a href="https://github.com/bvaughn/react-window/commit/dff578fbd6120f0d0ec4b5b6a2ea20088a724970"><code>dff578f</code></a> 2.2.4 -> 2.2.5</li> <li><a href="https://github.com/bvaughn/react-window/commit/b26f7dae03e62abb55ed170b8b6b75230ee2dfa6"><code>b26f7da</code></a> 2.2.5 (<a href="https://redirect.github.com/bvaughn/react-window/issues/896">#896</a>)</li> <li>Additional commits viewable in <a href="https://github.com/bvaughn/react-window/compare/1.8.11...2.2.7">compare view</a></li> </ul> </details> <br /> Updates `@types/react-window` from 1.8.8 to 2.0.0 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-window">compare view</a></li> </ul> </details> <br /> 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]
