new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export declare function isNumeric(val: any): val is number | string;
|
||||
@@ -0,0 +1,57 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
export { Observable } from './internal/Observable';
|
||||
export { ConnectableObservable } from './internal/observable/ConnectableObservable';
|
||||
export { GroupedObservable } from './internal/operators/groupBy';
|
||||
export { observable } from './internal/symbol/observable';
|
||||
export { Subject } from './internal/Subject';
|
||||
export { BehaviorSubject } from './internal/BehaviorSubject';
|
||||
export { ReplaySubject } from './internal/ReplaySubject';
|
||||
export { AsyncSubject } from './internal/AsyncSubject';
|
||||
export { asap, asapScheduler } from './internal/scheduler/asap';
|
||||
export { async, asyncScheduler } from './internal/scheduler/async';
|
||||
export { queue, queueScheduler } from './internal/scheduler/queue';
|
||||
export { animationFrame, animationFrameScheduler } from './internal/scheduler/animationFrame';
|
||||
export { VirtualTimeScheduler, VirtualAction } from './internal/scheduler/VirtualTimeScheduler';
|
||||
export { Scheduler } from './internal/Scheduler';
|
||||
export { Subscription } from './internal/Subscription';
|
||||
export { Subscriber } from './internal/Subscriber';
|
||||
export { Notification, NotificationKind } from './internal/Notification';
|
||||
export { pipe } from './internal/util/pipe';
|
||||
export { noop } from './internal/util/noop';
|
||||
export { identity } from './internal/util/identity';
|
||||
export { isObservable } from './internal/util/isObservable';
|
||||
export { ArgumentOutOfRangeError } from './internal/util/ArgumentOutOfRangeError';
|
||||
export { EmptyError } from './internal/util/EmptyError';
|
||||
export { ObjectUnsubscribedError } from './internal/util/ObjectUnsubscribedError';
|
||||
export { UnsubscriptionError } from './internal/util/UnsubscriptionError';
|
||||
export { TimeoutError } from './internal/util/TimeoutError';
|
||||
export { bindCallback } from './internal/observable/bindCallback';
|
||||
export { bindNodeCallback } from './internal/observable/bindNodeCallback';
|
||||
export { combineLatest } from './internal/observable/combineLatest';
|
||||
export { concat } from './internal/observable/concat';
|
||||
export { defer } from './internal/observable/defer';
|
||||
export { empty } from './internal/observable/empty';
|
||||
export { forkJoin } from './internal/observable/forkJoin';
|
||||
export { from } from './internal/observable/from';
|
||||
export { fromEvent } from './internal/observable/fromEvent';
|
||||
export { fromEventPattern } from './internal/observable/fromEventPattern';
|
||||
export { generate } from './internal/observable/generate';
|
||||
export { iif } from './internal/observable/iif';
|
||||
export { interval } from './internal/observable/interval';
|
||||
export { merge } from './internal/observable/merge';
|
||||
export { never } from './internal/observable/never';
|
||||
export { of } from './internal/observable/of';
|
||||
export { onErrorResumeNext } from './internal/observable/onErrorResumeNext';
|
||||
export { pairs } from './internal/observable/pairs';
|
||||
export { partition } from './internal/observable/partition';
|
||||
export { race } from './internal/observable/race';
|
||||
export { range } from './internal/observable/range';
|
||||
export { throwError } from './internal/observable/throwError';
|
||||
export { timer } from './internal/observable/timer';
|
||||
export { using } from './internal/observable/using';
|
||||
export { zip } from './internal/observable/zip';
|
||||
export { scheduled } from './internal/scheduled/scheduled';
|
||||
export { EMPTY } from './internal/observable/empty';
|
||||
export { NEVER } from './internal/observable/never';
|
||||
export { config } from './internal/config';
|
||||
//# sourceMappingURL=index.js.map
|
||||
@@ -0,0 +1,83 @@
|
||||
import { async } from '../scheduler/async';
|
||||
import { isDate } from '../util/isDate';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Notification } from '../Notification';
|
||||
export function delay(delay, scheduler = async) {
|
||||
const absoluteDelay = isDate(delay);
|
||||
const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);
|
||||
return (source) => source.lift(new DelayOperator(delayFor, scheduler));
|
||||
}
|
||||
class DelayOperator {
|
||||
constructor(delay, scheduler) {
|
||||
this.delay = delay;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));
|
||||
}
|
||||
}
|
||||
class DelaySubscriber extends Subscriber {
|
||||
constructor(destination, delay, scheduler) {
|
||||
super(destination);
|
||||
this.delay = delay;
|
||||
this.scheduler = scheduler;
|
||||
this.queue = [];
|
||||
this.active = false;
|
||||
this.errored = false;
|
||||
}
|
||||
static dispatch(state) {
|
||||
const source = state.source;
|
||||
const queue = source.queue;
|
||||
const scheduler = state.scheduler;
|
||||
const destination = state.destination;
|
||||
while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {
|
||||
queue.shift().notification.observe(destination);
|
||||
}
|
||||
if (queue.length > 0) {
|
||||
const delay = Math.max(0, queue[0].time - scheduler.now());
|
||||
this.schedule(state, delay);
|
||||
}
|
||||
else {
|
||||
this.unsubscribe();
|
||||
source.active = false;
|
||||
}
|
||||
}
|
||||
_schedule(scheduler) {
|
||||
this.active = true;
|
||||
const destination = this.destination;
|
||||
destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {
|
||||
source: this, destination: this.destination, scheduler: scheduler
|
||||
}));
|
||||
}
|
||||
scheduleNotification(notification) {
|
||||
if (this.errored === true) {
|
||||
return;
|
||||
}
|
||||
const scheduler = this.scheduler;
|
||||
const message = new DelayMessage(scheduler.now() + this.delay, notification);
|
||||
this.queue.push(message);
|
||||
if (this.active === false) {
|
||||
this._schedule(scheduler);
|
||||
}
|
||||
}
|
||||
_next(value) {
|
||||
this.scheduleNotification(Notification.createNext(value));
|
||||
}
|
||||
_error(err) {
|
||||
this.errored = true;
|
||||
this.queue = [];
|
||||
this.destination.error(err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
_complete() {
|
||||
this.scheduleNotification(Notification.createComplete());
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
class DelayMessage {
|
||||
constructor(time, notification) {
|
||||
this.time = time;
|
||||
this.notification = notification;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=delay.js.map
|
||||
@@ -0,0 +1,91 @@
|
||||
import { Observable } from '../Observable';
|
||||
import { SchedulerAction, SchedulerLike } from '../types';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Subscription } from '../Subscription';
|
||||
|
||||
/**
|
||||
* Convert an object into an Observable of `[key, value]` pairs.
|
||||
*
|
||||
* <span class="informal">Turn entries of an object into a stream.</span>
|
||||
*
|
||||
* <img src="./img/pairs.png" width="100%">
|
||||
*
|
||||
* `pairs` takes an arbitrary object and returns an Observable that emits arrays. Each
|
||||
* emitted array has exactly two elements - the first is a key from the object
|
||||
* and the second is a value corresponding to that key. Keys are extracted from
|
||||
* an object via `Object.keys` function, which means that they will be only
|
||||
* enumerable keys that are present on an object directly - not ones inherited
|
||||
* via prototype chain.
|
||||
*
|
||||
* By default these arrays are emitted synchronously. To change that you can
|
||||
* pass a {@link SchedulerLike} as a second argument to `pairs`.
|
||||
*
|
||||
* @example <caption>Converts a javascript object to an Observable</caption>
|
||||
* ```ts
|
||||
* import { pairs } from 'rxjs';
|
||||
*
|
||||
* const obj = {
|
||||
* foo: 42,
|
||||
* bar: 56,
|
||||
* baz: 78
|
||||
* };
|
||||
*
|
||||
* pairs(obj)
|
||||
* .subscribe(
|
||||
* value => console.log(value),
|
||||
* err => {},
|
||||
* () => console.log('the end!')
|
||||
* );
|
||||
*
|
||||
* // Logs:
|
||||
* // ["foo", 42],
|
||||
* // ["bar", 56],
|
||||
* // ["baz", 78],
|
||||
* // "the end!"
|
||||
* ```
|
||||
*
|
||||
* @param {Object} obj The object to inspect and turn into an
|
||||
* Observable sequence.
|
||||
* @param {Scheduler} [scheduler] An optional IScheduler to schedule
|
||||
* when resulting Observable will emit values.
|
||||
* @returns {(Observable<Array<string|T>>)} An observable sequence of
|
||||
* [key, value] pairs from the object.
|
||||
*/
|
||||
export function pairs<T>(obj: Object, scheduler?: SchedulerLike): Observable<[string, T]> {
|
||||
if (!scheduler) {
|
||||
return new Observable<[string, T]>(subscriber => {
|
||||
const keys = Object.keys(obj);
|
||||
for (let i = 0; i < keys.length && !subscriber.closed; i++) {
|
||||
const key = keys[i];
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
subscriber.next([key, obj[key]]);
|
||||
}
|
||||
}
|
||||
subscriber.complete();
|
||||
});
|
||||
} else {
|
||||
return new Observable<[string, T]>(subscriber => {
|
||||
const keys = Object.keys(obj);
|
||||
const subscription = new Subscription();
|
||||
subscription.add(
|
||||
scheduler.schedule<{ keys: string[], index: number, subscriber: Subscriber<[string, T]>, subscription: Subscription, obj: Object }>
|
||||
(dispatch, 0, { keys, index: 0, subscriber, subscription, obj }));
|
||||
return subscription;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export function dispatch<T>(this: SchedulerAction<any>,
|
||||
state: { keys: string[], index: number, subscriber: Subscriber<[string, T]>, subscription: Subscription, obj: Object }) {
|
||||
const { keys, index, subscriber, subscription, obj } = state;
|
||||
if (!subscriber.closed) {
|
||||
if (index < keys.length) {
|
||||
const key = keys[index];
|
||||
subscriber.next([key, obj[key]]);
|
||||
subscription.add(this.schedule({ keys, index: index + 1, subscriber, subscription, obj }));
|
||||
} else {
|
||||
subscriber.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/operators/single';
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"16":"BC","132":"J E F G A B"},B:{"1":"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","132":"C K L H M N"},C:{"1":"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","132":"0 1 2 3 4 CC tB I u J E F G A B C K L H M N O v w x y z DC EC","260":"SB TB UB VB","772":"5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB"},D:{"1":"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","132":"I u J E F G A B C K L H M N O v w x y z","260":"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","772":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB"},E:{"1":"C K L H 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","260":"B 0B qB"},F:{"1":"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 C OC PC QC RC qB 9B SC","132":"rB","260":"1 2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB","772":"0 H M N O v w x y z"},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","132":"F VC WC XC YC ZC aC"},H:{"132":"nC"},I:{"1":"D","16":"tB oC pC qC","132":"I rC AC","772":"sC tC"},J:{"132":"E A"},K:{"1":"e","16":"A B C qB 9B","132":"rB"},L:{"1":"D"},M:{"1":"D"},N:{"132":"A B"},O:{"1":"uC"},P:{"1":"zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","260":"I vC wC xC yC"},Q:{"1":"1B"},R:{"1":"8C"},S:{"132":"9C"}},B:6,C:"Date.prototype.toLocaleDateString"};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"throw.js","sources":["../src/observable/throw.ts"],"names":[],"mappings":";;;;;AAAA,kDAA6C"}
|
||||
@@ -0,0 +1,40 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subject,_Subscription,_SubscriptionLoggable,_util_applyMixins PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subject } from '../Subject';
|
||||
import { Subscription } from '../Subscription';
|
||||
import { SubscriptionLoggable } from './SubscriptionLoggable';
|
||||
import { applyMixins } from '../util/applyMixins';
|
||||
var HotObservable = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(HotObservable, _super);
|
||||
function HotObservable(messages, scheduler) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.messages = messages;
|
||||
_this.subscriptions = [];
|
||||
_this.scheduler = scheduler;
|
||||
return _this;
|
||||
}
|
||||
HotObservable.prototype._subscribe = function (subscriber) {
|
||||
var subject = this;
|
||||
var index = subject.logSubscribedFrame();
|
||||
var subscription = new Subscription();
|
||||
subscription.add(new Subscription(function () {
|
||||
subject.logUnsubscribedFrame(index);
|
||||
}));
|
||||
subscription.add(_super.prototype._subscribe.call(this, subscriber));
|
||||
return subscription;
|
||||
};
|
||||
HotObservable.prototype.setup = function () {
|
||||
var subject = this;
|
||||
var messagesLength = subject.messages.length;
|
||||
for (var i = 0; i < messagesLength; i++) {
|
||||
(function () {
|
||||
var message = subject.messages[i];
|
||||
subject.scheduler.schedule(function () { message.notification.observe(subject); }, message.frame);
|
||||
})();
|
||||
}
|
||||
};
|
||||
return HotObservable;
|
||||
}(Subject));
|
||||
export { HotObservable };
|
||||
/*@__PURE__*/ applyMixins(HotObservable, [SubscriptionLoggable]);
|
||||
//# sourceMappingURL=HotObservable.js.map
|
||||
@@ -0,0 +1,30 @@
|
||||
import { subscribeToArray } from './subscribeToArray';
|
||||
import { subscribeToPromise } from './subscribeToPromise';
|
||||
import { subscribeToIterable } from './subscribeToIterable';
|
||||
import { subscribeToObservable } from './subscribeToObservable';
|
||||
import { isArrayLike } from './isArrayLike';
|
||||
import { isPromise } from './isPromise';
|
||||
import { isObject } from './isObject';
|
||||
import { iterator as Symbol_iterator } from '../symbol/iterator';
|
||||
import { observable as Symbol_observable } from '../symbol/observable';
|
||||
export const subscribeTo = (result) => {
|
||||
if (!!result && typeof result[Symbol_observable] === 'function') {
|
||||
return subscribeToObservable(result);
|
||||
}
|
||||
else if (isArrayLike(result)) {
|
||||
return subscribeToArray(result);
|
||||
}
|
||||
else if (isPromise(result)) {
|
||||
return subscribeToPromise(result);
|
||||
}
|
||||
else if (!!result && typeof result[Symbol_iterator] === 'function') {
|
||||
return subscribeToIterable(result);
|
||||
}
|
||||
else {
|
||||
const value = isObject(result) ? 'an invalid object' : `'${result}'`;
|
||||
const 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,23 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isISO31661Alpha2;
|
||||
|
||||
var _assertString = _interopRequireDefault(require("./util/assertString"));
|
||||
|
||||
var _includes = _interopRequireDefault(require("./util/includes"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
// from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
||||
var validISO31661Alpha2CountriesCodes = ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW'];
|
||||
|
||||
function isISO31661Alpha2(str) {
|
||||
(0, _assertString.default)(str);
|
||||
return (0, _includes.default)(validISO31661Alpha2CountriesCodes, str.toUpperCase());
|
||||
}
|
||||
|
||||
module.exports = exports.default;
|
||||
module.exports.default = exports.default;
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"name": "escape-goat",
|
||||
"version": "2.1.1",
|
||||
"description": "Escape a string for use in HTML or the inverse",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/escape-goat",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"escape",
|
||||
"unescape",
|
||||
"html",
|
||||
"entity",
|
||||
"entities",
|
||||
"escaping",
|
||||
"sanitize",
|
||||
"sanitization",
|
||||
"utility",
|
||||
"template",
|
||||
"attribute",
|
||||
"value",
|
||||
"interpolate",
|
||||
"xss",
|
||||
"goat",
|
||||
"🐐"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "^1.4.1",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
@@ -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/operator/delayWhen"));
|
||||
//# sourceMappingURL=delayWhen.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"noop.js","sources":["../../src/internal/util/noop.ts"],"names":[],"mappings":";;AACA,SAAgB,IAAI,KAAK,CAAC;AAA1B,oBAA0B"}
|
||||
@@ -0,0 +1,7 @@
|
||||
Copyright (c) 2016-21 [these people](https://github.com/sveltejs/svelte/graphs/contributors)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "debug",
|
||||
"version": "4.3.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/visionmedia/debug.git"
|
||||
},
|
||||
"description": "small debugging utility",
|
||||
"keywords": [
|
||||
"debug",
|
||||
"log",
|
||||
"debugger"
|
||||
],
|
||||
"files": [
|
||||
"src",
|
||||
"LICENSE",
|
||||
"README.md"
|
||||
],
|
||||
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
||||
"contributors": [
|
||||
"Nathan Rajlich <nathan@tootallnate.net> (http://n8.io)",
|
||||
"Andrew Rhyne <rhyneandrew@gmail.com>",
|
||||
"Josh Junon <josh@junon.me>"
|
||||
],
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"lint": "xo",
|
||||
"test": "npm run test:node && npm run test:browser && npm run lint",
|
||||
"test:node": "istanbul cover _mocha -- test.js",
|
||||
"test:browser": "karma start --single-run",
|
||||
"test:coverage": "cat ./coverage/lcov.info | coveralls"
|
||||
},
|
||||
"dependencies": {
|
||||
"ms": "2.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"brfs": "^2.0.1",
|
||||
"browserify": "^16.2.3",
|
||||
"coveralls": "^3.0.2",
|
||||
"istanbul": "^0.4.5",
|
||||
"karma": "^3.1.4",
|
||||
"karma-browserify": "^6.0.0",
|
||||
"karma-chrome-launcher": "^2.2.0",
|
||||
"karma-mocha": "^1.3.0",
|
||||
"mocha": "^5.2.0",
|
||||
"mocha-lcov-reporter": "^1.2.0",
|
||||
"xo": "^0.23.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"supports-color": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"main": "./src/index.js",
|
||||
"browser": "./src/browser.js",
|
||||
"engines": {
|
||||
"node": ">=6.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { Observable } from '../Observable';
|
||||
import { MonoTypeOperatorFunction } from '../types';
|
||||
/** @deprecated In future versions, empty notifiers will no longer re-emit the source value on the output observable. */
|
||||
export declare function delayWhen<T>(delayDurationSelector: (value: T, index: number) => Observable<never>, subscriptionDelay?: Observable<any>): MonoTypeOperatorFunction<T>;
|
||||
export declare function delayWhen<T>(delayDurationSelector: (value: T, index: number) => Observable<any>, subscriptionDelay?: Observable<any>): MonoTypeOperatorFunction<T>;
|
||||
Reference in New Issue
Block a user