@adonisjs/redis
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -0,1 +1,12 @@ | ||
<a name="2.0.7"></a> | ||
## [2.0.7](https://github.com/adonisjs/adonis-redis/compare/v2.0.6...v2.0.7) (2018-06-02) | ||
### Bug Fixes | ||
* **redisfactory:** bind connection when proxy receives a function call ([10de858](https://github.com/adonisjs/adonis-redis/commit/10de858)) | ||
* **tests:** improve tests connection/disconnection flow ([9ab980f](https://github.com/adonisjs/adonis-redis/commit/9ab980f)) | ||
<a name="2.0.6"></a> | ||
@@ -2,0 +13,0 @@ ## [2.0.6](https://github.com/adonisjs/adonis-redis/compare/v2.0.5...v2.0.6) (2018-04-19) |
{ | ||
"name": "@adonisjs/redis", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "AdonisJs official redis provider to make working with redis fun and simple.", | ||
"dependencies": { | ||
"@adonisjs/generic-exceptions": "^2.0.0", | ||
"@adonisjs/generic-exceptions": "^2.0.1", | ||
"debug": "^3.1.0", | ||
"ioredis": "^3.2.2", | ||
"lodash": "^4.17.5" | ||
"lodash": "^4.17.10" | ||
}, | ||
@@ -14,7 +14,7 @@ "devDependencies": { | ||
"@adonisjs/sink": "^1.0.16", | ||
"coveralls": "^3.0.0", | ||
"coveralls": "^3.0.1", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"japa": "^1.0.6", | ||
"japa-cli": "^1.0.1", | ||
"nyc": "^11.7.1", | ||
"nyc": "^12.0.1", | ||
"semver": "^5.5.0", | ||
@@ -21,0 +21,0 @@ "standard": "^11.0.1" |
@@ -29,3 +29,8 @@ 'use strict' | ||
const connection = target.connection() | ||
if (typeof (connection[name]) === 'function') { | ||
return connection[name].bind(connection) | ||
} | ||
return target.connection()[name] | ||
} |
@@ -38,2 +38,6 @@ 'use strict' | ||
if (typeof (target.connection[name]) === 'function') { | ||
return target.connection[name].bind(target.connection) | ||
} | ||
/** | ||
@@ -40,0 +44,0 @@ * Fallback to redis connection |
Sorry, the diff of this file is not supported yet
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
26546
645
Updatedlodash@^4.17.10