new license file version [CI SKIP]

This commit is contained in:
2023-03-15 13:43:57 +00:00
parent d8a3063735
commit 00359d25c1
5600 changed files with 523898 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
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

View File

@@ -0,0 +1,143 @@
const { EOL } = require('os');
const test = require('ava');
const mockStdIo = require('mock-stdio');
const stripAnsi = require('strip-ansi');
const Log = require('../lib/log');
test('should write to stdout', t => {
const log = new Log();
mockStdIo.start();
log.log('foo');
const { stdout, stderr } = mockStdIo.end();
t.is(stdout, 'foo\n');
t.is(stderr, '');
});
test('should write to stderr', t => {
const log = new Log();
mockStdIo.start();
log.error('foo');
const { stdout, stderr } = mockStdIo.end();
t.is(stdout, '');
t.is(stripAnsi(stderr), 'ERROR foo\n');
});
test('should print a warning', t => {
const log = new Log();
mockStdIo.start();
log.warn('foo');
const { stdout } = mockStdIo.end();
t.is(stripAnsi(stdout), 'WARNING foo\n');
});
test('should print verbose', t => {
const log = new Log({ isVerbose: true, verbosityLevel: 2 });
mockStdIo.start();
log.verbose('foo');
const { stdout } = mockStdIo.end();
t.is(stdout, 'foo\n');
});
test('should print external scripts verbose', t => {
const log = new Log({ isVerbose: true });
mockStdIo.start();
log.verbose('foo', { isExternal: true });
const { stdout } = mockStdIo.end();
t.is(stdout, 'foo\n');
});
test('should always print external scripts verbose', t => {
const log = new Log({ isVerbose: true, verbosityLevel: 2 });
mockStdIo.start();
log.verbose('foo', { isExternal: true });
const { stdout } = mockStdIo.end();
t.is(stdout, 'foo\n');
});
test('should not print verbose by default', t => {
const log = new Log();
mockStdIo.start();
log.verbose('foo');
const { stdout } = mockStdIo.end();
t.is(stdout, '');
});
test('should not print command execution by default', t => {
const log = new Log();
mockStdIo.start();
log.exec('foo');
const { stdout } = mockStdIo.end();
t.is(stdout.trim(), '');
});
test('should print command execution (verbose)', t => {
const log = new Log({ isVerbose: true, verbosityLevel: 2 });
mockStdIo.start();
log.exec('foo');
const { stdout } = mockStdIo.end();
t.is(stdout.trim(), '$ foo');
});
test('should print command execution (verbose/dry run)', t => {
const log = new Log({ isVerbose: true });
mockStdIo.start();
log.exec('foo', { isDryRun: true, isExternal: true });
const { stdout } = mockStdIo.end();
t.is(stdout.trim(), '! foo');
});
test('should print command execution (verbose/external)', t => {
const log = new Log({ isVerbose: true });
mockStdIo.start();
log.exec('foo', { isExternal: true });
const { stdout } = mockStdIo.end();
t.is(stdout.trim(), '$ foo');
});
test('should print command execution (dry run)', t => {
const log = new Log({ isDryRun: true });
mockStdIo.start();
log.exec('foo');
const { stdout } = mockStdIo.end();
t.is(stdout, '$ foo\n');
});
test('should print command execution (read-only)', t => {
const log = new Log({ isDryRun: true });
mockStdIo.start();
log.exec('foo', 'bar', false);
const { stdout } = mockStdIo.end();
t.is(stdout, '$ foo bar\n');
});
test('should print command execution (write)', t => {
const log = new Log({ isDryRun: true });
mockStdIo.start();
log.exec('foo', '--arg n', { isDryRun: true });
const { stdout } = mockStdIo.end();
t.is(stdout, '! foo --arg n\n');
});
test('should print obtrusive', t => {
const log = new Log({ isCI: false });
mockStdIo.start();
log.obtrusive('spacious');
const { stdout } = mockStdIo.end();
t.is(stdout, '\nspacious\n\n');
});
test('should not print obtrusive in CI mode', t => {
const log = new Log({ isCI: true });
mockStdIo.start();
log.obtrusive('normal');
const { stdout } = mockStdIo.end();
t.is(stdout, 'normal\n');
});
test('should print preview', t => {
const log = new Log();
mockStdIo.start();
log.preview({ title: 'title', text: 'changelog' });
const { stdout } = mockStdIo.end();
t.is(stripAnsi(stdout), `Title:${EOL}changelog\n`);
});

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"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 P Q R S T U"},C:{"1":"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":"0 1 2 3 4 5 6 7 8 9 CC tB 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 DC EC"},D:{"1":"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 bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U"},E:{"1":"NC","2":"I u J E F G A B GC zB HC IC JC KC 0B","129":"C K L H qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B"},F:{"1":"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 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB OC PC QC RC qB 9B SC rB"},G:{"1":"dC eC fC 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"},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:{"2":"uC"},P:{"1":"3C 4C sB 5C 6C 7C","2":"I vC wC xC yC zC 0B 0C 1C 2C"},Q:{"2":"1B"},R:{"1":"8C"},S:{"2":"9C"}},B:5,C:"CSS ::marker pseudo-element"};

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"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 P Q R S T U V W X Y Z a b c"},C:{"2":"0 1 2 3 4 5 6 7 8 9 CC tB 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 DC EC"},D:{"1":"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 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"},E:{"2":"I u J E F G A B C K L H GC zB HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B","4":"NC"},F:{"1":"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 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 OC PC QC RC qB 9B SC rB"},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:{"2":"D"},N:{"2":"A B"},O:{"2":"uC"},P:{"1":"5C 6C 7C","2":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB"},Q:{"2":"1B"},R:{"1":"8C"},S:{"2":"9C"}},B:5,C:"WebCodecs API"};

View File

@@ -0,0 +1,120 @@
"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 Subscription_1 = require("../Subscription");
var subscribeToResult_1 = require("../util/subscribeToResult");
var OuterSubscriber_1 = require("../OuterSubscriber");
function bufferToggle(openings, closingSelector) {
return function bufferToggleOperatorFunction(source) {
return source.lift(new BufferToggleOperator(openings, closingSelector));
};
}
exports.bufferToggle = bufferToggle;
var BufferToggleOperator = (function () {
function BufferToggleOperator(openings, closingSelector) {
this.openings = openings;
this.closingSelector = closingSelector;
}
BufferToggleOperator.prototype.call = function (subscriber, source) {
return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));
};
return BufferToggleOperator;
}());
var BufferToggleSubscriber = (function (_super) {
__extends(BufferToggleSubscriber, _super);
function BufferToggleSubscriber(destination, openings, closingSelector) {
var _this = _super.call(this, destination) || this;
_this.closingSelector = closingSelector;
_this.contexts = [];
_this.add(subscribeToResult_1.subscribeToResult(_this, openings));
return _this;
}
BufferToggleSubscriber.prototype._next = function (value) {
var contexts = this.contexts;
var len = contexts.length;
for (var i = 0; i < len; i++) {
contexts[i].buffer.push(value);
}
};
BufferToggleSubscriber.prototype._error = function (err) {
var contexts = this.contexts;
while (contexts.length > 0) {
var context_1 = contexts.shift();
context_1.subscription.unsubscribe();
context_1.buffer = null;
context_1.subscription = null;
}
this.contexts = null;
_super.prototype._error.call(this, err);
};
BufferToggleSubscriber.prototype._complete = function () {
var contexts = this.contexts;
while (contexts.length > 0) {
var context_2 = contexts.shift();
this.destination.next(context_2.buffer);
context_2.subscription.unsubscribe();
context_2.buffer = null;
context_2.subscription = null;
}
this.contexts = null;
_super.prototype._complete.call(this);
};
BufferToggleSubscriber.prototype.notifyNext = function (outerValue, innerValue) {
outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);
};
BufferToggleSubscriber.prototype.notifyComplete = function (innerSub) {
this.closeBuffer(innerSub.context);
};
BufferToggleSubscriber.prototype.openBuffer = function (value) {
try {
var closingSelector = this.closingSelector;
var closingNotifier = closingSelector.call(this, value);
if (closingNotifier) {
this.trySubscribe(closingNotifier);
}
}
catch (err) {
this._error(err);
}
};
BufferToggleSubscriber.prototype.closeBuffer = function (context) {
var contexts = this.contexts;
if (contexts && context) {
var buffer = context.buffer, subscription = context.subscription;
this.destination.next(buffer);
contexts.splice(contexts.indexOf(context), 1);
this.remove(subscription);
subscription.unsubscribe();
}
};
BufferToggleSubscriber.prototype.trySubscribe = function (closingNotifier) {
var contexts = this.contexts;
var buffer = [];
var subscription = new Subscription_1.Subscription();
var context = { buffer: buffer, subscription: subscription };
contexts.push(context);
var innerSubscription = subscribeToResult_1.subscribeToResult(this, closingNotifier, context);
if (!innerSubscription || innerSubscription.closed) {
this.closeBuffer(context);
}
else {
innerSubscription.context = context;
this.add(innerSubscription);
subscription.add(innerSubscription);
}
};
return BufferToggleSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=bufferToggle.js.map

View File

@@ -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.07758,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00431,"48":0,"49":0,"50":0,"51":0,"52":0.00862,"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.01293,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0.0431,"78":0.02586,"79":0,"80":0.00431,"81":0.00431,"82":0.00862,"83":0,"84":0.00862,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0.01293,"92":0,"93":0,"94":0.00431,"95":0,"96":0.00431,"97":0.00862,"98":0,"99":0,"100":0.00862,"101":0,"102":0.03017,"103":0.00431,"104":0.00862,"105":0.00862,"106":0.00862,"107":0.01724,"108":1.04733,"109":0.58185,"110":0.00431,"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.00862,"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.01293,"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.02155,"78":0.00431,"79":0.00431,"80":0.00431,"81":0.01293,"83":0.00431,"84":0.11637,"85":0.06034,"86":0.00431,"87":0.03879,"88":0,"89":0,"90":0,"91":0.00431,"92":0.00431,"93":0,"94":0.00431,"95":0.00431,"96":0.00431,"97":0.00431,"98":0.00862,"99":0.03017,"100":0.02155,"101":0.00431,"102":0.02586,"103":0.14223,"104":0.00431,"105":0.02155,"106":0.02155,"107":0.08189,"108":4.48671,"109":4.30138,"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.00431,"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.48703,"94":0.24567,"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.00431,"18":0.00431,"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.00431,"93":0,"94":0,"95":0,"96":0,"97":0.04741,"98":0,"99":0.00862,"100":0,"101":0,"102":0,"103":0.00431,"104":0.00431,"105":0.01293,"106":0.00431,"107":0.05603,"108":1.51712,"109":1.5085},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00862,"14":0.06034,"15":0.01293,_:"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.00431,"12.1":0.0431,"13.1":0.1724,"14.1":0.37928,"15.1":0.03448,"15.2-15.3":0.02586,"15.4":0.03879,"15.5":0.05172,"15.6":0.45686,"16.0":0.14654,"16.1":0.28877,"16.2":0.49996,"16.3":0.0431},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.00574,"9.3":0.0201,"10.0-10.2":0.00862,"10.3":0.02585,"11.0-11.2":0,"11.3-11.4":0.00287,"12.0-12.1":0.14647,"12.2-12.5":0.36762,"13.0-13.1":0.00862,"13.2":0.00862,"13.3":0.02872,"13.4-13.7":0.11488,"14.0-14.4":0.29869,"14.5-14.8":0.71514,"15.0-15.1":0.30156,"15.2-15.3":0.20391,"15.4":0.47676,"15.5":1.60834,"15.6":3.45505,"16.0":4.98872,"16.1":8.49834,"16.2":6.02265,"16.3":0.44229},P:{"4":0.17695,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.06245,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.02082,"12.0":0.02082,"13.0":0.03123,"14.0":0.03123,"15.0":0.03123,"16.0":0.07286,"17.0":0.10409,"18.0":0.19776,"19.0":4.37159},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00946,"4.4":0,"4.4.3-4.4.4":0.10243},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.06896,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.51779},Q:{"13.1":0},O:{"0":0.00569},H:{"0":0.21548},L:{"0":45.80585},S:{"2.5":0}};

