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

coffee

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee - npm Package Compare versions

Comparing version 3.2.5 to 3.3.0

5

HISTORY.md
3.3.0 / 2016-10-14
==================
* feat: support promise (#51)
3.2.5 / 2016-08-19

@@ -3,0 +8,0 @@ ==================

16

lib/coffee.js

@@ -65,2 +65,11 @@ 'use strict';

});
} else {
if (err) {
self.emit('complete_error', err);
} else {
self.emit('complete_success', {
stdout: self.stdout,
stderr: self.stderr,
});
}
}

@@ -150,3 +159,8 @@ }

this.cb = cb;
return this;
if (!cb) {
return new Promise((resolve, reject) => {
this.on('complete_success', resolve);
this.on('complete_error', reject);
});
}
};

@@ -153,0 +167,0 @@

2

package.json
{
"name": "coffee",
"version": "3.2.5",
"version": "3.3.0",
"description": "Test command line on nodejs",

@@ -5,0 +5,0 @@ "main": "index.js",

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