@hapi/boom
Advanced tools
Comparing version 9.1.2 to 9.1.3
@@ -94,3 +94,9 @@ 'use strict'; | ||
return exports.isBoom(instance); | ||
if (this === exports.Boom) { | ||
return exports.isBoom(instance); | ||
} | ||
// Cannot use 'instanceof' as it creates infinite recursion | ||
return this.prototype.isPrototypeOf(instance); | ||
} | ||
@@ -97,0 +103,0 @@ }; |
{ | ||
"name": "@hapi/boom", | ||
"description": "HTTP-friendly error objects", | ||
"version": "9.1.2", | ||
"version": "9.1.3", | ||
"repository": "git://github.com/hapijs/boom", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28291
750
0