jest-leak-detector
Advanced tools
Comparing version 23.0.0-alpha.6r to 23.0.0-beta.0
@@ -38,10 +38,2 @@ /** | ||
const PRIMITIVE_TYPES = new Set([ | ||
'undefined', | ||
'boolean', | ||
'number', | ||
'string', | ||
'symbol' | ||
]); | ||
exports.default = class { | ||
@@ -105,4 +97,4 @@ constructor(value) { | ||
_isPrimitive(value) { | ||
return value === null || PRIMITIVE_TYPES.has(typeof value); | ||
return value !== Object(value); | ||
} | ||
}; |
{ | ||
"name": "jest-leak-detector", | ||
"version": "23.0.0-alpha.6r", | ||
"version": "23.0.0-beta.0", | ||
"repository": { | ||
@@ -11,3 +11,3 @@ "type": "git", | ||
"dependencies": { | ||
"pretty-format": "^23.0.0-alpha.6r" | ||
"pretty-format": "^23.0.0-beta.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "devDependencies": { |
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
3200
77
Updatedpretty-format@^23.0.0-beta.0