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,55 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const REGEX_IS_INSTALLATION_LEGACY = /^v1\./;
const REGEX_IS_INSTALLATION = /^ghs_/;
const REGEX_IS_USER_TO_SERVER = /^ghu_/;
async function auth(token) {
const isApp = token.split(/\./).length === 3;
const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token);
const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token);
const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth";
return {
type: "token",
token: token,
tokenType
};
}
/**
* Prefix token for usage in the Authorization header
*
* @param token OAuth token or JSON Web Token
*/
function withAuthorizationPrefix(token) {
if (token.split(/\./).length === 3) {
return `bearer ${token}`;
}
return `token ${token}`;
}
async function hook(token, request, route, parameters) {
const endpoint = request.endpoint.merge(route, parameters);
endpoint.headers.authorization = withAuthorizationPrefix(token);
return request(endpoint);
}
const createTokenAuth = function createTokenAuth(token) {
if (!token) {
throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");
}
if (typeof token !== "string") {
throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");
}
token = token.replace(/^(token|bearer) +/i, "");
return Object.assign(auth.bind(null, token), {
hook: hook.bind(null, token)
});
};
exports.createTokenAuth = createTokenAuth;
//# sourceMappingURL=index.js.map

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

View File

@@ -0,0 +1,27 @@
"use strict";
/**
* protocols
* Returns the protocols of an input url.
*
* @name protocols
* @function
* @param {String} input The input url.
* @param {Boolean|Number} first If `true`, the first protocol will be returned. If number, it will represent the zero-based index of the protocols array.
* @return {Array|String} The array of protocols or the specified protocol.
*/
module.exports = function protocols(input, first) {
if (first === true) {
first = 0;
}
var index = input.indexOf("://"),
splits = input.substring(0, index).split("+").filter(Boolean);
if (typeof first === "number") {
return splits[first];
}
return splits;
};

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,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00533,"49":0,"50":0,"51":0,"52":0.05328,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.01066,"60":0.00533,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00533,"67":0,"68":0.01066,"69":0,"70":0.00533,"71":0,"72":0.00533,"73":0,"74":0,"75":0,"76":0,"77":0.00533,"78":0.04262,"79":0.00533,"80":0.00533,"81":0.00533,"82":0.00533,"83":0.00533,"84":0.00533,"85":0,"86":0.03197,"87":0.00533,"88":0.01066,"89":0.00533,"90":0.00533,"91":0.02664,"92":0.00533,"93":0.00533,"94":0.01066,"95":0.00533,"96":0.00533,"97":0.00533,"98":0.00533,"99":0.01066,"100":0.01066,"101":0.01066,"102":0.20246,"103":0.01066,"104":0.01598,"105":0.02664,"106":0.0373,"107":0.12254,"108":3.12221,"109":1.79021,"110":0.00533,"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.02131,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01066,"50":0,"51":0,"52":0.01066,"53":0,"54":0,"55":0,"56":0.00533,"57":0,"58":0,"59":0,"60":0.00533,"61":0,"62":0,"63":0.01066,"64":0,"65":0,"66":0.04262,"67":0.00533,"68":0.00533,"69":0.00533,"70":0.00533,"71":0.01598,"72":0.01598,"73":0.00533,"74":0.01066,"75":0.64469,"76":0.00533,"77":0.00533,"78":0.01066,"79":0.05328,"80":0.03197,"81":0.02131,"83":0.02664,"84":0.04795,"85":0.06394,"86":0.05328,"87":0.04262,"88":0.01598,"89":0.02131,"90":0.01598,"91":0.09058,"92":0.02131,"93":0.04795,"94":0.00533,"95":0.01066,"96":0.02131,"97":0.02131,"98":0.01066,"99":0.04795,"100":0.07459,"101":0.02131,"102":0.02664,"103":0.06394,"104":0.0373,"105":0.06926,"106":0.12254,"107":0.16517,"108":5.33866,"109":4.70462,"110":0.01066,"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.00533,"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.00533,"69":0,"70":0,"71":0,"72":0,"73":0.01598,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0.00533,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.01066,"93":0.94838,"94":1.04962,"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.00533,"18":0.01066,"79":0,"80":0,"81":0,"83":0.00533,"84":0.00533,"85":0.00533,"86":0.00533,"87":0.00533,"88":0,"89":0.00533,"90":0.00533,"91":0,"92":0.00533,"93":0,"94":0,"95":0,"96":0.00533,"97":0.01066,"98":0.00533,"99":0.00533,"100":0.00533,"101":0.00533,"102":0.00533,"103":0.01066,"104":0.01066,"105":0.01066,"106":0.01598,"107":0.06926,"108":2.2271,"109":1.998},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.01066,"14":0.05861,"15":0.01598,_:"0","3.1":0,"3.2":0,"5.1":0.00533,"6.1":0,"7.1":0,"9.1":0.02131,"10.1":0,"11.1":0.01066,"12.1":0.01598,"13.1":0.08525,"14.1":0.14386,"15.1":0.03197,"15.2-15.3":0.02664,"15.4":0.07992,"15.5":0.13853,"15.6":0.83117,"16.0":0.10656,"16.1":0.47952,"16.2":0.83117,"16.3":0.06926},G:{"8":0.00291,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.01165,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0.02038,"9.3":0.09028,"10.0-10.2":0.00291,"10.3":0.08736,"11.0-11.2":0.02038,"11.3-11.4":0.07571,"12.0-12.1":0.01747,"12.2-12.5":0.41643,"13.0-13.1":0.01165,"13.2":0.00874,"13.3":0.03786,"13.4-13.7":0.11648,"14.0-14.4":0.25335,"14.5-14.8":0.6494,"15.0-15.1":0.15725,"15.2-15.3":0.2155,"15.4":0.28539,"15.5":0.62028,"15.6":2.83058,"16.0":4.05075,"16.1":10.12542,"16.2":6.98034,"16.3":0.63193},P:{"4":0.09288,"5.0-5.4":0.01032,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.01032,"10.1":0,"11.1-11.2":0.01032,"12.0":0.01032,"13.0":0.04128,"14.0":0.03096,"15.0":0.02064,"16.0":0.0516,"17.0":0.07224,"18.0":0.1032,"19.0":4.12816},I:{"0":0,"3":0,"4":0.02308,"2.1":0,"2.2":0,"2.3":0,"4.1":0.01731,"4.2-4.3":0.05193,"4.4":0,"4.4.3-4.4.4":0.14424},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01151,"9":0.00575,"10":0.00575,"11":0.12084,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.90637},Q:{"13.1":0},O:{"0":0.13082},H:{"0":0.46443},L:{"0":34.93638},S:{"2.5":0}};

