Socket
Socket
Sign inDemoInstall

@emotion/cache

Package Overview
Dependencies
5
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.10.5 to 11.10.7

4

dist/emotion-cache.browser.esm.js

@@ -142,3 +142,3 @@ import { StyleSheet } from '@emotion/sheet';

if (unsafePseudoClasses) {
var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
//

@@ -159,3 +159,3 @@ // considering this input:

var commentContainer = isNested ? children[0].children : // global rule at the root level
var commentContainer = isNested ? element.parent.children : // global rule at the root level
children;

@@ -162,0 +162,0 @@

@@ -151,3 +151,3 @@ 'use strict';

if (unsafePseudoClasses) {
var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
//

@@ -168,3 +168,3 @@ // considering this input:

var commentContainer = isNested ? children[0].children : // global rule at the root level
var commentContainer = isNested ? element.parent.children : // global rule at the root level
children;

@@ -171,0 +171,0 @@

@@ -142,3 +142,3 @@ import { StyleSheet } from '@emotion/sheet';

if (unsafePseudoClasses) {
var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
//

@@ -159,3 +159,3 @@ // considering this input:

var commentContainer = isNested ? children[0].children : // global rule at the root level
var commentContainer = isNested ? element.parent.children : // global rule at the root level
children;

@@ -162,0 +162,0 @@

@@ -142,3 +142,3 @@ import { StyleSheet } from '@emotion/sheet';

if (unsafePseudoClasses) {
var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
//

@@ -159,3 +159,3 @@ // considering this input:

var commentContainer = isNested ? children[0].children : // global rule at the root level
var commentContainer = isNested ? element.parent.children : // global rule at the root level
children;

@@ -162,0 +162,0 @@

{
"name": "@emotion/cache",
"version": "11.10.5",
"version": "11.10.7",
"description": "emotion's cache",

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

@@ -168,4 +168,4 @@ import {

if (unsafePseudoClasses) {
const isNested = element.parent === children[0]
// in nested rules comments become children of the "auto-inserted" rule
const isNested = !!element.parent
// in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
//

@@ -186,3 +186,3 @@ // considering this input:

const commentContainer = isNested
? children[0].children
? element.parent.children
: // global rule at the root level

@@ -189,0 +189,0 @@ children

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