Comparing version 5.0.0 to 5.1.0
{ | ||
"name": "error", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "Custom errors", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -43,3 +43,7 @@ var camelize = require("camelize") | ||
extend(result, options) | ||
result.message = template(message, options) | ||
if (opts.message) { | ||
result.message = template(opts.message, options) | ||
} else { | ||
result.message = template(message, options) | ||
} | ||
@@ -46,0 +50,0 @@ return result |
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
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
7812
110
1