View File

@@ -0,0 +1,38 @@
{
"name": "@types/html-minifier",
"version": "4.0.0",
"description": "TypeScript definitions for html-minifier",
"license": "MIT",
"contributors": [
{
"name": "Tanguy Krotoff",
"url": "https://github.com/tkrotoff",
"githubUsername": "tkrotoff"
},
{
"name": "Riku",
"url": "https://github.com/rikuayanokozy",
"githubUsername": "rikuayanokozy"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/html-minifier"
},
"scripts": {},
"dependencies": {
"@types/clean-css": "*",
"@types/relateurl": "*",
"@types/uglify-js": "*"
},
"typesPublisherContentHash": "ce2486e0ef172bfbb523a51fc489db2085faf9ed6ce495d6f969d757f366eaa4",
"typeScriptVersion": "3.0"
}

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"C K L H M N O","2":"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:{"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:{"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 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 C K L H GC zB HC IC JC KC 0B 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 e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d OC PC QC RC qB 9B SC rB"},G:{"2":"F zB TC AC UC VC WC XC","132":"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","132":"A"},K:{"2":"A B C e qB 9B","132":"rB"},L:{"2":"D"},M:{"2":"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:6,C:"AC-3 (Dolby Digital) and EC-3 (Dolby Digital Plus) codecs"};

View File

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"mergeAll.js","sources":["../../src/internal/operators/mergeAll.ts"],"names":[],"mappings":";;AACA,uCAAsC;AACtC,6CAA4C;AA6D5C,SAAgB,QAAQ,CAAI,UAA6C;IAA7C,2BAAA,EAAA,aAAqB,MAAM,CAAC,iBAAiB;IACvE,OAAO,mBAAQ,CAAC,mBAAQ,EAAE,UAAU,CAAC,CAAC;AACxC,CAAC;AAFD,4BAEC"}

View File

@@ -0,0 +1,91 @@
"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 from_1 = require("../observable/from");
var isArray_1 = require("../util/isArray");
var innerSubscribe_1 = require("../innerSubscribe");
function onErrorResumeNext() {
var nextSources = [];
for (var _i = 0; _i < arguments.length; _i++) {
nextSources[_i] = arguments[_i];
}
if (nextSources.length === 1 && isArray_1.isArray(nextSources[0])) {
nextSources = nextSources[0];
}
return function (source) { return source.lift(new OnErrorResumeNextOperator(nextSources)); };
}
exports.onErrorResumeNext = onErrorResumeNext;
function onErrorResumeNextStatic() {
var nextSources = [];
for (var _i = 0; _i < arguments.length; _i++) {
nextSources[_i] = arguments[_i];
}
var source = undefined;
if (nextSources.length === 1 && isArray_1.isArray(nextSources[0])) {
nextSources = nextSources[0];
}
source = nextSources.shift();
return from_1.from(source).lift(new OnErrorResumeNextOperator(nextSources));
}
exports.onErrorResumeNextStatic = onErrorResumeNextStatic;
var OnErrorResumeNextOperator = (function () {
function OnErrorResumeNextOperator(nextSources) {
this.nextSources = nextSources;
}
OnErrorResumeNextOperator.prototype.call = function (subscriber, source) {
return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources));
};
return OnErrorResumeNextOperator;
}());
var OnErrorResumeNextSubscriber = (function (_super) {
__extends(OnErrorResumeNextSubscriber, _super);
function OnErrorResumeNextSubscriber(destination, nextSources) {
var _this = _super.call(this, destination) || this;
_this.destination = destination;
_this.nextSources = nextSources;
return _this;
}
OnErrorResumeNextSubscriber.prototype.notifyError = function () {
this.subscribeToNextSource();
};
OnErrorResumeNextSubscriber.prototype.notifyComplete = function () {
this.subscribeToNextSource();
};
OnErrorResumeNextSubscriber.prototype._error = function (err) {
this.subscribeToNextSource();
this.unsubscribe();
};
OnErrorResumeNextSubscriber.prototype._complete = function () {
this.subscribeToNextSource();
this.unsubscribe();
};
OnErrorResumeNextSubscriber.prototype.subscribeToNextSource = function () {
var next = this.nextSources.shift();
if (!!next) {
var innerSubscriber = new innerSubscribe_1.SimpleInnerSubscriber(this);
var destination = this.destination;
destination.add(innerSubscriber);
var innerSubscription = innerSubscribe_1.innerSubscribe(next, innerSubscriber);
if (innerSubscription !== innerSubscriber) {
destination.add(innerSubscription);
}
}
else {
this.destination.complete();
}
};
return OnErrorResumeNextSubscriber;
}(innerSubscribe_1.SimpleOuterSubscriber));
//# sourceMappingURL=onErrorResumeNext.js.map

View File

@@ -0,0 +1,17 @@
import { Observable } from '../Observable';
import { Subscription } from '../Subscription';
export function schedulePromise(input, scheduler) {
return new Observable(subscriber => {
const sub = new Subscription();
sub.add(scheduler.schedule(() => input.then(value => {
sub.add(scheduler.schedule(() => {
subscriber.next(value);
sub.add(scheduler.schedule(() => subscriber.complete()));
}));
}, err => {
sub.add(scheduler.schedule(() => subscriber.error(err)));
})));
return sub;
});
}
//# sourceMappingURL=schedulePromise.js.map

View File

@@ -0,0 +1 @@
{"name":"http2-wrapper","version":"1.0.3","files":{"LICENSE":{"checkedAt":1678887829940,"integrity":"sha512-JlwLnLfjTqY4Uaa/DaAs09pb6yg5t5vexyYHsmpa6w80qBLzeUHXfGkvn5eZpwbecE9ByeDzYLjUDbudC0FkgQ==","mode":420,"size":1071},"source/agent.js":{"checkedAt":1678887829990,"integrity":"sha512-IfDdn8M7pYcSJQyhVK3Oo707lNjJIIC0QwJNAggw+Q9jYeBuOa8EYUGnx5/eMaLwhk5bPuyP0ZXNSA3k20p+oQ==","mode":420,"size":18771},"source/utils/calculate-server-name.js":{"checkedAt":1678887829990,"integrity":"sha512-t9HclYUNvPEQHz1k4w++Gfj5UocR3Q2tWHeF52vZnaVR2Gb6G7vA9xeXDv2S7oGBACevB5ypEGOcYC+SleHbLQ==","mode":420,"size":599},"source/auto.js":{"checkedAt":1678887829990,"integrity":"sha512-r629OcRghCBJnQmeTtLFg6SIrcdtGk6JmR8E3KPTR/9cx5NzmZ3pQwlwf5GkVp3OQmt6g0PatR/RC1D9Gp13hA==","mode":420,"size":3672},"source/utils/errors.js":{"checkedAt":1678887829997,"integrity":"sha512-JtP7gZNyvMqSsoyJxjUsRQUQr0JrqUO8noEIQBuscSQ6NARDi2RYxskkuHVFFfB15ko1t7bncqp21mE8jL5hIg==","mode":420,"size":1406},"source/client-request.js":{"checkedAt":1678887829997,"integrity":"sha512-cWQuPS2NQe+EJcGVfHijOeRJDhVL3mjqYzGkMMl8mAwi7fPn5xX4cUYwiLnKnDiCCiMzGXM9yxUbmal8M0+r8A==","mode":420,"size":10806},"source/incoming-message.js":{"checkedAt":1678887829997,"integrity":"sha512-wDc4Zo8tyVCDakKAB51Of1V3kAf86jbs3JPKz1MoINH5iTRKcKyvoXz5A7kedWwQmsWRheRbPtZvbmdpyjtGng==","mode":420,"size":963},"source/utils/is-request-pseudo-header.js":{"checkedAt":1678887830006,"integrity":"sha512-Mgva96w2cRx5Zs6jyh92JZ4KvyvHK65e1+Av6EPmjDfMr5aD9ObUHsxvSe4MGQgACBoQoLz5KHleaPqwFPQ73Q==","mode":420,"size":186},"source/index.js":{"checkedAt":1678887829997,"integrity":"sha512-Lw4aS5lME5PmudFgJQ23Ti/D+XQk7gmLkNzurvwZVjA+DqkEgMl+5RtciUj+2AiDctAC0bupVGBjGsGe235vnQ==","mode":420,"size":607},"source/utils/proxy-events.js":{"checkedAt":1678887830006,"integrity":"sha512-VXCLLtwKo6GQTmXyBkdu4oegpA27nVjMeBsNVE/qylZ6uyugD1VUKblJ8fAmxHDK/TtSHE5SfkfjPrHSuJlCFw==","mode":420,"size":149},"source/utils/url-to-options.js":{"checkedAt":1678887829997,"integrity":"sha512-XHi2iv7AFqHeF+hsz2/4OlMbIB/3IPAsVphhtN96asKAbNBKFBSQExOZdD5TeoOSd+WsyEcheSGY8w41Xh7KLQ==","mode":420,"size":722},"package.json":{"checkedAt":1678887830006,"integrity":"sha512-OyrXhNbn+dH0ZMa4AmBAPIhLhDNfHKuyyrjiT41NsQIbkg4pzJ9HQiU0ga/1t3Gof3KJdF4vjVmPUjJukA94Zg==","mode":420,"size":1123},"README.md":{"checkedAt":1678887830006,"integrity":"sha512-tAFsQdqTULVJiNIDp2V3JUWzVwSVWW44MdlBcCpmqhtA9VpILiQQScCuxV0fALngiYjkP+u9yJbE77Wzw9dLwA==","mode":420,"size":13034}}}