dependabot[bot] opened a new pull request, #32105: URL: https://github.com/apache/superset/pull/32105
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.6.2 to 5.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/releases">eslint-plugin-react-hooks's releases</a>.</em></p> <blockquote> <h2>eslint-plugin-react-hooks@5.0.0 (Oct 11, 2024)</h2> <p>This release only contains <code>eslint-plugin-react-hooks</code>. Notably, new violations and support for ESLint v9 were added.</p> <h2><code>eslint-plugin-react-hooks</code></h2> <ul> <li><strong>New Violations:</strong> Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means <code>_Button</code> or <code>_component</code> are no longer valid. (<a href="https://github.com/kassens"><code>@kassens</code></a>) in <a href="https://redirect.github.com/facebook/react/pull/25162">#25162</a> For example, in <pre lang="tsx"><code>function _Component() { useState() ^^^^^^^^ A React Hook "useState" is called in function "_Component" which is neither a Component nor a custom React Hook function. } </code></pre> <code>_Component</code> should be renamed to <code>Component</code>.</li> </ul> <ul> <li>Add support for ESLint v9. (<a href="https://github.com/eps1lon"><code>@eps1lon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/28773">#28773</a>)</li> <li>Consider dispatch from <code>useActionState</code> stable. (<a href="https://github.com/eps1lon"><code>@eps1lon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/29665">#29665</a>)</li> <li>Accept <code>as</code> expression in callback. (<a href="https://github.com/StyleShit"><code>@StyleShit</code></a> in <a href="https://redirect.github.com/facebook/react/pull/28202">#28202</a>)</li> <li>Accept <code>as</code> expressions in deps array. (<a href="https://github.com/StyleShit"><code>@StyleShit</code></a> in <a href="https://redirect.github.com/facebook/react/pull/28189">#28189</a>)</li> <li>Treat <code>React.use()</code> the same as <code>use()</code>. (<a href="https://github.com/kassens"><code>@kassens</code></a> in <a href="https://redirect.github.com/facebook/react/pull/27769">#27769</a>)</li> <li>Move <code>use()</code> lint to non-experimental. (<a href="https://github.com/kassens"><code>@kassens</code></a> in <a href="https://redirect.github.com/facebook/react/pull/27768">#27768</a>)</li> <li>Support Flow <code>as</code> expressions. (<a href="https://github.com/cpojer"><code>@cpojer</code></a> in <a href="https://redirect.github.com/facebook/react/pull/27590">#27590</a>)</li> <li>Allow <code>useEffect(fn, undefined)</code>. (<a href="https://github.com/kassens"><code>@kassens</code></a> in <a href="https://redirect.github.com/facebook/react/pull/27525">#27525</a>)</li> <li>Disallow hooks in async functions. (<a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://redirect.github.com/facebook/react/pull/27045">#27045</a>)</li> <li>Rename experimental <code>useEvent</code> to <code>useEffectEvent</code>. (<a href="https://github.com/sebmarkbage"><code>@sebmarkbage</code></a> in <a href="https://redirect.github.com/facebook/react/pull/25881">#25881</a>)</li> <li>Lint for presence of <code>useEvent</code> functions in dependency lists. (<a href="https://github.com/poteto"><code>@poteto</code></a> in <a href="https://redirect.github.com/facebook/react/pull/25512">#25512</a>)</li> <li>Check <code>useEvent</code> references instead. (<a href="https://github.com/poteto"><code>@poteto</code></a> in <a href="https://redirect.github.com/facebook/react/pull/25319">#25319</a>)</li> <li>Update <code>RulesOfHooks</code> with <code>useEvent</code> rules. (<a href="https://github.com/poteto"><code>@poteto</code></a> in <a href="https://redirect.github.com/facebook/react/pull/25285">#25285</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p> <blockquote> <h2>15.1.0 (May 20, 2016)</h2> <h3>React</h3> <ul> <li>Ensure we're using the latest <code>object-assign</code>, which has protection against a non-spec-compliant native <code>Object.assign</code>. (<a href="https://github.com/zpao"><code>@zpao</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6681">#6681</a>)</li> <li>Add a new warning to communicate that <code>props</code> objects passed to <code>createElement</code> must be plain objects. (<a href="https://github.com/richardscarrott"><code>@richardscarrott</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6134">#6134</a>)</li> <li>Fix a batching bug resulting in some lifecycle methods incorrectly being called multiple times. (<a href="https://github.com/sophiebits"><code>@sophiebits</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6650">#6650</a>)</li> </ul> <h3>React DOM</h3> <ul> <li>Fix regression in custom elements support. (<a href="https://github.com/jscissr"><code>@jscissr</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6570">#6570</a>)</li> <li>Stop incorrectly warning about using <code>onScroll</code> event handler with server rendering. (<a href="https://github.com/Aweary"><code>@Aweary</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6678">#6678</a>)</li> <li>Fix grammar in the controlled input warning. (<a href="https://github.com/jakeboone02"><code>@jakeboone02</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6657">#6657</a>)</li> <li>Fix issue preventing <code><object></code> nodes from being able to read <code><param></code> nodes in IE. (<a href="https://github.com/syranide"><code>@syranide</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6691">#6691</a>)</li> <li>Fix issue resulting in crash when using experimental error boundaries with server rendering. (<a href="https://github.com/jimfb"><code>@jimfb</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6694">#6694</a>)</li> <li>Add additional information to the controlled input warning. (<a href="https://github.com/borisyankov"><code>@borisyankov</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6341">#6341</a>)</li> </ul> <h3>React Perf Add-on</h3> <ul> <li>Completely rewritten to collect data more accurately and to be easier to maintain. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6647">#6647</a>, <a href="https://redirect.github.com/facebook/react/pull/6046">#6046</a>)</li> </ul> <h3>React Native Renderer</h3> <ul> <li>Remove some special cases for platform specific branching. (<a href="https://github.com/sebmarkbage"><code>@sebmarkbage</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6660">#6660</a>)</li> <li>Remove use of <code>merge</code> utility. (<a href="https://github.com/sebmarkbage"><code>@sebmarkbage</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6634">#6634</a>)</li> <li>Renamed some modules to better indicate usage (<a href="https://github.com/javache"><code>@javache</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6643">#6643</a>)</li> </ul> <h2>15.0.2 (April 29, 2016)</h2> <h3>React</h3> <ul> <li>Removed extraneous files from npm package. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6388">#6388</a>)</li> <li>Ensure <code>componentWillUnmount</code> is only called once. (<a href="https://github.com/jimfb"><code>@jimfb</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6613">#6613</a>)</li> </ul> <h3>ReactDOM</h3> <ul> <li>Fixed bug resulting in disabled buttons responding to mouse events in IE. (<a href="https://github.com/nhunzaker"><code>@nhunzaker</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6215">#6215</a>)</li> <li>Ensure <code><option></code>s are correctly selected when inside <code><optgroup></code>. (<a href="https://github.com/trevorsmith"><code>@trevorsmith</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6442">#6442</a>)</li> <li>Restore support for rendering into a shadow root. (<a href="https://github.com/Wildhoney"><code>@Wildhoney</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6462">#6462</a>)</li> <li>Ensure nested <code><body></code> elements are caught when warning for invalid markup. (<a href="https://github.com/keyanzhang"><code>@keyanzhang</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6469">#6469</a>)</li> <li>Improve warning when encountering multiple elements with the same key. (<a href="https://github.com/hkal"><code>@hkal</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6500">#6500</a>)</li> </ul> <h3>React TestUtils Add-on</h3> <ul> <li>Ensure that functional components do not have an owner. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6362">#6362</a>)</li> <li>Handle invalid arguments to <code>scryRenderedDOMComponentsWithClass</code> better. (<a href="https://github.com/ipeters90"><code>@ipeters90</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6529">#6529</a>)</li> </ul> <h3>React Perf Add-on</h3> <ul> <li>Ignore DOM operations that occur outside the batch operation. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://redirect.github.com/facebook/react/pull/6516">#6516</a>)</li> </ul> <h3>React Native Renderer</h3> <ul> <li>These files are now shipped inside the React npm package. They have no impact on React core or ReactDOM.</li> </ul> <h2>15.0.1 (April 8, 2016)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">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