Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-plugin-react from 7.37.2 to 7.37.3 #176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2024

Bumps eslint-plugin-react from 7.37.2 to 7.37.3.

Release notes

Sourced from eslint-plugin-react's releases.

v7.37.3

Fixed

  • [no-danger]: avoid a crash on a nested component name (#3833[] @​ljharb)
  • [Fix] types: correct generated type declaration (#3840[] @​ocavue)
  • [no-unknown-property]: support precedence prop in react 19 (#3829[] @​acusti)
  • [prop-types]: props missing in validation when using generic types from a namespace import (#3859[] @​rbondoc96)

Changed

  • [Tests] [jsx-no-script-url]: Improve tests (#3849[] @​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)

#1000: jsx-eslint/eslint-plugin-react#1000 #1002: jsx-eslint/eslint-plugin-react#1002 #1005: jsx-eslint/eslint-plugin-react#1005 #100: jsx-eslint/eslint-plugin-react#100 #1010: jsx-eslint/eslint-plugin-react#1010 #1013: jsx-eslint/eslint-plugin-react#1013 #1022: jsx-eslint/eslint-plugin-react#1022 #1029: jsx-eslint/eslint-plugin-react#1029 #102: jsx-eslint/eslint-plugin-react#102 #1034: jsx-eslint/eslint-plugin-react#1034 #1038: jsx-eslint/eslint-plugin-react#1038 #1041: jsx-eslint/eslint-plugin-react#1041 #1043: jsx-eslint/eslint-plugin-react#1043 #1046: jsx-eslint/eslint-plugin-react#1046 #1047: jsx-eslint/eslint-plugin-react#1047 #1050: jsx-eslint/eslint-plugin-react#1050 #1053: jsx-eslint/eslint-plugin-react#1053 #1057: jsx-eslint/eslint-plugin-react#1057 #105: jsx-eslint/eslint-plugin-react#105 #1061: jsx-eslint/eslint-plugin-react#1061 #1062: jsx-eslint/eslint-plugin-react#1062 #1070: jsx-eslint/eslint-plugin-react#1070 #1071: jsx-eslint/eslint-plugin-react#1071 #1073: jsx-eslint/eslint-plugin-react#1073 #1076: jsx-eslint/eslint-plugin-react#1076 #1079: jsx-eslint/eslint-plugin-react#1079 #1088: jsx-eslint/eslint-plugin-react#1088 #1098: jsx-eslint/eslint-plugin-react#1098 #1101: jsx-eslint/eslint-plugin-react#1101 #1103: jsx-eslint/eslint-plugin-react#1103 #110: jsx-eslint/eslint-plugin-react#110 #1116: jsx-eslint/eslint-plugin-react#1116 #1117: jsx-eslint/eslint-plugin-react#1117 #1119: jsx-eslint/eslint-plugin-react#1119 #1121: jsx-eslint/eslint-plugin-react#1121 #1122: jsx-eslint/eslint-plugin-react#1122 #1123: jsx-eslint/eslint-plugin-react#1123 #1130: jsx-eslint/eslint-plugin-react#1130 #1131: jsx-eslint/eslint-plugin-react#1131

... (truncated)

Changelog

Sourced from eslint-plugin-react's changelog.

7.37.3 - 2024.12.23

Fixed

  • [no-danger]: avoid a crash on a nested component name (#3833[] @​ljharb)
  • [Fix] types: correct generated type declaration (#3840[] @​ocavue)
  • [no-unknown-property]: support precedence prop in react 19 (#3829[] @​acusti)
  • [prop-types]: props missing in validation when using generic types from a namespace import (#3859[] @​rbondoc96)

Changed

  • [Tests] [jsx-no-script-url]: Improve tests (#3849[] @​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)

#3859: jsx-eslint/eslint-plugin-react#3859 #3849: jsx-eslint/eslint-plugin-react#3849 #3841: jsx-eslint/eslint-plugin-react#3841 #3840: jsx-eslint/eslint-plugin-react#3840 #3833: jsx-eslint/eslint-plugin-react#3833 #3829: jsx-eslint/eslint-plugin-react#3829

Commits
  • 244743a Update CHANGELOG and bump version
  • bc5b9dd [actions] release workflow needs some new domains
  • ed3b1cf [Tests] jsx-uses-vars, jsx-uses-react: fix no-unused-vars tests in esli...
  • 033ad19 [Deps] update array.prototype.flatmap, es-iterator-helpers, `object.value...
  • b4a14f4 [meta] add directories.test
  • b713026 [Fix] prop-types: props missing in validation when using generic types from...
  • 66ae4c1 [Fix] no-unknown-property: support precedence prop in react 19
  • 233d442 [Dev Deps] update @babel/preset-react
  • 958954d [Docs] fix broken links:
  • 2c0b10c [Tests] pin `@typescript-eslint/parser to < 8.18, due to a breaking change
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Summary by Sourcery

Update eslint-plugin-react to v7.37.3.

Bug Fixes:

  • Fix a crash on nested component names in the no-danger rule.
  • Correct the generated type declaration.
  • Support the precedence prop in React 19 in the no-unknown-property rule.
  • Fix missing props in validation when using generic types from a namespace import in the prop-types rule.

Enhancements:

  • Improve tests for the jsx-no-script-url rule.
  • Fix broken links in documentation for several rules.

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.37.2 to 7.37.3.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.37.2...v7.37.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 30, 2024

The following labels could not be found: maint:dependency, type:maintenance.

@dependabot dependabot bot added the _bot [BOT only] Issue or PR made by a bot. label Dec 30, 2024
Copy link

sourcery-ai bot commented Dec 30, 2024

Reviewer's Guide by Sourcery

This PR bumps the version of eslint-plugin-react from 7.37.2 to 7.37.3. This addresses a number of fixes, changes, and documentation updates.

Class diagram showing eslint-plugin-react rule fixes

classDiagram
    class ESLintPluginReact {
        +version: 7.37.3
    }

    class Rules {
        +noDanger()
        +noUnknownProperty()
        +propTypes()
    }

    class Fixes {
        +avoidCrashOnNestedComponent
        +supportPrecedenceProp
        +fixGenericTypeValidation
    }

    ESLintPluginReact --> Rules
    Rules --> Fixes

    note for Rules "Fixed rules in v7.37.3"
    note for Fixes "Key bug fixes implemented"
Loading

File-Level Changes

Change Details Files
Update eslint-plugin-react dependency
  • The eslint-plugin-react dependency was updated from version 7.37.2 to 7.37.3 in package.json.
  • The package-lock.json file was updated to reflect the changes in package.json.
package.json
package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.80%. Comparing base (fbed63a) to head (7f1a2ea).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #176      +/-   ##
==========================================
- Coverage   56.66%   53.80%   -2.86%     
==========================================
  Files          18       18              
  Lines         210      210              
  Branches       50       50              
==========================================
- Hits          119      113       -6     
  Misses         91       91              
- Partials        0        6       +6     
Flag Coverage Δ
tests 53.80% <ø> (-2.86%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for upload-ui ready!

Name Link
🔨 Latest commit 7f1a2ea
🔍 Latest deploy log https://app.netlify.com/sites/upload-ui/deploys/67721f783fd33e0008fccd71
😎 Deploy Preview https://deploy-preview-176--upload-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_bot [BOT only] Issue or PR made by a bot.
Projects
Status: Automation
Development

Successfully merging this pull request may close these issues.

0 participants