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.8 to 6.0.0-alpha.9

6

deepmerge/deepmerge.js

@@ -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

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