From ffcb0874070503e43616544d7b54e1305d944b5a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:02:06 +0100 Subject: [PATCH] Bump eslint-plugin-react-compiler to 0.0.0-experimental-fcabbc1-20241106 (#14425) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jose Quintas --- package.json | 2 +- .../src/context/ZoomProvider/ZoomProvider.tsx | 1 + .../useChartContainerDimensions.ts | 1 + .../x-charts/src/internals/useStringInterpolator.ts | 1 + pnpm-lock.yaml | 10 +++++----- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 551e65bd58fb..997864199192 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,7 @@ "eslint-plugin-mocha": "^10.5.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725", + "eslint-plugin-react-compiler": "19.0.0-beta-63b359f-20241101", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-testing-library": "^6.4.0", "fast-glob": "^3.3.2", diff --git a/packages/x-charts-pro/src/context/ZoomProvider/ZoomProvider.tsx b/packages/x-charts-pro/src/context/ZoomProvider/ZoomProvider.tsx index 02e64668e37f..cd8940001918 100644 --- a/packages/x-charts-pro/src/context/ZoomProvider/ZoomProvider.tsx +++ b/packages/x-charts-pro/src/context/ZoomProvider/ZoomProvider.tsx @@ -29,6 +29,7 @@ export function ZoomProvider({ children, xAxis, yAxis, zoom, onZoomChange }: Zoo const [zoomData, setZoomData] = useControlled({ controlled: zoom, + // eslint-disable-next-line react-compiler/react-compiler default: defaultZoomData.current, name: 'ZoomProvider', state: 'zoom', diff --git a/packages/x-charts/src/ResponsiveChartContainer/useChartContainerDimensions.ts b/packages/x-charts/src/ResponsiveChartContainer/useChartContainerDimensions.ts index 73eed0dd181b..a4c955a8da5c 100644 --- a/packages/x-charts/src/ResponsiveChartContainer/useChartContainerDimensions.ts +++ b/packages/x-charts/src/ResponsiveChartContainer/useChartContainerDimensions.ts @@ -1,4 +1,5 @@ 'use client'; +/* eslint-disable react-compiler/react-compiler */ import * as React from 'react'; import useEnhancedEffect from '@mui/utils/useEnhancedEffect'; import ownerWindow from '@mui/utils/ownerWindow'; diff --git a/packages/x-charts/src/internals/useStringInterpolator.ts b/packages/x-charts/src/internals/useStringInterpolator.ts index 2b0faa3cd851..6fc3159ce82f 100644 --- a/packages/x-charts/src/internals/useStringInterpolator.ts +++ b/packages/x-charts/src/internals/useStringInterpolator.ts @@ -1,3 +1,4 @@ +/* eslint-disable react-compiler/react-compiler */ import * as React from 'react'; import { interpolateString } from '@mui/x-charts-vendor/d3-interpolate'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5d9cf6d61616..ca0961d1a9a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -264,8 +264,8 @@ importers: specifier: ^7.37.2 version: 7.37.2(eslint@8.57.1) eslint-plugin-react-compiler: - specifier: 0.0.0-experimental-9ed098e-20240725 - version: 0.0.0-experimental-9ed098e-20240725(eslint@8.57.1) + specifier: 19.0.0-beta-63b359f-20241101 + version: 19.0.0-beta-63b359f-20241101(eslint@8.57.1) eslint-plugin-react-hooks: specifier: ^5.0.0 version: 5.0.0(eslint@8.57.1) @@ -5975,8 +5975,8 @@ packages: eslint-config-prettier: optional: true - eslint-plugin-react-compiler@0.0.0-experimental-9ed098e-20240725: - resolution: {integrity: sha512-Xv2iD8kU6R4Wdjdh1WhdP8UnSqSV+/XcadxwBCmMr836fQUoXGuw/uVGc01v9opZs9SwKzo+8My6ayVCgAinPA==} + eslint-plugin-react-compiler@19.0.0-beta-63b359f-20241101: + resolution: {integrity: sha512-b7edYKziu3EFUh9I2UirMnzlKT/80TS1i9pHHp5Rssv5HG74wPtxxdU13BN42hNFj2/Wnq4ToPjMVyuIFO5dhA==} engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} peerDependencies: eslint: '>=7' @@ -15277,7 +15277,7 @@ snapshots: '@types/eslint': 8.56.12 eslint-config-prettier: 9.1.0(eslint@8.57.1) - eslint-plugin-react-compiler@0.0.0-experimental-9ed098e-20240725(eslint@8.57.1): + eslint-plugin-react-compiler@19.0.0-beta-63b359f-20241101(eslint@8.57.1): dependencies: '@babel/core': 7.26.0 '@babel/parser': 7.26.1