@emotion/serialize
Advanced tools
Comparing version 1.1.1 to 1.1.2
export * from "./declarations/src/index"; | ||
//# sourceMappingURL=emotion-serialize.cjs.d.ts.map |
@@ -28,3 +28,3 @@ 'use strict'; | ||
var processStyleName = /* #__PURE__ */memoize__default['default'](function (styleName) { | ||
var processStyleName = /* #__PURE__ */memoize__default["default"](function (styleName) { | ||
return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase(); | ||
@@ -51,3 +51,3 @@ }); | ||
if (unitless__default['default'][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { | ||
if (unitless__default["default"][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { | ||
return value + 'px'; | ||
@@ -306,3 +306,3 @@ } | ||
var name = hashString__default['default'](styles) + identifierName; | ||
var name = hashString__default["default"](styles) + identifierName; | ||
@@ -309,0 +309,0 @@ if (process.env.NODE_ENV !== 'production') { |
@@ -26,3 +26,3 @@ 'use strict'; | ||
var processStyleName = /* #__PURE__ */memoize__default['default'](function (styleName) { | ||
var processStyleName = /* #__PURE__ */memoize__default["default"](function (styleName) { | ||
return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase(); | ||
@@ -49,3 +49,3 @@ }); | ||
if (unitless__default['default'][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { | ||
if (unitless__default["default"][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { | ||
return value + 'px'; | ||
@@ -228,3 +228,3 @@ } | ||
var name = hashString__default['default'](styles) + identifierName; | ||
var name = hashString__default["default"](styles) + identifierName; | ||
@@ -231,0 +231,0 @@ return { |
{ | ||
"name": "@emotion/serialize", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "serialization utils for emotion", | ||
@@ -17,6 +17,6 @@ "main": "dist/emotion-serialize.cjs.js", | ||
"dependencies": { | ||
"@emotion/hash": "^0.9.0", | ||
"@emotion/memoize": "^0.8.0", | ||
"@emotion/unitless": "^0.8.0", | ||
"@emotion/utils": "^1.2.0", | ||
"@emotion/hash": "^0.9.1", | ||
"@emotion/memoize": "^0.8.1", | ||
"@emotion/unitless": "^0.8.1", | ||
"@emotion/utils": "^1.2.1", | ||
"csstype": "^3.0.2" | ||
@@ -42,2 +42,3 @@ }, | ||
}, | ||
"import": "./dist/emotion-serialize.cjs.mjs", | ||
"default": "./dist/emotion-serialize.cjs.js" | ||
@@ -44,0 +45,0 @@ }, |
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
58546
18
1439
Updated@emotion/hash@^0.9.1
Updated@emotion/memoize@^0.8.1
Updated@emotion/unitless@^0.8.1
Updated@emotion/utils@^1.2.1