An in-range update of eslint-plugin-react is breaking the build π¨
The devDependency eslint-plugin-react was updated from 7.12.3 to 7.12.4.
π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Status Details
- β ci/circleci: Your tests failed on CircleCI (Details).
Release Notes for v7.12.4
Fixed
no-unused-prop-types: avoid a crash (#2131, @ljharb)prop-types: avoid further crashes from nonexistent nodes in unusedPropTypes (#2127, @ljharb)prop-types: Read name of callee object (#2125, @CrOrc)prop-types: Ignore reassignments when matching props declarations with components (#2051, #1957, @yannickcr)prop-types,no-unused-prop-types,require-default-props: Detect components with return statement in switch/case (#2118, @yannickcr)
Changed
Commits
The new version differs by 10 commits.
433cc3fUpdate CHANGELOG and bump version536bc35[Tests]prop-types: add case from #2134df7ffc1[Tests]no-typos: test case from #2136c7e5f38[Tests] improve version detection tests.2dd2277[Tests]prop-types: add now-passing test case84652b6[Fix]no-unused-prop-types: avoid a crash58ed9e9[Fix]prop-types: avoid further crashes from nonexistent nodes in unusedPropTypes7f7b96d[Fix]prop-types: Read name of callee object.5fc50aa[Fix] Ignore reassignments when matching props declarations with componentsba80a4c[Fix] Detect components with return statement in switch/case
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot :palm_tree:
After pinning to 7.12.3 your tests are passing again. Downgrade this dependency π.
- The
devDependencyeslint-plugin-react was updated from7.19.0to7.20.0.
Your tests are still failing with this version. Compare changes
Release Notes for v7.20.0
Added
- support eslint v7 (#2635 @ljharb, @toshi-toma)
forbid-component-props/forbid-dom-props: Allow a custom message with forbid props (#2615 @mtamhankar1)jsx-no-literals: addignorePropsoption to ignore props validation (#2146 @iiison)
Fixed
jsx-sort-props: only use localeCompare when case is ignored (#2556 @tanmoyopenroot)jsx-key: add a failing test case for optional chaining (#2610 @JonathanLee-LX)no-unused-state: handle optional chaining (#2588 @golopot)jsx-pascal-case: Do not consider namespaces when checking for DOM (#2638 @yacinehmito)jsx-curly-spacing,jsx-no-bind,usedPropTypesutil: avoid node.start and node.end (25b1936 @toshi-toma)jsx-no-target-blank: allowno-referrerwithoutnoopenerby default (#2043 @seancrater)button-has-type: improve message when non-static value is used (aecff62 @golopot)no-adjacent-inline-elements: prevent crash on nullish children (#2621 @Rogdham)prop-types: avoid crash when spreading any type (#2606 @golopot))require-render-return: add missing "a" (#2604 @leothorp)jsx-no-comment-textnodes: fix for@typescript-eslint/parser(#2601 @Axnyff)- [
displayName][]: avoid a crash when using React.memo (#2587 @golopot)
Docs
- Clean up examples in rule docs (#2546 @silvenon)
- [readme] Add Rules of Hooks to Other useful plugins section (#2633 @petetnt)
no-this-in-sfc: backtickthis(#2616 @mrflip)function-component-definition: Fix unnamedComponents option examples (#2608 @vkrol))
Changed
- [Deps] Move "semver" to devDependencies (#2595 @rajivshah3)
- [eslint] remove
operator-linebreakoverride (#2578 @golopot) - [Tests]
button-has-type: ensure no mistakenly allowed identifiers namedbutton/submit/reset(#2625 @golopot) - [Tests]
displayName: add a test case (#2593 @golopot) - [Dev Deps] update
@types/eslint,@types/estree,@types/node,@typescript-eslint/parser,coveralls,eslint-config-airbnb-base,eslint-plugin-import,typescript
Commits
The new version differs by 304 commits.
25bf6ccUpdate CHANGELOG and bump version2598b1e[Dev Deps] update@types/eslint,@types/estree,@types/node,@typescript-eslint/parser,coveralls,eslint-config-airbnb-base,eslint-plugin-import,typescriptf94d851[Fix]jsx-sort-props: only use localeCompare when case is ignoredc481a26[Docs] Clean up examples in rule docs88d404d[eslint] removeoperator-linebreakoverride304590aMerge pull request #2635 from ljharb/eslint735030a0[Tests] fix mistaken error property and add output property906b474[New] support eslint v7d66f467[Fix]jsx-key: add a failing test case for optional chainingda7a045[Fix]no-unused-state: handle optional chaining9861469[New]forbid-component-props/forbid-dom-props: Allow a custom message with forbid propsab28224[Fix]jsx-pascal-case: Do not consider namespaces when checking for DOM25b1936[Fix]jsx-curly-spacing,jsx-no-bind,usedPropTypesutil: avoid node.start and node.enddb4e471[readme] Add Rules of Hooks to Other useful plugins sectionb9d2eb5[Fix]jsx-no-target-blank: allowno-referrerwithoutnoopenerby default
There are 250 commits in total.
See the full diff