new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isISIN;
|
||||
|
||||
var _assertString = _interopRequireDefault(require("./util/assertString"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
var isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;
|
||||
|
||||
function isISIN(str) {
|
||||
(0, _assertString.default)(str);
|
||||
|
||||
if (!isin.test(str)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var checksumStr = str.replace(/[A-Z]/g, function (character) {
|
||||
return parseInt(character, 36);
|
||||
});
|
||||
var sum = 0;
|
||||
var digit;
|
||||
var tmpNum;
|
||||
var shouldDouble = true;
|
||||
|
||||
for (var i = checksumStr.length - 2; i >= 0; i--) {
|
||||
digit = checksumStr.substring(i, i + 1);
|
||||
tmpNum = parseInt(digit, 10);
|
||||
|
||||
if (shouldDouble) {
|
||||
tmpNum *= 2;
|
||||
|
||||
if (tmpNum >= 10) {
|
||||
sum += tmpNum + 1;
|
||||
} else {
|
||||
sum += tmpNum;
|
||||
}
|
||||
} else {
|
||||
sum += tmpNum;
|
||||
}
|
||||
|
||||
shouldDouble = !shouldDouble;
|
||||
}
|
||||
|
||||
return parseInt(str.substr(str.length - 1), 10) === (10000 - sum) % 10;
|
||||
}
|
||||
|
||||
module.exports = exports.default;
|
||||
module.exports.default = exports.default;
|
||||
@@ -0,0 +1 @@
|
||||
export declare const isArrayLike: <T>(x: any) => x is ArrayLike<T>;
|
||||
@@ -0,0 +1,58 @@
|
||||
import { MonoTypeOperatorFunction } from '../types';
|
||||
/**
|
||||
* Returns an Observable that will resubscribe to the source stream when the source stream completes, at most count times.
|
||||
*
|
||||
* <span class="informal">Repeats all values emitted on the source. It's like {@link retry}, but for non error cases.</span>
|
||||
*
|
||||
* 
|
||||
*
|
||||
* Similar to {@link retry}, this operator repeats the stream of items emitted by the source for non error cases.
|
||||
* Repeat can be useful for creating observables that are meant to have some repeated pattern or rhythm.
|
||||
*
|
||||
* Note: `repeat(0)` returns an empty observable and `repeat()` will repeat forever
|
||||
*
|
||||
* ## Example
|
||||
* Repeat a message stream
|
||||
* ```ts
|
||||
* import { of } from 'rxjs';
|
||||
* import { repeat, delay } from 'rxjs/operators';
|
||||
*
|
||||
* const source = of('Repeat message');
|
||||
* const example = source.pipe(repeat(3));
|
||||
* example.subscribe(x => console.log(x));
|
||||
*
|
||||
* // Results
|
||||
* // Repeat message
|
||||
* // Repeat message
|
||||
* // Repeat message
|
||||
* ```
|
||||
*
|
||||
* Repeat 3 values, 2 times
|
||||
* ```ts
|
||||
* import { interval } from 'rxjs';
|
||||
* import { repeat, take } from 'rxjs/operators';
|
||||
*
|
||||
* const source = interval(1000);
|
||||
* const example = source.pipe(take(3), repeat(2));
|
||||
* example.subscribe(x => console.log(x));
|
||||
*
|
||||
* // Results every second
|
||||
* // 0
|
||||
* // 1
|
||||
* // 2
|
||||
* // 0
|
||||
* // 1
|
||||
* // 2
|
||||
* ```
|
||||
*
|
||||
* @see {@link repeatWhen}
|
||||
* @see {@link retry}
|
||||
*
|
||||
* @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield
|
||||
* an empty Observable.
|
||||
* @return {Observable} An Observable that will resubscribe to the source stream when the source stream completes
|
||||
* , at most count times.
|
||||
* @method repeat
|
||||
* @owner Observable
|
||||
*/
|
||||
export declare function repeat<T>(count?: number): MonoTypeOperatorFunction<T>;
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"isArrayLike.js","sources":["../../../src/internal/util/isArrayLike.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAI,CAAM,EAAqB,EAAE,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,MAAM,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,UAAU,CAAC,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"url-parse-lax","version":"3.0.0","files":{"license":{"checkedAt":1678887829653,"integrity":"sha512-nIst73auX/5NY2Fmv5Y116vWnNrEv4GaIUX3lpZG05rpXJY2S8EX+fpUS5hRjClCM0VdT2Za9DDHXXB5jdSrEw==","mode":420,"size":1109},"package.json":{"checkedAt":1678887830372,"integrity":"sha512-qEa9bON9S70u9eqHJOVkqvm/hoF/44CzvZjIO+qUqjLbSi/3H23x7m4GanS7lNY+xT3clZ0gjH40klO1LjA8Tg==","mode":420,"size":716},"readme.md":{"checkedAt":1678887830372,"integrity":"sha512-si4eVQGkcYAtQiz9FSdhj1u3xl6SytPynahnCvaydOSJEl/25rT5dvQg6Woo8mtFfOV/3dp72YRp3yhhZFEzYw==","mode":420,"size":2030},"index.js":{"checkedAt":1678887830372,"integrity":"sha512-ey/2SLhO19mgy+xAzr164IhtnquespI9qHKBnUu/AgOYalcE7RzUAZGApJU7Tiv0M3rd+j06+L7UBh0fL1b6ag==","mode":420,"size":376}}}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NeverObservable.js","sources":["../src/observable/NeverObservable.ts"],"names":[],"mappings":";;;;;AAAA,4DAAuD"}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function isScheduler(value) {
|
||||
return value && typeof value.schedule === 'function';
|
||||
}
|
||||
exports.isScheduler = isScheduler;
|
||||
//# sourceMappingURL=isScheduler.js.map
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"skip.js","sources":["../../src/internal/operators/skip.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,4CAA2C;AAe3C,SAAgB,IAAI,CAAI,KAAa;IACnC,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,EAApC,CAAoC,CAAC;AACzE,CAAC;AAFD,oBAEC;AAED;IACE,sBAAoB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IACjC,CAAC;IAED,2BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;IACH,mBAAC;AAAD,CAAC,AAPD,IAOC;AAOD;IAAgC,kCAAa;IAG3C,wBAAY,WAA0B,EAAU,KAAa;QAA7D,YACE,kBAAM,WAAW,CAAC,SACnB;QAF+C,WAAK,GAAL,KAAK,CAAQ;QAF7D,WAAK,GAAW,CAAC,CAAC;;IAIlB,CAAC;IAES,8BAAK,GAAf,UAAgB,CAAI;QAClB,IAAI,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;YAC7B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SAC1B;IACH,CAAC;IACH,qBAAC;AAAD,CAAC,AAZD,CAAgC,uBAAU,GAYzC"}
|
||||
@@ -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/operators/delay"));
|
||||
//# sourceMappingURL=delay.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"J E F G A B","16":"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 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","2":"CC tB I u DC EC"},D:{"1":"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":"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"},E:{"1":"K L H 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E F G A B C GC zB HC IC JC KC 0B qB rB"},F:{"1":"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","2":"0 1 2 3 4 5 6 7 8 9 G B 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 OC PC QC RC qB 9B SC rB"},G:{"1":"gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC eC fC"},H:{"2":"nC"},I:{"2":"tB I D oC pC qC rC AC sC tC"},J:{"16":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"16":"A B"},O:{"1":"uC"},P:{"2":"vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","16":"I"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:1,C:"Printing Events"};
|
||||
@@ -0,0 +1,58 @@
|
||||
declare namespace semverDiff {
|
||||
type Result =
|
||||
| 'major'
|
||||
| 'premajor'
|
||||
| 'minor'
|
||||
| 'preminor'
|
||||
| 'patch'
|
||||
| 'prepatch'
|
||||
| 'prerelease'
|
||||
| 'build';
|
||||
}
|
||||
|
||||
/**
|
||||
Get the diff type of two [semver](https://github.com/npm/node-semver) versions: `0.0.1 0.0.2` → `patch`.
|
||||
|
||||
@returns The difference type between two semver versions, or `undefined` if they're identical or the second one is lower than the first.
|
||||
|
||||
@example
|
||||
```
|
||||
import semverDiff = require('semver-diff');
|
||||
|
||||
semverDiff('1.1.1', '1.1.2');
|
||||
//=> 'patch'
|
||||
|
||||
semverDiff('1.1.1-foo', '1.1.2');
|
||||
//=> 'prepatch'
|
||||
|
||||
semverDiff('0.0.1', '1.0.0');
|
||||
//=> 'major'
|
||||
|
||||
semverDiff('0.0.1-foo', '1.0.0');
|
||||
//=> 'premajor'
|
||||
|
||||
semverDiff('0.0.1', '0.1.0');
|
||||
//=> 'minor'
|
||||
|
||||
semverDiff('0.0.1-foo', '0.1.0');
|
||||
//=> 'preminor'
|
||||
|
||||
semverDiff('0.0.1-foo', '0.0.1-foo.bar');
|
||||
//=> 'prerelease'
|
||||
|
||||
semverDiff('0.1.0', '0.1.0+foo');
|
||||
//=> 'build'
|
||||
|
||||
semverDiff('0.0.1', '0.0.1');
|
||||
//=> undefined
|
||||
|
||||
semverDiff('0.0.2', '0.0.1');
|
||||
//=> undefined
|
||||
```
|
||||
*/
|
||||
declare function semverDiff(
|
||||
versionA: string,
|
||||
versionB: string
|
||||
): semverDiff.Result | undefined;
|
||||
|
||||
export = semverDiff;
|
||||
@@ -0,0 +1,7 @@
|
||||
/** PURE_IMPORTS_START _AsyncSubject,_multicast PURE_IMPORTS_END */
|
||||
import { AsyncSubject } from '../AsyncSubject';
|
||||
import { multicast } from './multicast';
|
||||
export function publishLast() {
|
||||
return function (source) { return multicast(new AsyncSubject())(source); };
|
||||
}
|
||||
//# sourceMappingURL=publishLast.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"debounce.js","sources":["../src/operator/debounce.ts"],"names":[],"mappings":";;;;;AAAA,mDAA8C"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"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","2":"C"},C:{"1":"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","2":"CC tB I u J E F G A B C K DC EC","33":"0 1 2 3 4 5 6 7 8 9 L H M N O v w x y z AB BB CB DB EB FB GB"},D:{"1":"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 u J E F G A B C K L H","33":"0 1 2 3 4 5 6 7 8 9 y z AB BB CB","66":"M N O v w x"},E:{"1":"B C K L H 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E F G A GC zB HC IC JC KC"},F:{"1":"0 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 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","2":"G B C OC PC QC RC qB 9B SC rB","33":"H M N O v w x y z"},G:{"2":"F zB TC 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:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"2":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"2":"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:"Pointer Lock API"};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SubscriptionLog.js","sources":["../../../src/internal/testing/SubscriptionLog.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,eAAe;IAC1B,YAAmB,eAAuB,EACvB,oBAA4B,MAAM,CAAC,iBAAiB;QADpD,oBAAe,GAAf,eAAe,CAAQ;QACvB,sBAAiB,GAAjB,iBAAiB,CAAmC;IACvE,CAAC;CACF"}
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/util/tryCatch';
|
||||
@@ -0,0 +1,51 @@
|
||||
import Node, { NodeProps } from './node.js'
|
||||
|
||||
interface CommentRaws {
|
||||
/**
|
||||
* The space symbols before the node.
|
||||
*/
|
||||
before?: string
|
||||
|
||||
/**
|
||||
* The space symbols between `/*` and the comment’s text.
|
||||
*/
|
||||
left?: string
|
||||
|
||||
/**
|
||||
* The space symbols between the comment’s text.
|
||||
*/
|
||||
right?: string
|
||||
}
|
||||
|
||||
export interface CommentProps extends NodeProps {
|
||||
text: string
|
||||
raws?: CommentRaws
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a comment between declarations or statements (rule and at-rules).
|
||||
*
|
||||
* ```js
|
||||
* Once (root, { Comment }) {
|
||||
* let note = new Comment({ text: 'Note: …' })
|
||||
* root.append(note)
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* Comments inside selectors, at-rule parameters, or declaration values
|
||||
* will be stored in the `raws` properties explained above.
|
||||
*/
|
||||
export default class Comment extends Node {
|
||||
type: 'comment'
|
||||
raws: CommentRaws
|
||||
|
||||
/**
|
||||
* The comment's text.
|
||||
*/
|
||||
text: string
|
||||
|
||||
constructor(defaults?: CommentProps)
|
||||
clone(overrides?: Partial<CommentProps>): this
|
||||
cloneBefore(overrides?: Partial<CommentProps>): this
|
||||
cloneAfter(overrides?: Partial<CommentProps>): this
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"widest-line","version":"3.1.0","files":{"license":{"checkedAt":1678887829653,"integrity":"sha512-nIst73auX/5NY2Fmv5Y116vWnNrEv4GaIUX3lpZG05rpXJY2S8EX+fpUS5hRjClCM0VdT2Za9DDHXXB5jdSrEw==","mode":420,"size":1109},"package.json":{"checkedAt":1678887830566,"integrity":"sha512-0HbSgls8Yc5T5501386qsaZqnahvbKeULrntBWj+e/Lw+Ks2lwwkSzB5fIrXELD87wmvm3oG2rKZn375veOJNg==","mode":420,"size":894},"index.d.ts":{"checkedAt":1678887830566,"integrity":"sha512-gHNbxGxgHCHc2ncFQKuIpR7kysmoZz1AWCUcYfaaCbpSSJmIHbrHipC+UujNWfKMeAHPZlmTpdkty57IDUnzGw==","mode":420,"size":490},"readme.md":{"checkedAt":1678887830568,"integrity":"sha512-Ol18DL9/EZ5cc354t5WsSuiQoXGO5wt/ngPHeNhIoih3GbS7C3SURDRqH0aOY1CJtmmJYIZ8pJPPisSDUlbLoQ==","mode":420,"size":914},"index.js":{"checkedAt":1678887830568,"integrity":"sha512-WL7/czRTJ3A0ZstmptCiVN60jddKwgMyqbM2H7y6HOfRTHeSqAo4zADem3NzST1i/HFyLoZquDAK2PZPrWqtCQ==","mode":420,"size":322}}}
|
||||
@@ -0,0 +1,27 @@
|
||||
/** PURE_IMPORTS_START _Observable,_from,_util_isArray,_empty PURE_IMPORTS_END */
|
||||
import { Observable } from '../Observable';
|
||||
import { from } from './from';
|
||||
import { isArray } from '../util/isArray';
|
||||
import { EMPTY } from './empty';
|
||||
export function onErrorResumeNext() {
|
||||
var sources = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
sources[_i] = arguments[_i];
|
||||
}
|
||||
if (sources.length === 0) {
|
||||
return EMPTY;
|
||||
}
|
||||
var first = sources[0], remainder = sources.slice(1);
|
||||
if (sources.length === 1 && isArray(first)) {
|
||||
return onErrorResumeNext.apply(void 0, first);
|
||||
}
|
||||
return new Observable(function (subscriber) {
|
||||
var subNext = function () { return subscriber.add(onErrorResumeNext.apply(void 0, remainder).subscribe(subscriber)); };
|
||||
return from(first).subscribe({
|
||||
next: function (value) { subscriber.next(value); },
|
||||
error: subNext,
|
||||
complete: subNext,
|
||||
});
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=onErrorResumeNext.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ForkJoinObservable.js","sources":["../src/observable/ForkJoinObservable.ts"],"names":[],"mappings":";;;;;AAAA,+DAA0D"}
|
||||
@@ -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,"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,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.00667,"103":0.01334,"104":0,"105":0,"106":0,"107":0.00667,"108":0.12669,"109":0.08668,"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,"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.01334,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0.00667,"73":0,"74":0.13336,"75":0.01334,"76":0.44009,"77":0.04668,"78":0,"79":0.06668,"80":0.00667,"81":0,"83":0.00667,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0.00667,"92":0.02,"93":1.28692,"94":0.02,"95":0,"96":0.00667,"97":0,"98":0.00667,"99":0.00667,"100":0.00667,"101":0,"102":0.02667,"103":2.20044,"104":0.00667,"105":0.17337,"106":0.02667,"107":0.37341,"108":17.54351,"109":4.51424,"110":0.04001,"111":0.00667,"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,"91":0,"92":0,"93":0.02667,"94":0.01334,"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,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0.02,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0.01334,"104":0.00667,"105":0,"106":0,"107":0.04001,"108":1.647,"109":1.63366},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.02667,"14":0.15336,"15":0.07335,_:"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.00667,"13.1":0.08668,"14.1":0.43342,"15.1":0.10002,"15.2-15.3":0.06001,"15.4":0.24672,"15.5":0.43342,"15.6":5.15436,"16.0":0.47343,"16.1":1.57365,"16.2":3.17397,"16.3":0.26672},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.03042,"10.0-10.2":0,"10.3":0.00507,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0.43597,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0.02028,"14.0-14.4":0.12167,"14.5-14.8":0.25854,"15.0-15.1":0.12674,"15.2-15.3":0.40049,"15.4":1.20653,"15.5":1.54112,"15.6":7.36593,"16.0":5.15057,"16.1":19.61375,"16.2":10.28594,"16.3":0.58299},P:{"4":0.11165,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.0406,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.01015,"12.0":0,"13.0":0.01015,"14.0":0,"15.0":0,"16.0":0.0203,"17.0":0.01015,"18.0":0.0203,"19.0":0.43644},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.02,"4.4":0,"4.4.3-4.4.4":0.14668},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.01999},Q:{"13.1":0},O:{"0":0.03665},H:{"0":0.01893},L:{"0":8.20554},S:{"2.5":0.00333}};
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "package-json",
|
||||
"version": "6.5.0",
|
||||
"description": "Get metadata of a package from the npm registry",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/package-json",
|
||||
"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": [
|
||||
"npm",
|
||||
"registry",
|
||||
"package",
|
||||
"pkg",
|
||||
"package.json",
|
||||
"json",
|
||||
"module",
|
||||
"scope",
|
||||
"scoped"
|
||||
],
|
||||
"dependencies": {
|
||||
"got": "^9.6.0",
|
||||
"registry-auth-token": "^4.0.0",
|
||||
"registry-url": "^5.0.0",
|
||||
"semver": "^6.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^12.6.8",
|
||||
"ava": "^2.2.0",
|
||||
"mock-private-registry": "^1.1.2",
|
||||
"tsd": "^0.7.4",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("rxjs-compat/add/operator/take");
|
||||
//# sourceMappingURL=take.js.map
|
||||
@@ -0,0 +1,66 @@
|
||||
import { SubscriptionLike, TeardownLogic } from './types';
|
||||
/**
|
||||
* Represents a disposable resource, such as the execution of an Observable. A
|
||||
* Subscription has one important method, `unsubscribe`, that takes no argument
|
||||
* and just disposes the resource held by the subscription.
|
||||
*
|
||||
* Additionally, subscriptions may be grouped together through the `add()`
|
||||
* method, which will attach a child Subscription to the current Subscription.
|
||||
* When a Subscription is unsubscribed, all its children (and its grandchildren)
|
||||
* will be unsubscribed as well.
|
||||
*
|
||||
* @class Subscription
|
||||
*/
|
||||
export declare class Subscription implements SubscriptionLike {
|
||||
/** @nocollapse */
|
||||
static EMPTY: Subscription;
|
||||
/**
|
||||
* A flag to indicate whether this Subscription has already been unsubscribed.
|
||||
* @type {boolean}
|
||||
*/
|
||||
closed: boolean;
|
||||
/** @internal */
|
||||
protected _parentOrParents: Subscription | Subscription[];
|
||||
/** @internal */
|
||||
private _subscriptions;
|
||||
/**
|
||||
* @param {function(): void} [unsubscribe] A function describing how to
|
||||
* perform the disposal of resources when the `unsubscribe` method is called.
|
||||
*/
|
||||
constructor(unsubscribe?: () => void);
|
||||
/**
|
||||
* Disposes the resources held by the subscription. May, for instance, cancel
|
||||
* an ongoing Observable execution or cancel any other type of work that
|
||||
* started when the Subscription was created.
|
||||
* @return {void}
|
||||
*/
|
||||
unsubscribe(): void;
|
||||
/**
|
||||
* Adds a tear down to be called during the unsubscribe() of this
|
||||
* Subscription. Can also be used to add a child subscription.
|
||||
*
|
||||
* If the tear down being added is a subscription that is already
|
||||
* unsubscribed, is the same reference `add` is being called on, or is
|
||||
* `Subscription.EMPTY`, it will not be added.
|
||||
*
|
||||
* If this subscription is already in an `closed` state, the passed
|
||||
* tear down logic will be executed immediately.
|
||||
*
|
||||
* When a parent subscription is unsubscribed, any child subscriptions that were added to it are also unsubscribed.
|
||||
*
|
||||
* @param {TeardownLogic} teardown The additional logic to execute on
|
||||
* teardown.
|
||||
* @return {Subscription} Returns the Subscription used or created to be
|
||||
* added to the inner subscriptions list. This Subscription can be used with
|
||||
* `remove()` to remove the passed teardown logic from the inner subscriptions
|
||||
* list.
|
||||
*/
|
||||
add(teardown: TeardownLogic): Subscription;
|
||||
/**
|
||||
* Removes a Subscription from the internal list of subscriptions that will
|
||||
* unsubscribe during the unsubscribe process of this Subscription.
|
||||
* @param {Subscription} subscription The subscription to remove.
|
||||
* @return {void}
|
||||
*/
|
||||
remove(subscription: Subscription): void;
|
||||
}
|
||||
Reference in New Issue
Block a user