ollynevard / ollynevard.dev

The personal site of Olly Nevard. Built with Gatsby and hosted with Netlify.
https://ollynevard.dev
1 stars 0 forks source link

chore(deps-dev): bump eslint-plugin-react from 7.30.1 to 7.31.2 #481

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps eslint-plugin-react from 7.30.1 to 7.31.2.

Release notes

Sourced from eslint-plugin-react's releases.

v7.31.2

Fixed

  • [jsx-key]: avoid a crash with optional chaining (#3371[] @​ljharb)
  • [jsx-sort-props]: avoid a crash with spread props (#3376[] @​ljharb)
  • [no-unknown-property]: properly recognize valid data- and aria- attributes (#3377[] @​sjarva)
  • [no-unknown-property]: properly recognize unknown HTML/DOM attributes (#3377[] @​sjarva)

Changed

  • [Docs] [jsx-sort-props]: replace ref string with ref variable (#3375[] @​Luccasoli)
  • [Refactor] [no-unknown-property]: improve jsdoc; extract logic to separate functions (#3377[] @​sjarva)
  • [Refactor] [no-unknown-property]: update DOM properties to include also one word properties (#3377[] @​sjarva)

#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

... (truncated)

Changelog

Sourced from eslint-plugin-react's changelog.

7.31.2 - 2022.09.02

Fixed

  • [jsx-key]: avoid a crash with optional chaining (#3371[] @​ljharb)
  • [jsx-sort-props]: avoid a crash with spread props (#3376[] @​ljharb)
  • [no-unknown-property]: properly recognize valid data- and aria- attributes (#3377[] @​sjarva)
  • [no-unknown-property]: properly recognize unknown HTML/DOM attributes (#3377[] @​sjarva)

Changed

  • [Docs] [jsx-sort-props]: replace ref string with ref variable (#3375[] @​Luccasoli)
  • [Refactor] [no-unknown-property]: improve jsdoc; extract logic to separate functions (#3377[] @​sjarva)
  • [Refactor] [no-unknown-property]: update DOM properties to include also one word properties (#3377[] @​sjarva)

#3377: jsx-eslint/eslint-plugin-react#3377 #3376: jsx-eslint/eslint-plugin-react#3376 #3375: jsx-eslint/eslint-plugin-react#3375 #3371: jsx-eslint/eslint-plugin-react#3371

7.31.1 - 2022.08.26

Fixed

  • [jsx-key]: fix detecting missing key in Array.from's mapping function (#3369[] @​sjarva)
  • [jsx-no-leaked-render]: coerce strategy now allows a ternary (#3370[] @​sjarva)

#3370: jsx-eslint/eslint-plugin-react#3370 #3369: jsx-eslint/eslint-plugin-react#3369

[7.31.0] - 2022.08.24

Added

Fixed

  • [jsx-no-literals]: properly error on children with noAttributeStrings: true (#3317[] @​TildaDares)
  • [jsx-key]: catch key errors inside conditional statements (#3320[] @​TildaDares)
  • [display-name]: Accept forwardRef and Memo nesting in newer React versions (#3321[] @​TildaDares)
  • [jsx-key]: avoid a crash from optional chaining from #3320[] (#3327[] @​ljharb)
  • [jsx-key]: avoid a crash on a non-array node.body from #3320[] (#3328[] @​ljharb)
  • [display-name]: fix false positive for assignment of function returning null (#3331[] @​apbarrero)
  • [display-name]: fix identifying _ as a capital letter (#3335[] @​apbarrero)
  • [require-default-props]: avoid a crash when function has no props param (#3350[] @​noahnu)
  • [display-name], component detection: fix HOF returning null as Components (#3347[] @​jxm-math)
  • [forbid-prop-types]: Ignore objects that are not of type React.PropTypes (#3326[] @​TildaDares)
  • [display-name], component detection: fix false positive for HOF returning only nulls and literals (#3305[] @​golopot)
  • [jsx-no-target-blank]: False negative when rel attribute is assigned using ConditionalExpression (#3332[] @​V2dha)
  • [jsx-no-leaked-render]: autofix nested "&&" logical expressions (#3353[] @​hduprat)
  • [jsx-sort-props]: sorted attributes now respect comments (#3358[] @​ROSSROSALES)

... (truncated)

Commits
  • 512909b Update CHANGELOG and bump version
  • 24690a0 [Dev Deps] update markdown-magic
  • f54b391 [Fix] no-unknown-property: properly recognize unknown HTML/DOM attributes
  • d2dd7f0 [Refactor] no-unknown-property: update DOM properties to include also one w...
  • 84a9771 [Fix] no-unknown-property: properly recognize valid data- and aria- attributes
  • d6d84cc [Refactor] no-unknown-property: improve jsdoc; extract logic to separate fu...
  • d3aa050 [Fix] jsx-sort-props: avoid a crash with spread props
  • 3a237b0 [Refactor] jsx-sort-props: make the map to an object instead of an array
  • dc62a8c [Fix] jsx-sort-props: avoid a crash
  • 3d58253 [Docs] jsx-sort-propts: replace ref string with ref variable
  • 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 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)
dependabot[bot] commented 2 years ago

Superseded by #482.