@most/scheduler
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -244,2 +244,5 @@ import { curry2, curry3, findIndex, removeAll } from '@most/prelude'; | ||
// @deprecated | ||
Scheduler.prototype.cancelAll = function cancelAll(f) { | ||
@@ -329,2 +332,5 @@ this.timeline.removeAll(f); | ||
// @deprecated | ||
Timeline.prototype.removeAll = function removeAll$$1(f) { | ||
@@ -424,2 +430,3 @@ for (var i = 0; i < this.tasks.length; ++i) { | ||
// @deprecated | ||
function removeAllFrom(f, timeslot) { | ||
@@ -600,3 +607,5 @@ timeslot.events = removeAll(f, timeslot.events); | ||
// is true | ||
// @deprecated Will be removed in 2.0.0 | ||
var cancelAllTasks = /*#__PURE__*/curry2(function (predicate, scheduler) { | ||
console.warn('DEPRECATED cancelAllTasks to be removed in 2.0.0'); | ||
return scheduler.cancelAll(predicate); | ||
@@ -603,0 +612,0 @@ }); |
@@ -248,2 +248,5 @@ (function (global, factory) { | ||
// @deprecated | ||
Scheduler.prototype.cancelAll = function cancelAll(f) { | ||
@@ -333,2 +336,5 @@ this.timeline.removeAll(f); | ||
// @deprecated | ||
Timeline.prototype.removeAll = function removeAll$$1(f) { | ||
@@ -428,2 +434,3 @@ for (var i = 0; i < this.tasks.length; ++i) { | ||
// @deprecated | ||
function removeAllFrom(f, timeslot) { | ||
@@ -604,3 +611,5 @@ timeslot.events = prelude.removeAll(f, timeslot.events); | ||
// is true | ||
// @deprecated Will be removed in 2.0.0 | ||
var cancelAllTasks = /*#__PURE__*/prelude.curry2(function (predicate, scheduler) { | ||
console.warn('DEPRECATED cancelAllTasks to be removed in 2.0.0'); | ||
return scheduler.cancelAll(predicate); | ||
@@ -607,0 +616,0 @@ }); |
{ | ||
"name": "@most/scheduler", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Reactive programming with lean, functions-only, curried, tree-shakeable API", | ||
@@ -42,6 +42,6 @@ "typings": "type-definitions/index.d.ts", | ||
"@briancavalier/assert": "^3.2.0", | ||
"babel-core": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
"babel-plugin-annotate-pure-calls": "^0.2.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-preset-env": "^1.6.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-register": "^6.26.0", | ||
@@ -51,4 +51,4 @@ "cpy-cli": "^1.0.1", | ||
"flow-bin": "^0.57.3", | ||
"mocha": "^3.4.2", | ||
"nyc": "^11.0.2", | ||
"mocha": "^5.2.0", | ||
"nyc": "^13.0.0", | ||
"rollup": "^0.50.0", | ||
@@ -61,4 +61,4 @@ "rollup-plugin-babel": "^3.0.2", | ||
"dependencies": { | ||
"@most/prelude": "^1.7.1", | ||
"@most/types": "^1.0.0" | ||
"@most/prelude": "^1.7.2", | ||
"@most/types": "^1.0.1" | ||
}, | ||
@@ -65,0 +65,0 @@ "standard": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
80708
1042
Updated@most/prelude@^1.7.2
Updated@most/types@^1.0.1