co-bluebird
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -14,1 +14,11 @@ # Changelog | ||
* Update bluebird dependency | ||
## 1.0.0 | ||
* Use co-use module | ||
* Update bluebird dependency | ||
* Update dev dependencies | ||
* Tests run in harmony mode | ||
* Code tidy | ||
* package.json keywords | ||
* README |
@@ -6,14 +6,6 @@ // -------------------- | ||
// modules | ||
var co = require('co'), | ||
bluebird = require('bluebird'); | ||
var co = require('co-use'), | ||
Bluebird = require('bluebird'); | ||
// exports | ||
var cob = bluebird.method(co); | ||
cob.wrap = function(fn) { // jshint ignore:line | ||
return bluebird.method(co.wrap.apply(this, arguments)); | ||
}; | ||
cob['default'] = cob.co = cob; | ||
module.exports = cob; | ||
module.exports = co.use(Bluebird); |
{ | ||
"name": "co-bluebird", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "co with bluebird promises", | ||
@@ -17,14 +17,15 @@ "main": "./lib/", | ||
"dependencies": { | ||
"bluebird": "^2.9.32", | ||
"co": "^4.5.4" | ||
"bluebird": "^2.10.0", | ||
"co-use": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^2.2.4", | ||
"chai": "^2.3.0", | ||
"jshint": "^2.7.0", | ||
"istanbul": "^0.3.14", | ||
"coveralls": "^2.11.2" | ||
"mocha": "^2.3.2", | ||
"chai": "^3.2.0", | ||
"jshint": "^2.8.0", | ||
"istanbul": "^0.3.19", | ||
"coveralls": "^2.11.4" | ||
}, | ||
"keywords": [ | ||
"co", | ||
"use", | ||
"bluebird", | ||
@@ -45,3 +46,3 @@ "promise", | ||
"engines": { | ||
"node": ">=0.10.0" | ||
"node": ">=0.12.0" | ||
}, | ||
@@ -48,0 +49,0 @@ "readmeFilename": "README.md", |
@@ -15,3 +15,3 @@ # co-bluebird.js | ||
It's [co](https://www.npmjs.com/package/co), but returning [bluebird](https://www.npmjs.com/package/bluebird) promises, rather than native V8 promises. | ||
It's [co](https://www.npmjs.com/package/co), but using [bluebird](https://www.npmjs.com/package/bluebird) promises, rather than native V8 promises. | ||
@@ -24,4 +24,6 @@ #### Why? | ||
Exactly the same as [co](https://www.npmjs.com/package/co). See [here](https://www.npmjs.com/package/co). | ||
Exactly the same as [co](https://www.npmjs.com/package/co). | ||
Also includes an extra `.use()` method, provided by [co-use](https://www.npmjs.com/package/co-use). | ||
## Tests | ||
@@ -28,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6151
1
47
8
1
+ Addedco-use@^1.0.0
+ Addedco-use@1.1.0(transitive)
- Removedco@^4.5.4
- Removedco@4.6.0(transitive)
Updatedbluebird@^2.10.0