new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00229,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00229,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.00229,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0.00229,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0.00229,"102":0.00229,"103":0,"104":0,"105":0.00229,"106":0.00229,"107":0.00917,"108":0.16051,"109":0.08026,"110":0.00229,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00229,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00459,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00459,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00459,"69":0.00229,"70":0.00459,"71":0.00229,"72":0.00459,"73":0.00229,"74":0.00229,"75":0.00459,"76":0.00229,"77":0,"78":0.00917,"79":0.00688,"80":0.00459,"81":0.00688,"83":0.00917,"84":0.00459,"85":0,"86":0.01147,"87":0.00459,"88":0.00688,"89":0,"90":0.00917,"91":0.00688,"92":0.01147,"93":0.00229,"94":0.08255,"95":0.00459,"96":0.00459,"97":0.00688,"98":0.00688,"99":0.00459,"100":0.00459,"101":0.00688,"102":0.00917,"103":0.02293,"104":0.01376,"105":0.02064,"106":0.02293,"107":0.05274,"108":1.61427,"109":1.44459,"110":0.00459,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00229,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00229,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0.00229,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.01376,"94":0.06191,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0.00229,"13":0,"14":0.00229,"15":0,"16":0.00229,"17":0,"18":0.00229,"79":0,"80":0,"81":0,"83":0,"84":0.00688,"85":0,"86":0,"87":0.00229,"88":0,"89":0,"90":0,"91":0,"92":0.00459,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.00229,"103":0,"104":0,"105":0.00229,"106":0.00229,"107":0.00688,"108":0.24306,"109":0.22242},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00229,"14":0.00459,"15":0.00229,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00688,"13.1":0.00917,"14.1":0.01376,"15.1":0.00229,"15.2-15.3":0.00688,"15.4":0.00459,"15.5":0.00917,"15.6":0.05503,"16.0":0.00917,"16.1":0.0321,"16.2":0.05274,"16.3":0.01376},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.00981,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0.00491,"9.3":0.07116,"10.0-10.2":0.01963,"10.3":0.11532,"11.0-11.2":0.02944,"11.3-11.4":0.03435,"12.0-12.1":0.0319,"12.2-12.5":1.22684,"13.0-13.1":0.02454,"13.2":0.05398,"13.3":0.11532,"13.4-13.7":0.45148,"14.0-14.4":0.8367,"14.5-14.8":1.5041,"15.0-15.1":0.52999,"15.2-15.3":0.71402,"15.4":0.7042,"15.5":1.19003,"15.6":2.65733,"16.0":3.03274,"16.1":4.49513,"16.2":3.2045,"16.3":0.27972},P:{"4":0.23397,"5.0-5.4":0,"6.2-6.4":0.01017,"7.2-7.4":0.31535,"8.2":0,"9.2":0.03052,"10.1":0.02034,"11.1-11.2":0.08138,"12.0":0.02034,"13.0":0.05086,"14.0":0.12207,"15.0":0.09155,"16.0":0.17293,"17.0":0.15259,"18.0":0.27466,"19.0":2.45156},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.09459},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.03669,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.12331},Q:{"13.1":0.03083},O:{"0":1.03274},H:{"0":0.28456},L:{"0":66.82458},S:{"2.5":0}};
|
||||
@@ -0,0 +1 @@
|
||||
import 'rxjs-compat/add/operator/timestamp';
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00326,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00652,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00326,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.00326,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0.00326,"89":0,"90":0,"91":0,"92":0.00652,"93":0,"94":0,"95":0.00326,"96":0,"97":0,"98":0.00978,"99":0.00978,"100":0,"101":0,"102":0.0163,"103":0,"104":0.00326,"105":0,"106":0,"107":0.00978,"108":0.41063,"109":0.2542,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00652,"35":0,"36":0,"37":0,"38":0.00652,"39":0,"40":0.00978,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00652,"50":0.00326,"51":0,"52":0,"53":0.00326,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00326,"68":0.00652,"69":0,"70":0,"71":0,"72":0,"73":0.00326,"74":0.00326,"75":0,"76":0,"77":0,"78":0.00652,"79":0.06192,"80":0.00652,"81":0.03259,"83":0.00652,"84":0,"85":0.00326,"86":0.00652,"87":0.02281,"88":0.00978,"89":0,"90":0.00326,"91":0.02607,"92":0.02933,"93":0.00326,"94":0,"95":0.00326,"96":0.00978,"97":0.01955,"98":0.00978,"99":0.02933,"100":0.01304,"101":0.00978,"102":0.00652,"103":0.03911,"104":0.0163,"105":0.0163,"106":0.03259,"107":0.08148,"108":3.47735,"109":3.33722,"110":0.00326,"111":0.00326,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.0163,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.00326,"62":0,"63":0.00326,"64":0,"65":0,"66":0.0163,"67":0.00652,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00652,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.09125,"94":0.17925,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00326,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00326,"93":0,"94":0,"95":0,"96":0.00326,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0.00326,"106":0.00326,"107":0.03259,"108":0.43345,"109":0.49537},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00326,"13":0.00326,"14":0.01304,"15":0.00326,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00652,"13.1":0.0163,"14.1":0.06192,"15.1":0.00652,"15.2-15.3":0.01955,"15.4":0.00978,"15.5":0.04889,"15.6":0.17925,"16.0":0.02933,"16.1":0.11732,"16.2":0.13688,"16.3":0.01955},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.01101,"6.0-6.1":0,"7.0-7.1":0.02325,"8.1-8.4":0,"9.0-9.2":0.00245,"9.3":0.13706,"10.0-10.2":0.00122,"10.3":0.05629,"11.0-11.2":0.00612,"11.3-11.4":0.00489,"12.0-12.1":0.00979,"12.2-12.5":0.38302,"13.0-13.1":0.00367,"13.2":0.00245,"13.3":0.00857,"13.4-13.7":0.0722,"14.0-14.4":0.16031,"14.5-14.8":0.27778,"15.0-15.1":0.06486,"15.2-15.3":0.13706,"15.4":0.10402,"15.5":0.39648,"15.6":1.08298,"16.0":1.59571,"16.1":4.0725,"16.2":2.62118,"16.3":0.24964},P:{"4":0.31719,"5.0-5.4":0.01023,"6.2-6.4":0,"7.2-7.4":0.20464,"8.2":0,"9.2":0.02046,"10.1":0.01023,"11.1-11.2":0.07162,"12.0":0.01023,"13.0":0.06139,"14.0":0.08186,"15.0":0.0307,"16.0":0.29673,"17.0":0.15348,"18.0":0.17395,"19.0":5.11603},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00454,"4.2-4.3":0.00756,"4.4":0,"4.4.3-4.4.4":0.06049},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0038,"9":0,"10":0,"11":0.01901,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.37076},Q:{"13.1":0},O:{"0":0.59995},H:{"0":0.48503},L:{"0":67.51509},S:{"2.5":0}};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"expand.js","sources":["../src/operator/expand.ts"],"names":[],"mappings":";;;;;AAAA,iDAA4C"}
|
||||
@@ -0,0 +1,2 @@
|
||||
/** Symbol.observable or a string "@@observable". Used for interop */
|
||||
export const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/operator/groupBy';
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"bufferCount.js","sources":["../../src/add/operator/bufferCount.ts"],"names":[],"mappings":";;AAAA,gDAA8C"}
|
||||
@@ -0,0 +1,14 @@
|
||||
// https://github.com/Modernizr/Modernizr/issues/572
|
||||
// http://jsfiddle.net/FWeinb/etnYC/
|
||||
Modernizr.addTest('cssvwunit', function(){
|
||||
var bool;
|
||||
Modernizr.testStyles("#modernizr { width: 50vw; }", function(elem, rule) {
|
||||
var width = parseInt(window.innerWidth/2,10),
|
||||
compStyle = parseInt((window.getComputedStyle ?
|
||||
getComputedStyle(elem, null) :
|
||||
elem.currentStyle)["width"],10);
|
||||
|
||||
bool= (compStyle == width);
|
||||
});
|
||||
return bool;
|
||||
});
|
||||
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var ArgumentOutOfRangeErrorImpl = (function () {
|
||||
function ArgumentOutOfRangeErrorImpl() {
|
||||
Error.call(this);
|
||||
this.message = 'argument out of range';
|
||||
this.name = 'ArgumentOutOfRangeError';
|
||||
return this;
|
||||
}
|
||||
ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);
|
||||
return ArgumentOutOfRangeErrorImpl;
|
||||
})();
|
||||
exports.ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;
|
||||
//# sourceMappingURL=ArgumentOutOfRangeError.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F BC","260":"G A B"},B:{"132":"P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","260":"C K L H M N O"},C:{"2":"CC tB I u DC EC","260":"0 1 2 3 4 5 6 7 8 9 J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB"},D:{"16":"I u J E F G A B C K L","132":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC"},E:{"16":"GC zB","132":"I u J E F G A B C K L H HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC"},F:{"1":"C SC rB","2":"G OC PC QC RC","16":"B qB 9B","132":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d"},G:{"16":"zB TC","132":"F AC UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"2":"nC"},I:{"16":"oC pC","132":"tB I D qC rC AC sC tC"},J:{"132":"E A"},K:{"1":"C rB","2":"A","16":"B qB 9B","132":"e"},L:{"132":"D"},M:{"260":"D"},N:{"260":"A B"},O:{"132":"uC"},P:{"132":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"132":"1B"},R:{"132":"8C"},S:{"260":"9C"}},B:5,C:"Mutation events"};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"range.js","sources":["../../../src/internal/observable/range.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAoC3C,MAAM,UAAU,KAAK,CAAC,KAAiB,EACjB,KAAc,EACd,SAAyB;IAFzB,sBAAA,EAAA,SAAiB;IAGrC,OAAO,IAAI,UAAU,CAAS,UAAA,UAAU;QACtC,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,KAAK,GAAG,KAAK,CAAC;YACd,KAAK,GAAG,CAAC,CAAC;SACX;QAED,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,OAAO,GAAG,KAAK,CAAC;QAEpB,IAAI,SAAS,EAAE;YACb,OAAO,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACrC,KAAK,OAAA,EAAE,KAAK,OAAA,EAAE,KAAK,OAAA,EAAE,UAAU,YAAA;aAChC,CAAC,CAAC;SACJ;aAAM;YACL,GAAG;gBACD,IAAI,KAAK,EAAE,IAAI,KAAK,EAAE;oBACpB,UAAU,CAAC,QAAQ,EAAE,CAAC;oBACtB,MAAM;iBACP;gBACD,UAAU,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;gBAC3B,IAAI,UAAU,CAAC,MAAM,EAAE;oBACrB,MAAM;iBACP;aACF,QAAQ,IAAI,EAAE;SAChB;QAED,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,CAAC;AACL,CAAC;AAGD,MAAM,UAAU,QAAQ,CAA6B,KAAU;IACrD,IAAA,mBAAK,EAAE,mBAAK,EAAE,mBAAK,EAAE,6BAAU,CAAW;IAElD,IAAI,KAAK,IAAI,KAAK,EAAE;QAClB,UAAU,CAAC,QAAQ,EAAE,CAAC;QACtB,OAAO;KACR;IAED,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,UAAU,CAAC,MAAM,EAAE;QACrB,OAAO;KACR;IAED,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;IACxB,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;IAExB,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC"}
|
||||
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var observable_1 = require("../symbol/observable");
|
||||
exports.subscribeToObservable = function (obj) { return function (subscriber) {
|
||||
var obs = obj[observable_1.observable]();
|
||||
if (typeof obs.subscribe !== 'function') {
|
||||
throw new TypeError('Provided object does not correctly implement Symbol.observable');
|
||||
}
|
||||
else {
|
||||
return obs.subscribe(subscriber);
|
||||
}
|
||||
}; };
|
||||
//# sourceMappingURL=subscribeToObservable.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import 'rxjs-compat/add/operator/shareReplay';
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00466,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0.00932,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.00466,"103":0,"104":0,"105":0,"106":0,"107":0.00932,"108":0.63403,"109":0.34499,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00932,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00466,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0.00466,"77":0.00932,"78":0,"79":0.02331,"80":0,"81":0,"83":0.00932,"84":0,"85":0,"86":0,"87":0.00932,"88":0,"89":0,"90":0,"91":0,"92":0.0979,"93":0.00932,"94":0,"95":0,"96":0.00466,"97":0.00932,"98":0.00466,"99":0.01399,"100":0.00932,"101":0.01865,"102":0.01399,"103":0.0979,"104":0.00932,"105":0.04662,"106":0.0373,"107":0.24242,"108":6.74591,"109":4.89044,"110":0,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0.00466,"91":0,"92":0,"93":0.16317,"94":0.24242,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00466,"18":0.00466,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0.00466,"96":0,"97":0,"98":0,"99":0.00466,"100":0.03263,"101":0,"102":0,"103":0,"104":0,"105":0.00466,"106":0.06527,"107":0.07459,"108":1.47785,"109":1.60373},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0.04196,"15":0.0373,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.01399,"13.1":0.23776,"14.1":0.17249,"15.1":0.07925,"15.2-15.3":0.00932,"15.4":0.04662,"15.5":0.15851,"15.6":1.47785,"16.0":0.18648,"16.1":0.48485,"16.2":0.6993,"16.3":0.02331},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.00836,"10.0-10.2":0,"10.3":0.07523,"11.0-11.2":0,"11.3-11.4":0.0209,"12.0-12.1":0.00418,"12.2-12.5":0.25495,"13.0-13.1":0,"13.2":0,"13.3":0.27167,"13.4-13.7":0.11703,"14.0-14.4":0.13792,"14.5-14.8":0.80246,"15.0-15.1":0.30928,"15.2-15.3":0.25495,"15.4":0.23823,"15.5":0.96547,"15.6":6.09372,"16.0":4.5264,"16.1":13.81744,"16.2":10.70789,"16.3":0.63528},P:{"4":0.27071,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.31236,"8.2":0,"9.2":0,"10.1":0.01041,"11.1-11.2":0.04165,"12.0":0,"13.0":0,"14.0":0.01041,"15.0":0,"16.0":0.04165,"17.0":0.03124,"18.0":0.07288,"19.0":3.84206},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.16166,"4.4":0,"4.4.3-4.4.4":0.08083},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00466,"9":0,"10":0,"11":0.00932,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.22953},Q:{"13.1":0},O:{"0":0.05872},H:{"0":0.04548},L:{"0":32.2847},S:{"2.5":0}};
|
||||
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("rxjs-compat/add/operator/bufferTime");
|
||||
//# sourceMappingURL=bufferTime.js.map
|
||||
@@ -0,0 +1,42 @@
|
||||
# latest-version [](https://travis-ci.org/sindresorhus/latest-version)
|
||||
|
||||
> Get the latest version of an npm package
|
||||
|
||||
Fetches the version directly from the registry instead of depending on the massive [npm](https://github.com/npm/npm/blob/8b5e7b6ae5b4cd2d7d62eaf93b1428638b387072/package.json#L37-L85) module like the [latest](https://github.com/bahamas10/node-latest) module does.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install latest-version
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const latestVersion = require('latest-version');
|
||||
|
||||
(async () => {
|
||||
console.log(await latestVersion('ava'));
|
||||
//=> '0.18.0'
|
||||
|
||||
console.log(await latestVersion('@sindresorhus/df'));
|
||||
//=> '1.0.1'
|
||||
|
||||
// Also works with semver ranges and dist-tags
|
||||
console.log(await latestVersion('npm', {version: 'latest-5'}));
|
||||
//=> '5.5.1'
|
||||
})();
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [latest-version-cli](https://github.com/sindresorhus/latest-version-cli) - CLI for this module
|
||||
- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
@@ -0,0 +1,104 @@
|
||||
# exit-on-epipe
|
||||
|
||||
Cleanly exit on pipe errors in NodeJS scripts.
|
||||
|
||||
NOTE: The underlying problem was addressed in 8.x NodeJS versions but the fix
|
||||
was not backported to 6.x and other versions of NodeJS.
|
||||
|
||||
These errors are common in pipelines that involve NodeJS scripts. For example,
|
||||
take a simple script that prints out 10 lines:
|
||||
|
||||
```js
|
||||
for(var i = 0; i < 10; ++i) console.log(i)
|
||||
```
|
||||
|
||||
NodeJS will print an error message if the output is truncated:
|
||||
|
||||
```bash
|
||||
$ cat t.js
|
||||
for(var i = 0; i < 10; ++i) console.log(i)
|
||||
$ node --version
|
||||
v6.11.1
|
||||
$ node t.js | head -n 1
|
||||
0
|
||||
events.js:160
|
||||
throw er; // Unhandled 'error' event
|
||||
^
|
||||
|
||||
Error: write EPIPE
|
||||
at exports._errnoException (util.js:1018:11)
|
||||
at WriteWrap.afterWrite (net.js:800:14)
|
||||
```
|
||||
|
||||
The process will cleanly exit if you require the module:
|
||||
|
||||
```bash
|
||||
$ cat t.js
|
||||
require("exit-on-epipe");
|
||||
for(var i = 0; i < 10; ++i) console.log(i)
|
||||
$ node t.js | head -n 1
|
||||
0
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
With [npm](https://www.npmjs.org/package/exit-on-epipe):
|
||||
|
||||
```bash
|
||||
$ npm install exit-on-epipe
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
For basic scripts, requiring at the top of the source file suffices:
|
||||
|
||||
```js
|
||||
require('exit-on-epipe');
|
||||
// ... rest of source
|
||||
```
|
||||
|
||||
For more advanced situations (e.g. handing other streams), call the module:
|
||||
|
||||
```js
|
||||
var eoepipe = require('exit-on-epipe');
|
||||
eoepipe(stream); // will exit process on an EPIPE error on stream
|
||||
eoepipe(stream, handler); // will call handler() instead of process.exit
|
||||
```
|
||||
|
||||
## Interface
|
||||
|
||||
The module exports a single function (exposed as the variable `eoepipe`).
|
||||
|
||||
`eoepipe(stream, bail)` will attach an error handler to `stream` which will:
|
||||
|
||||
- call the `bail` function if the error `.code` is `"EPIPE"` or `.errno` is `32`
|
||||
- defer to the default behavior if there are no other error handlers
|
||||
- noop if the error is not `EPIPE` and if there are other error handlers
|
||||
|
||||
If the `bail` function is not specified, `process.exit` is used.
|
||||
|
||||
If the `stream` parameter is not specified, no action will be taken
|
||||
|
||||
## Notes
|
||||
|
||||
The script will not perform any action if `process` or `process.stdout` are not
|
||||
available. It is safe to use in a web page.
|
||||
|
||||
## License
|
||||
|
||||
Please consult the attached LICENSE file for details. All rights not explicitly
|
||||
granted by the Apache 2.0 license are reserved by the Original Author.
|
||||
|
||||
## Badges
|
||||
|
||||
[](https://travis-ci.org/SheetJS/node-exit-on-epipe)
|
||||
|
||||
[](https://npmjs.org/package/exit-on-epipe)
|
||||
|
||||
[](https://npmjs.org/package/exit-on-epipe)
|
||||
|
||||
[](https://david-dm.org/sheetjs/node-exit-on-epipe)
|
||||
|
||||
[](https://ghit.me/repo/sheetjs/node-exit-on-epipe)
|
||||
|
||||
[](https://github.com/SheetJS/node-exit-on-epipe)
|
||||
Reference in New Issue
Block a user