@mui/utils
Advanced tools
Comparing version 6.0.0-beta.3 to 6.0.0-beta.4
'use client'; | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored | ||
/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */ | ||
@@ -4,0 +5,0 @@ import * as React from 'react'; |
@@ -20,4 +20,5 @@ 'use client'; | ||
}; | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal | ||
// eslint-disable-next-line react-hooks/exhaustive-deps | ||
}, refs); | ||
} |
@@ -34,4 +34,5 @@ 'use client'; | ||
} | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler | ||
// eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime. | ||
return useGlobalId(idOverride); | ||
} |
@@ -10,2 +10,3 @@ 'use client'; | ||
export default function useOnMount(fn) { | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array | ||
/* eslint-disable react-hooks/exhaustive-deps */ | ||
@@ -12,0 +13,0 @@ React.useEffect(fn, EMPTY); |
/** | ||
* @mui/utils v6.0.0-beta.3 | ||
* @mui/utils v6.0.0-beta.4 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
/** | ||
* @mui/utils v6.0.0-beta.3 | ||
* @mui/utils v6.0.0-beta.4 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
'use client'; | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored | ||
/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */ | ||
@@ -4,0 +5,0 @@ import * as React from 'react'; |
@@ -20,4 +20,5 @@ 'use client'; | ||
}; | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal | ||
// eslint-disable-next-line react-hooks/exhaustive-deps | ||
}, refs); | ||
} |
@@ -34,4 +34,5 @@ 'use client'; | ||
} | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler | ||
// eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime. | ||
return useGlobalId(idOverride); | ||
} |
@@ -10,2 +10,3 @@ 'use client'; | ||
export default function useOnMount(fn) { | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array | ||
/* eslint-disable react-hooks/exhaustive-deps */ | ||
@@ -12,0 +13,0 @@ React.useEffect(fn, EMPTY); |
{ | ||
"name": "@mui/utils", | ||
"version": "6.0.0-beta.3", | ||
"version": "6.0.0-beta.4", | ||
"private": false, | ||
@@ -29,3 +29,3 @@ "author": "MUI Team", | ||
"dependencies": { | ||
"@babel/runtime": "^7.24.8", | ||
"@babel/runtime": "^7.25.0", | ||
"@types/prop-types": "^15.7.12", | ||
@@ -32,0 +32,0 @@ "clsx": "^2.1.1", |
"use strict"; | ||
'use client'; | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored | ||
/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */ | ||
@@ -5,0 +6,0 @@ Object.defineProperty(exports, "__esModule", { |
@@ -28,4 +28,5 @@ "use strict"; | ||
}; | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal | ||
// eslint-disable-next-line react-hooks/exhaustive-deps | ||
}, refs); | ||
} |
@@ -41,4 +41,5 @@ "use strict"; | ||
} | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler | ||
// eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime. | ||
return useGlobalId(idOverride); | ||
} |
@@ -17,2 +17,3 @@ "use strict"; | ||
function useOnMount(fn) { | ||
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array | ||
/* eslint-disable react-hooks/exhaustive-deps */ | ||
@@ -19,0 +20,0 @@ React.useEffect(fn, EMPTY); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1054084
4918
Updated@babel/runtime@^7.25.0