View File

@@ -0,0 +1 @@
{"version":3,"file":"root.js","sources":["../../../src/internal/util/root.ts"],"names":[],"mappings":"AAeA,IAAM,QAAQ,GAAG,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC;AACzD,IAAM,MAAM,GAAG,OAAO,IAAI,KAAK,WAAW,IAAI,OAAO,iBAAiB,KAAK,WAAW;IAClF,IAAI,YAAY,iBAAiB,IAAI,IAAI,CAAC;AAC9C,IAAM,QAAQ,GAAG,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC;AACzD,IAAM,KAAK,GAAQ,QAAQ,IAAI,QAAQ,IAAI,MAAM,CAAC;AAKlD,CAAC;IACC,IAAI,CAAC,KAAK,EAAE;QACV,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAC;KAClF;AACH,CAAC,CAAC,EAAE,CAAC;AAEL,OAAO,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC"}

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"2":"C K L H M N O P","578":"Q R S T U V W X Y Z a b c","1602":"d f g h i j k l m n o p q r s D t"},C:{"2":"0 1 2 3 4 5 6 7 8 9 CC tB 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 DC EC","194":"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:{"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 bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P","578":"Q R S T U V W X Y Z a b c","1602":"d f g h i j k l m n o p q r s D t xB yB FC"},E:{"2":"I u J E F G A B GC zB HC IC JC KC 0B","322":"C K L H qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC"},F:{"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 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB OC PC QC RC qB 9B SC rB","578":"e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d"},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:{"2":"tB I D oC pC qC rC AC sC tC"},J:{"2":"E A"},K:{"2":"A B C e qB 9B rB"},L:{"2":"D"},M:{"194":"D"},N:{"2":"A B"},O:{"2":"uC"},P:{"2":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"2":"1B"},R:{"2":"8C"},S:{"2":"9C"}},B:5,C:"WebGPU"};

View File

@@ -0,0 +1 @@
module.exports={A:{D:{"1":"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":"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"},L:{"1":"D"},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":"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","33":"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"},M:{"1":"D"},A:{"2":"J E F G A B BC"},F:{"1":"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":"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 OC PC QC RC qB 9B SC rB"},K:{"1":"e","2":"A B C qB 9B rB"},E:{"1":"K L H rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B","2":"I u J E GC zB HC IC JC NC","33":"F G A B C KC 0B qB"},G:{"1":"fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC VC WC","33":"F XC YC ZC aC bC cC dC eC"},P:{"1":"xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","2":"I vC wC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"}},B:6,C:"text-decoration-style property"};

View File

@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("rxjs-compat/add/operator/toPromise");
//# sourceMappingURL=toPromise.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"partition.js","sources":["../../../src/internal/operators/partition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAoDlC,MAAM,UAAU,SAAS,CAAI,SAA+C,EAC/C,OAAa;IACxC,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC;QAChC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC;QAClC,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAQ,CAAC,CAAC,MAAM,CAAC;KACb,CAAC;AACtC,CAAC"}

View File

@@ -0,0 +1,5 @@
export declare class SubscriptionLog {
subscribedFrame: number;
unsubscribedFrame: number;
constructor(subscribedFrame: number, unsubscribedFrame?: number);
}

View File

@@ -0,0 +1,32 @@
'use strict';
const fs = require('fs');
const util = require('util');
const is = require('@sindresorhus/is');
const isFormData = require('./is-form-data');
module.exports = async options => {
const {body} = options;
if (options.headers['content-length']) {
return Number(options.headers['content-length']);
}
if (!body && !options.stream) {
return 0;
}
if (is.string(body)) {
return Buffer.byteLength(body);
}
if (isFormData(body)) {
return util.promisify(body.getLength.bind(body))();
}
if (body instanceof fs.ReadStream) {
const {size} = await util.promisify(fs.stat)(body.path);
return size;
}
return null;
};

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"1":"B","2":"J E F BC","8":"G A"},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 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 J E F G A B C K DC EC"},D:{"1":"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 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 M N","33":"0 1 2 O v w x y z"},E:{"1":"E F G A B C K L H IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u GC zB HC","33":"J"},F:{"1":"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","2":"G B C OC PC QC RC qB 9B SC rB"},G:{"1":"F 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 UC","33":"VC"},H:{"2":"nC"},I:{"1":"D sC tC","2":"tB oC pC qC","8":"I rC AC"},J:{"1":"A","2":"E"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"1":"B","8":"A"},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:1,C:"Mutation Observer"};

View File

@@ -0,0 +1 @@
{"version":3,"file":"concatMap.js","sources":["../../src/add/operator/concatMap.ts"],"names":[],"mappings":";;AAAA,8CAA4C"}

View File

@@ -0,0 +1,9 @@
import { Observable } from '../Observable';
import { ObservableInput } from '../types';
export declare function onErrorResumeNext<R>(v: ObservableInput<R>): Observable<R>;
export declare function onErrorResumeNext<T2, T3, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>): Observable<R>;
export declare function onErrorResumeNext<T2, T3, T4, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>): Observable<R>;
export declare function onErrorResumeNext<T2, T3, T4, T5, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>): Observable<R>;
export declare function onErrorResumeNext<T2, T3, T4, T5, T6, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>): Observable<R>;
export declare function onErrorResumeNext<R>(...observables: Array<ObservableInput<any> | ((...values: Array<any>) => R)>): Observable<R>;
export declare function onErrorResumeNext<R>(array: ObservableInput<any>[]): Observable<R>;

