async-deco
Advanced tools
Comparing version 5.0.2 to 5.0.3
{ | ||
"name": "async-deco", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "A collection of decorators for adding features to asynchronous functions (callback or promise based).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,2 +22,5 @@ var defaultLogger = require('../utils/default-logger'); | ||
} | ||
else if (cacheQuery.key === null) { // no cache | ||
func.apply(context, args); | ||
} | ||
else { | ||
@@ -24,0 +27,0 @@ logger('cache-miss', {key: cacheQuery.key}); |
@@ -36,2 +36,5 @@ var defaultLogger = require('../utils/default-logger'); | ||
} | ||
else if (cacheQuery.key === null) { // no cache | ||
cb(err, res); | ||
} | ||
else { | ||
@@ -38,0 +41,0 @@ logger('fallback-cache-miss', {key: cacheQuery.key, actualResult: {err: err, res: res}}); |
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
98334
2652