Socket
Socket
Sign inDemoInstall

@emotion/serialize

Package Overview
Dependencies
Maintainers
2
Versions
66
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 0.2.1 to 0.4.1

4

dist/index.cjs.js

@@ -82,2 +82,6 @@ 'use strict';

var serializeStyles = function serializeStyles(args) {
if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].cls !== undefined) {
return args[0];
}
var styles = '';

@@ -84,0 +88,0 @@ var identifierName = '';

@@ -78,2 +78,6 @@ import { hashString, memoize, unitless } from 'emotion-utils';

var serializeStyles = function serializeStyles(args) {
if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].cls !== undefined) {
return args[0];
}
var styles = '';

@@ -80,0 +84,0 @@ var identifierName = '';

2

package.json
{
"name": "@emotion/serialize",
"version": "0.2.1",
"version": "0.4.1",
"description": "serialization utils for emotion",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

@@ -88,2 +88,10 @@ // @flow

): ScopedInsertableStyles {
if (
args.length === 1 &&
typeof args[0] === 'object' &&
args[0] !== null &&
args[0].cls !== undefined
) {
return args[0]
}
let styles = ''

@@ -90,0 +98,0 @@ let identifierName = ''

Sorry, the diff of this file is not supported yet

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