Comparing version 0.8.2 to 0.8.3
{ | ||
"name": "most", | ||
"main": "most.js", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"homepage": "https://github.com/cujojs/most", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -11,2 +11,3 @@ /** @license MIT License (c) copyright 2010-2014 original author or authors */ | ||
var race = promise.Promise.race; | ||
var resolve = promise.Promise.resolve; | ||
var getStatus = promise.getStatus; | ||
@@ -107,2 +108,8 @@ | ||
function unamb(f, steps) { | ||
if(steps.length === 1) { | ||
return resolve(steps[0]).then(function(x) { | ||
return f(x, 0); | ||
}); | ||
} | ||
var winner = decide(steps); | ||
@@ -109,0 +116,0 @@ if(winner === null) { |
{ | ||
"name": "most", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Monadic streams", | ||
@@ -5,0 +5,0 @@ "main": "most.js", |
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
111057
2522