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.0.4 to 2.0.5

2

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

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

@@ -113,3 +113,4 @@ var ignoreDependency = /^\!.+/;

function checkDependencyIsDefined(dependencyName){
dependencyName = dependencyName.split('!').pop();
dependencyName = dependencyName.match(/\!?(.*)/)[1];
if(!(dependencyName in tasks) && !(dependencyName in results)){

@@ -116,0 +117,0 @@ throw new Error('No task or result has been defined for dependency: ' + dependencyName);

@@ -294,2 +294,18 @@ var test = require('tape'),

test('tasks with ! in dependency name', function(t){
t.plan(2);
kgo
('fo!o', function(done){
done(null, 'foo');
})
('ba!r', ['fo!o'], function(foo, done){
t.equal(foo, 'foo');
done(null, 'bar');
})
(['!fo!o', 'ba!r'], function(bar){
t.equal(bar, 'bar');
});
});
test('must have argmuents', function(t){

@@ -296,0 +312,0 @@ t.plan(2);

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