Socket
Socket
Sign inDemoInstall

finally

Package Overview
Dependencies
28
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

7

index.js

@@ -22,3 +22,5 @@ /*

var self = this;
if (type(callbacks) === 'function') callbacks = slice(arguments);
if (!arguments.length) return this;
if (type(callbacks) !== 'array') callbacks = slice(arguments);
if (!callbacks.length) return this;

@@ -41,3 +43,2 @@ var i = 0;

}));
return this;

@@ -143,4 +144,4 @@ },

var flow = new Flow();
if (arguments.length) flow.then.apply(flow, arguments);
flow.then.apply(flow, arguments);
return flow;
};
{
"name": "finally",
"version": "0.0.1",
"version": "0.0.2",
"description": "sane flow control library",

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

@@ -122,2 +122,10 @@ "use strict"

it('should ignore empty parallels', function() {
flow().then([]).then().finally(function(err) {
expect(err).to.be(undefined)
})
})
})

@@ -124,0 +132,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc