Comparing version 1.1.0 to 1.1.1
@@ -6,3 +6,3 @@ | ||
var thunkify = require('thunkify'); | ||
var thenify = require('thenify'); | ||
var EventEmitter = require('events').EventEmitter; | ||
@@ -31,3 +31,3 @@ | ||
var multi = client.multi(); | ||
multi.exec = thunkify(multi.exec); | ||
multi.exec = thenify(multi.exec); | ||
return multi; | ||
@@ -63,3 +63,3 @@ }; | ||
if (isCommand) { | ||
protoFunction = thunkify(protoFunction); | ||
protoFunction = thenify(protoFunction); | ||
} | ||
@@ -69,2 +69,2 @@ wrap[key] = protoFunction; | ||
return wrap; | ||
}; | ||
}; |
{ | ||
"name": "co-redis", | ||
"description": "A node-redis wrapper to be used with visionmedia's co library", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": { | ||
@@ -33,13 +33,13 @@ "name": "Martín Ciparelli", | ||
"engines": { | ||
"node": ">=v0.11.4" | ||
"node": ">=v0.11.13" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"co": "~3.0.2", | ||
"redis": "~0.10.0", | ||
"mocha": "~1.16.2" | ||
"co": "^4.1.0", | ||
"mocha": "^2.1.0", | ||
"redis": "^0.12.1" | ||
}, | ||
"dependencies": { | ||
"thunkify": "0.0.1" | ||
"thenify": "^3.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
**co-redis** is a [node-redis](https://github.com/mranney/node_redis) wrapper to be used with [visionmedia's co](https://github.com/visionmedia/co) library. | ||
**co-redis** is a [node-redis](https://github.com/mranney/node_redis) wrapper to be used with [visionmedia's co](https://github.com/visionmedia/co) library. | ||
@@ -15,3 +15,3 @@ [![build status](https://secure.travis-ci.org/mciparelli/co-redis.png)](http://travis-ci.org/mciparelli/co-redis) | ||
console.log(yield redisCo.get('test')); // logs 33 | ||
}); | ||
})(); | ||
``` | ||
@@ -18,0 +18,0 @@ |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
ioredis |
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
54
5226
1
+ Addedthenify@^3.0.0
+ Addedany-promise@1.3.0(transitive)
+ Addedthenify@3.3.1(transitive)
- Removedthunkify@0.0.1
- Removedthunkify@0.0.1(transitive)