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.5.0 to 0.6.2

2

dist/index.cjs.js

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

return true;
} else if (Array.isArray(val) && !val[0].withNewStyles && val[0].$$typeof === Symbol.for('react.test.json')) {
} else if (Array.isArray(val) && val[0] && !val[0].withNewStyles && val[0].$$typeof === Symbol.for('react.test.json')) {
return true;

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

@@ -46,3 +46,3 @@ import { parse, stringify } from 'css';

return true;
} else if (Array.isArray(val) && !val[0].withNewStyles && val[0].$$typeof === Symbol.for('react.test.json')) {
} else if (Array.isArray(val) && val[0] && !val[0].withNewStyles && val[0].$$typeof === Symbol.for('react.test.json')) {
return true;

@@ -49,0 +49,0 @@ }

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

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

@@ -34,2 +34,3 @@ // @flow

Array.isArray(val) &&
val[0] &&
!val[0].withNewStyles &&

@@ -36,0 +37,0 @@ val[0].$$typeof === Symbol.for('react.test.json')

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