@sinonjs/samsam
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -185,3 +185,3 @@ (function (global, factory) { | ||
function getClassName(value) { | ||
return Object.getPrototypeOf(value) ? value.constructor.name : null; | ||
return value.constructor ? value.constructor.name : null; | ||
} | ||
@@ -188,0 +188,0 @@ |
"use strict"; | ||
function getClassName(value) { | ||
return Object.getPrototypeOf(value) ? value.constructor.name : null; | ||
return value.constructor ? value.constructor.name : null; | ||
} | ||
module.exports = getClassName; |
{ | ||
"name": "@sinonjs/samsam", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Value identification and comparison functions", | ||
@@ -5,0 +5,0 @@ "homepage": "http://sinonjs.github.io/samsam/", |
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
0
57553