volos-cache-common
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -144,3 +144,7 @@ /**************************************************************************** | ||
} catch (err) { | ||
return callback(err); | ||
if (callback) { | ||
return callback(err); | ||
} else { | ||
throw err; | ||
} | ||
} | ||
@@ -147,0 +151,0 @@ options.ttl = options.ttl ? convertNumber(options.ttl, 'ttl') : this.options.ttl; |
{ | ||
"name": "volos-cache-common", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"main": "lib/cache.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -86,3 +86,3 @@ # volos-cache-common | ||
##### Quota.connectMiddleware() | ||
##### Cache.connectMiddleware() | ||
@@ -99,3 +99,3 @@ Returns middleware that may be used in a Connect server. | ||
##### Quota.expressMiddleware() | ||
##### Cache.expressMiddleware() | ||
@@ -112,3 +112,3 @@ Returns middleware that may be used in a Express server. | ||
##### Quota.argoMiddleware() | ||
##### Cache.argoMiddleware() | ||
@@ -115,0 +115,0 @@ Returns middleware that may be used in an Argo server. |
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
25432
533