Comparing version 0.0.4 to 0.1.0
11
index.js
@@ -6,7 +6,8 @@ /* | ||
var prime = require('prime'); | ||
var type = require('prime/type'); | ||
var map = require('prime/array/map'); | ||
var slice = require('prime/array/slice'); | ||
var forEach = require('prime/array/forEach'); | ||
var kindOf = require('mout/lang/kindOf'); | ||
var map = require('mout/array/map'); | ||
var slice = require('mout/array/slice'); | ||
var forEach = require('mout/array/forEach'); | ||
/* create the flow */ | ||
@@ -24,3 +25,3 @@ var Flow = prime({ | ||
if (!arguments.length) return this; | ||
if (type(callbacks) !== 'array') callbacks = slice(arguments); | ||
if (kindOf(callbacks) !== 'Array') callbacks = slice(arguments); | ||
if (!callbacks.length) return this; | ||
@@ -27,0 +28,0 @@ |
{ | ||
"name": "finally", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "sane flow control library", | ||
@@ -11,3 +11,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"prime": "0.3" | ||
"prime": "0.3", | ||
"mout": "0.9" | ||
}, | ||
@@ -14,0 +15,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41841
18
2
+ Addedmout@0.9
+ Addedmout@0.9.1(transitive)