Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-plugin-react to ^7.33.2 #38117

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 23, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react ^7.32.2 -> ^7.33.2 age adoption passing confidence

Release Notes

jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.33.2

Compare Source

Fixed
  • [no-deprecated]: prevent false positive on commonjs import (#​3614 @​akulsr0)
  • [no-unsafe]: report on the method instead of the entire component (@​ljharb)
  • [no-deprecated]: report on the destructured property instead of the entire variable declarator (@​ljharb)
  • [no-deprecated]: report on the imported specifier instead of the entire import statement (@​ljharb)
  • [no-invalid-html-attribute]: report more granularly (@​ljharb)

v7.33.1

Compare Source

Fixed

v7.33.0

Compare Source

Added
Fixed
Changed

Configuration

📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Update of dependencies label Jul 23, 2023
@mui-bot
Copy link

mui-bot commented Jul 23, 2023

Netlify deploy preview

https://deploy-preview-38117--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against bb91b2f

@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from 43f6b21 to b7b8656 Compare July 26, 2023 10:15
@renovate renovate bot changed the title Bump eslint-plugin-react to ^7.33.0 Bump eslint-plugin-react to ^7.33.1 Jul 30, 2023
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from b7b8656 to 2cd6fc9 Compare July 30, 2023 01:32
@renovate renovate bot changed the title Bump eslint-plugin-react to ^7.33.1 Bump eslint-plugin-react to ^7.33.2 Aug 16, 2023
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from 2cd6fc9 to f00c315 Compare August 16, 2023 05:04
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 21, 2023
@renovate renovate bot force-pushed the renovate/eslint-plugin-react-7.x branch from f00c315 to b44e74b Compare August 21, 2023 09:35
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 21, 2023
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Sep 20, 2023
@michaldudak michaldudak force-pushed the renovate/eslint-plugin-react-7.x branch from 82a63c6 to 074783a Compare September 20, 2023 13:47
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Sep 20, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Sep 20, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@@ -85,6 +85,7 @@ export default function createMount(options: CreateMountOptions = {}) {

afterEach(() => {
ReactDOMTestUtils.act(() => {
// eslint-disable-next-line react/no-deprecated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't make it work. This could be caused by the lack of Enzyme support for React 18.

@michaldudak michaldudak force-pushed the renovate/eslint-plugin-react-7.x branch from 074783a to d9928d4 Compare September 21, 2023 09:22
@michaldudak michaldudak force-pushed the renovate/eslint-plugin-react-7.x branch from d9928d4 to d154127 Compare September 22, 2023 11:16
return () => {
ReactDOM.unmountComponentAtNode(viewerRoot);
clearTimeout(renderTimeout);
setTimeout(() => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React tree can't be synchronously unmounted during render, so I introduced setTimeout to run this code after React lifecycle completes. Taken from https://stackoverflow.com/questions/73459382/react-18-async-way-to-unmount-root#answer-74445760

@michaldudak michaldudak requested a review from Janpot September 22, 2023 11:47
@@ -26,6 +26,8 @@ describe('elementAcceptingRef', () => {
function testAct() {
checkPropType(element);
if (shouldMount) {
// TODO: replace with React 18 implementation after https://github.com/testing-library/react-testing-library/issues/1216 is closed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Purely out of curiosity, did you try it with testing-library/react-testing-library#1216 (comment)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it works with that version.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Sep 22, 2023
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Sep 22, 2023
@michaldudak michaldudak merged commit 375358b into master Sep 22, 2023
9 checks passed
@michaldudak michaldudak deleted the renovate/eslint-plugin-react-7.x branch September 22, 2023 19:33
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants