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

kgo

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kgo - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"name": "kgo",
"version": "2.2.0",
"version": "2.2.1",
"description": "Flow control the super easy way",

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

var stackSlice = require('stack-slice'),
ignoreDependency = /^\!.+/,
errorDependency = /^\*/,
errorSymbol = '*';

@@ -38,4 +37,3 @@

dependants = task.args,
args = [],
passError;
args = [];

@@ -117,4 +115,6 @@ if(dependants){

emitter._complete = true;
emitter.emit('error', taskError, names);
emitter.emit('complete');
if(!error){
emitter.emit('error', taskError, names);
emitter.emit('complete');
}
return;

@@ -121,0 +121,0 @@ }

@@ -93,2 +93,20 @@ var test = require('tape'),

test('multiple errors 2', function(t){
t.plan(2);
kgo
('foo', function(done){
done(new Error('foo screwed up'));
})
('bar', function(done){
done(new Error('bar screwed up'));
})
.on('error', function(){
t.pass();
})
.on('complete', function(){
t.pass();
});
});
test('returnless', function(t){

@@ -95,0 +113,0 @@ t.plan(3);

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