@mui/utils
Advanced tools
Comparing version 6.0.0-alpha.8 to 6.0.0-alpha.9
@@ -27,7 +27,5 @@ // https://github.com/sindresorhus/is-plain-obj/blob/main/index.js | ||
Object.keys(source).forEach(key => { | ||
if (isPlainObject(source[key]) && | ||
// Avoid prototype pollution | ||
if (key === '__proto__') { | ||
return; | ||
} | ||
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) { | ||
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) { | ||
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type. | ||
@@ -34,0 +32,0 @@ output[key] = deepmerge(target[key], source[key], options); |
/** | ||
* @mui/utils v6.0.0-alpha.8 | ||
* @mui/utils v6.0.0-alpha.9 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -27,7 +27,5 @@ // https://github.com/sindresorhus/is-plain-obj/blob/main/index.js | ||
Object.keys(source).forEach(key => { | ||
if (isPlainObject(source[key]) && | ||
// Avoid prototype pollution | ||
if (key === '__proto__') { | ||
return; | ||
} | ||
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) { | ||
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) { | ||
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type. | ||
@@ -34,0 +32,0 @@ output[key] = deepmerge(target[key], source[key], options); |
/** | ||
* @mui/utils v6.0.0-alpha.8 | ||
* @mui/utils v6.0.0-alpha.9 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -34,7 +34,5 @@ "use strict"; | ||
Object.keys(source).forEach(key => { | ||
if (isPlainObject(source[key]) && | ||
// Avoid prototype pollution | ||
if (key === '__proto__') { | ||
return; | ||
} | ||
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) { | ||
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) { | ||
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type. | ||
@@ -41,0 +39,0 @@ output[key] = deepmerge(target[key], source[key], options); |
/** | ||
* @mui/utils v6.0.0-alpha.8 | ||
* @mui/utils v6.0.0-alpha.9 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "@mui/utils", | ||
"version": "6.0.0-alpha.8", | ||
"version": "6.0.0-alpha.9", | ||
"private": false, | ||
@@ -29,3 +29,3 @@ "author": "MUI Team", | ||
"dependencies": { | ||
"@babel/runtime": "^7.24.5", | ||
"@babel/runtime": "^7.24.6", | ||
"@types/prop-types": "^15.7.12", | ||
@@ -32,0 +32,0 @@ "prop-types": "^15.8.1", |
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
998653
4664
Updated@babel/runtime@^7.24.6