@mui/utils
Advanced tools
Comparing version 6.0.0-alpha.8 to 6.0.0-dev.20240529-082515-213b5e33ab
@@ -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-dev.20240529-082515-213b5e33ab | ||
* | ||
@@ -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-dev.20240529-082515-213b5e33ab | ||
* | ||
@@ -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-dev.20240529-082515-213b5e33ab | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "@mui/utils", | ||
"version": "6.0.0-alpha.8", | ||
"version": "6.0.0-dev.20240529-082515-213b5e33ab", | ||
"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", |
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
993566
4664
+ Added@types/prop-types@15.7.12(transitive)
+ Added@types/react@18.3.5(transitive)
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@18.3.7(transitive)
Updated@babel/runtime@^7.24.6