Comparing version 0.18.0 to 0.18.1
@@ -34,2 +34,3 @@ /** @license MIT License (c) copyright 2010-2016 original author or authors */ | ||
/** | ||
* @deprecated | ||
* Tie stream into a circle, creating an infinite stream | ||
@@ -36,0 +37,0 @@ * @param {Stream} stream |
@@ -69,3 +69,3 @@ /** @license MIT License (c) copyright 2010-2016 original author or authors */ | ||
var now = this.now(); | ||
var st = new ScheduledTask(now + Math.max(0, delay), period, task, this); | ||
var st = new ScheduledTask(now + Math.max(0, delay), period, task, this); | ||
@@ -83,4 +83,6 @@ insertByTime(st, this._tasks); | ||
var at = base.findIndex(task, this._tasks[i].events); | ||
this._tasks[i].events.splice(at, 1); | ||
this._reschedule(); | ||
if(at >= 0) { | ||
this._tasks[i].events.splice(at, 1); | ||
this._reschedule(); | ||
} | ||
} | ||
@@ -87,0 +89,0 @@ }; |
@@ -152,2 +152,3 @@ /** @license MIT License (c) copyright 2010-2016 original author or authors */ | ||
/** | ||
* @deprecated | ||
* Tie this stream into a circle, thus creating an infinite stream | ||
@@ -154,0 +155,0 @@ * @returns {Stream} new infinite stream |
{ | ||
"name": "most", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"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
124141
3744