@emotion/snapshot-serializer
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16891
473
0