Comparing version 0.0.5 to 0.1.0
@@ -31,3 +31,3 @@ 'use strict'; | ||
this.cache.get(this.prefix+key, function (err, val) { | ||
err ? reject('memcached is not runing!') : resolve(val) | ||
err || !val ? reject(err ? 'memcached is not runing!' : val) : resolve(val) | ||
}) | ||
@@ -34,0 +34,0 @@ }) |
{ | ||
"name": "ssr-cache", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"description": "Api Serve-Side Cache Wrapper for Lru and Memcached", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2864