[CI] test built
This commit is contained in:
parent
0fd77ba8cc
commit
c093e89c5d
2 changed files with 124 additions and 88 deletions
203
dist/index.js
vendored
203
dist/index.js
vendored
|
@ -2844,56 +2844,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 = {}) {
|
||||||
|
@ -2925,9 +2912,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: () => {},
|
||||||
|
@ -2935,7 +2920,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`.
|
||||||
|
@ -2954,8 +2939,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);
|
||||||
|
@ -3022,9 +3020,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) {
|
||||||
|
@ -3041,7 +3037,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]);
|
||||||
|
@ -3054,6 +3050,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(" ");
|
||||||
|
@ -3068,7 +3074,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) {
|
||||||
|
@ -3290,7 +3299,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
|
||||||
|
@ -3304,9 +3313,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(",");
|
||||||
|
@ -3375,7 +3384,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.
|
||||||
|
@ -3401,12 +3410,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>
|
||||||
*
|
*
|
||||||
|
@ -3440,7 +3451,7 @@ function isPlainObject(o) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = isPlainObject;
|
exports.isPlainObject = isPlainObject;
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
@ -3456,7 +3467,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) {
|
||||||
|
@ -3479,13 +3490,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3493,9 +3509,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 = {};
|
||||||
|
@ -3556,7 +3580,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
|
||||||
|
@ -3609,26 +3633,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
|
||||||
};
|
};
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
@ -3666,6 +3687,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
|
||||||
|
@ -3680,6 +3705,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
|
||||||
|
|
||||||
|
@ -4743,7 +4769,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 = {};
|
||||||
|
@ -4923,18 +4949,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5067,12 +5093,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>
|
||||||
*
|
*
|
||||||
|
@ -5106,7 +5134,7 @@ function isPlainObject(o) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = isPlainObject;
|
exports.isPlainObject = isPlainObject;
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
@ -7073,9 +7101,16 @@ var external_crypto_default = /*#__PURE__*/__webpack_require__.n(external_crypto
|
||||||
|
|
||||||
// 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);
|
||||||
|
|
1
report.txt
Normal file
1
report.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1604539047
|
Loading…
Add table
Add a link
Reference in a new issue