View File

@@ -0,0 +1 @@
{"version":3,"file":"SubscriptionLog.js","sources":["../../../src/internal/testing/SubscriptionLog.ts"],"names":[],"mappings":"AAAA;IACE,yBAAmB,eAAuB,EACvB,iBAAoD;QAApD,kCAAA,EAAA,oBAA4B,MAAM,CAAC,iBAAiB;QADpD,oBAAe,GAAf,eAAe,CAAQ;QACvB,sBAAiB,GAAjB,iBAAiB,CAAmC;IACvE,CAAC;IACH,sBAAC;AAAD,CAAC,AAJD,IAIC"}

View File

@@ -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/exhaust"));
//# sourceMappingURL=exhaust.js.map

View File

@@ -0,0 +1 @@
{"name":"inquirer","version":"8.0.0","files":{"LICENSE":{"checkedAt":1678887830014,"integrity":"sha512-MdMZ2oIEMhwUeZqCpdlkfibjuO+eaInKsAbudt0ZeKEAzRVsBYhJwa8mv/KZ3II5kp2KqoIC7SWza0b57+2S/Q==","mode":420,"size":1057},"lib/prompts/base.js":{"checkedAt":1678887830014,"integrity":"sha512-PGN8wIoB0kVMQtTWvMl9HesqdrHpzzpx4TXNlyF4PYedXID0j0f/oPw7KVFQe/w2RMU8A59rfvK9U2bUX6WoYA==","mode":420,"size":3807},"lib/ui/baseUI.js":{"checkedAt":1678887830014,"integrity":"sha512-xODivD2gXNQe2y9mGY8oMMYZ+XQQklAaMc2h3hi+nINQWaIc9vupjfDpAnVvLeXKx1/hVLDQb4AHdX2gp3giqQ==","mode":420,"size":2371},"lib/ui/bottom-bar.js":{"checkedAt":1678887830014,"integrity":"sha512-R8hY8UPGBCsai7tArRcPhnA1l6qcCCHBB+nVIgwbQMxSu4yMd/0NPPiJa/PpWIMXR6YNqM+yCuIMMqcrZQdPJA==","mode":420,"size":2368},"lib/prompts/checkbox.js":{"checkedAt":1678887830020,"integrity":"sha512-Zjia4LC7hNDMJypaAOj2ousyYmNUODdQzPnSS2dMwM9g3E6fkMbaZFyOswfwUo7GAqBLKSB7DDoYNWF2SiUpRg==","mode":420,"size":6960},"lib/objects/choice.js":{"checkedAt":1678887830020,"integrity":"sha512-/r29OK+TPbjvW/EesdDz5E5HO7i1pM0fQs8jQIdrXP851A4rir19Nqaf39zwKU4tQmQ0cQqXn7IUUlwVN00scA==","mode":420,"size":1173},"lib/objects/choices.js":{"checkedAt":1678887830020,"integrity":"sha512-Nza//q0HHSGSW7qDMgvCj6pA17+g9G5aU12uPc4uDY5n4vBSLqLiamNnUhDKgsbGr3TiaTAl8nxutA11mV9p9g==","mode":420,"size":3015},"lib/prompts/confirm.js":{"checkedAt":1678887830020,"integrity":"sha512-qufNKlTeX7gvWhdqBqN2mNPtwvetlZHVz99NQAGRYMIngAEAUEpuyoOImdpoeguJ8wpP483+rbGgSTaYc6plNg==","mode":420,"size":1899},"lib/prompts/editor.js":{"checkedAt":1678887830020,"integrity":"sha512-eTTSGEsGrOU8ij3BUntszoToubnFLJnpKQltMqRY1ATUSv1TLf+2/k4LEMdQWxmFCjhmNVDtAAcCA+krme+2CA==","mode":420,"size":2330},"lib/prompts/expand.js":{"checkedAt":1678887830025,"integrity":"sha512-imWyi3ajMtXi3FXE/zvNprL9KrPk6/E5cco13zij1r2d8GnCj2aUW4BLHUHJ+1d26QUxvOLGnPKL5Asyxfmwjw==","mode":420,"size":6536},"lib/utils/events.js":{"checkedAt":1678887830025,"integrity":"sha512-lt2fpmFzvLukWEUwmJv8VhNrUpy93czGP0WUinzkQwMDKR+KI8p4wl3WHzXHeI/baNU5n8fQ/GK5MI39POkSYw==","mode":420,"size":1430},"lib/inquirer.js":{"checkedAt":1678887830025,"integrity":"sha512-kU0EnjqmFRvndEWUVylQSuKiyHVGKq/12/Hel4qrzhpPDjOErFVqGmB0Fg1Gpo8NHqF97K/XzE1zXZUVAJRJjQ==","mode":420,"size":2453},"lib/prompts/input.js":{"checkedAt":1678887830025,"integrity":"sha512-gFZsguOyrJGQKu4ANVYdy4I948fRS6uFAG9dt+9+hjr2iHz4KEgVdgH5Md8Ff7FvX66Cv9n/ZkaKuQsseFAWqQ==","mode":420,"size":2295},"lib/utils/incrementListIndex.js":{"checkedAt":1678887830025,"integrity":"sha512-PHFOO1/4OZ6cBOmWP45qmvCgKLvFj14hNY0AVsy+prgKm7Zg1WHmW98agMeTxz9gIk7JK320TockPCuILhKR0Q==","mode":420,"size":481},"lib/prompts/list.js":{"checkedAt":1678887830031,"integrity":"sha512-se5b9xFd56pirhJEM/H3EM10V+Wx2hz/0bi2HcTYp7G6jhvqvQul2Q/EY02T5dNFsxnHb8JF4oDe9e/l5utb7w==","mode":420,"size":5316},"lib/prompts/number.js":{"checkedAt":1678887830031,"integrity":"sha512-v9GM3NSm2G0W4yoPO+4Py9YKqdMrbsSWUt6Nm+HogWm03GJLdcZat1bvBk+ovMb2v4OYbEDa5cZE7GHa1+RB9w==","mode":420,"size":695},"lib/utils/paginator.js":{"checkedAt":1678887830031,"integrity":"sha512-Xh7ewYj5/Dt69ZVgSjHx/8IJWriTrpTHdrkVIrcI07YtYSsdhIlp4uuVh6oerS5OftBUoYEI8AxtDPiyVqwEhA==","mode":420,"size":2139},"lib/prompts/password.js":{"checkedAt":1678887830031,"integrity":"sha512-MHRtiua7VSKzWDGcqinfJSGqGzPeMDnqf2e4EZNo39ToIwdXQACrb88bKyqVR/DSQbyyUPEUIjPRW1n0K+sqTQ==","mode":420,"size":2340},"lib/ui/prompt.js":{"checkedAt":1678887830044,"integrity":"sha512-k/ZJzDseoPi6liupy1FUw6ifZEdSTgUwMENH168PhgLKRsNMZQmNCQVSbO29HoXImGS13vgUsYvybUM8z8nIow==","mode":420,"size":3588},"lib/utils/readline.js":{"checkedAt":1678887830044,"integrity":"sha512-qFGyFRkfSJw+IJqdg9t6pz3FsR/NqvOnUEDa1Y5QwRrNHBKPKIluEKzNFrtUqOUdld9RAi6McXHDhaMZcklXJQ==","mode":420,"size":1184},"lib/prompts/rawlist.js":{"checkedAt":1678887830044,"integrity":"sha512-zoLmBMoo+XO8KR5JB9dWYHJgKhg5pp7qEWwNv537ebmU1Nl4PgiUbQWO/VgIolrTdRa1/nhHRQRoTx69kXCTTw==","mode":420,"size":4996},"lib/utils/screen-manager.js":{"checkedAt":1678887830044,"integrity":"sha512-9UF2zVkKev1iSqAHp4cvkIOm5KX+9XIfDrE9msKZXOhCk/G3nHZfO/VkmH14cS88JCwH4gzzZCiY0YqyKFzlZw==","mode":420,"size":3923},"lib/utils/utils.js":{"checkedAt":1678887830044,"integrity":"sha512-271GcY0xqnGm02dD7Q415eFOtsfIOc/j6dX8CLACRkB5yyBmMgepbdQm2dIA2vBEFWUtdAnmti52COjhksNbbw==","mode":420,"size":813},"lib/objects/separator.js":{"checkedAt":1678887830044,"integrity":"sha512-zgp8sY6MeWL66vpAP3pLcl0oo2Riz5RdKMAklZQxPEPb+MQaJrs6uU0GPwVkzHsARudyb7RxL4gpj9gF3wxQig==","mode":420,"size":780},"package.json":{"checkedAt":1678887830052,"integrity":"sha512-gNAF5g0A5zGTXRLNtyFNTULXGWV+BiL1PIUbz7hz0egJkPf5MBfnMKM9nm7EmCH93gLW4tCLTeIVASBjuagKLQ==","mode":420,"size":1327},"README.md":{"checkedAt":1678887830060,"integrity":"sha512-0rQ7y7phMSz7nTYgrewwNbTCGgtodrnGKrnr5c2BZQkOpq7r1AN0l8PIkn8IckliqJ2P1YWssynbHS86H9e8Ew==","mode":420,"size":19712}}}

View File

@@ -0,0 +1,33 @@
import { Subscriber } from '../Subscriber';
export function retry(count = -1) {
return (source) => source.lift(new RetryOperator(count, source));
}
class RetryOperator {
constructor(count, source) {
this.count = count;
this.source = source;
}
call(subscriber, source) {
return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));
}
}
class RetrySubscriber extends Subscriber {
constructor(destination, count, source) {
super(destination);
this.count = count;
this.source = source;
}
error(err) {
if (!this.isStopped) {
const { source, count } = this;
if (count === 0) {
return super.error(err);
}
else if (count > -1) {
this.count = count - 1;
}
source.subscribe(this._unsubscribeAndRecycle());
}
}
}
//# sourceMappingURL=retry.js.map