Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@mui/x-internals

Package Overview
Dependencies
Maintainers
16
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/x-internals - npm Package Compare versions

Comparing version
8.21.0
to
8.22.0
+4
-0
esm/store/Store.d.ts

@@ -9,2 +9,6 @@ type Listener<T> = (value: T) => void;

subscribe: (fn: Listener<State>) => () => void;
/**
* Returns the current state snapshot. Meant for usage with `useSyncExternalStore`.
* If you want to access the state, use the `state` property instead.
*/
getSnapshot: () => State;

@@ -11,0 +15,0 @@ setState(newState: State): void;

@@ -24,2 +24,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

};
/**
* Returns the current state snapshot. Meant for usage with `useSyncExternalStore`.
* If you want to access the state, use the `state` property instead.
*/
getSnapshot = () => {

@@ -26,0 +31,0 @@ return this.state;

+1
-1
{
"name": "@mui/x-internals",
"version": "8.21.0",
"version": "8.22.0",
"author": "MUI Team",

@@ -5,0 +5,0 @@ "description": "Utility functions for the MUI X packages (internal use only).",

@@ -9,2 +9,6 @@ type Listener<T> = (value: T) => void;

subscribe: (fn: Listener<State>) => () => void;
/**
* Returns the current state snapshot. Meant for usage with `useSyncExternalStore`.
* If you want to access the state, use the `state` property instead.
*/
getSnapshot: () => State;

@@ -11,0 +15,0 @@ setState(newState: State): void;

@@ -31,2 +31,7 @@ "use strict";

};
/**
* Returns the current state snapshot. Meant for usage with `useSyncExternalStore`.
* If you want to access the state, use the `state` property instead.
*/
getSnapshot = () => {

@@ -33,0 +38,0 @@ return this.state;

Sorry, the diff of this file is too big to display