Socket
Socket
Sign inDemoInstall

@mui/system

Package Overview
Dependencies
Maintainers
10
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/system - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

0

Box/Box.spec.d.ts
export {};

6

createStyled.js

@@ -137,3 +137,7 @@ "use strict";

const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => {
return typeof stylesArg === 'function' ? _ref => {
// On the server emotion doesn't use React.forwardRef for creating components, so the created
// component stays as a function. This condition makes sure that we do not interpolate functions
// which are basically components used as a selectors.
// eslint-disable-next-line no-underscore-dangle
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => {
let {

@@ -140,0 +144,0 @@ theme: themeInput

@@ -0,0 +0,0 @@ export declare type SpacingOptions = number | Spacing | ((abs: number) => number | string) | ((abs: number | string) => number | string) | ReadonlyArray<string | number>;

@@ -0,0 +0,0 @@ declare type NestedRecord<V = any> = {

@@ -0,0 +0,0 @@ /// <reference types="react" />

export { default } from './createCssVarsProvider';
export type { BuildCssVarsTheme } from './createCssVarsProvider';

@@ -118,3 +118,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => {
return typeof stylesArg === 'function' ? _ref => {
// On the server emotion doesn't use React.forwardRef for creating components, so the created
// component stays as a function. This condition makes sure that we do not interpolate functions
// which are basically components used as a selectors.
// eslint-disable-next-line no-underscore-dangle
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => {
let {

@@ -121,0 +125,0 @@ theme: themeInput

2

index.js

@@ -1,2 +0,2 @@

/** @license MUI v5.0.5
/** @license MUI v5.0.6
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

export {};

@@ -121,3 +121,7 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

var expressionsWithDefaultTheme = expressions ? expressions.map(function (stylesArg) {
return typeof stylesArg === 'function' ? function (_ref) {
// On the server emotion doesn't use React.forwardRef for creating components, so the created
// component stays as a function. This condition makes sure that we do not interpolate functions
// which are basically components used as a selectors.
// eslint-disable-next-line no-underscore-dangle
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? function (_ref) {
var themeInput = _ref.theme,

@@ -124,0 +128,0 @@ other = _objectWithoutProperties(_ref, ["theme"]);

@@ -1,2 +0,2 @@

/** @license MUI v5.0.5
/** @license MUI v5.0.6
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -116,3 +116,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => {
return typeof stylesArg === 'function' ? _ref => {
// On the server emotion doesn't use React.forwardRef for creating components, so the created
// component stays as a function. This condition makes sure that we do not interpolate functions
// which are basically components used as a selectors.
// eslint-disable-next-line no-underscore-dangle
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => {
let {

@@ -119,0 +123,0 @@ theme: themeInput

@@ -1,2 +0,2 @@

/** @license MUI v5.0.5
/** @license MUI v5.0.6
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

{
"name": "@mui/system",
"version": "5.0.5",
"version": "5.0.6",
"private": false,

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

"@mui/private-theming": "^5.0.1",
"@mui/styled-engine": "^5.0.1",
"@mui/styled-engine": "^5.0.2",
"@mui/types": "^7.0.0",

@@ -51,0 +51,0 @@ "@mui/utils": "^5.0.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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