@contrast/patcher
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -346,3 +346,3 @@ /* | ||
const loggerArgs = prop ? ['attempt to hook %s property from %o that is not a method or does not exist', prop, obj] : ['attempt to hook %o that is not a function', obj]; | ||
logger.error(...loggerArgs); | ||
logger.error({ err: new Error('invalid patch target'), ...loggerArgs }); | ||
return null; | ||
@@ -447,2 +447,3 @@ } | ||
hookedFunctions, | ||
hooks | ||
}; | ||
@@ -449,0 +450,0 @@ |
{ | ||
"name": "@contrast/patcher", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Advanced monkey patching--registers hooks to run in and around functions", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE", |
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
18066
422