Socket
Socket
Sign inDemoInstall

@emotion/snapshot-serializer

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/snapshot-serializer - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

dist/snapshot-serializer.cjs.js

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

function test(val) {
return val && !val.withEmotionNextStyles && isReactElement(val) || isDOMElement(val);
return val && !val.withEmotionNextStyles && (isReactElement(val) || isDOMElement(val));
}

@@ -272,0 +272,0 @@ var index = {

{
"name": "@emotion/snapshot-serializer",
"version": "0.8.0",
"version": "0.8.1",
"description": "A snapshot serializer for jest and emotion",

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

@@ -65,4 +65,5 @@ // @flow

return (
(val && !val.withEmotionNextStyles && isReactElement(val)) ||
isDOMElement(val)
val &&
!val.withEmotionNextStyles &&
(isReactElement(val) || isDOMElement(val))
)

@@ -69,0 +70,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