pretty-format
Advanced tools
Comparing version 22.4.3 to 23.0.0-alpha.2
@@ -20,2 +20,3 @@ 'use strict'; | ||
const elementSymbol = Symbol.for('react.element'); | ||
const fragmentSymbol = Symbol.for('react.fragment'); | ||
@@ -44,2 +45,5 @@ // Given element.props.children, or subtree during recursive traversal, | ||
} | ||
if (element.type === fragmentSymbol) { | ||
return 'React.Fragment'; | ||
} | ||
return 'UNDEFINED'; | ||
@@ -46,0 +50,0 @@ }; |
{ | ||
"name": "pretty-format", | ||
"version": "22.4.3", | ||
"version": "23.0.0-alpha.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
427160
5402
2