Socket
Socket
Sign inDemoInstall

@emotion/utils

Package Overview
Dependencies
0
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

dist/emotion-utils.cjs.d.mts

2

dist/emotion-utils.browser.esm.js

@@ -37,3 +37,3 @@ var isBrowser = "object" !== 'undefined';

do {
var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);

@@ -40,0 +40,0 @@ current = current.next;

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

@@ -24,3 +24,3 @@ function getRegisteredStyles(registered, registeredStyles, classNames) {

// also, note that this check will be dead code eliminated in the browser
cache.compat !== undefined) && cache.registered[className] === undefined) {
cache.compat !== undefined) && cache.registered[className] === undefined) {
cache.registered[className] = serialized.styles;

@@ -40,3 +40,3 @@ }

if ( maybeStyles !== undefined) {
if (maybeStyles !== undefined) {
stylesForSSR += maybeStyles;

@@ -48,3 +48,3 @@ }

if ( stylesForSSR.length !== 0) {
if (stylesForSSR.length !== 0) {
return stylesForSSR;

@@ -51,0 +51,0 @@ }

{
"name": "@emotion/utils",
"version": "1.2.0",
"version": "1.2.1",
"description": "internal utils for emotion",

@@ -17,2 +17,3 @@ "main": "dist/emotion-utils.cjs.js",

},
"import": "./dist/emotion-utils.cjs.mjs",
"default": "./dist/emotion-utils.cjs.js"

@@ -19,0 +20,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc