Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mui/private-theming

Package Overview
Dependencies
Maintainers
11
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/private-theming - npm Package Compare versions

Comparing version 6.0.0-dev.20240529-082515-213b5e33ab to 6.0.0-rc.0

2

index.js
/**
* @mui/private-theming v6.0.0-dev.20240529-082515-213b5e33ab
* @mui/private-theming v6.0.0-rc.0
*

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

/**
* @mui/private-theming v6.0.0-dev.20240529-082515-213b5e33ab
* @mui/private-theming v6.0.0-rc.0
*

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

@@ -43,3 +43,5 @@ import * as React from 'react';

const theme = React.useMemo(() => {
const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
const output = outerTheme === null ? {
...localTheme
} : mergeOuterLocalTheme(outerTheme, localTheme);
if (output != null) {

@@ -46,0 +48,0 @@ output[nested] = outerTheme !== null;

@@ -6,3 +6,4 @@ import * as React from 'react';

if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line react-hooks/rules-of-hooks
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
React.useDebugValue(theme);

@@ -9,0 +10,0 @@ }

/**
* @mui/private-theming v6.0.0-dev.20240529-082515-213b5e33ab
* @mui/private-theming v6.0.0-rc.0
*

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

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

const theme = React.useMemo(() => {
const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
const output = outerTheme === null ? {
...localTheme
} : mergeOuterLocalTheme(outerTheme, localTheme);
if (output != null) {

@@ -54,0 +56,0 @@ output[_nested.default] = outerTheme !== null;

@@ -15,3 +15,4 @@ "use strict";

if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line react-hooks/rules-of-hooks
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
React.useDebugValue(theme);

@@ -18,0 +19,0 @@ }

{
"name": "@mui/private-theming",
"version": "6.0.0-dev.20240529-082515-213b5e33ab",
"version": "6.0.0-rc.0",
"private": false,

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

"dependencies": {
"@babel/runtime": "^7.24.6",
"@babel/runtime": "^7.25.0",
"prop-types": "^15.8.1",
"@mui/utils": "^6.0.0-dev.20240529-082515-213b5e33ab"
"@mui/utils": "6.0.0-rc.0"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0",
"react": "^17.0.0 || ^18.0.0"
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},

@@ -49,3 +49,3 @@ "peerDependenciesMeta": {

"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},

@@ -52,0 +52,0 @@ "module": "./index.js",

@@ -43,3 +43,5 @@ import * as React from 'react';

const theme = React.useMemo(() => {
const output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);
const output = outerTheme === null ? {
...localTheme
} : mergeOuterLocalTheme(outerTheme, localTheme);
if (output != null) {

@@ -46,0 +48,0 @@ output[nested] = outerTheme !== null;

@@ -6,3 +6,4 @@ import * as React from 'react';

if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line react-hooks/rules-of-hooks
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
React.useDebugValue(theme);

@@ -9,0 +10,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