Socket
Socket
Sign inDemoInstall

@mui/utils

Package Overview
Dependencies
Maintainers
11
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/utils - npm Package Compare versions

Comparing version 6.0.0-beta.3 to 6.0.0-beta.4

1

esm/useControlled/useControlled.js
'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);

2

index.js
/**
* @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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc