core.io-cache-redis
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -9,2 +9,4 @@ module.exports.init = require('./lib/init'); | ||
module.exports.createClient = require('./lib/createClient'); | ||
module.exports.createClient = require('./lib/createClient'); | ||
module.exports.UUID_CACHE_MATCHER = /^cache:?(.*:)[-a-z0-9]{36}$/i; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
const defaults = require('./defaults'); | ||
const options = require('./defaults'); | ||
@@ -13,3 +13,3 @@ class CacheClient extends EventEmitter { | ||
config = extend({}, this.constructor.defaults, config); | ||
config = extend({}, this.constructor.options, config); | ||
if (config.autoinitialize) { | ||
@@ -339,6 +339,4 @@ this.init(config); | ||
CacheClient.defaults = defaults; | ||
CacheClient.options = options; | ||
CacheClient.UUID_CACHE_MATCHER = /^cache:?(.*:)[-a-z0-9]{36}$/i; | ||
module.exports = CacheClient; |
@@ -263,4 +263,2 @@ const extend = require('gextend'); | ||
BatchCacheClient.UUID_CACHE_MATCHER = CacheClient.UUID_CACHE_MATCHER; | ||
module.exports = BatchCacheClient; | ||
@@ -267,0 +265,0 @@ |
{ | ||
"name": "core.io-cache-redis", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "Redis cache module", | ||
@@ -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
40174
1034