dependabot[bot] opened a new pull request, #32464:
URL: https://github.com/apache/superset/pull/32464

   Bumps 
[eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)
 from 4.6.2 to 5.2.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>[email protected] (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 &quot;useState&quot; is called in function 
&quot;_Component&quot; 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.2.0 (July 1, 2016)</h2>
   <h3>React</h3>
   <ul>
   <li>Add error codes to production invariants, with links to the view the 
full error text. (<a 
href="https://github.com/keyanzhang";><code>@​keyanzhang</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6948";>#6948</a>)</li>
   <li>Include component stack information in PropType validation warnings. (<a 
href="https://github.com/troydemonbreun";><code>@​troydemonbreun</code></a> in 
<a href="https://redirect.github.com/facebook/react/pull/6398";>#6398</a>, <a 
href="https://github.com/sophiebits";><code>@​sophiebits</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6771";>#6771</a>)</li>
   <li>Include component stack information in key warnings. (<a 
href="https://github.com/keyanzhang";><code>@​keyanzhang</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6799";>#6799</a>)</li>
   <li>Stop validating props at mount time, only validate at element creation. 
(<a href="https://github.com/keyanzhang";><code>@​keyanzhang</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6824";>#6824</a>)</li>
   <li>New invariant providing actionable error in missing instance case. (<a 
href="https://github.com/yungsters";><code>@​yungsters</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6990";>#6990</a>)</li>
   <li>Add <code>React.PropTypes.symbol</code> to support ES2015 Symbols as 
props. (<a href="https://github.com/puradox";><code>@​puradox</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6377";>#6377</a>)</li>
   <li>Fix incorrect coercion of ref or key that are undefined in development 
(<a href="https://github.com/gaearon";><code>@​gaearon</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6880";>#6880</a>)</li>
   <li>Fix a false positive when passing other element’s props to cloneElement 
(<a href="https://github.com/ericmatthys";><code>@​ericmatthys</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6268";>#6268</a>)</li>
   <li>Warn if you attempt to define <code>childContextTypes</code> on a 
functional component (<a 
href="https://github.com/Aweary";><code>@​Aweary</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6933";>#6933</a>)</li>
   </ul>
   <h3>React DOM</h3>
   <ul>
   <li>Add warning for unknown properties on DOM elements. (<a 
href="https://github.com/jimfb";><code>@​jimfb</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6800";>#6800</a>, <a 
href="https://github.com/gm758";><code>@​gm758</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/7152";>#7152</a>)</li>
   <li>Properly remove attributes from custom elements. (<a 
href="https://github.com/grassator";><code>@​grassator</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6748";>#6748</a>)</li>
   <li>Fix invalid unicode escape in attribute name regular expression. (<a 
href="https://github.com/nbjahan";><code>@​nbjahan</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6772";>#6772</a>)</li>
   <li>Add <code>onLoad</code> handling to <code>&lt;link&gt;</code> element. 
(<a href="https://github.com/roderickhsiao";><code>@​roderickhsiao</code></a> in 
<a href="https://redirect.github.com/facebook/react/pull/6815";>#6815</a>)</li>
   <li>Add <code>onError</code> handling to <code>&lt;source&gt;</code> 
element. (<a href="https://github.com/wadahiro";><code>@​wadahiro</code></a> in 
<a href="https://redirect.github.com/facebook/react/pull/6941";>#6941</a>)</li>
   <li>Handle <code>value</code> and <code>defaultValue</code> more accurately 
in the DOM. (<a href="https://github.com/jimfb";><code>@​jimfb</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6406";>#6406</a>)</li>
   <li>Fix events issue in environments with mutated 
<code>Object.prototype</code>. (<a 
href="https://github.com/Weizenlol";><code>@​Weizenlol</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6886";>#6886</a>)</li>
   <li>Fix issue where <code>is=&quot;null&quot;</code> ended up in the DOM in 
Firefox. (<a href="https://github.com/darobin";><code>@​darobin</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6896";>#6896</a>)</li>
   <li>Improved performance of text escaping by using <a 
href="https://github.com/component/escape-html";>escape-html</a>. (<a 
href="https://github.com/aickin";><code>@​aickin</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6862";>#6862</a>)</li>
   <li>Fix issue with <code>dangerouslySetInnerHTML</code> and SVG in Internet 
Explorer. (<a href="https://github.com/joshhunt";><code>@​joshhunt</code></a> in 
<a href="https://redirect.github.com/facebook/react/pull/6982";>#6982</a>)</li>
   <li>Fix issue with <code>&lt;textarea&gt;</code> placeholders. (<a 
href="https://github.com/jimfb";><code>@​jimfb</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/7002";>#7002</a>)</li>
   <li>Fix controlled vs uncontrolled detection of <code>&lt;input 
type=&quot;radio&quot;/&gt;</code>. (<a 
href="https://github.com/jimfb";><code>@​jimfb</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/7003";>#7003</a>)</li>
   <li>Improve performance of updating text content. (<a 
href="https://github.com/trueadm";><code>@​trueadm</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/7005";>#7005</a>)</li>
   <li>Ensure controlled <code>&lt;select&gt;</code> components behave the same 
on initial render as they do on updates. (<a 
href="https://github.com/yiminghe";><code>@​yiminghe</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/5362";>#5362</a>)</li>
   </ul>
   <h3>React Perf Add-on</h3>
   <ul>
   <li>Add <code>isRunning()</code> API. (<a 
href="https://github.com/nfcampos";><code>@​nfcampos</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6763";>#6763</a>)</li>
   <li>Improve accuracy of lifecycle hook timing. (<a 
href="https://github.com/gaearon";><code>@​gaearon</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6858";>#6858</a>)</li>
   <li>Fix internal errors when using ReactPerf with portal components. (<a 
href="https://github.com/gaearon";><code>@​gaearon</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6860";>#6860</a>)</li>
   <li>Fix performance regression. (<a 
href="https://github.com/sophiebits";><code>@​sophiebits</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6770";>#6770</a>)</li>
   <li>Add warning that ReactPerf is not enabled in production. (<a 
href="https://github.com/sashashakun";><code>@​sashashakun</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6884";>#6884</a>)</li>
   </ul>
   <h3>React CSSTransitionGroup Add-on</h3>
   <ul>
   <li>Fix timing issue with <code>null</code> node. (<a 
href="https://github.com/keyanzhang";><code>@​keyanzhang</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6958";>#6958</a>)</li>
   </ul>
   <h3>React Native Renderer</h3>
   <ul>
   <li>Dependencies on React Native modules use CommonJS requires instead of 
providesModule. (<a 
href="https://github.com/davidaurelio";><code>@​davidaurelio</code></a> in <a 
href="https://redirect.github.com/facebook/react/pull/6715";>#6715</a>)</li>
   </ul>
   <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>
   <!-- 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 />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-hooks&package-manager=npm_and_yarn&previous-version=4.6.2&new-version=5.2.0)](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: [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]

Reply via email to