fix(deps): update all dependencies#324
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
|
c6b5b19 to
194059d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.2.3→^5.0.0^1.4.6→^2.0.0^1.3.1→^2.0.02.0.8→2.0.102.0.8→2.0.102.0.8→2.0.102.0.8→2.0.10v6.3.0→v6.4.0v1.3.3→v1.3.457e3a1324.14.1→24.15.0^5.30.0→^6.0.04.13.0→4.14.1Release Notes
Rel1cx/eslint-react (@eslint-react/eslint-plugin)
v5.7.2Compare Source
🐞 Fixes
react-x/no-unused-state: Removed the rule from therecommendedpreset for now (#1747, #1748).📝 Documentation
🏗️ Internal
Full Changelog: Rel1cx/eslint-react@v5.7.1...v5.7.2
v5.7.1Compare Source
🐞 Fixes
allpreset: Fixed an issue where theallpreset accidentally included rules requiring type information (#1744).📝 Documentation
no-unused-staterule wording and examples.🏗️ Internal
nextand@rbxts/react.react-compiler-fixtures-all-preset.jsonlsnapshot generation.Full Changelog: Rel1cx/eslint-react@v5.7.0...v5.7.1
v5.7.0Compare Source
✨ New
react-x/no-unused-state: The rule re-added as a no-op inv5.6.6is now fully implemented. It detects state variables declared viauseState(or similar state hooks) that are defined but never read, or only read inside an effect or effect dependency array (#1741).📝 Documentation
no-unused-statemigration docs and removed rule reasons.Full Changelog: Rel1cx/eslint-react@v5.6.6...v5.7.0
v5.6.6Compare Source
✨ New
react-x/no-unused-state: Re-add thereact-x/no-unused-staterule that was removed in5.0.0as a no-op rule for detecting unused state in function components in a future release.Full Changelog: Rel1cx/eslint-react@v5.6.4...v5.6.6
v5.6.4Compare Source
✨ New
react-x/no-unused-class-component-members: Now flagsshouldComponentUpdatemethods defined in classes extendingPureComponentas unused, sincePureComponentimplements its ownshouldComponentUpdatewith shallow prop and state comparison (#1738).📝 Documentation
jsxpreset documentation to multiple rule docs.🏗️ Internal
ast: Added an optionalstoppredicate tofindParentutility for more control over ancestor traversal (#1736).skottwithsentruxfor architecture linting.Full Changelog: Rel1cx/eslint-react@v5.6.3-beta.0...v5.6.4
v5.6.2Compare Source
🐞 Fixes
react-x/use-memo: Fixed false positives inuseMemodependency analysis by using reference/definition analysis (#1735).📝 Documentation
custom-rules-of-staterecipe.noDirectAccessPropscustom rule example.🏗️ Internal
lucide-reactfrom 1.12.0 to 1.14.0.baseline-browser-mappingto 2.10.24.Full Changelog: Rel1cx/eslint-react@v5.6.0...v5.6.2
v5.6.0Compare Source
This release consolidates all changes since v4.2.1.
💥 Breaking Changes
Core API Refactoring (@eslint-react/core)
component/,function/,hook/,semantic/, andapi/into the root directory.isReactAPI→isAPIisReactAPICall→isAPICallisInitializedFromReact→isAPIFromReactisInitializedFromReactNative→isAPIFromReactNativeComponentDetectionHint→FunctionComponentDetectionHintComponentFlag→FunctionComponentFlaggetComponentCollector→getFunctionComponentCollectorgetComponentCollectorLegacy→getClassComponentCollectortype-is,type-name,type-variant) fromeslint-plugin-react-xto@eslint-react/core.Toolkitinterface in@eslint-react/kitto reflect the naming changes above.Kit API Simplification (@eslint-react/kit)
RuleToolkit.isAPI: Removed pre-built identifier predicates (memo,lazy,forwardRef, etc.) fromRuleToolkit.is. Only*Callvariants andAPI/APICallfactories are now available.initializedFromReact→APIFromReactinitializedFromReactNative→APIFromReactNativeis.memo(node),is.lazy(node), etc. must migrate tois.memoCall(node)or useis.API("memo")(node).Type Alias Removal
RuleDefinitiontype alias: TheRuleDefinitiontype has been completely removed from@eslint-react/kit. UseRuleFunctioninstead.Removed Rules
The following rules have been removed from
eslint-plugin-react-x,eslint-plugin-react-dom, andeslint-plugin-react-debug:component-hook-factoriesreact-xno-redundant-should-component-updatereact-xno-unnecessary-use-callbackreact-xno-unnecessary-use-memoreact-xno-unused-statereact-xprefer-destructuring-assignmentreact-xprefer-namespace-importreact-xprefer-namespace-importreact-domdebug/class-componentreact-debugClass Component Support Deprecation
isClassComponent,isPureComponent, and various lifecycle checkers) have been marked as@deprecated, retaining only minimal compatibility support for existing rules.eslint-plugin-react-web-api, includingno-leaked-event-listener,no-leaked-interval, andno-leaked-timeout, have removed detection for Class Component lifecycles (componentDidMount/componentWillUnmount) and now only report on Hook Effects (useEffect, etc.).✨ New
New Rules
react-x/globals: New rule for restricting usage of global variables in React components.react-x/static-components: New rule for enforcing static component definitions. Enhanced with variable reference tracking and acreatedHerediagnostic to reduce false positives.react-web-api/no-leaked-fetch: New rule that detects leakedfetchcalls in effects, closing #1714.Kit Enhancements
ast.findParentutility to@eslint-react/kitfor traversing AST ancestors.node:crypto randomBytes).Custom Rule Examples
🐞 Fixes
Rule Fixes
react-x/error-boundaries: Fixed false positives on non-React code and resolved catch block over-reporting.react-x/set-state-in-effect: Improved validation accuracy.react-x/use-memo: Added reassignment check, aligned message IDs, and added support forfor-of/for-inloops.Config Fixes
Type Expression Fixes
Extract.unwrapfor type expressions and chain expressions.🪄 Improvements
API & Refactoring
ast: Normalized API naming conventions and rewrote Check helpers.ast: RenamedisJSXLike→isJSXElementOrFragmentandisMethodOrProperty→isPropertyOrMethod.@eslint-react/eslintpackage.@eslint-react/jsxfrom@eslint-react/coreinto a standalone utility package for static analysis of JSX patterns.@and#path aliases and replacedtsxwithvite-node.lib.tsmodules across multiple plugins.RuleConfigwithLinter.RulesRecordfrom ESLint.Core & AST Improvements
ast: UpdatedFunctionInitPathtypes to support method definitions and property arrow functions in class expressions.ast/isNodeEqual: FixedJSXNamespacedNamecomparison logic.Rule Improvements
react-x/static-components: Registered inall,x, anddisable-experimentalconfigs.react-rsc/function-definition: Added directive position and quote checks.lib.tsfiles.Website & Documentation Improvements
/llms.txt,/llms-full.txt,/llms.mdx).Testing
Dependencies
@typescript-eslintpackages to 8.59.1.tsl-dx,tsdown,fumadocs,postcss,lucide-react,eslint-plugin-package-json, and other dependencies.📝 Documentation
no-set-state,no-string-refs).🏗️ Internal
build:pluginsscript and updated build path patterns.publishConfig.accessto packages and marked@local/effas private.major-release-checklist.md.scripts/prepare-release.tsand the accompanyingprepare:releasenpm script.Full Changelog: Rel1cx/eslint-react@v4.2.1...v5.6.0
web-infra-dev/rsbuild (@rsbuild/plugin-react)
v2.0.0Compare Source
💡 See Announcing Rsbuild 2.0 for more details
New Features 🎉
@rstest/adapter-rsbuildto reuse rsbuild's configuration by @9aoy in #6941performance.removeMomentLocaleoption by @chenjiahan in #6991?__inline=falsequery by @chenjiahan in #7057lib-axiossplit from default preset by @chenjiahan in #7079liveReload.htmloption to control HTML reload by @chenjiahan in #7144preview.setupMiddlewarestoserver.setupMiddlewaresby @chenjiahan in #7192server.setupconfig by @chenjiahan in #7197portin prod server API by @chenjiahan in #7209startDevServerby @chenjiahan in #7215httpServerfor prod server by @chenjiahan in #7216closemethod for prod server by @chenjiahan in #7217rsbuild.previewby @chenjiahan in #7219openandprintUrlsmethods to preview server by @chenjiahan in #7224extractoption by @zalishchuk in #7340createLoggerto create isolated logger instances by @chenjiahan in #7353detectSyntax: 'auto'in the default SWC loader config by @chenjiahan in #7410Performance 🚀
core-jsan optional peer dependency by @chenjiahan in #6960Bug Fixes 🐞
output.minifyhas a default value based on target by @chenjiahan in #6979source.defineby @chenjiahan in #6985import.meta.webpackHot.onby @chenjiahan in #7028lib-polyfillcache group by @chenjiahan in #7080bundlerwith rspack in bundlerChain config by @chenjiahan in #7143parallelLoaderconfig is no longer needed in Rspack v2 by @chenjiahan in #7166client.overlay.runtimeby environments by @chenjiahan in #7189dev.setupMiddlewaresin favor ofserver.setupby @chenjiahan in #7229dev.writeToDiskconfig correctly by @9aoy in #7273module.hotwith import.meta by @chenjiahan in #7276Refactor 🔨
@rsbuild/webpackpackage by @chenjiahan in #6896context.bundlerTypeno longer includeswebpackby @chenjiahan in #6897providerconfig by @chenjiahan in #6900source.aliasconfiguration by @chenjiahan in #6902source.aliasStrategyconfiguration by @chenjiahan in #6903performance.profileconfiguration by @chenjiahan in #6910performance.bundleAnalyzerconfiguration by @chenjiahan in #6911compilerparameter fromrsbuild.build()by @chenjiahan in #6912compilerparameter fromrsbuild.startDevServer()by @chenjiahan in #6913Configuration
📅 Schedule: (UTC)
* 0-3 1 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.