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

@material-ui/styles

Package Overview
Dependencies
Maintainers
5
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-ui/styles - npm Package Compare versions

Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7

6

createGenerateClassName.js

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

return function (rule, styleSheet) {
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name) {
var isStatic = !styleSheet.options.link;
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name && isStatic) {
return "".concat(safePrefix(styleSheet.options.name), "-").concat(rule.key);

@@ -47,3 +49,3 @@ }

if (!styleSheet.options.link) {
if (isStatic) {
var themeHash = themeHashCache[styleSheet.options.theme];

@@ -50,0 +52,0 @@

@@ -27,3 +27,5 @@ import warning from 'warning';

return (rule, styleSheet) => {
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name) {
const isStatic = !styleSheet.options.link;
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name && isStatic) {
return `${safePrefix(styleSheet.options.name)}-${rule.key}`;

@@ -34,3 +36,3 @@ }

if (!styleSheet.options.link) {
if (isStatic) {
let themeHash = themeHashCache[styleSheet.options.theme];

@@ -37,0 +39,0 @@

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

/** @license Material-UI v3.0.0-alpha.6
/** @license Material-UI v3.0.0-alpha.7
*

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

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

/** @license Material-UI v3.0.0-alpha.6
/** @license Material-UI v3.0.0-alpha.7
*

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

@@ -5,3 +5,3 @@ {

"author": "Material-UI Team",
"version": "3.0.0-alpha.6",
"version": "3.0.0-alpha.7",
"description": "Material-UI Styles - The styling solution of Material-UI.",

@@ -30,3 +30,3 @@ "main": "./index.js",

"dependencies": {
"@babel/runtime": "7.2.0",
"@babel/runtime": "^7.2.0",
"@emotion/hash": "^0.7.1",

@@ -36,10 +36,10 @@ "@material-ui/utils": "^3.0.0-alpha.2",

"deepmerge": "^3.0.0",
"jss": "^10.0.0-alpha.3",
"jss-plugin-camel-case": "^10.0.0-alpha.3",
"jss-plugin-default-unit": "^10.0.0-alpha.3",
"jss-plugin-global": "^10.0.0-alpha.3",
"jss-plugin-nested": "^10.0.0-alpha.3",
"jss-plugin-props-sort": "^10.0.0-alpha.3",
"jss-plugin-rule-value-function": "^10.0.0-alpha.3",
"jss-plugin-vendor-prefixer": "^10.0.0-alpha.3",
"jss": "^10.0.0-alpha.7",
"jss-plugin-camel-case": "^10.0.0-alpha.7",
"jss-plugin-default-unit": "^10.0.0-alpha.7",
"jss-plugin-global": "^10.0.0-alpha.7",
"jss-plugin-nested": "^10.0.0-alpha.7",
"jss-plugin-props-sort": "^10.0.0-alpha.7",
"jss-plugin-rule-value-function": "^10.0.0-alpha.7",
"jss-plugin-vendor-prefixer": "^10.0.0-alpha.7",
"prop-types": "^15.6.0",

@@ -46,0 +46,0 @@ "warning": "^4.0.1"

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