@mui/x-internals
Advanced tools
@@ -34,4 +34,7 @@ import useLazyRef from '@mui/utils/useLazyRef'; | ||
| const nextState = selector(state); | ||
| instance.effect(previousState, nextState); | ||
| previousState = nextState; | ||
| if (!Object.is(previousState, nextState)) { | ||
| const prev = previousState; | ||
| previousState = nextState; | ||
| instance.effect(prev, nextState); | ||
| } | ||
| }); | ||
@@ -38,0 +41,0 @@ }, |
+1
-1
| { | ||
| "name": "@mui/x-internals", | ||
| "version": "8.18.0", | ||
| "version": "8.19.0", | ||
| "author": "MUI Team", | ||
@@ -5,0 +5,0 @@ "description": "Utility functions for the MUI X packages (internal use only).", |
@@ -41,4 +41,7 @@ "use strict"; | ||
| const nextState = selector(state); | ||
| instance.effect(previousState, nextState); | ||
| previousState = nextState; | ||
| if (!Object.is(previousState, nextState)) { | ||
| const prev = previousState; | ||
| previousState = nextState; | ||
| instance.effect(prev, nextState); | ||
| } | ||
| })); | ||
@@ -45,0 +48,0 @@ }, |
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
664252
0.76%3532
0.17%