Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency eslint-plugin-react to v7.37.4 (#946)
This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [eslint-plugin-react](https://redirect.github.com/jsx-eslint/eslint-plugin-react) | devDependencies | minor | [`7.34.3` -> `7.37.4`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.34.3/7.37.4) | [](https://securityscorecards.dev/viewer/?uri=github.com/jsx-eslint/eslint-plugin-react) | | [eslint-plugin-react](https://redirect.github.com/jsx-eslint/eslint-plugin-react) | devDependencies | minor | [`7.33.2` -> `7.37.4`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.33.2/7.37.4) | [](https://securityscorecards.dev/viewer/?uri=github.com/jsx-eslint/eslint-plugin-react) | --- ### Release Notes <details> <summary>jsx-eslint/eslint-plugin-react (eslint-plugin-react)</summary> ### [`v7.37.4`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7374---20250112) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4) ##### Fixed - \[`no-unknown-property`]: support `onBeforeToggle`, `popoverTarget`, `popoverTargetAction` attributes ([#​3865][] [@​acusti](https://redirect.github.com/acusti)) - \[types] fix types of flat configs ([#​3874][] [@​ljharb](https://redirect.github.com/ljharb)) [7.37.4]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4 [#​3874]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3874 [#​3865]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3865 ### [`v7.37.3`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7373---20241223) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3) ##### Fixed - \[`no-danger`]: avoid a crash on a nested component name ([#​3833][] [@​ljharb](https://redirect.github.com/ljharb)) - \[Fix] types: correct generated type declaration ([#​3840][] [@​ocavue](https://redirect.github.com/ocavue)) - \[`no-unknown-property`]: support `precedence` prop in react 19 ([#​3829][] [@​acusti](https://redirect.github.com/acusti)) - \[`prop-types`]: props missing in validation when using generic types from a namespace import ([#​3859][] [@​rbondoc96](https://redirect.github.com/rbondoc96)) ##### Changed - \[Tests] \[`jsx-no-script-url`]: Improve tests ([#​3849][] [@​radu2147](https://redirect.github.com/radu2147)) - \[Docs] fix broken links: \[`default-props-match-prop-types`], \[`jsx-boolean-value`], \[`jsx-curly-brace-presence`], \[`jsx-no-bind`], \[`no-array-index-key`], \[`no-is-mounted`], \[`no-render-return-value`], \[`require-default-props`] ([#​3841][] [@​bastiendmt](https://redirect.github.com/bastiendmt)) [7.37.3]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3 [#​3859]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3859 [#​3849]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3849 [#​3841]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3841 [#​3840]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3840 [#​3833]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833 [#​3829]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3829 ### [`v7.37.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7372---20241022) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2) ##### Fixed - \[`destructuring-assignment`]: fix false negative when using `typeof props.a` ([#​3835][] [@​golopot](https://redirect.github.com/golopot)) ##### Changed - \[Refactor] \[`destructuring-assignment`]: use `getParentStatelessComponent` ([#​3835][] [@​golopot](https://redirect.github.com/golopot)) [7.37.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2 [#​3835]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3835 ### [`v7.37.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7371---20241001) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1) ##### Fixed - \[meta] do not npmignore `d.ts` files ([#​3836][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[readme] Fix shared settings link ([#​3834][] [@​MgenGlder](https://redirect.github.com/MgenGlder)) [7.37.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1 [#​3836]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3836 [#​3834]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3834 ### [`v7.37.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7370---20240926) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0) ##### Added - add type generation ([#​3830][] [@​voxpelli](https://redirect.github.com/voxpelli)) - \[`no-unescaped-entities`]: add suggestions ([#​3831][] [@​StyleShit](https://redirect.github.com/StyleShit)) - \[`forbid-component-props`]: add `allowedForPatterns`/`disallowedForPatterns` options ([#​3805][] [@​Efimenko](https://redirect.github.com/Efimenko)) - \[`no-unstable-nested-components`]: add `propNamePattern` to support custom render prop naming conventions ([#​3826][] [@​danreeves](https://redirect.github.com/danreeves)) ##### Changed - \[readme] flat config example for react 17+ ([#​3824][] [@​GabenGar](https://redirect.github.com/GabenGar)) [7.37.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0 [#​3831]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3831 [#​3830]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3830 [#​3826]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3826 [#​3824]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3824 [#​3805]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3805 ### [`v7.36.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7361---20240912) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1) ##### Fixed - \[`no-is-mounted`]: fix logic in method name check ([#​3821][] [@​Mathias-S](https://redirect.github.com/Mathias-S)) - \[`jsx-no-literals`]: Avoid crashing on valueless boolean props ([#​3823][] [@​reosarevok](https://redirect.github.com/reosarevok)) [7.36.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1 [#​3823]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3823 [#​3821]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3821 ### [`v7.36.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7360---20240912) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0) ##### Added - \[`no-string-refs`]: allow this.refs in > 18.3.0 ([#​3807][] [@​henryqdineen](https://redirect.github.com/henryqdineen)) - \[`jsx-no-literals`] Add `elementOverrides` option and the ability to ignore this rule on specific elements ([#​3812][] [@​Pearce-Ropion](https://redirect.github.com/Pearce-Ropion)) - \[`forward-ref-uses-ref`]: add rule for checking ref parameter is added (\[[#​3667](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3667)]\[] [@​NotWoods](https://redirect.github.com/NotWoods)) ##### Fixed - \[`function-component-definition`], \[`boolean-prop-naming`], \[`jsx-first-prop-new-line`], \[`jsx-props-no-multi-spaces`], `propTypes`: use type args ([#​3629][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - JSX pragma: fail gracefully ([#​3632][] [@​ljharb](https://redirect.github.com/ljharb)) - \[`jsx-props-no-spreading`]: add `explicitSpread` option to schema ([#​3799][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[Tests] add [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) v6 ([#​3629][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Tests] add [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) v7 and v8 ([#​3629][] [@​hampustagerud](https://redirect.github.com/hampustagerud)) - \[Docs] \[`no-danger`]: update broken link ([#​3817][] [@​lucasrmendonca](https://redirect.github.com/lucasrmendonca)) - \[types] add jsdoc type annotations ([#​3731][] [@​y-hsgw](https://redirect.github.com/y-hsgw)) - \[Tests] `button-has-type`: add test case with spread ([#​3731][] [@​y-hsgw](https://redirect.github.com/y-hsgw)) [7.36.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0 [#​3799]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799 [#​3632]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632 [#​3812]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3812 [#​3731]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3731 [#​3694]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3667 [#​3629]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3629 [#​3817]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3817 [#​3807]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3807 ### [`v7.35.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7352---20240903) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2) ##### Fixed - \[`jsx-curly-brace-presence`]: avoid autofixing attributes with double quotes to a double quoted attribute ([#​3814][] [@​ljharb](https://redirect.github.com/ljharb)) [7.35.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2 [#​3814]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3814 ### [`v7.35.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7351---20240902) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1) ##### Fixed - \[`jsx-curly-brace-presence`]: do not trigger on strings containing a quote character ([#​3798][] [@​akulsr0](https://redirect.github.com/akulsr0)) [7.35.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1 [#​3798]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3798 ### [`v7.35.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7350---20240719) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0) ##### Added - support eslint v9 ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - export flat configs from plugin root and fix flat config crash ([#​3694][] [@​bradzacher](https://redirect.github.com/bradzacher) [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - add \[`jsx-props-no-spread-multi`] ([#​3724][] [@​SimonSchick](https://redirect.github.com/SimonSchick)) - \[`forbid-component-props`]: add `propNamePattern` to allow / disallow prop name patterns ([#​3774][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`jsx-handler-names`]: support ignoring component names ([#​3772][] [@​akulsr0](https://redirect.github.com/akulsr0)) - version settings: Allow react defaultVersion to be configurable ([#​3771][] [@​onlywei](https://redirect.github.com/onlywei)) - \[`jsx-closing-tag-location`]: add `line-aligned` option ([#​3777] [@​kimtaejin3](https://redirect.github.com/kimtaejin3)) - \[`no-danger`]: add `customComponentNames` option ([#​3748][] [@​akulsr0](https://redirect.github.com/akulsr0)) ##### Fixed - \[`no-invalid-html-attribute`]: substitute placeholders in suggestion messages ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - \[`sort-prop-types`]: single line type ending without semicolon ([#​3784][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`require-default-props`]: report when required props have default value ([#​3785][] [@​akulsr0](https://redirect.github.com/akulsr0)) ##### Changed - \[Refactor] `variableUtil`: Avoid creating a single flat variable scope for each lookup ([#​3782][] [@​DanielRosenwasser](https://redirect.github.com/DanielRosenwasser)) [7.35.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0 [#​3785]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3785 [#​3784]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3784 [#​3782]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3782 [#​3777]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3777 [#​3774]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3774 [#​3772]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3772 [#​3771]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3771 [#​3759]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3759 [#​3748]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3748 [#​3724]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3724 [#​3694]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3694 ### [`v7.34.4`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7344---20240713) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4) ##### Fixed - \[`prop-types`]: fix `className` missing in prop validation false negative ([#​3749][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`sort-prop-types`]: Check for undefined before accessing `node.typeAnnotation.typeAnnotation` ([#​3779][] [@​tylerlaprade](https://redirect.github.com/tylerlaprade)) [7.34.4]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4 [#​3779]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3779 [#​3749]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3749 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Asia/Jerusalem, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDQuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>
- Loading branch information