Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xstream

Package Overview
Dependencies
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xstream - npm Package Compare versions

Comparing version 11.9.0 to 11.10.0

tsconfig.strict.json

14

dist/xstream.js

@@ -1,7 +0,10 @@

(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.xstream = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.xstream = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {

@@ -1068,3 +1071,2 @@ extendStatics(d, b);

Stream.prototype.flatten = function () {
var p = this._prod;
return new Stream(new Flatten(this));

@@ -1269,2 +1271,2 @@ };

},{}]},{},[1])(1)
});
});

@@ -1,34 +0,34 @@

(function(e){"object"===typeof exports&&"undefined"!==typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).xstream=e()})(function(){return function(){function e(k,h,d){function q(l,m){if(!h[l]){if(!k[l]){var n="function"==typeof require&&require;if(!m&&n)return n(l,!0);if(u)return u(l,!0);m=Error("Cannot find module '"+l+"'");throw m.code="MODULE_NOT_FOUND",m;
}m=h[l]={exports:{}};k[l][0].call(m.exports,function(c){return q(k[l][1][c]||c)},m,m.exports,e,k,h,d)}return h[l].exports}for(var u="function"==typeof require&&require,n=0;n<d.length;n++)q(d[n]);return q}return e}()({1:[function(e,k,h){function d(){}function q(a){for(var b=a.length,f=Array(b),c=0;c<b;++c)f[c]=a[c];return f}function u(a,b){return function(f){return a(f)&&b(f)}}function n(a,b,f){try{return a.f(b)}catch(g){return f._e(g),c}}function l(a){a._start=function(b){b.next=b._n;b.error=b._e;
b.complete=b._c;this.start(b)};a._stop=a.stop}var m=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var a in f)f.hasOwnProperty(a)&&(b[a]=f[a])};return function(b,f){function c(){this.constructor=b}a(b,f);b.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0});var t=e("symbol-observable"),c={};h.NO=c;var r={_n:d,_e:d,_c:d};h.NO_IL=r;var x=
function(){function a(b,f){this._stream=b;this._listener=f}a.prototype.unsubscribe=function(){this._stream._remove(this._listener)};return a}(),y=function(){function a(b){this._listener=b}a.prototype.next=function(b){this._listener._n(b)};a.prototype.error=function(b){this._listener._e(b)};a.prototype.complete=function(){this._listener._c()};return a}(),z=function(){function a(b){this.type="fromObservable";this.ins=b;this.active=!1}a.prototype._start=function(b){this.out=b;this.active=!0;this._sub=
this.ins.subscribe(new y(b));this.active||this._sub.unsubscribe()};a.prototype._stop=function(){this._sub&&this._sub.unsubscribe();this.active=!1};return a}(),A=function(){function a(b){this.type="merge";this.insArr=b;this.out=c;this.ac=0}a.prototype._start=function(b){this.out=b;b=this.insArr;var f=b.length;this.ac=f;for(var a=0;a<f;a++)b[a]._add(this)};a.prototype._stop=function(){for(var b=this.insArr,a=b.length,g=0;g<a;g++)b[g]._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;
a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){if(0>=--this.ac){var b=this.out;b!==c&&b._c()}};return a}(),C=function(){function a(b,a,c){this.i=b;this.out=a;this.p=c;c.ils.push(this)}a.prototype._n=function(b){var a=this.p,g=this.out;if(g!==c&&a.up(b,this.i)){b=a.vals;a=b.length;for(var w=Array(a),d=0;d<a;++d)w[d]=b[d];g._n(w)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.p;b.out!==c&&0===--b.Nc&&
b.out._c()};return a}(),D=function(){function a(b){this.type="combine";this.insArr=b;this.out=c;this.ils=[];this.Nc=this.Nn=0;this.vals=[]}a.prototype.up=function(b,a){var f=this.vals[a];f=this.Nn?f===c?--this.Nn:this.Nn:0;this.vals[a]=b;return 0===f};a.prototype._start=function(b){this.out=b;var a=this.insArr,g=this.Nc=this.Nn=a.length,d=this.vals=Array(g);if(0===g)b._n([]),b._c();else for(var e=0;e<g;e++)d[e]=c,a[e]._add(new C(e,b,this))};a.prototype._stop=function(){for(var b=this.insArr,a=b.length,
g=this.ils,d=0;d<a;d++)b[d]._remove(g[d]);this.out=c;this.ils=[];this.vals=[]};return a}(),E=function(){function a(b){this.type="fromArray";this.a=b}a.prototype._start=function(b){for(var a=this.a,c=0,d=a.length;c<d;c++)b._n(a[c]);b._c()};a.prototype._stop=function(){};return a}(),F=function(){function a(b){this.type="fromPromise";this.on=!1;this.p=b}a.prototype._start=function(b){var a=this;this.on=!0;this.p.then(function(f){a.on&&(b._n(f),b._c())},function(a){b._e(a)}).then(d,function(b){setTimeout(function(){throw b;
})})};a.prototype._stop=function(){this.on=!1};return a}(),G=function(){function a(b){this.type="periodic";this.period=b;this.intervalID=-1;this.i=0}a.prototype._start=function(b){var a=this;this.intervalID=setInterval(function(){b._n(a.i++)},this.period)};a.prototype._stop=function(){-1!==this.intervalID&&clearInterval(this.intervalID);this.intervalID=-1;this.i=0};return a}(),H=function(){function a(b,a){this.type="debug";this.ins=b;this.out=c;this.s=d;this.l="";"string"===typeof a?this.l=a:"function"===
typeof a&&(this.s=a)}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var g=this.s,e=this.l;if(g!==d)try{g(b)}catch(B){a._e(B)}else e?console.log(e+":",b):console.log(b);a._n(b)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),I=function(){function a(b,a){this.type="drop";this.ins=a;this.out=
c;this.max=b;this.dropped=0}a.prototype._start=function(b){this.out=b;this.dropped=0;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&this.dropped++>=this.max&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),J=function(){function a(b,a){this.out=b;this.op=a}a.prototype._n=function(){this.op.end()};a.prototype._e=function(b){this.out._e(b)};
a.prototype._c=function(){this.op.end()};return a}(),K=function(){function a(b,a){this.type="endWhen";this.ins=a;this.out=c;this.o=b;this.oil=r}a.prototype._start=function(b){this.out=b;this.o._add(this.oil=new J(b,this));this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.o._remove(this.oil);this.out=c;this.oil=r};a.prototype.end=function(){var b=this.out;b!==c&&b._c()};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==
c&&a._e(b)};a.prototype._c=function(){this.end()};return a}(),v=function(){function a(b,a){this.type="filter";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var g=n(this,b,a);g!==c&&g&&a._n(b)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),L=function(){function a(b,
a){this.out=b;this.op=a}a.prototype._n=function(b){this.out._n(b)};a.prototype._e=function(b){this.out._e(b)};a.prototype._c=function(){this.op.inner=c;this.op.less()};return a}(),M=function(){function a(b){this.type="flatten";this.ins=b;this.out=c;this.open=!0;this.inner=c;this.il=r}a.prototype._start=function(b){this.out=b;this.open=!0;this.inner=c;this.il=r;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.inner!==c&&this.inner._remove(this.il);this.out=c;this.open=
!0;this.inner=c;this.il=r};a.prototype.less=function(){var b=this.out;b!==c&&(this.open||this.inner!==c||b._c())};a.prototype._n=function(b){var a=this.out;if(a!==c){var g=this.inner,d=this.il;g!==c&&d!==r&&g._remove(d);(this.inner=b)._add(this.il=new L(a,this))}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){this.open=!1;this.less()};return a}(),N=function(){function a(b,a,g){var f=this;this.type="fold";this.ins=g;this.out=c;this.f=function(a){return b(f.acc,
a)};this.acc=this.seed=a}a.prototype._start=function(b){this.out=b;this.acc=this.seed;b._n(this.acc);this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c;this.acc=this.seed};a.prototype._n=function(b){var a=this.out;a!==c&&(b=n(this,b,a),b!==c&&a._n(this.acc=b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),O=function(){function a(b){this.type="last";this.ins=b;this.out=c;this.has=!1;this.val=
c}a.prototype._start=function(b){this.out=b;this.has=!1;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.val=this.out=c};a.prototype._n=function(b){this.has=!0;this.val=b};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&(this.has?(b._n(this.val),b._c()):b._e(Error("last() failed because input stream completed")))};return a}(),P=function(){function a(b,a){this.type="map";this.ins=a;this.out=c;this.f=b}a.prototype._start=
function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&(b=n(this,b,a),b!==c&&a._n(b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),Q=function(){function a(b){this.type="remember";this.ins=b;this.out=c}a.prototype._start=function(b){this.out=b;this.ins._add(b)};a.prototype._stop=function(){this.ins._remove(this.out);
this.out=c};return a}(),R=function(){function a(b,a){this.type="replaceError";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;if(a!==c)try{this.ins._remove(this),(this.ins=this.f(b))._add(this)}catch(g){a._e(g)}};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),S=function(){function a(b,
a){this.type="startWith";this.ins=b;this.out=c;this.val=a}a.prototype._start=function(b){this.out=b;this.out._n(this.val);this.ins._add(b)};a.prototype._stop=function(){this.ins._remove(this.out);this.out=c};return a}(),T=function(){function a(b,a){this.type="take";this.ins=a;this.out=c;this.max=b;this.taken=0}a.prototype._start=function(b){this.out=b;this.taken=0;0>=this.max?b._c():this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=
this.out;if(a!==c){var g=++this.taken;g<this.max?a._n(b):g===this.max&&(a._n(b),a._c())}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}();e=function(){function a(b){this._prod=b||c;this._ils=[];this._dl=this._stopID=c;this._d=!1;this._err=this._target=c}a.prototype._n=function(b){var a=this._ils,c=a.length;this._d&&this._dl._n(b);if(1==c)a[0]._n(b);else if(0!=c){a=q(a);for(var d=0;d<c;d++)a[d]._n(b)}};a.prototype._e=function(b){if(this._err===
c){this._err=b;var a=this._ils,g=a.length;this._x();this._d&&this._dl._e(b);if(1==g)a[0]._e(b);else{if(0==g)return;a=q(a);for(var d=0;d<g;d++)a[d]._e(b)}if(!this._d&&0==g)throw this._err;}};a.prototype._c=function(){var b=this._ils,a=b.length;this._x();this._d&&this._dl._c();if(1==a)b[0]._c();else if(0!=a){b=q(b);for(var c=0;c<a;c++)b[c]._c()}};a.prototype._x=function(){0!==this._ils.length&&(this._prod!==c&&this._prod._stop(),this._err=c,this._ils=[])};a.prototype._stopNow=function(){this._prod._stop();
(function(v){"object"===typeof exports&&"undefined"!==typeof module?module.exports=v():"function"===typeof define&&define.amd?define([],v):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).xstream=v()})(function(){return function d(g,k,h){function q(l,m){if(!k[l]){if(!g[l]){var n="function"==typeof require&&require;if(!m&&n)return n(l,!0);if(u)return u(l,!0);m=Error("Cannot find module '"+l+"'");throw m.code="MODULE_NOT_FOUND",m;}m=k[l]={exports:{}};
g[l][0].call(m.exports,function(c){var d=g[l][1][c];return q(d?d:c)},m,m.exports,d,g,k,h)}return k[l].exports}for(var u="function"==typeof require&&require,n=0;n<h.length;n++)q(h[n]);return q}({1:[function(g,k,h){function d(){}function q(a){for(var b=a.length,e=Array(b),c=0;c<b;++c)e[c]=a[c];return e}function u(a,b){return function(e){return a(e)&&b(e)}}function n(a,b,e){try{return a.f(b)}catch(f){return e._e(f),c}}function l(a){a._start=function(b){b.next=b._n;b.error=b._e;b.complete=b._c;this.start(b)};
a._stop=a.stop}var m=this&&this.__extends||function(){var a=function(b,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var a in e)e.hasOwnProperty(a)&&(b[a]=e[a])};return a(b,e)};return function(b,e){function c(){this.constructor=b}a(b,e);b.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0});var t=g("symbol-observable"),c={};h.NO=c;var r={_n:d,_e:d,_c:d};h.NO_IL=r;var z=
function(){function a(b,e){this._stream=b;this._listener=e}a.prototype.unsubscribe=function(){this._stream._remove(this._listener)};return a}(),A=function(){function a(b){this._listener=b}a.prototype.next=function(b){this._listener._n(b)};a.prototype.error=function(b){this._listener._e(b)};a.prototype.complete=function(){this._listener._c()};return a}(),B=function(){function a(b){this.type="fromObservable";this.ins=b;this.active=!1}a.prototype._start=function(b){this.out=b;this.active=!0;this._sub=
this.ins.subscribe(new A(b));this.active||this._sub.unsubscribe()};a.prototype._stop=function(){this._sub&&this._sub.unsubscribe();this.active=!1};return a}(),C=function(){function a(b){this.type="merge";this.insArr=b;this.out=c;this.ac=0}a.prototype._start=function(b){this.out=b;b=this.insArr;var e=b.length;this.ac=e;for(var a=0;a<e;a++)b[a]._add(this)};a.prototype._stop=function(){for(var b=this.insArr,a=b.length,f=0;f<a;f++)b[f]._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;
a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){if(0>=--this.ac){var b=this.out;b!==c&&b._c()}};return a}(),D=function(){function a(b,a,c){this.i=b;this.out=a;this.p=c;c.ils.push(this)}a.prototype._n=function(b){var a=this.p,f=this.out;if(f!==c&&a.up(b,this.i)){b=a.vals;a=b.length;for(var x=Array(a),d=0;d<a;++d)x[d]=b[d];f._n(x)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.p;b.out!==c&&0===--b.Nc&&
b.out._c()};return a}(),E=function(){function a(b){this.type="combine";this.insArr=b;this.out=c;this.ils=[];this.Nc=this.Nn=0;this.vals=[]}a.prototype.up=function(b,a){var e=this.vals[a];e=this.Nn?e===c?--this.Nn:this.Nn:0;this.vals[a]=b;return 0===e};a.prototype._start=function(b){this.out=b;var a=this.insArr,f=this.Nc=this.Nn=a.length,d=this.vals=Array(f);if(0===f)b._n([]),b._c();else for(var g=0;g<f;g++)d[g]=c,a[g]._add(new D(g,b,this))};a.prototype._stop=function(){for(var b=this.insArr,a=b.length,
f=this.ils,d=0;d<a;d++)b[d]._remove(f[d]);this.out=c;this.ils=[];this.vals=[]};return a}(),F=function(){function a(b){this.type="fromArray";this.a=b}a.prototype._start=function(b){for(var a=this.a,c=0,d=a.length;c<d;c++)b._n(a[c]);b._c()};a.prototype._stop=function(){};return a}(),G=function(){function a(b){this.type="fromPromise";this.on=!1;this.p=b}a.prototype._start=function(b){var a=this;this.on=!0;this.p.then(function(e){a.on&&(b._n(e),b._c())},function(a){b._e(a)}).then(d,function(b){setTimeout(function(){throw b;
})})};a.prototype._stop=function(){this.on=!1};return a}(),H=function(){function a(b){this.type="periodic";this.period=b;this.intervalID=-1;this.i=0}a.prototype._start=function(b){var a=this;this.intervalID=setInterval(function(){b._n(a.i++)},this.period)};a.prototype._stop=function(){-1!==this.intervalID&&clearInterval(this.intervalID);this.intervalID=-1;this.i=0};return a}(),I=function(){function a(b,a){this.type="debug";this.ins=b;this.out=c;this.s=d;this.l="";"string"===typeof a?this.l=a:"function"===
typeof a&&(this.s=a)}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var f=this.s,g=this.l;if(f!==d)try{f(b)}catch(y){a._e(y)}else g?console.log(g+":",b):console.log(b);a._n(b)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),J=function(){function a(b,a){this.type="drop";this.ins=a;this.out=
c;this.max=b;this.dropped=0}a.prototype._start=function(b){this.out=b;this.dropped=0;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&this.dropped++>=this.max&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),K=function(){function a(b,a){this.out=b;this.op=a}a.prototype._n=function(){this.op.end()};a.prototype._e=function(b){this.out._e(b)};
a.prototype._c=function(){this.op.end()};return a}(),L=function(){function a(b,a){this.type="endWhen";this.ins=a;this.out=c;this.o=b;this.oil=r}a.prototype._start=function(b){this.out=b;this.o._add(this.oil=new K(b,this));this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.o._remove(this.oil);this.out=c;this.oil=r};a.prototype.end=function(){var b=this.out;b!==c&&b._c()};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==
c&&a._e(b)};a.prototype._c=function(){this.end()};return a}(),w=function(){function a(b,a){this.type="filter";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var f=n(this,b,a);f!==c&&f&&a._n(b)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),M=function(){function a(b,
a){this.out=b;this.op=a}a.prototype._n=function(b){this.out._n(b)};a.prototype._e=function(b){this.out._e(b)};a.prototype._c=function(){this.op.inner=c;this.op.less()};return a}(),N=function(){function a(b){this.type="flatten";this.ins=b;this.out=c;this.open=!0;this.inner=c;this.il=r}a.prototype._start=function(b){this.out=b;this.open=!0;this.inner=c;this.il=r;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.inner!==c&&this.inner._remove(this.il);this.out=c;this.open=
!0;this.inner=c;this.il=r};a.prototype.less=function(){var b=this.out;b!==c&&(this.open||this.inner!==c||b._c())};a.prototype._n=function(b){var a=this.out;if(a!==c){var f=this.inner,d=this.il;f!==c&&d!==r&&f._remove(d);(this.inner=b)._add(this.il=new M(a,this))}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){this.open=!1;this.less()};return a}(),O=function(){function a(b,a,f){var e=this;this.type="fold";this.ins=f;this.out=c;this.f=function(a){return b(e.acc,
a)};this.acc=this.seed=a}a.prototype._start=function(b){this.out=b;this.acc=this.seed;b._n(this.acc);this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c;this.acc=this.seed};a.prototype._n=function(b){var a=this.out;a!==c&&(b=n(this,b,a),b!==c&&a._n(this.acc=b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),P=function(){function a(b){this.type="last";this.ins=b;this.out=c;this.has=!1;this.val=
c}a.prototype._start=function(b){this.out=b;this.has=!1;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.val=this.out=c};a.prototype._n=function(b){this.has=!0;this.val=b};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&(this.has?(b._n(this.val),b._c()):b._e(Error("last() failed because input stream completed")))};return a}(),Q=function(){function a(b,a){this.type="map";this.ins=a;this.out=c;this.f=b}a.prototype._start=
function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&(b=n(this,b,a),b!==c&&a._n(b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),R=function(){function a(b){this.type="remember";this.ins=b;this.out=c}a.prototype._start=function(b){this.out=b;this.ins._add(b)};a.prototype._stop=function(){this.ins._remove(this.out);
this.out=c};return a}(),S=function(){function a(b,a){this.type="replaceError";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;if(a!==c)try{this.ins._remove(this),(this.ins=this.f(b))._add(this)}catch(f){a._e(f)}};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),T=function(){function a(b,
a){this.type="startWith";this.ins=b;this.out=c;this.val=a}a.prototype._start=function(b){this.out=b;this.out._n(this.val);this.ins._add(b)};a.prototype._stop=function(){this.ins._remove(this.out);this.out=c};return a}(),U=function(){function a(b,a){this.type="take";this.ins=a;this.out=c;this.max=b;this.taken=0}a.prototype._start=function(b){this.out=b;this.taken=0;0>=this.max?b._c():this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=
this.out;if(a!==c){var f=++this.taken;f<this.max?a._n(b):f===this.max&&(a._n(b),a._c())}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}();g=function(){function a(b){this._prod=b||c;this._ils=[];this._dl=this._stopID=c;this._d=!1;this._err=this._target=c}a.prototype._n=function(b){var a=this._ils,c=a.length;this._d&&this._dl._n(b);if(1==c)a[0]._n(b);else if(0!=c){a=q(a);for(var d=0;d<c;d++)a[d]._n(b)}};a.prototype._e=function(b){if(this._err===
c){this._err=b;var a=this._ils,f=a.length;this._x();this._d&&this._dl._e(b);if(1==f)a[0]._e(b);else{if(0==f)return;a=q(a);for(var d=0;d<f;d++)a[d]._e(b)}if(!this._d&&0==f)throw this._err;}};a.prototype._c=function(){var b=this._ils,a=b.length;this._x();this._d&&this._dl._c();if(1==a)b[0]._c();else if(0!=a){b=q(b);for(var c=0;c<a;c++)b[c]._c()}};a.prototype._x=function(){0!==this._ils.length&&(this._prod!==c&&this._prod._stop(),this._err=c,this._ils=[])};a.prototype._stopNow=function(){this._prod._stop();
this._stopID=this._err=c};a.prototype._add=function(b){var a=this._target;if(a!==c)return a._add(b);a=this._ils;a.push(b);1<a.length||(this._stopID!==c?(clearTimeout(this._stopID),this._stopID=c):(b=this._prod,b!==c&&b._start(this)))};a.prototype._remove=function(b){var a=this,d=this._target;if(d!==c)return d._remove(b);d=this._ils;b=d.indexOf(b);-1<b&&(d.splice(b,1),this._prod!==c&&0>=d.length?(this._err=c,this._stopID=setTimeout(function(){return a._stopNow()})):1===d.length&&this._pruneCycles())};
a.prototype._pruneCycles=function(){this._hasNoSinks(this,[])&&this._remove(this._ils[0])};a.prototype._hasNoSinks=function(b,a){if(-1!==a.indexOf(b)||b.out===this)return!0;if(b.out&&b.out!==c)return this._hasNoSinks(b.out,a.concat(b));if(b._ils){for(var f=0,d=b._ils.length;f<d;f++)if(!this._hasNoSinks(b._ils[f],a.concat(b)))return!1;return!0}return!1};a.prototype.ctor=function(){return this instanceof p?p:a};a.prototype.addListener=function(b){b._n=b.next||d;b._e=b.error||d;b._c=b.complete||d;this._add(b)};
a.prototype.removeListener=function(b){this._remove(b)};a.prototype.subscribe=function(b){this.addListener(b);return new x(this,b)};a.prototype[t.default]=function(){return this};a.create=function(b){if(b){if("function"!==typeof b.start||"function"!==typeof b.stop)throw Error("producer requires both start and stop functions");l(b)}return new a(b)};a.createWithMemory=function(b){b&&l(b);return new p(b)};a.never=function(){return new a({_start:d,_stop:d})};a.empty=function(){return new a({_start:function(b){b._c()},
_stop:d})};a.throw=function(b){return new a({_start:function(a){a._e(b)},_stop:d})};a.from=function(b){if("function"===typeof b[t.default])return a.fromObservable(b);if("function"===typeof b.then)return a.fromPromise(b);if(Array.isArray(b))return a.fromArray(b);throw new TypeError("Type of input to from() must be an Array, Promise, or Observable");};a.of=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return a.fromArray(b)};a.fromArray=function(b){return new a(new E(b))};a.fromPromise=
function(b){return new a(new F(b))};a.fromObservable=function(b){if(b.endWhen)return b;b="function"===typeof b[t.default]?b[t.default]():b;return new a(new z(b))};a.periodic=function(b){return new a(new G(b))};a.prototype._map=function(b){return new (this.ctor())(new P(b,this))};a.prototype.map=function(b){return this._map(b)};a.prototype.mapTo=function(b){var a=this.map(function(){return b});a._prod.type="mapTo";return a};a.prototype.filter=function(b){var c=this._prod;return c instanceof v?new a(new v(u(c.f,
b),c.ins)):new a(new v(b,this))};a.prototype.take=function(b){return new (this.ctor())(new T(b,this))};a.prototype.drop=function(b){return new a(new I(b,this))};a.prototype.last=function(){return new a(new O(this))};a.prototype.startWith=function(b){return new p(new S(this,b))};a.prototype.endWhen=function(b){return new (this.ctor())(new K(b,this))};a.prototype.fold=function(b,a){return new p(new N(b,a,this))};a.prototype.replaceError=function(b){return new (this.ctor())(new R(b,this))};a.prototype.flatten=
function(){return new a(new M(this))};a.prototype.compose=function(b){return b(this)};a.prototype.remember=function(){return new p(new Q(this))};a.prototype.debug=function(b){return new (this.ctor())(new H(this,b))};a.prototype.imitate=function(b){if(b instanceof p)throw Error("A MemoryStream was given to imitate(), but it only supports a Stream. Read more about this restriction here: https://github.com/staltz/xstream#faq");this._target=b;for(var a=this._ils,c=a.length,d=0;d<c;d++)b._add(a[d]);this._ils=
[]};a.prototype.shamefullySendNext=function(a){this._n(a)};a.prototype.shamefullySendError=function(a){this._e(a)};a.prototype.shamefullySendComplete=function(){this._c()};a.prototype.setDebugListener=function(a){a?(this._d=!0,a._n=a.next||d,a._e=a.error||d,a._c=a.complete||d,this._dl=a):(this._d=!1,this._dl=c)};a.merge=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return new a(new A(b))};a.combine=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return new a(new D(b))};
return a}();h.Stream=e;var p=function(a){function b(b){b=a.call(this,b)||this;b._has=!1;return b}m(b,a);b.prototype._n=function(b){this._v=b;this._has=!0;a.prototype._n.call(this,b)};b.prototype._add=function(a){var b=this._target;if(b!==c)return b._add(a);b=this._ils;b.push(a);1<b.length?this._has&&a._n(this._v):this._stopID!==c?(this._has&&a._n(this._v),clearTimeout(this._stopID),this._stopID=c):this._has?a._n(this._v):(a=this._prod,a!==c&&a._start(this))};b.prototype._stopNow=function(){this._has=
a.prototype._pruneCycles=function(){this._hasNoSinks(this,[])&&this._remove(this._ils[0])};a.prototype._hasNoSinks=function(b,a){if(-1!==a.indexOf(b)||b.out===this)return!0;if(b.out&&b.out!==c)return this._hasNoSinks(b.out,a.concat(b));if(b._ils){for(var e=0,d=b._ils.length;e<d;e++)if(!this._hasNoSinks(b._ils[e],a.concat(b)))return!1;return!0}return!1};a.prototype.ctor=function(){return this instanceof p?p:a};a.prototype.addListener=function(b){b._n=b.next||d;b._e=b.error||d;b._c=b.complete||d;this._add(b)};
a.prototype.removeListener=function(b){this._remove(b)};a.prototype.subscribe=function(b){this.addListener(b);return new z(this,b)};a.prototype[t.default]=function(){return this};a.create=function(b){if(b){if("function"!==typeof b.start||"function"!==typeof b.stop)throw Error("producer requires both start and stop functions");l(b)}return new a(b)};a.createWithMemory=function(b){b&&l(b);return new p(b)};a.never=function(){return new a({_start:d,_stop:d})};a.empty=function(){return new a({_start:function(b){b._c()},
_stop:d})};a.throw=function(b){return new a({_start:function(a){a._e(b)},_stop:d})};a.from=function(b){if("function"===typeof b[t.default])return a.fromObservable(b);if("function"===typeof b.then)return a.fromPromise(b);if(Array.isArray(b))return a.fromArray(b);throw new TypeError("Type of input to from() must be an Array, Promise, or Observable");};a.of=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return a.fromArray(b)};a.fromArray=function(b){return new a(new F(b))};a.fromPromise=
function(b){return new a(new G(b))};a.fromObservable=function(b){if(b.endWhen)return b;b="function"===typeof b[t.default]?b[t.default]():b;return new a(new B(b))};a.periodic=function(b){return new a(new H(b))};a.prototype._map=function(b){return new (this.ctor())(new Q(b,this))};a.prototype.map=function(b){return this._map(b)};a.prototype.mapTo=function(b){var a=this.map(function(){return b});a._prod.type="mapTo";return a};a.prototype.filter=function(b){var c=this._prod;return c instanceof w?new a(new w(u(c.f,
b),c.ins)):new a(new w(b,this))};a.prototype.take=function(b){return new (this.ctor())(new U(b,this))};a.prototype.drop=function(b){return new a(new J(b,this))};a.prototype.last=function(){return new a(new P(this))};a.prototype.startWith=function(b){return new p(new T(this,b))};a.prototype.endWhen=function(b){return new (this.ctor())(new L(b,this))};a.prototype.fold=function(b,a){return new p(new O(b,a,this))};a.prototype.replaceError=function(b){return new (this.ctor())(new S(b,this))};a.prototype.flatten=
function(){return new a(new N(this))};a.prototype.compose=function(b){return b(this)};a.prototype.remember=function(){return new p(new R(this))};a.prototype.debug=function(b){return new (this.ctor())(new I(this,b))};a.prototype.imitate=function(b){if(b instanceof p)throw Error("A MemoryStream was given to imitate(), but it only supports a Stream. Read more about this restriction here: https://github.com/staltz/xstream#faq");this._target=b;for(var a=this._ils,c=a.length,d=0;d<c;d++)b._add(a[d]);this._ils=
[]};a.prototype.shamefullySendNext=function(a){this._n(a)};a.prototype.shamefullySendError=function(a){this._e(a)};a.prototype.shamefullySendComplete=function(){this._c()};a.prototype.setDebugListener=function(a){a?(this._d=!0,a._n=a.next||d,a._e=a.error||d,a._c=a.complete||d,this._dl=a):(this._d=!1,this._dl=c)};a.merge=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return new a(new C(b))};a.combine=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return new a(new E(b))};
return a}();h.Stream=g;var p=function(a){function b(b){b=a.call(this,b)||this;b._has=!1;return b}m(b,a);b.prototype._n=function(b){this._v=b;this._has=!0;a.prototype._n.call(this,b)};b.prototype._add=function(a){var b=this._target;if(b!==c)return b._add(a);b=this._ils;b.push(a);1<b.length?this._has&&a._n(this._v):this._stopID!==c?(this._has&&a._n(this._v),clearTimeout(this._stopID),this._stopID=c):this._has?a._n(this._v):(a=this._prod,a!==c&&a._start(this))};b.prototype._stopNow=function(){this._has=
!1;a.prototype._stopNow.call(this)};b.prototype._x=function(){this._has=!1;a.prototype._x.call(this)};b.prototype.map=function(a){return this._map(a)};b.prototype.mapTo=function(b){return a.prototype.mapTo.call(this,b)};b.prototype.take=function(b){return a.prototype.take.call(this,b)};b.prototype.endWhen=function(b){return a.prototype.endWhen.call(this,b)};b.prototype.replaceError=function(b){return a.prototype.replaceError.call(this,b)};b.prototype.remember=function(){return this};b.prototype.debug=
function(b){return a.prototype.debug.call(this,b)};return b}(e);h.MemoryStream=p;h.default=e},{"symbol-observable":2}],2:[function(e,k,h){var d="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{};Object.defineProperty(h,"__esModule",{value:!0});e=(e=e("./ponyfill.js"))&&e.__esModule?e:{"default":e};k="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof d?d:"undefined"!==typeof k?k:Function("return this")();k=(0,
e["default"])(k);h["default"]=k},{"./ponyfill.js":3}],3:[function(e,k,h){Object.defineProperty(h,"__esModule",{value:!0});h["default"]=function(d){var e=d.Symbol;"function"===typeof e?e.observable?d=e.observable:(d=e("observable"),e.observable=d):d="@@observable";return d}},{}]},{},[1])(1)});
function(b){return a.prototype.debug.call(this,b)};return b}(g);h.MemoryStream=p;h.default=g},{"symbol-observable":2}],2:[function(g,k,h){var d="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{};Object.defineProperty(h,"__esModule",{value:!0});g=(g=g("./ponyfill.js"))&&g.__esModule?g:{"default":g};k="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof d?d:"undefined"!==typeof k?k:Function("return this")();k=(0,
g["default"])(k);h["default"]=k},{"./ponyfill.js":3}],3:[function(g,k,h){Object.defineProperty(h,"__esModule",{value:!0});h["default"]=function(d){var g=d.Symbol;"function"===typeof g?g.observable?d=g.observable:(d=g("observable"),g.observable=d):d="@@observable";return d}},{}]},{},[1])(1)});

@@ -9,3 +9,3 @@ "use strict";

}
SeparatorIL.prototype._n = function (t) {
SeparatorIL.prototype._n = function (_t) {
this.op.flush();

@@ -110,2 +110,2 @@ };

exports.default = buffer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVmZmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2V4dHJhL2J1ZmZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtDQUE4RTtBQUU5RTtJQUNFLHFCQUFtQixHQUFxQixFQUFVLEVBQXFCO1FBQXBELFFBQUcsR0FBSCxHQUFHLENBQWtCO1FBQVUsT0FBRSxHQUFGLEVBQUUsQ0FBbUI7SUFDdkUsQ0FBQztJQUVELHdCQUFFLEdBQUYsVUFBRyxDQUFNO1FBQ1AsSUFBSSxDQUFDLEVBQUUsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUNsQixDQUFDO0lBRUQsd0JBQUUsR0FBRixVQUFHLEdBQVE7UUFDVCxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUNuQixDQUFDO0lBRUQsd0JBQUUsR0FBRjtRQUNFLElBQUksQ0FBQyxFQUFFLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDaEIsS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gNCwgNV1cbiAqID4gWzYsIDcsIDhdXG4gKiBgYGBcbiAqXG4gKiBAcGFyYW0ge1N0cmVhbX0gc2VwYXJhdG9yIFNvbWUgb3RoZXIgc3RyZWFtIHRoYXQgaXMgdXNlZCB0byBrbm93IHdoZW4gdG9cbiAqIHNwbGl0IHRoZSBvdXRwdXQgc3RyZWFtLlxuICogQHJldHVybiB7U3RyZWFtfVxuICovXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBidWZmZXI8VD4oczogU3RyZWFtPGFueT4pOiAoaW5zOiBTdHJlYW08VD4pID0+IFN0cmVhbTxBcnJheTxUPj4ge1xuICByZXR1cm4gZnVuY3Rpb24gYnVmZmVyT3BlcmF0b3IoaW5zOiBTdHJlYW08VD4pIHtcbiAgICByZXR1cm4gbmV3IFN0cmVhbTxBcnJheTxUPj4obmV3IEJ1ZmZlck9wZXJhdG9yPFQ+KHMsIGlucykpO1xuICB9O1xufVxuIl19

@@ -96,2 +96,2 @@ "use strict";

exports.default = concat;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uY2F0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2V4dHJhL2NvbmNhdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtDQUErRTtBQUUvRTtJQUtFLHdCQUFtQixPQUF5QjtRQUF6QixZQUFPLEdBQVAsT0FBTyxDQUFrQjtRQUpyQyxTQUFJLEdBQUcsUUFBUSxDQUFDO1FBQ2hCLFFBQUcsR0FBYyxJQUFXLENBQUM7UUFDNUIsTUFBQyxHQUFXLENBQUMsQ0FBQztJQUd0QixDQUFDO0lBRUQsK0JBQU0sR0FBTixVQUFPLEdBQWM7UUFDbkIsSUFBSSxDQUFDLEdBQUcsR0FBRyxHQUFHLENBQUM7UUFDZixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyx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NvbXBvc2UoZGVsYXkoNjApKVxuICpcbiAqIHN0cmVhbS5hZGRMaXN0ZW5lcih7XG4gKiAgIG5leHQ6IGkgPT4gY29uc29sZS5sb2coaSksXG4gKiAgIGVycm9yOiBlcnIgPT4gY29uc29sZS5lcnJvcihlcnIpLFxuICogICBjb21wbGV0ZTogKCkgPT4gY29uc29sZS5sb2coJ2NvbXBsZXRlZCcpXG4gKiB9KVxuICogYGBgXG4gKlxuICogYGBgdGV4dFxuICogPiAxICAoYWZ0ZXIgNjAgbXMpXG4gKiA+IDIgIChhZnRlciAxNjAgbXMpXG4gKiA+IDMgIChhZnRlciAyMjAgbXMpXG4gKiA+IDQgIChhZnRlciAyODAgbXMpXG4gKiA+IDUgIChhZnRlciAzODAgbXMpXG4gKiA+IGNvbXBsZXRlZFxuICogYGBgXG4gKlxuICogQHBhcmFtIHtudW1iZXJ9IHBlcmlvZCBUaGUgYW1vdW50IG9mIHNpbGVuY2UgcmVxdWlyZWQgaW4gbWlsbGlzZWNvbmRzLlxuICogQHJldHVybiB7U3RyZWFtfVxuICovXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBkZWxheTxUPihwZXJpb2Q6IG51bWJlcik6IChpbnM6IFN0cmVhbTxUPikgPT4gU3RyZWFtPFQ+IHtcbiAgcmV0dXJuIGZ1bmN0aW9uIGRlbGF5T3BlcmF0b3IoaW5zOiBTdHJlYW08VD4pOiBTdHJlYW08VD4ge1xuICAgIHJldHVybiBuZXcgU3RyZWFtPFQ+KG5ldyBEZWxheU9wZXJhdG9yKHBlcmlvZCwgaW5zKSk7XG4gIH07XG59XG4iXX0=

@@ -119,2 +119,2 @@ "use strict";

exports.default = dropRepeats;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcFJlcGVhdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXh0cmEvZHJvcFJlcGVhdHMudHMiXSwibmFtZXMiOltdLCJ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ZXZpb3VzIGV2ZW50LCBieSByZXR1cm5pbmcgYSBib29sZWFuLlxuICogQHJldHVybiB7U3RyZWFtfVxuICovXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBkcm9wUmVwZWF0czxUPihpc0VxdWFsOiAoKHg6IFQsIHk6IFQpID0+IGJvb2xlYW4pIHwgdW5kZWZpbmVkID0gdm9pZCAwKTogKGluczogU3RyZWFtPFQ+KSA9PiBTdHJlYW08VD4ge1xuICByZXR1cm4gZnVuY3Rpb24gZHJvcFJlcGVhdHNPcGVyYXRvcihpbnM6IFN0cmVhbTxUPik6IFN0cmVhbTxUPiB7XG4gICAgcmV0dXJuIG5ldyBTdHJlYW08VD4obmV3IERyb3BSZXBlYXRzT3BlcmF0b3I8VD4oaW5zLCBpc0VxdWFsKSk7XG4gIH07XG59XG4iXX0=

@@ -9,3 +9,4 @@ import { Operator, Stream } from '../index';

private on;
constructor(o: Stream<any>, ins: Stream<T>);
constructor(o: Stream<any>, // o = other
ins: Stream<T>);
_start(out: Stream<T>): void;

@@ -12,0 +13,0 @@ _stop(): void;

@@ -9,3 +9,3 @@ "use strict";

}
OtherIL.prototype._n = function (t) {
OtherIL.prototype._n = function (_t) {
this.op.up();

@@ -117,2 +117,2 @@ };

exports.default = dropUntil;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcFVudGlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2V4dHJhL2Ryb3BVbnRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtDQUE4RTtBQUU5RTtJQUNFLGlCQUFtQixHQUFjLEVBQ2IsRUFBd0I7UUFEekIsUUFBRyxHQUFILEdBQUcsQ0FBVztRQUNiLE9BQUUsR0FBRixFQUFFLENBQXNCO0lBQzVDLENBQUM7SUFFRCxvQkFBRSxHQUFGLFVBQUcsQ0FBSTtRQUNMLElBQUksQ0FBQyxFQ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tKy18XG4gKiAgICBcXCAgIFxcICAgXFxcbiAqICAgICBcXCAgIFxcICAgLS0tZmdoLS0tLWktLS0tLWpoLS18XG4gKiAgICAgIFxcICAgLS0tLS0xLS0tLTItLS0tMy0tfFxuICogICAgICAgLS0tYS0tYi0tLS0tYy0tfFxuICogICAgIGZsYXR0ZW5Db25jdXJyZW50bHlBdE1vc3QoMilcbiAqIC0tLS0tLS0tLWEtLWItMS0tLWMyLS1pLTMtLS0tLS1mZ2gtLS0taS0tLS0tamgtLXxcbiAqIGBgYFxuICpcbiAqIEByZXR1cm4ge1N0cmVhbX1cbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gZmxhdHRlbkNvbmN1cnJlbnRseUF0TW9zdDxUPihuOiBudW1iZXIpOiAoaW5zOiBTdHJlYW08U3RyZWFtPFQ+PikgPT4gU3RyZWFtPFQ+IHtcbiAgcmV0dXJuIGZ1bmN0aW9uIGZsYXR0ZW5Db25jQU1PcGVyYXRvcihpbnM6IFN0cmVhbTxTdHJlYW08VD4+KSB7XG4gICAgcmV0dXJuIG5ldyBTdHJlYW08VD4obmV3IEZsYXR0ZW5Db25jQU1PcGVyYXRvcihuLCBpbnMpKTtcbiAgfTtcbn1cbiJdfQ==

@@ -120,2 +120,2 @@ "use strict";

exports.default = flattenSequentially;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhdHRlblNlcXVlbnRpYWxseS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9leHRyYS9mbGF0dGVuU2VxdWVudGlhbGx5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsa0NBQTREO0FBRTVEO0lBQ0UsaUJBQW9CLEdBQWMsRUFDZCxFQUF5QjtRQUR6QixRQUFHLEdBQUgsR0FBRyxDQUFXO1FBQ2QsT0FBRSxHQUFGLEVBQUUsQ0FBdUI7SUFDN0MsQ0FBQztJQU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LS0tLS0tLS0tXG4gKiAgIFxcICAgICAgICBcXFxuICogICAgXFwgICAgICAgLS0tLTEtLS0tMi0tLTMtLXxcbiAqICAgIC0tYS0tYi0tLS1jLS0tLWQtLXxcbiAqICAgICAgICAgIGZsYXR0ZW5TZXF1ZW50aWFsbHlcbiAqIC0tLS0tYS0tYi0tLS1jLS0tLWQtLS0tLS0xLS0tLTItLS0zLS1cbiAqIGBgYFxuICpcbiAqIEByZXR1cm4ge1N0cmVhbX1cbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gZmxhdHRlblNlcXVlbnRpYWxseTxUPihpbnM6IFN0cmVhbTxTdHJlYW08VD4+KTogU3RyZWFtPFQ+IHtcbiAgcmV0dXJuIG5ldyBTdHJlYW08VD4obmV3IEZsYXR0ZW5TZXFPcGVyYXRvcihpbnMpKTtcbn1cbiJdfQ==

@@ -15,3 +15,3 @@ import { Stream, InternalProducer, InternalListener } from '../index';

_start(out: InternalListener<any>): void;
private schedule(notification, out);
private schedule;
_stop(): void;

@@ -18,0 +18,0 @@ }

@@ -112,2 +112,2 @@ "use strict";

exports.default = fromDiagram;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJvbURpYWdyYW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXh0cmEvZnJvbURpYWdyYW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxrQ0FBb0U7QUFjcEU7SUFPRSx5QkFBWSxPQUFlLEVBQ2YsR0FBd0I7UUFDbEMsSUFBSSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUMsSUFBSSxFQUFFLENBQUM7UUFDOUIsSUFBSSxDQUFDLFFBQVEsR0FBRyxDQUFDLEdBQUcsSUFBSSxHQUFHLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFD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FtPGFueT4obmV3IERpYWdyYW1Qcm9kdWNlcihkaWFncmFtLCBvcHRpb25zKSk7XG59XG4iXX0=

@@ -9,3 +9,3 @@ /// <reference types="node" />

type: string;
private listener;
private listener?;
constructor(node: EventTarget, eventType: string, useCapture: boolean);

@@ -19,3 +19,3 @@ _start(out: InternalListener<Event>): void;

type: string;
private listener;
private listener?;
constructor(node: EventEmitter, eventName: string);

@@ -22,0 +22,0 @@ _start(out: InternalListener<any>): void;

@@ -147,2 +147,2 @@ "use strict";

exports.default = fromEvent;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJvbUV2ZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2V4dHJhL2Zyb21FdmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUVBLGtDQUFvRTtBQUVwRTtJQUlFLDBCQUFvQixJQUFpQixFQUNqQixTQUFpQixFQUNqQixVQUFtQjtRQUZuQixTQUFJLEdBQUosSUFBSSxDQUFhO1FBQ2pCLGNBQVMsR0FBVCxTQUFTLENBQVE7UUFDakIsZUFBVSxHQUFWLFVBQVUsQ0FBUztRQUxoQyxTQUFJLEdBQUcsV0FBVyxDQUFDO0lBTTFCLENBQUM7SUFFRCxpQ0FBTSxHQUFOLFVBQU8sR0FBNEI7UUFDakMsSUFBSSxDQUFDLFFBQVEsR0FBRyxVQUFDLENBQUMsSUFBSyxPQUFBLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQVQsQ0FBUyxDQUFDO1FBQ2pDLElBQUksQ0FBQyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBRSxJQUFJLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUM3RSxDQUFDO0lBRUQsZ0NBQUssR0FBTDtRQUNFLElBQUksQ0FBQyxJQUFJLENB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ICAgICAgICAgICAgICAgICAgICAgZXZlbnROYW1lOiBzdHJpbmcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXNlQ2FwdHVyZTogYm9vbGVhbiA9IGZhbHNlKTogU3RyZWFtPFQ+IHtcbiAgaWYgKGlzRW1pdHRlcihlbGVtZW50KSkge1xuICAgIHJldHVybiBuZXcgU3RyZWFtPFQ+KG5ldyBOb2RlRXZlbnRQcm9kdWNlcihlbGVtZW50LCBldmVudE5hbWUpKTtcbiAgfSBlbHNlIHtcbiAgICByZXR1cm4gbmV3IFN0cmVhbTxUPihuZXcgRE9NRXZlbnRQcm9kdWNlcihlbGVtZW50LCBldmVudE5hbWUsIHVzZUNhcHR1cmUpIGFzIGFueSk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgZnJvbUV2ZW50O1xuIl19

@@ -90,2 +90,2 @@ "use strict";

exports.default = pairwise;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpcndpc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXh0cmEvcGFpcndpc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxrQ0FBMEM7QUFFMUM7SUFNRSwwQkFBbUIsR0FBYztRQUFkLFFBQUcsR0FBSCxHQUFHLENBQVc7UUFMMUIsU0FBSSxHQUFHLFVBQVUsQ0FBQztRQUNqQixRQUFHLEdBQWEsSUFBSSxDQUFDO1FBQ3JCLFFBQUcsR0FBWSxLQUFLLENBQUM7UUFDdEIsUUFBRyxHQUFtQixJQUFXLENBQUM7SUFHekMsQ0FBQztJQUVELGlDQUFNLEdBQU4sVUFBTyxHQUFtQjtRQUN4QixJQUFJLENBQUMsR0FBRyxHQUFHLEdBQUcsQ0FBQztRQUNmLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3RCLENBQUM7SUFFRCx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9uIHNhbXBsZUNvbWJpbmVPcGVyYXRvcihzYW1wbGVyOiBTdHJlYW08YW55Pik6IFN0cmVhbTxBcnJheTxhbnk+PiB7XG4gICAgcmV0dXJuIG5ldyBTdHJlYW08QXJyYXk8YW55Pj4obmV3IFNhbXBsZUNvbWJpbmVPcGVyYXRvcihzYW1wbGVyLCBzdHJlYW1zKSk7XG4gIH07XG59IGFzIFNhbXBsZUNvbWJpbmVTaWduYXR1cmU7XG5cbmV4cG9ydCBkZWZhdWx0IHNhbXBsZUNvbWJpbmU7Il19

@@ -9,3 +9,4 @@ import { Operator, Stream } from '../index';

private sil;
constructor(s: Stream<any>, ins: Stream<T>);
constructor(s: Stream<any>, // s = separator
ins: Stream<T>);
_start(out: Stream<Stream<T>>): void;

@@ -12,0 +13,0 @@ _stop(): void;

@@ -9,3 +9,3 @@ "use strict";

}
SeparatorIL.prototype._n = function (t) {
SeparatorIL.prototype._n = function (_t) {
this.op.up();

@@ -136,2 +136,2 @@ };

exports.default = split;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BsaXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXh0cmEvc3BsaXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxrQ0FBOEU7QUFFOUU7SUFDRSxxQkFBbUIsR0FBc0IsRUFDckIsRUFBb0I7UUFEckIsUUFBRyxHQUFILEdBQUcsQ0FBbUI7UUFDckIsT0FBRSxHQUFGLEVBQUUsQ0FBa0I7SUFDeEMsQ0FBQztJQUVELHdCQUFFLEdBQUYsVUFBRyxDQUFNO1FBQ1AsSUFBSSxDQUFDLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQztJQUNmLENBQUM7SUFFRCx3QkFBRSxHQUFGLFVBQUcsR0FBUTtRQUNULElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0l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AgLmNvbXBvc2UodGhyb3R0bGUoNjApKVxuICpcbiAqIHN0cmVhbS5hZGRMaXN0ZW5lcih7XG4gKiAgIG5leHQ6IGkgPT4gY29uc29sZS5sb2coaSksXG4gKiAgIGVycm9yOiBlcnIgPT4gY29uc29sZS5lcnJvcihlcnIpLFxuICogICBjb21wbGV0ZTogKCkgPT4gY29uc29sZS5sb2coJ2NvbXBsZXRlZCcpXG4gKiB9KVxuICogYGBgXG4gKlxuICogYGBgdGV4dFxuICogPiAxXG4gKiA+IDNcbiAqID4gNVxuICogPiBjb21wbGV0ZWRcbiAqIGBgYFxuICpcbiAqIEBwYXJhbSB7bnVtYmVyfSBwZXJpb2QgVGhlIGFtb3VudCBvZiBzaWxlbmNlIHJlcXVpcmVkIGluIG1pbGxpc2Vjb25kcy5cbiAqIEByZXR1cm4ge1N0cmVhbX1cbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdGhyb3R0bGU8VD4ocGVyaW9kOiBudW1iZXIpOiAoaW5zOiBTdHJlYW08VD4pID0+IFN0cmVhbTxUPiB7XG4gIHJldHVybiBmdW5jdGlvbiB0aHJvdHRsZU9wZXJhdG9yKGluczogU3RyZWFtPFQ+KSB7XG4gICAgcmV0dXJuIG5ldyBTdHJlYW08VD4obmV3IFRocm90dGxlT3BlcmF0b3IocGVyaW9kLCBpbnMpKTtcbiAgfTtcbn1cbiJdfQ==

@@ -181,2 +181,2 @@ "use strict";

exports.default = tweenFactory;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHdlZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXh0cmEvdHdlZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxrQ0FBZ0M7QUFDaEMsbUNBQThCO0FBbUI5QixxQkFBcUIsQ0FBUyxFQUFFLElBQVksRUFBRSxFQUFVO0lBQ3RELE9BQU8sQ0FBQyxJQ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J5LnBvd2VyMyA9IGVhc2luZ1Bvd2VyMztcbnR3ZWVuRmFjdG9yeS5wb3dlcjQgPSBlYXNpbmdQb3dlcjQ7XG50d2VlbkZhY3RvcnkuZXhwb25lbnRpYWwgPSBlYXNpbmdFeHBvbmVudGlhbDtcbnR3ZWVuRmFjdG9yeS5iYWNrID0gZWFzaW5nQmFjaztcbnR3ZWVuRmFjdG9yeS5ib3VuY2UgPSBlYXNpbmdCb3VuY2U7XG50d2VlbkZhY3RvcnkuY2lyY3VsYXIgPSBlYXNpbmdDaXJjO1xudHdlZW5GYWN0b3J5LmVsYXN0aWMgPSBlYXNpbmdFbGFzdGljO1xudHdlZW5GYWN0b3J5LnNpbmUgPSBlYXNpbmdTaW5lO1xuXG5leHBvcnQgZGVmYXVsdCB0d2VlbkZhY3Rvcnk7XG4iXX0=

@@ -86,3 +86,3 @@ declare const NO: {};

_hasNoSinks(x: InternalListener<any>, trace: Array<any>): boolean;
private ctor();
private ctor;
/**

@@ -511,3 +511,3 @@ * Adds a Listener to the Stream.

*/
flatten<R>(this: Stream<Stream<R>>): T;
flatten<R>(this: Stream<Stream<R>>): Stream<R>;
/**

@@ -654,4 +654,4 @@ * Passes the input stream to a custom operator, to produce an output stream.

export declare class MemoryStream<T> extends Stream<T> {
private _v;
private _has;
private _v?;
private _has?;
constructor(producer: InternalProducer<T>);

@@ -658,0 +658,0 @@ _n(x: T): void;

{
"name": "xstream",
"version": "11.9.0",
"version": "11.10.0",
"description": "An extremely intuitive, small, and fast functional reactive stream library for JavaScript",

@@ -12,3 +12,3 @@ "main": "index.js",

"premocha": "npm run compile",
"mocha": "mocha tests/*.ts tests/**/*.ts --require ts-node/register",
"mocha": "mocha tests/*.ts tests/**/*.ts --require ts-node/register --exit",
"test-types": "tsc tests/types.ts --noEmit",

@@ -19,3 +19,3 @@ "test": "npm run lint && npm run test-types && npm run mocha && npm run doctest",

"teardown-browser-tests": "rm browser-tests/tests-bundle.js",
"compile": "tsc",
"compile": "tsc -P ./tsconfig.strict.json",
"page-content": "npm run compile && rm -rf .ignore/ && mkdirp .ignore/ && npm run changelog && node tools/make-toc.js && node tools/make-factories.js && node tools/make-methods.js && cat markdown/header.md markdown/generated-toc.md markdown/overview.md markdown/generated-factories.md markdown/generated-methods.md markdown/footer.md > .ignore/content.md",

@@ -68,3 +68,3 @@ "extra-docs": "node tools/make-extras.js && rm EXTRA_DOCS.md && cp markdown/generated-extras.md EXTRA_DOCS.md",

"mkdirp": "0.5.1",
"mocha": "2.4.5",
"mocha": "^5.2.0",
"most": "1.0.3",

@@ -76,3 +76,3 @@ "sinon": "1.16.0",

"tslint": "5.7.0",
"typescript": "2.8.x",
"typescript": "3.2.x",
"validate-commit-msg": "2.4.x"

@@ -79,0 +79,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc