Update npm dependencies to v5.20.2 - #890
Merged
Merged
Conversation
✅ Deploy Preview for ucmacm ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
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:
5.20.0→5.20.25.20.0→5.20.25.20.0→5.20.25.20.0→5.20.2Release Notes
Rel1cx/eslint-react (eslint-plugin-react-dom)
v5.20.2Compare Source
🐞 Fixes
react-domrules: polymorphic components written as member expressions (e.g.<motion.div as="button">) were mistaken for host elements, so the polymorphic prop was ignored and these rules skipped them entirely; they are now resolved through the polymorphic prop and checked like the underlying DOM element. String values of the polymorphic prop are also normalized to lowercase, soas="BUTTON"is treated asbutton. Affected rules:react-dom/no-missing-button-typereact-dom/no-missing-iframe-sandboxreact-dom/no-unsafe-iframe-sandboxreact-dom/no-unsafe-target-blankreact-dom/no-void-elements-with-children🏗️ Internal
polymorphicPropNamesetting type is corrected fromstring | nulltostring— it could never benullat runtime — and the unreachablenullbranch in the JSX element resolver used by thereact-domrules is removed.Full Changelog: Rel1cx/eslint-react@v5.20.1...v5.20.2
v5.20.1Compare Source
🐞 Fixes
react-dom/no-flush-sync:flushSynccalls are now detected by trackingreact-domimports directly instead of matching by name, so aliased named imports (e.g.import { flushSync as fs } from "react-dom") and default/namespace member calls (e.g.ReactDOM.flushSync()) are reported, while local functions, object methods, and same-named APIs from other packages (e.g. pino'sdestination().flushSync()) are no longer misreported. (#1954, closes #1943)🏗️ Internal
react-dom/no-flush-syncandreact-dom/no-find-dom-node: API call checks now usecore.isAPICall;core.isJsxLikenow usesisCreateElementCall.eslintto10.11.0,eslint-plugin-jsdocto64.5.4,eslint-plugin-package-jsonto1.9.0,typedoc-plugin-markdownto4.13.1,@types/nodeto26.6.2,pnpmto12.5.1, and the dprint JSON plugin to0.24.0.New Contributors
Full Changelog: Rel1cx/eslint-react@v5.20.0...v5.20.1
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.