Socket
Socket
Sign inDemoInstall

@mui/utils

Package Overview
Dependencies
Maintainers
10
Versions
108
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-alpha.9 to 6.0.0-alpha.11

2

index.js
/**
* @mui/utils v6.0.0-alpha.9
* @mui/utils v6.0.0-alpha.11
*

@@ -4,0 +4,0 @@ * @license MIT

/**
* @mui/utils v6.0.0-alpha.9
* @mui/utils v6.0.0-alpha.11
*

@@ -4,0 +4,0 @@ * @license MIT

@@ -27,3 +27,5 @@ 'use client';

React.useEffect(() => {
if (!isControlled && defaultValue !== defaultProp) {
// Object.is() is not equivalent to the === operator.
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.
if (!isControlled && !Object.is(defaultValue, defaultProp)) {
console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\n'));

@@ -30,0 +32,0 @@ }

/**
* @mui/utils v6.0.0-alpha.9
* @mui/utils v6.0.0-alpha.11
*

@@ -4,0 +4,0 @@ * @license MIT

@@ -34,3 +34,5 @@ "use strict";

React.useEffect(() => {
if (!isControlled && defaultValue !== defaultProp) {
// Object.is() is not equivalent to the === operator.
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.
if (!isControlled && !Object.is(defaultValue, defaultProp)) {
console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\n'));

@@ -37,0 +39,0 @@ }

{
"name": "@mui/utils",
"version": "6.0.0-alpha.9",
"version": "6.0.0-alpha.11",
"private": false,

@@ -29,3 +29,3 @@ "author": "MUI Team",

"dependencies": {
"@babel/runtime": "^7.24.6",
"@babel/runtime": "^7.24.7",
"@types/prop-types": "^15.7.12",

@@ -32,0 +32,0 @@ "prop-types": "^15.8.1",

@@ -27,3 +27,5 @@ 'use client';

React.useEffect(() => {
if (!isControlled && defaultValue !== defaultProp) {
// Object.is() is not equivalent to the === operator.
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.
if (!isControlled && !Object.is(defaultValue, defaultProp)) {
console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\n'));

@@ -30,0 +32,0 @@ }

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