embedded-app-sdk
embedded-app-sdk copied to clipboard
chore(deps): update dependency eslint-plugin-react-hooks to v7
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| eslint-plugin-react-hooks (source) | ^5.0.0 -> ^7.0.0 |
Release Notes
facebook/react (eslint-plugin-react-hooks)
v7.0.1
- Disallowed passing inline
useEffectEventvalues as JSX props to guard against accidental propagation. (#​34820 by @​jf-eirinha) - Switch to
export =so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects. (#​34949 by @​karlhorky) - Tightened the typing of
configs.flatso theconfigsexport is always defined. (#​34950 by @​poteto) - Fix named import runtime errors. (#​34951, #​34953 by @​karlhorky)
v7.0.0
This release slims down presets to just 2 configurations (recommended and recommended-latest), and all compiler rules are enabled by default.
- Breaking: Removed
recommended-latest-legacyandflat/recommendedconfigs. The plugin now providesrecommended(legacy and flat configs with all recommended rules), andrecommended-latest(legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@​poteto in #​34757)
v6.1.1
Note: 6.1.0 accidentally allowed use of recommended without flat config, causing errors when used with ESLint v9's defineConfig() helper. This has been fixed in 6.1.1.
- Fix
recommendedconfig for flat config compatibility. Therecommendedconfig has been converted to flat config format. Non-flat config users should userecommended-legacyinstead. (@​poteto in #​34700) - Add
recommended-latestandrecommended-latest-legacyconfigs that include React Compiler rules. (@​poteto in #​34675) - Remove unused
NoUnusedOptOutDirectivesrule. (@​poteto in #​34703) - Remove
hermes-parserand dependency. (@​poteto in #​34719) - Remove
@babel/plugin-proposal-private-methodsdependency. (@​ArnaudBarre and @​josephsavona in #​34715) - Update for Zod v3/v4 compatibility. (@​kolian and @​josephsavona in #​34717)
v6.1.0
Note: Version 6.0.0 was mistakenly released and immediately deprecated and untagged on npm. This is the first official 6.x major release and includes breaking changes.
- Breaking: Require Node.js 18 or newer. (@​michaelfaith in #​32458)
- Breaking: Flat config is now the default
recommendedpreset. Legacy config moved torecommended-legacy. (@​michaelfaith in #​32457) - New Violations: Disallow calling
usewithin try/catch blocks. (@​poteto in #​34040) - New Violations: Disallow calling
useEffectEventfunctions in arbitrary closures. (@​jbrown215 in #​33544) - Handle
React.useEffectin addition touseEffectin rules-of-hooks. (@​Ayc0 in #​34076) - Added
react-hookssettings config option that to acceptadditionalEffectHooksthat are used across exhaustive-deps and rules-of-hooks rules. (@​jbrown215) in #​34497
v6.0.0
Accidentally released. See 6.1.0 for the actual changes.
v5.2.0
- Support flat config (@​michaelfaith in #​30774)
- Convert the plugin to TypeScript and provide package type declarations (@​michaelfaith in #​32279, #​32283, #​32240, #​32400 and @​poteto in #​32420)
- Fix false positive error in components with
do/whileloops (@​tyxla in #​31720) - Detect issues in class properties (@​mjesun & @​ecraig12345 in #​31823)
v5.1.0
- Add support for
do/whileloops (@​tyxla in #​28714) - Fix error when callback argument is an identifier with an
asexpression (@​mskelton in #​31119)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.