[CI] test built
This commit is contained in:
parent
ff0beed1b2
commit
779e0914c7
2 changed files with 145 additions and 117 deletions
253
dist/index.js
vendored
253
dist/index.js
vendored
|
@ -38,7 +38,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.createOrUpdateBranch = exports.tryFetch = exports.getWorkingBaseAndType = exports.WorkingBaseType = void 0;
|
exports.createOrUpdateBranch = exports.tryFetch = exports.getWorkingBaseAndType = exports.WorkingBaseType = void 0;
|
||||||
const core = __importStar(__webpack_require__(186));
|
const core = __importStar(__webpack_require__(186));
|
||||||
const uuid_1 = __webpack_require__(552);
|
const uuid_1 = __webpack_require__(521);
|
||||||
const CHERRYPICK_EMPTY = 'The previous cherry-pick is now empty, possibly due to conflict resolution.';
|
const CHERRYPICK_EMPTY = 'The previous cherry-pick is now empty, possibly due to conflict resolution.';
|
||||||
var WorkingBaseType;
|
var WorkingBaseType;
|
||||||
(function (WorkingBaseType) {
|
(function (WorkingBaseType) {
|
||||||
|
@ -2837,56 +2837,43 @@ var request = __webpack_require__(234);
|
||||||
var graphql = __webpack_require__(668);
|
var graphql = __webpack_require__(668);
|
||||||
var authToken = __webpack_require__(334);
|
var authToken = __webpack_require__(334);
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) {
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
||||||
if (key in obj) {
|
if (source == null) return {};
|
||||||
Object.defineProperty(obj, key, {
|
var target = {};
|
||||||
value: value,
|
var sourceKeys = Object.keys(source);
|
||||||
enumerable: true,
|
var key, i;
|
||||||
configurable: true,
|
|
||||||
writable: true
|
for (i = 0; i < sourceKeys.length; i++) {
|
||||||
});
|
key = sourceKeys[i];
|
||||||
} else {
|
if (excluded.indexOf(key) >= 0) continue;
|
||||||
obj[key] = value;
|
target[key] = source[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
return obj;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ownKeys(object, enumerableOnly) {
|
function _objectWithoutProperties(source, excluded) {
|
||||||
var keys = Object.keys(object);
|
if (source == null) return {};
|
||||||
|
|
||||||
|
var target = _objectWithoutPropertiesLoose(source, excluded);
|
||||||
|
|
||||||
|
var key, i;
|
||||||
|
|
||||||
if (Object.getOwnPropertySymbols) {
|
if (Object.getOwnPropertySymbols) {
|
||||||
var symbols = Object.getOwnPropertySymbols(object);
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
||||||
if (enumerableOnly) symbols = symbols.filter(function (sym) {
|
|
||||||
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
||||||
});
|
|
||||||
keys.push.apply(keys, symbols);
|
|
||||||
}
|
|
||||||
|
|
||||||
return keys;
|
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
||||||
}
|
key = sourceSymbolKeys[i];
|
||||||
|
if (excluded.indexOf(key) >= 0) continue;
|
||||||
function _objectSpread2(target) {
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
||||||
for (var i = 1; i < arguments.length; i++) {
|
target[key] = source[key];
|
||||||
var source = arguments[i] != null ? arguments[i] : {};
|
|
||||||
|
|
||||||
if (i % 2) {
|
|
||||||
ownKeys(Object(source), true).forEach(function (key) {
|
|
||||||
_defineProperty(target, key, source[key]);
|
|
||||||
});
|
|
||||||
} else if (Object.getOwnPropertyDescriptors) {
|
|
||||||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
||||||
} else {
|
|
||||||
ownKeys(Object(source)).forEach(function (key) {
|
|
||||||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
const VERSION = "3.1.2";
|
const VERSION = "3.2.1";
|
||||||
|
|
||||||
class Octokit {
|
class Octokit {
|
||||||
constructor(options = {}) {
|
constructor(options = {}) {
|
||||||
|
@ -2918,9 +2905,7 @@ class Octokit {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.request = request.request.defaults(requestDefaults);
|
this.request = request.request.defaults(requestDefaults);
|
||||||
this.graphql = graphql.withCustomRequest(this.request).defaults(_objectSpread2(_objectSpread2({}, requestDefaults), {}, {
|
this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults);
|
||||||
baseUrl: requestDefaults.baseUrl.replace(/\/api\/v3$/, "/api")
|
|
||||||
}));
|
|
||||||
this.log = Object.assign({
|
this.log = Object.assign({
|
||||||
debug: () => {},
|
debug: () => {},
|
||||||
info: () => {},
|
info: () => {},
|
||||||
|
@ -2928,7 +2913,7 @@ class Octokit {
|
||||||
error: console.error.bind(console)
|
error: console.error.bind(console)
|
||||||
}, options.log);
|
}, options.log);
|
||||||
this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
|
this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance
|
||||||
// is unauthenticated. The `this.auth()` method is a no-op and no request hook is registred.
|
// is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.
|
||||||
// (2) If only `options.auth` is set, use the default token authentication strategy.
|
// (2) If only `options.auth` is set, use the default token authentication strategy.
|
||||||
// (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.
|
// (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.
|
||||||
// TODO: type `options.auth` based on `options.authStrategy`.
|
// TODO: type `options.auth` based on `options.authStrategy`.
|
||||||
|
@ -2947,8 +2932,21 @@ class Octokit {
|
||||||
this.auth = auth;
|
this.auth = auth;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const auth = options.authStrategy(Object.assign({
|
const {
|
||||||
request: this.request
|
authStrategy
|
||||||
|
} = options,
|
||||||
|
otherOptions = _objectWithoutProperties(options, ["authStrategy"]);
|
||||||
|
|
||||||
|
const auth = authStrategy(Object.assign({
|
||||||
|
request: this.request,
|
||||||
|
log: this.log,
|
||||||
|
// we pass the current octokit instance as well as its constructor options
|
||||||
|
// to allow for authentication strategies that return a new octokit instance
|
||||||
|
// that shares the same internal state as the current one. The original
|
||||||
|
// requirement for this was the "event-octokit" authentication strategy
|
||||||
|
// of https://github.com/probot/octokit-auth-probot.
|
||||||
|
octokit: this,
|
||||||
|
octokitOptions: otherOptions
|
||||||
}, options.auth)); // @ts-ignore ¯\_(ツ)_/¯
|
}, options.auth)); // @ts-ignore ¯\_(ツ)_/¯
|
||||||
|
|
||||||
hook.wrap("request", auth.hook);
|
hook.wrap("request", auth.hook);
|
||||||
|
@ -3015,9 +3013,7 @@ exports.Octokit = Octokit;
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
|
|
||||||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
var isPlainObject = __webpack_require__(558);
|
||||||
|
|
||||||
var isPlainObject = _interopDefault(__webpack_require__(38));
|
|
||||||
var universalUserAgent = __webpack_require__(30);
|
var universalUserAgent = __webpack_require__(30);
|
||||||
|
|
||||||
function lowercaseKeys(object) {
|
function lowercaseKeys(object) {
|
||||||
|
@ -3034,7 +3030,7 @@ function lowercaseKeys(object) {
|
||||||
function mergeDeep(defaults, options) {
|
function mergeDeep(defaults, options) {
|
||||||
const result = Object.assign({}, defaults);
|
const result = Object.assign({}, defaults);
|
||||||
Object.keys(options).forEach(key => {
|
Object.keys(options).forEach(key => {
|
||||||
if (isPlainObject(options[key])) {
|
if (isPlainObject.isPlainObject(options[key])) {
|
||||||
if (!(key in defaults)) Object.assign(result, {
|
if (!(key in defaults)) Object.assign(result, {
|
||||||
[key]: options[key]
|
[key]: options[key]
|
||||||
});else result[key] = mergeDeep(defaults[key], options[key]);
|
});else result[key] = mergeDeep(defaults[key], options[key]);
|
||||||
|
@ -3047,6 +3043,16 @@ function mergeDeep(defaults, options) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function removeUndefinedProperties(obj) {
|
||||||
|
for (const key in obj) {
|
||||||
|
if (obj[key] === undefined) {
|
||||||
|
delete obj[key];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
function merge(defaults, route, options) {
|
function merge(defaults, route, options) {
|
||||||
if (typeof route === "string") {
|
if (typeof route === "string") {
|
||||||
let [method, url] = route.split(" ");
|
let [method, url] = route.split(" ");
|
||||||
|
@ -3061,7 +3067,10 @@ function merge(defaults, route, options) {
|
||||||
} // lowercase header names before merging with defaults to avoid duplicates
|
} // lowercase header names before merging with defaults to avoid duplicates
|
||||||
|
|
||||||
|
|
||||||
options.headers = lowercaseKeys(options.headers);
|
options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging
|
||||||
|
|
||||||
|
removeUndefinedProperties(options);
|
||||||
|
removeUndefinedProperties(options.headers);
|
||||||
const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten
|
const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten
|
||||||
|
|
||||||
if (defaults && defaults.mediaType.previews.length) {
|
if (defaults && defaults.mediaType.previews.length) {
|
||||||
|
@ -3283,7 +3292,7 @@ function parse(options) {
|
||||||
// https://fetch.spec.whatwg.org/#methods
|
// https://fetch.spec.whatwg.org/#methods
|
||||||
let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible
|
let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible
|
||||||
|
|
||||||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}");
|
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}");
|
||||||
let headers = Object.assign({}, options.headers);
|
let headers = Object.assign({}, options.headers);
|
||||||
let body;
|
let body;
|
||||||
let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later
|
let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later
|
||||||
|
@ -3297,9 +3306,9 @@ function parse(options) {
|
||||||
|
|
||||||
const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl");
|
const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl");
|
||||||
const remainingParameters = omit(parameters, omittedParameters);
|
const remainingParameters = omit(parameters, omittedParameters);
|
||||||
const isBinaryRequset = /application\/octet-stream/i.test(headers.accept);
|
const isBinaryRequest = /application\/octet-stream/i.test(headers.accept);
|
||||||
|
|
||||||
if (!isBinaryRequset) {
|
if (!isBinaryRequest) {
|
||||||
if (options.mediaType.format) {
|
if (options.mediaType.format) {
|
||||||
// e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
|
// e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw
|
||||||
headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(",");
|
headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(",");
|
||||||
|
@ -3368,7 +3377,7 @@ function withDefaults(oldDefaults, newDefaults) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const VERSION = "6.0.5";
|
const VERSION = "6.0.9";
|
||||||
|
|
||||||
const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.
|
const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.
|
||||||
// So we use RequestParameters and add method as additional required property.
|
// So we use RequestParameters and add method as additional required property.
|
||||||
|
@ -3394,12 +3403,14 @@ exports.endpoint = endpoint;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 38:
|
/***/ 558:
|
||||||
/***/ ((module) => {
|
/***/ ((__unused_webpack_module, exports) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
||||||
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||||
*
|
*
|
||||||
|
@ -3433,7 +3444,7 @@ function isPlainObject(o) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = isPlainObject;
|
exports.isPlainObject = isPlainObject;
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
@ -3449,7 +3460,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
var request = __webpack_require__(234);
|
var request = __webpack_require__(234);
|
||||||
var universalUserAgent = __webpack_require__(30);
|
var universalUserAgent = __webpack_require__(30);
|
||||||
|
|
||||||
const VERSION = "4.5.3";
|
const VERSION = "4.5.7";
|
||||||
|
|
||||||
class GraphqlError extends Error {
|
class GraphqlError extends Error {
|
||||||
constructor(request, response) {
|
constructor(request, response) {
|
||||||
|
@ -3472,13 +3483,18 @@ class GraphqlError extends Error {
|
||||||
}
|
}
|
||||||
|
|
||||||
const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"];
|
const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"];
|
||||||
|
const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/;
|
||||||
function graphql(request, query, options) {
|
function graphql(request, query, options) {
|
||||||
options = typeof query === "string" ? options = Object.assign({
|
if (typeof query === "string" && options && "query" in options) {
|
||||||
|
return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`));
|
||||||
|
}
|
||||||
|
|
||||||
|
const parsedOptions = typeof query === "string" ? Object.assign({
|
||||||
query
|
query
|
||||||
}, options) : options = query;
|
}, options) : query;
|
||||||
const requestOptions = Object.keys(options).reduce((result, key) => {
|
const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {
|
||||||
if (NON_VARIABLE_OPTIONS.includes(key)) {
|
if (NON_VARIABLE_OPTIONS.includes(key)) {
|
||||||
result[key] = options[key];
|
result[key] = parsedOptions[key];
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3486,9 +3502,17 @@ function graphql(request, query, options) {
|
||||||
result.variables = {};
|
result.variables = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
result.variables[key] = options[key];
|
result.variables[key] = parsedOptions[key];
|
||||||
return result;
|
return result;
|
||||||
}, {});
|
}, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix
|
||||||
|
// https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451
|
||||||
|
|
||||||
|
const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;
|
||||||
|
|
||||||
|
if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {
|
||||||
|
requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql");
|
||||||
|
}
|
||||||
|
|
||||||
return request(requestOptions).then(response => {
|
return request(requestOptions).then(response => {
|
||||||
if (response.data.errors) {
|
if (response.data.errors) {
|
||||||
const headers = {};
|
const headers = {};
|
||||||
|
@ -3549,7 +3573,7 @@ exports.withCustomRequest = withCustomRequest;
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
|
|
||||||
const VERSION = "2.4.0";
|
const VERSION = "2.6.0";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Some “list” response that can be paginated have a different response structure
|
* Some “list” response that can be paginated have a different response structure
|
||||||
|
@ -3602,26 +3626,23 @@ function iterator(octokit, route, parameters) {
|
||||||
let url = options.url;
|
let url = options.url;
|
||||||
return {
|
return {
|
||||||
[Symbol.asyncIterator]: () => ({
|
[Symbol.asyncIterator]: () => ({
|
||||||
next() {
|
async next() {
|
||||||
if (!url) {
|
if (!url) return {
|
||||||
return Promise.resolve({
|
|
||||||
done: true
|
done: true
|
||||||
});
|
};
|
||||||
}
|
const response = await requestMethod({
|
||||||
|
|
||||||
return requestMethod({
|
|
||||||
method,
|
method,
|
||||||
url,
|
url,
|
||||||
headers
|
headers
|
||||||
}).then(normalizePaginatedListResponse).then(response => {
|
});
|
||||||
// `response.headers.link` format:
|
const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:
|
||||||
// '<https://api.github.com/users/aseemk/followers?page=2>; rel="next", <https://api.github.com/users/aseemk/followers?page=2>; rel="last"'
|
// '<https://api.github.com/users/aseemk/followers?page=2>; rel="next", <https://api.github.com/users/aseemk/followers?page=2>; rel="last"'
|
||||||
// sets `url` to undefined if "next" URL is not present or `link` header is not set
|
// sets `url` to undefined if "next" URL is not present or `link` header is not set
|
||||||
url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1];
|
|
||||||
|
url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1];
|
||||||
return {
|
return {
|
||||||
value: response
|
value: normalizedResponse
|
||||||
};
|
};
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
@ -3659,6 +3680,10 @@ function gather(octokit, results, iterator, mapFn) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const composePaginateRest = Object.assign(paginate, {
|
||||||
|
iterator
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param octokit Octokit instance
|
* @param octokit Octokit instance
|
||||||
* @param options Options passed to Octokit constructor
|
* @param options Options passed to Octokit constructor
|
||||||
|
@ -3673,6 +3698,7 @@ function paginateRest(octokit) {
|
||||||
}
|
}
|
||||||
paginateRest.VERSION = VERSION;
|
paginateRest.VERSION = VERSION;
|
||||||
|
|
||||||
|
exports.composePaginateRest = composePaginateRest;
|
||||||
exports.paginateRest = paginateRest;
|
exports.paginateRest = paginateRest;
|
||||||
//# sourceMappingURL=index.js.map
|
//# sourceMappingURL=index.js.map
|
||||||
|
|
||||||
|
@ -4736,7 +4762,7 @@ const Endpoints = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const VERSION = "4.2.0";
|
const VERSION = "4.2.1";
|
||||||
|
|
||||||
function endpointsToMethods(octokit, endpointsMap) {
|
function endpointsToMethods(octokit, endpointsMap) {
|
||||||
const newMethods = {};
|
const newMethods = {};
|
||||||
|
@ -4916,18 +4942,18 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
||||||
|
|
||||||
var endpoint = __webpack_require__(440);
|
var endpoint = __webpack_require__(440);
|
||||||
var universalUserAgent = __webpack_require__(30);
|
var universalUserAgent = __webpack_require__(30);
|
||||||
var isPlainObject = _interopDefault(__webpack_require__(886));
|
var isPlainObject = __webpack_require__(62);
|
||||||
var nodeFetch = _interopDefault(__webpack_require__(467));
|
var nodeFetch = _interopDefault(__webpack_require__(467));
|
||||||
var requestError = __webpack_require__(537);
|
var requestError = __webpack_require__(537);
|
||||||
|
|
||||||
const VERSION = "5.4.7";
|
const VERSION = "5.4.10";
|
||||||
|
|
||||||
function getBufferResponse(response) {
|
function getBufferResponse(response) {
|
||||||
return response.arrayBuffer();
|
return response.arrayBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetchWrapper(requestOptions) {
|
function fetchWrapper(requestOptions) {
|
||||||
if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {
|
if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {
|
||||||
requestOptions.body = JSON.stringify(requestOptions.body);
|
requestOptions.body = JSON.stringify(requestOptions.body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5060,12 +5086,14 @@ exports.request = request;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 886:
|
/***/ 62:
|
||||||
/***/ ((module) => {
|
/***/ ((__unused_webpack_module, exports) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
||||||
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||||
*
|
*
|
||||||
|
@ -5099,7 +5127,7 @@ function isPlainObject(o) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = isPlainObject;
|
exports.isPlainObject = isPlainObject;
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
@ -7040,7 +7068,7 @@ exports.getUserAgent = getUserAgent;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 552:
|
/***/ 521:
|
||||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -7049,26 +7077,33 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
// EXPORTS
|
// EXPORTS
|
||||||
__webpack_require__.d(__webpack_exports__, {
|
__webpack_require__.d(__webpack_exports__, {
|
||||||
|
"NIL": () => /* reexport */ nil,
|
||||||
|
"parse": () => /* reexport */ esm_node_parse,
|
||||||
|
"stringify": () => /* reexport */ esm_node_stringify,
|
||||||
"v1": () => /* reexport */ esm_node_v1,
|
"v1": () => /* reexport */ esm_node_v1,
|
||||||
"v3": () => /* reexport */ esm_node_v3,
|
"v3": () => /* reexport */ esm_node_v3,
|
||||||
"v4": () => /* reexport */ esm_node_v4,
|
"v4": () => /* reexport */ esm_node_v4,
|
||||||
"v5": () => /* reexport */ esm_node_v5,
|
"v5": () => /* reexport */ esm_node_v5,
|
||||||
"NIL": () => /* reexport */ nil,
|
|
||||||
"version": () => /* reexport */ esm_node_version,
|
|
||||||
"validate": () => /* reexport */ esm_node_validate,
|
"validate": () => /* reexport */ esm_node_validate,
|
||||||
"stringify": () => /* reexport */ esm_node_stringify,
|
"version": () => /* reexport */ esm_node_version
|
||||||
"parse": () => /* reexport */ esm_node_parse
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "crypto"
|
// CONCATENATED MODULE: external "crypto"
|
||||||
var external_crypto_ = __webpack_require__(417);
|
const external_crypto_namespaceObject = require("crypto");;
|
||||||
var external_crypto_default = /*#__PURE__*/__webpack_require__.n(external_crypto_);
|
var external_crypto_default = /*#__PURE__*/__webpack_require__.n(external_crypto_namespaceObject);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-node/rng.js
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-node/rng.js
|
||||||
|
|
||||||
const rnds8 = new Uint8Array(16);
|
const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
|
||||||
|
|
||||||
|
let poolPtr = rnds8Pool.length;
|
||||||
function rng() {
|
function rng() {
|
||||||
return external_crypto_default().randomFillSync(rnds8);
|
if (poolPtr > rnds8Pool.length - 16) {
|
||||||
|
external_crypto_default().randomFillSync(rnds8Pool);
|
||||||
|
poolPtr = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
||||||
}
|
}
|
||||||
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-node/regex.js
|
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-node/regex.js
|
||||||
/* harmony default export */ const regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
|
/* harmony default export */ const regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
|
||||||
|
@ -7449,7 +7484,7 @@ module.exports = eval("require")("encoding");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("assert");
|
module.exports = require("assert");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7457,15 +7492,7 @@ module.exports = require("assert");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("child_process");
|
module.exports = require("child_process");;
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 417:
|
|
||||||
/***/ ((module) => {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
module.exports = require("crypto");
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7473,7 +7500,7 @@ module.exports = require("crypto");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("events");
|
module.exports = require("events");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7481,7 +7508,7 @@ module.exports = require("events");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("fs");
|
module.exports = require("fs");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7489,7 +7516,7 @@ module.exports = require("fs");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("http");
|
module.exports = require("http");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7497,7 +7524,7 @@ module.exports = require("http");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("https");
|
module.exports = require("https");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7505,7 +7532,7 @@ module.exports = require("https");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("os");
|
module.exports = require("os");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7513,7 +7540,7 @@ module.exports = require("os");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("path");
|
module.exports = require("path");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7521,7 +7548,7 @@ module.exports = require("path");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("stream");
|
module.exports = require("stream");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7529,7 +7556,7 @@ module.exports = require("stream");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("url");
|
module.exports = require("url");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7537,7 +7564,7 @@ module.exports = require("url");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("util");
|
module.exports = require("util");;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
@ -7545,7 +7572,7 @@ module.exports = require("util");
|
||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = require("zlib");
|
module.exports = require("zlib");;
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
|
|
1
report.txt
Normal file
1
report.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1605748775
|
Loading…
Add table
Add a link
Reference in a new issue