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

@emotion/serialize

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/serialize - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

dist/emotion-serialize.cjs.d.mts

1

dist/emotion-serialize.cjs.d.ts
export * from "./declarations/src/index";
//# sourceMappingURL=emotion-serialize.cjs.d.ts.map

6

dist/emotion-serialize.cjs.dev.js

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

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