Comparing version 3.0.0 to 3.0.1
@@ -5,3 +5,3 @@ 'use strict' | ||
function presumify(fn) { | ||
function avowify(fn) { | ||
return function (...args) { | ||
@@ -17,5 +17,5 @@ try { fn(...args) } | ||
// e.g. avow.equal(...) | ||
get: (target, method) => presumify(target[method]), | ||
get: (target, method) => avowify(target[method]), | ||
// e.g. avow(...) | ||
apply: (target, thisArg, args) => presumify(target).apply(thisArg, args) | ||
apply: (target, thisArg, args) => avowify(target).apply(thisArg, args) | ||
} | ||
@@ -22,0 +22,0 @@ |
{ | ||
"name": "avow", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Proxy for assert that accepts custom Errors", | ||
"engines": { | ||
"node": ">=6.4.0" | ||
}, | ||
"main": "index.js", | ||
@@ -27,2 +30,2 @@ "scripts": { | ||
} | ||
} | ||
} |
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
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
3371
0