dependabot[bot] opened a new pull request, #36476: URL: https://github.com/apache/superset/pull/36476
Bumps [eslint-plugin-react-prefer-function-component](https://github.com/tatethurston/eslint-plugin-react-prefer-function-component) from 3.4.0 to 5.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/releases">eslint-plugin-react-prefer-function-component's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <ul> <li><code>allowComponentDidCatch</code> has been replaced with <code>allowErrorBoundary</code>. Like <code>allowComponentDidCatch</code>, <code>allowErrorBoundary</code> defaults to true, but <code>allowErrorBoundary</code> allows class components that use <code>componentDidCatch</code> and/or <code>getDerivedStateFromError</code>. No change is required if you're using the defaults for this lint rule. If you've disabled <code>allowComponentDidCatch</code>, you'll need to make the following change:</li> </ul> <pre lang="diff"><code> rules: { "react-prefer-function-component/react-prefer-function-component": [ "error", - { allowComponentDidCatch: false }, + { allowErrorBoundary: false }, ], }, </code></pre> <p>See <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/29">#29</a>, thanks <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a>!</p> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a> made their first contribution in <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/29">tatethurston/eslint-plugin-react-prefer-function-component#29</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v4.0.1...v5.0.0">https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v4.0.1...v5.0.0</a></p> <h2>v4.0.1</h2> <h2>What's Changed</h2> <ul> <li>Add missing <code>react-</code> prefix by <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a> in <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/23">tatethurston/eslint-plugin-react-prefer-function-component#23</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v4.0.0...v4.0.1">https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v4.0.0...v4.0.1</a></p> <h2>v4.0.0</h2> <h2>What's Changed</h2> <ul> <li>Add <code>react-</code> prefix to the flat configuration rule name. When using ESLint's flat configuration, the exported configuration from this package now "react-prefer-function-component". Previously it was "prefer-function-component". Practically speaking, no changes are expected from consumers of this package.</li> </ul> <p>Action would only be necessary if there is an existing plugin in your ESLint configuration using the "react-prefer-function-component" name, or if you're programmatically processing your ESLint configuration and expecting to find "prefer-function-component".</p> <p>See <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/20">#20</a>. Thanks <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a>!</p> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a> made their first contribution in <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/20">tatethurston/eslint-plugin-react-prefer-function-component#20</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.4.0...v4.0.0">https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.4.0...v4.0.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/blob/main/CHANGELOG.md">eslint-plugin-react-prefer-function-component's changelog</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <ul> <li><code>allowComponentDidCatch</code> has been replaced with <code>allowErrorBoundary</code>. Like <code>allowComponentDidCatch</code>, <code>allowErrorBoundary</code> defaults to true, but <code>allowErrorBoundary</code> allows class components that use <code>componentDidCatch</code> and/or <code>getDerivedStateFromError</code>. No change is required if you're using the defaults for this lint rule. If you've disabled <code>allowComponentDidCatch</code>, you'll need to make the following change:</li> </ul> <pre lang="diff"><code> rules: { "react-prefer-function-component/react-prefer-function-component": [ "error", - { allowComponentDidCatch: false }, + { allowErrorBoundary: false }, ], }, </code></pre> <p>See <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/29">#29</a>, thanks <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a>!</p> <h2>v4.0.1</h2> <ul> <li>Fix flat config issue. See <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/23">#23</a>. Thanks <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a>!</li> </ul> <h2>v4.0.0</h2> <ul> <li>Add <code>react-</code> prefix to the flat configuration rule name. When using ESLint's flat configuration, the exported configuration from this package now "react-prefer-function-component". Previously it was "prefer-function-component". Practically speaking, no changes are expected from consumers of this package.</li> </ul> <p>Action would only be necessary if there is an existing plugin in your ESLint configuration using the "react-prefer-function-component" name, or if you're programmatically processing your ESLint configuration and expecting to find "prefer-function-component".</p> <p>See <a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/pull/20">#20</a>. Thanks <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a>!</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/d688c9ffdd117326657e2974bfc35acc6129d05b"><code>d688c9f</code></a> v5.0.0 (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/30">#30</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/fb0ca6396fc0f8703d628b968c34426ce8fddd1a"><code>fb0ca63</code></a> add allowErrorBoundary option (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/29">#29</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/c9d5d7958ba0756e5fabd089371f2d1c0958422d"><code>c9d5d79</code></a> jest to vitest (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/28">#28</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/3d1bf861ad153a714522eb320402a9c9ac50910a"><code>3d1bf86</code></a> use jest instead of ci test (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/27">#27</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/59c3bdc6c07c400ec46324d3c94407012b872200"><code>59c3bdc</code></a> v4.0.1 (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/26">#26</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/e65ce419b2923d11a17ee66b3fbf9c68a55b906e"><code>e65ce41</code></a> add e2e tests (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/25">#25</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/1521e1ab3dadaab01681c9a8592c015ca956205d"><code>1521e1a</code></a> Add missing <code>react-</code> prefix (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/23">#23</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/5c2f5c80a5995206b105d588dcda4dfe9828b0a4"><code>5c2f5c8</code></a> use codecov action (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/24">#24</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/96f54199769ab942435acca6f9084a4536cf841a"><code>96f5419</code></a> v4 (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/22">#22</a>)</li> <li><a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/commit/35c9afceed3a9ec4ea37143f4c7b73d2d88a3430"><code>35c9afc</code></a> dependency updates and type fixes (<a href="https://redirect.github.com/tatethurston/eslint-plugin-react-prefer-function-component/issues/21">#21</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tatethurston/eslint-plugin-react-prefer-function-component/compare/v3.4.0...v5.0.0">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: [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]
