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 3.3.1 to 3.3.2

2

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

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

@@ -106,8 +106,8 @@ var symbols = require('./symbols'),

if(hasError){
args.push(undefined);
if(ignore){
continue;
}
if(ignore){
if(hasError){
args.push(undefined);
continue;

@@ -114,0 +114,0 @@ }

@@ -551,2 +551,28 @@ var test = require('tape'),

});
});
test('error steps with a !dependency dont mess with argument length when error is async', function(t){
t.plan(1);
kgo
({foo: 'foo'})
('bar', function(done){
doAsync(done, 'barError');
})
(['*bar', '!foo'], function(){
t.equal(arguments.length, 2, 'correct number of arguments');
});
});
test('error steps with a !dependency dont mess with argument length when error is synchronous', function(t){
t.plan(1);
kgo
({foo: 'foo'})
('bar', function(done){
done('barError');
})
(['*', '!foo'], function(){
t.equal(arguments.length, 2, 'correct number of arguments');
});
});
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