Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

co-bluebird

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-bluebird - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

10

changelog.md

@@ -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

14

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc