new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { ObservableInput, OperatorFunction } from '../types';
|
||||
export declare function switchMapTo<R>(observable: ObservableInput<R>): OperatorFunction<any, R>;
|
||||
/** @deprecated resultSelector is no longer supported. Switch to using switchMap with an inner map */
|
||||
export declare function switchMapTo<T, R>(observable: ObservableInput<R>, resultSelector: undefined): OperatorFunction<T, R>;
|
||||
/** @deprecated resultSelector is no longer supported. Switch to using switchMap with an inner map */
|
||||
export declare function switchMapTo<T, I, R>(observable: ObservableInput<I>, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): OperatorFunction<T, R>;
|
||||
@@ -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.00538,"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,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.02689,"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,"95":0,"96":0,"97":0,"98":0.03227,"99":0,"100":0.00538,"101":0,"102":0,"103":0,"104":0,"105":0.01076,"106":0.00538,"107":0.11832,"108":0.57007,"109":0.4894,"110":0.00538,"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,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01076,"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,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0.00538,"77":0.00538,"78":0,"79":0.00538,"80":0,"81":0.01076,"83":0.01076,"84":0.00538,"85":0,"86":0,"87":0,"88":0.11832,"89":0.01076,"90":0,"91":0.01076,"92":0.00538,"93":0,"94":0,"95":0,"96":0.00538,"97":0,"98":0.00538,"99":0.0484,"100":0.01076,"101":0.00538,"102":0.00538,"103":0.0484,"104":0.01076,"105":1.71558,"106":0.15596,"107":0.97342,"108":6.52351,"109":4.48525,"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.00538,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00538,"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.34957,"94":2.21036,"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.01076,"17":0.01613,"18":0.00538,"79":0,"80":0,"81":0,"83":0,"84":0.02689,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00538,"93":0,"94":0,"95":0.04302,"96":0.05378,"97":0,"98":0,"99":0,"100":0,"101":0.01076,"102":0,"103":0,"104":0.29579,"105":0.15596,"106":0.01076,"107":0.05916,"108":2.31254,"109":1.65105},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.05916,"10":0,"11":0,"12":0,"13":0,"14":0.15058,"15":0.38184,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01076,"10.1":0,"11.1":0,"12.1":0.01076,"13.1":0.08605,"14.1":0.19361,"15.1":0.00538,"15.2-15.3":0.01613,"15.4":0.11294,"15.5":0.18285,"15.6":1.30148,"16.0":1.40904,"16.1":0.52167,"16.2":0.64536,"16.3":0.18285},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.07089,"9.3":0.05672,"10.0-10.2":0,"10.3":0.03899,"11.0-11.2":0,"11.3-11.4":0.00709,"12.0-12.1":0.01063,"12.2-12.5":0.42891,"13.0-13.1":0,"13.2":0,"13.3":0.02481,"13.4-13.7":0.07444,"14.0-14.4":0.04963,"14.5-14.8":0.20205,"15.0-15.1":0.12052,"15.2-15.3":0.1666,"15.4":0.14888,"15.5":0.39701,"15.6":2.91728,"16.0":7.58918,"16.1":12.37097,"16.2":7.78414,"16.3":0.9358},P:{"4":0.1328,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.01022,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0,"13.0":0,"14.0":0,"15.0":0.01022,"16.0":0.03065,"17.0":0.01022,"18.0":0.01022,"19.0":4.41307},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.05613},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0484,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.16639},Q:{"13.1":0},O:{"0":0.05084},H:{"0":1.18147},L:{"0":28.82237},S:{"2.5":0}};
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
|
||||
*/
|
||||
export declare type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
||||
/**
|
||||
Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
|
||||
*/
|
||||
export declare type Class<T = unknown, Arguments extends any[] = any[]> = new (...arguments_: Arguments) => T;
|
||||
/**
|
||||
Matches any [typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray), like `Uint8Array` or `Float64Array`.
|
||||
*/
|
||||
export declare type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array;
|
||||
declare global {
|
||||
interface SymbolConstructor {
|
||||
readonly observable: symbol;
|
||||
}
|
||||
}
|
||||
/**
|
||||
Matches a value that is like an [Observable](https://github.com/tc39/proposal-observable).
|
||||
*/
|
||||
export interface ObservableLike {
|
||||
subscribe(observer: (value: unknown) => void): void;
|
||||
[Symbol.observable](): ObservableLike;
|
||||
}
|
||||
export declare type Falsy = false | 0 | 0n | '' | null | undefined;
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"delayWhen.js","sources":["../../../src/internal/operators/delayWhen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,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AAC;QACnB,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAEO,iBAAiB;QACvB,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;YAC1B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACpC;IACH,CAAC;CACF"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"onErrorResumeNext.js","sources":["../src/operator/onErrorResumeNext.ts"],"names":[],"mappings":";;;;;AAAA,4DAAuD"}
|
||||
@@ -0,0 +1,29 @@
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function pairwise() {
|
||||
return (source) => source.lift(new PairwiseOperator());
|
||||
}
|
||||
class PairwiseOperator {
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new PairwiseSubscriber(subscriber));
|
||||
}
|
||||
}
|
||||
class PairwiseSubscriber extends Subscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
this.hasPrev = false;
|
||||
}
|
||||
_next(value) {
|
||||
let pair;
|
||||
if (this.hasPrev) {
|
||||
pair = [this.prev, value];
|
||||
}
|
||||
else {
|
||||
this.hasPrev = true;
|
||||
}
|
||||
this.prev = value;
|
||||
if (pair) {
|
||||
this.destination.next(pair);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=pairwise.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"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","2":"C K L H M N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I u 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","16":"CC tB DC EC"},D:{"1":"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","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"},E:{"1":"B C K L H 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","16":"I u GC zB","132":"J E F G A HC IC JC KC"},F:{"1":"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","16":"G B OC PC QC RC 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","260":"C SC rB"},G:{"1":"bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","16":"zB TC AC UC VC","132":"F WC XC YC ZC aC"},H:{"260":"nC"},I:{"1":"D","16":"tB oC pC qC","132":"I rC AC sC tC"},J:{"16":"E","132":"A"},K:{"1":"e","16":"A B C qB 9B","260":"rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","132":"I"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:5,C:":default CSS pseudo-class"};
|
||||
@@ -0,0 +1,9 @@
|
||||
// Type definitions for parse-json 4.0
|
||||
// Project: https://github.com/sindresorhus/parse-json
|
||||
// Definitions by: mrmlnc <https://github.com/mrmlnc>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function parseJson(input: string | null, filepath?: string): any;
|
||||
declare function parseJson(input: string | null, reviver: (key: any, value: any) => any, filepath?: string): any;
|
||||
|
||||
export = parseJson;
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"concatMapTo.js","sources":["../../../src/internal/operators/concatMapTo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAmExC,MAAM,UAAU,WAAW,CACzB,eAAkB,EAClB,cAA6G;IAE7G,OAAO,SAAS,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;AAC1D,CAAC"}
|
||||
@@ -0,0 +1,11 @@
|
||||
// Requires a Modernizr build with `canvastext` included
|
||||
// http://www.modernizr.com/download/#-canvas-canvastext
|
||||
Modernizr.addTest('emoji', function() {
|
||||
if (!Modernizr.canvastext) return false;
|
||||
var node = document.createElement('canvas'),
|
||||
ctx = node.getContext('2d');
|
||||
ctx.textBaseline = 'top';
|
||||
ctx.font = '32px Arial';
|
||||
ctx.fillText('\ud83d\ude03', 0, 0); // "smiling face with open mouth" emoji
|
||||
return ctx.getImageData(16, 16, 1, 1).data[0] !== 0;
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"skipWhile.js","sources":["../src/operator/skipWhile.ts"],"names":[],"mappings":";;;;;AAAA,oDAA+C"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"publishBehavior.js","sources":["../../../src/internal/operators/publishBehavior.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAUxC,MAAM,UAAU,eAAe,CAAI,KAAQ;IACzC,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,eAAe,CAAI,KAAK,CAAC,CAAC,CAAC,MAAM,CAA6B,CAAC;AACjH,CAAC"}
|
||||
@@ -0,0 +1,6 @@
|
||||
// http://dev.w3.org/csswg/css3-conditional/#at-supports
|
||||
// github.com/Modernizr/Modernizr/issues/648
|
||||
// Relies on the fact that a browser vendor should expose the CSSSupportsRule interface
|
||||
// http://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface
|
||||
|
||||
Modernizr.addTest("supports","CSSSupportsRule" in window);
|
||||
@@ -0,0 +1,15 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
var UnsubscriptionErrorImpl = /*@__PURE__*/ (function () {
|
||||
function UnsubscriptionErrorImpl(errors) {
|
||||
Error.call(this);
|
||||
this.message = errors ?
|
||||
errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ') : '';
|
||||
this.name = 'UnsubscriptionError';
|
||||
this.errors = errors;
|
||||
return this;
|
||||
}
|
||||
UnsubscriptionErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);
|
||||
return UnsubscriptionErrorImpl;
|
||||
})();
|
||||
export var UnsubscriptionError = UnsubscriptionErrorImpl;
|
||||
//# sourceMappingURL=UnsubscriptionError.js.map
|
||||
@@ -0,0 +1,33 @@
|
||||
# lowercase-keys [](https://travis-ci.org/sindresorhus/lowercase-keys)
|
||||
|
||||
> Lowercase the keys of an object
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save lowercase-keys
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var lowercaseKeys = require('lowercase-keys');
|
||||
|
||||
lowercaseKeys({FOO: true, bAr: false});
|
||||
//=> {foo: true, bar: false}
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
### lowercaseKeys(object)
|
||||
|
||||
Lowercases the keys and returns a new object.
|
||||
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
Create an array of unique values, in order, from the input arrays.
|
||||
|
||||
@example
|
||||
```
|
||||
import arrayUnion = require('array-union');
|
||||
|
||||
arrayUnion([1, 1, 2, 3], [2, 3]);
|
||||
//=> [1, 2, 3]
|
||||
|
||||
arrayUnion(['foo', 'foo', 'bar']);
|
||||
//=> ['foo', 'bar']
|
||||
|
||||
arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']);
|
||||
//=> ['🐱', '🦄', '🐻', '🌈']
|
||||
|
||||
arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']);
|
||||
//=> ['🐱', '🦄', '🐻', '🐶', '🌈']
|
||||
```
|
||||
*/
|
||||
declare function arrayUnion<ArgumentsType extends readonly unknown[]>(
|
||||
...arguments: readonly ArgumentsType[]
|
||||
): ArgumentsType;
|
||||
|
||||
export = arrayUnion;
|
||||
@@ -0,0 +1,97 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
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) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var OuterSubscriber_1 = require("../OuterSubscriber");
|
||||
var subscribeToResult_1 = require("../util/subscribeToResult");
|
||||
function withLatestFrom() {
|
||||
var args = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
args[_i] = arguments[_i];
|
||||
}
|
||||
return function (source) {
|
||||
var project;
|
||||
if (typeof args[args.length - 1] === 'function') {
|
||||
project = args.pop();
|
||||
}
|
||||
var observables = args;
|
||||
return source.lift(new WithLatestFromOperator(observables, project));
|
||||
};
|
||||
}
|
||||
exports.withLatestFrom = withLatestFrom;
|
||||
var WithLatestFromOperator = (function () {
|
||||
function WithLatestFromOperator(observables, project) {
|
||||
this.observables = observables;
|
||||
this.project = project;
|
||||
}
|
||||
WithLatestFromOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project));
|
||||
};
|
||||
return WithLatestFromOperator;
|
||||
}());
|
||||
var WithLatestFromSubscriber = (function (_super) {
|
||||
__extends(WithLatestFromSubscriber, _super);
|
||||
function WithLatestFromSubscriber(destination, observables, project) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.observables = observables;
|
||||
_this.project = project;
|
||||
_this.toRespond = [];
|
||||
var len = observables.length;
|
||||
_this.values = new Array(len);
|
||||
for (var i = 0; i < len; i++) {
|
||||
_this.toRespond.push(i);
|
||||
}
|
||||
for (var i = 0; i < len; i++) {
|
||||
var observable = observables[i];
|
||||
_this.add(subscribeToResult_1.subscribeToResult(_this, observable, undefined, i));
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
WithLatestFromSubscriber.prototype.notifyNext = function (_outerValue, innerValue, outerIndex) {
|
||||
this.values[outerIndex] = innerValue;
|
||||
var toRespond = this.toRespond;
|
||||
if (toRespond.length > 0) {
|
||||
var found = toRespond.indexOf(outerIndex);
|
||||
if (found !== -1) {
|
||||
toRespond.splice(found, 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
WithLatestFromSubscriber.prototype.notifyComplete = function () {
|
||||
};
|
||||
WithLatestFromSubscriber.prototype._next = function (value) {
|
||||
if (this.toRespond.length === 0) {
|
||||
var args = [value].concat(this.values);
|
||||
if (this.project) {
|
||||
this._tryProject(args);
|
||||
}
|
||||
else {
|
||||
this.destination.next(args);
|
||||
}
|
||||
}
|
||||
};
|
||||
WithLatestFromSubscriber.prototype._tryProject = function (args) {
|
||||
var result;
|
||||
try {
|
||||
result = this.project.apply(this, args);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.destination.next(result);
|
||||
};
|
||||
return WithLatestFromSubscriber;
|
||||
}(OuterSubscriber_1.OuterSubscriber));
|
||||
//# sourceMappingURL=withLatestFrom.js.map
|
||||
@@ -0,0 +1,32 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var subscribeToArray_1 = require("./subscribeToArray");
|
||||
var subscribeToPromise_1 = require("./subscribeToPromise");
|
||||
var subscribeToIterable_1 = require("./subscribeToIterable");
|
||||
var subscribeToObservable_1 = require("./subscribeToObservable");
|
||||
var isArrayLike_1 = require("./isArrayLike");
|
||||
var isPromise_1 = require("./isPromise");
|
||||
var isObject_1 = require("./isObject");
|
||||
var iterator_1 = require("../symbol/iterator");
|
||||
var observable_1 = require("../symbol/observable");
|
||||
exports.subscribeTo = function (result) {
|
||||
if (!!result && typeof result[observable_1.observable] === 'function') {
|
||||
return subscribeToObservable_1.subscribeToObservable(result);
|
||||
}
|
||||
else if (isArrayLike_1.isArrayLike(result)) {
|
||||
return subscribeToArray_1.subscribeToArray(result);
|
||||
}
|
||||
else if (isPromise_1.isPromise(result)) {
|
||||
return subscribeToPromise_1.subscribeToPromise(result);
|
||||
}
|
||||
else if (!!result && typeof result[iterator_1.iterator] === 'function') {
|
||||
return subscribeToIterable_1.subscribeToIterable(result);
|
||||
}
|
||||
else {
|
||||
var value = isObject_1.isObject(result) ? 'an invalid object' : "'" + result + "'";
|
||||
var msg = "You provided " + value + " where a stream was expected."
|
||||
+ ' You can provide an Observable, Promise, Array, or Iterable.';
|
||||
throw new TypeError(msg);
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=subscribeTo.js.map
|
||||
@@ -0,0 +1,13 @@
|
||||
import { ObservableInput, SchedulerLike, Observable } from 'rxjs';
|
||||
/**
|
||||
* Converts from a common {@link ObservableInput} type to an observable where subscription and emissions
|
||||
* are scheduled on the provided scheduler.
|
||||
*
|
||||
* @see from
|
||||
* @see of
|
||||
*
|
||||
* @param input The observable, array, promise, iterable, etc you would like to schedule
|
||||
* @param scheduler The scheduler to use to schedule the subscription and emissions from
|
||||
* the returned observable.
|
||||
*/
|
||||
export declare function scheduled<T>(input: ObservableInput<T>, scheduler: SchedulerLike): Observable<T>;
|
||||
@@ -0,0 +1,20 @@
|
||||
// code.google.com/speed/webp/
|
||||
// by rich bradshaw, ryan seddon, and paul irish
|
||||
|
||||
|
||||
// This test is asynchronous. Watch out.
|
||||
|
||||
(function(){
|
||||
|
||||
var image = new Image();
|
||||
|
||||
image.onerror = function() {
|
||||
Modernizr.addTest('webp', false);
|
||||
};
|
||||
image.onload = function() {
|
||||
Modernizr.addTest('webp', function() { return image.width == 1; });
|
||||
};
|
||||
|
||||
image.src = 'data:image/webp;base64,UklGRiwAAABXRUJQVlA4ICAAAAAUAgCdASoBAAEAL/3+/3+CAB/AAAFzrNsAAP5QAAAAAA==';
|
||||
|
||||
}());
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"G A B","2":"J E F BC"},B:{"1":"C K L H M N O 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"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I u 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 EC","2":"CC tB DC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u 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 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","2":"I"},E:{"1":"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","2":"I u GC zB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C 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 qB 9B SC rB","2":"G B OC PC QC RC"},G:{"1":"F 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","2":"zB TC AC"},H:{"2":"nC"},I:{"1":"D sC tC","2":"tB oC pC qC rC AC","130":"I"},J:{"1":"E A"},K:{"1":"B C e qB 9B rB","2":"A"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:2,C:"WOFF - Web Open Font Format"};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"hostReportError.js","sources":["../src/util/hostReportError.ts"],"names":[],"mappings":";;;;;AAAA,sDAAiD"}
|
||||
@@ -0,0 +1,2 @@
|
||||
import { SchedulerLike } from '../types';
|
||||
export declare function isScheduler(value: any): value is SchedulerLike;
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/observable/FromEventPatternObservable"));
|
||||
//# sourceMappingURL=FromEventPatternObservable.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/util/isObservable"));
|
||||
//# sourceMappingURL=isObservable.js.map
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "@octokit/types",
|
||||
"description": "Shared TypeScript definitions for Octokit projects",
|
||||
"version": "6.41.0",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist-*/",
|
||||
"bin/"
|
||||
],
|
||||
"source": "dist-src/index.js",
|
||||
"types": "dist-types/index.d.ts",
|
||||
"octokit": {
|
||||
"openapi-version": "6.8.0"
|
||||
},
|
||||
"main": "dist-node/index.js",
|
||||
"module": "dist-web/index.js",
|
||||
"pika": true,
|
||||
"sideEffects": false,
|
||||
"keywords": [
|
||||
"github",
|
||||
"api",
|
||||
"sdk",
|
||||
"toolkit",
|
||||
"typescript"
|
||||
],
|
||||
"repository": "github:octokit/types.ts",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^12.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pika/pack": "^0.3.7",
|
||||
"@pika/plugin-build-node": "^0.9.0",
|
||||
"@pika/plugin-build-web": "^0.9.0",
|
||||
"@pika/plugin-ts-standard-pkg": "^0.9.0",
|
||||
"@types/node": ">= 8",
|
||||
"github-openapi-graphql-query": "^2.0.0",
|
||||
"handlebars": "^4.7.6",
|
||||
"json-schema-to-typescript": "^11.0.0",
|
||||
"lodash.set": "^4.3.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"pascal-case": "^3.1.1",
|
||||
"pika-plugin-merge-properties": "^1.0.6",
|
||||
"prettier": "^2.0.0",
|
||||
"semantic-release": "^19.0.3",
|
||||
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
||||
"sort-keys": "^4.2.0",
|
||||
"string-to-jsdoc-comment": "^1.0.0",
|
||||
"typedoc": "^0.23.0",
|
||||
"typescript": "^4.0.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user