This commit is contained in:
eric sciple 2020-01-25 01:22:12 -05:00
parent 2ea4222c73
commit 6c6b95372f
2 changed files with 482 additions and 325 deletions

805
dist/index.js vendored
View File

@ -1,3 +1,100 @@
module.exports =
/******/ (function(modules, runtime) { // webpackBootstrap
/******/ "use strict";
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ __webpack_require__.ab = __dirname + "/";
/******/
/******/ // the startup function
/******/ function startup() {
/******/ // Load entry module and return exports
/******/ return __webpack_require__(429);
/******/ };
/******/
/******/ // run startup
/******/ return startup();
/******/ })
/************************************************************************/
/******/ ({
/***/ 16:
/***/ (function(module) {
module.exports = require("tls");
/***/ }),
/***/ 87:
/***/ (function(module) {
module.exports = require("os");
/***/ }),
/***/ 129:
/***/ (function(module) {
module.exports = require("child_process");
/***/ }),
/***/ 211:
/***/ (function(module) {
module.exports = require("https");
/***/ }),
/***/ 357:
/***/ (function(module) {
module.exports = require("assert");
/***/ }),
/***/ 413:
/***/ (function(module) {
module.exports = require("stream");
/***/ }),
/***/ 417:
/***/ (function(module) {
module.exports = require("crypto");
/***/ }),
/***/ 429:
/***/ (function(module, __unusedexports, __webpack_require__) {
module.exports =
/******/ (function(modules, runtime) { // webpackBootstrap
/******/ "use strict";
@ -44,11 +141,11 @@ module.exports =
/******/ ({
/***/ 0:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_1416__) {
module.exports = withDefaults
const graphql = __webpack_require__(500)
const graphql = __nested_webpack_require_1416__(500)
function withDefaults (request, newDefaults) {
const newRequest = request.defaults(newDefaults)
@ -64,7 +161,7 @@ function withDefaults (request, newDefaults) {
/***/ }),
/***/ 1:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_1845__) {
"use strict";
@ -78,10 +175,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const childProcess = __webpack_require__(129);
const path = __webpack_require__(622);
const util_1 = __webpack_require__(669);
const ioUtil = __webpack_require__(672);
const childProcess = __nested_webpack_require_1845__(129);
const path = __nested_webpack_require_1845__(622);
const util_1 = __nested_webpack_require_1845__(669);
const ioUtil = __nested_webpack_require_1845__(672);
const exec = util_1.promisify(childProcess.exec);
/**
* Copies a file or folder.
@ -361,13 +458,13 @@ function copyFile(srcFile, destFile, force) {
/***/ }),
/***/ 2:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_13479__) {
"use strict";
const os = __webpack_require__(87);
const macosRelease = __webpack_require__(118);
const winRelease = __webpack_require__(49);
const os = __nested_webpack_require_13479__(87);
const macosRelease = __nested_webpack_require_13479__(118);
const winRelease = __nested_webpack_require_13479__(49);
const osName = (platform, release) => {
if (!platform && release) {
@ -415,9 +512,9 @@ module.exports = osName;
/***/ }),
/***/ 3:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_14673__) {
var once = __webpack_require__(969);
var once = __nested_webpack_require_14673__(969);
var noop = function() {};
@ -509,11 +606,11 @@ module.exports = eos;
/***/ }),
/***/ 8:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_17262__) {
module.exports = iterator;
const normalizePaginatedListResponse = __webpack_require__(301);
const normalizePaginatedListResponse = __nested_webpack_require_17262__(301);
function iterator(octokit, options) {
const headers = options.headers;
@ -550,7 +647,7 @@ function iterator(octokit, options) {
/***/ }),
/***/ 9:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_18365__) {
"use strict";
@ -564,12 +661,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __webpack_require__(87);
const events = __webpack_require__(614);
const child = __webpack_require__(129);
const path = __webpack_require__(622);
const io = __webpack_require__(1);
const ioUtil = __webpack_require__(672);
const os = __nested_webpack_require_18365__(87);
const events = __nested_webpack_require_18365__(614);
const child = __nested_webpack_require_18365__(129);
const path = __nested_webpack_require_18365__(622);
const io = __nested_webpack_require_18365__(1);
const ioUtil = __nested_webpack_require_18365__(672);
/* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32';
/*
@ -1186,7 +1283,7 @@ function wrappy (fn, cb) {
/***/ 16:
/***/ (function(module) {
module.exports = require("tls");
module.exports = __webpack_require__(16);
/***/ }),
@ -1199,18 +1296,18 @@ eval("require")("encoding");
/***/ }),
/***/ 19:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_43303__) {
module.exports = authenticationPlugin;
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_43303__(692);
const once = __nested_webpack_require_43303__(969);
const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation));
const authenticate = __webpack_require__(674);
const beforeRequest = __webpack_require__(471);
const requestError = __webpack_require__(349);
const authenticate = __nested_webpack_require_43303__(674);
const beforeRequest = __nested_webpack_require_43303__(471);
const requestError = __nested_webpack_require_43303__(349);
function authenticationPlugin(octokit, options) {
if (options.auth) {
@ -1237,14 +1334,14 @@ function authenticationPlugin(octokit, options) {
/***/ }),
/***/ 20:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_44345__) {
"use strict";
const cp = __webpack_require__(129);
const parse = __webpack_require__(568);
const enoent = __webpack_require__(881);
const cp = __nested_webpack_require_44345__(129);
const parse = __nested_webpack_require_44345__(568);
const enoent = __nested_webpack_require_44345__(881);
function spawn(command, args, options) {
// Parse the arguments
@ -1305,11 +1402,11 @@ module.exports = opts => {
/***/ }),
/***/ 46:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_45961__) {
module.exports = getUserAgentNode
const osName = __webpack_require__(2)
const osName = __nested_webpack_require_45961__(2)
function getUserAgentNode () {
try {
@ -1327,12 +1424,12 @@ function getUserAgentNode () {
/***/ }),
/***/ 47:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_46391__) {
module.exports = factory;
const Octokit = __webpack_require__(402);
const registerPlugin = __webpack_require__(855);
const Octokit = __nested_webpack_require_46391__(402);
const registerPlugin = __nested_webpack_require_46391__(855);
function factory(plugins) {
const Api = Octokit.bind(null, plugins || []);
@ -2834,12 +2931,12 @@ function coerce (version) {
/***/ }),
/***/ 49:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_85610__) {
"use strict";
const os = __webpack_require__(87);
const execa = __webpack_require__(955);
const os = __nested_webpack_require_85610__(87);
const execa = __nested_webpack_require_85610__(955);
// Reference: https://www.gaijin.at/en/lstwinver.php
const names = new Map([
@ -2888,16 +2985,16 @@ module.exports = windowsRelease;
/***/ 87:
/***/ (function(module) {
module.exports = require("os");
module.exports = __webpack_require__(87);
/***/ }),
/***/ 118:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_87145__) {
"use strict";
const os = __webpack_require__(87);
const os = __nested_webpack_require_87145__(87);
const nameMap = new Map([
[19, 'Catalina'],
@ -3838,17 +3935,17 @@ module.exports = uniq;
/***/ 129:
/***/ (function(module) {
module.exports = require("child_process");
module.exports = __webpack_require__(129);
/***/ }),
/***/ 139:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_109913__) {
// Unique ID creation requires a high quality random # generator. In node.js
// this is pretty straight-forward - we use the crypto API.
var crypto = __webpack_require__(417);
var crypto = __nested_webpack_require_109913__(417);
module.exports = function nodeRNG() {
return crypto.randomBytes(16);
@ -3858,18 +3955,18 @@ module.exports = function nodeRNG() {
/***/ }),
/***/ 141:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_110255__) {
"use strict";
var net = __webpack_require__(631);
var tls = __webpack_require__(16);
var http = __webpack_require__(605);
var https = __webpack_require__(211);
var events = __webpack_require__(614);
var assert = __webpack_require__(357);
var util = __webpack_require__(669);
var net = __nested_webpack_require_110255__(631);
var tls = __nested_webpack_require_110255__(16);
var http = __nested_webpack_require_110255__(605);
var https = __nested_webpack_require_110255__(211);
var events = __nested_webpack_require_110255__(614);
var assert = __nested_webpack_require_110255__(357);
var util = __nested_webpack_require_110255__(669);
exports.httpOverHttp = httpOverHttp;
@ -4130,11 +4227,11 @@ exports.debug = debug; // for test
/***/ }),
/***/ 143:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_118032__) {
module.exports = withAuthorizationPrefix;
const atob = __webpack_require__(368);
const atob = __nested_webpack_require_118032__(368);
const REGEX_IS_BASIC_AUTH = /^[\w-]+:/;
@ -4160,12 +4257,12 @@ function withAuthorizationPrefix(authorization) {
/***/ }),
/***/ 145:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_118641__) {
"use strict";
const pump = __webpack_require__(453);
const bufferStream = __webpack_require__(966);
const pump = __nested_webpack_require_118641__(453);
const bufferStream = __nested_webpack_require_118641__(966);
class MaxBufferError extends Error {
constructor() {
@ -4218,12 +4315,12 @@ module.exports.MaxBufferError = MaxBufferError;
/***/ }),
/***/ 148:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_119989__) {
module.exports = paginatePlugin;
const iterator = __webpack_require__(8);
const paginate = __webpack_require__(807);
const iterator = __nested_webpack_require_119989__(8);
const paginate = __nested_webpack_require_119989__(807);
function paginatePlugin(octokit) {
octokit.paginate = paginate.bind(null, octokit);
@ -4283,18 +4380,18 @@ module.exports = opts => {
/***/ }),
/***/ 190:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_121288__) {
module.exports = authenticationPlugin;
const { createTokenAuth } = __webpack_require__(813);
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { createTokenAuth } = __nested_webpack_require_121288__(813);
const { Deprecation } = __nested_webpack_require_121288__(692);
const once = __nested_webpack_require_121288__(969);
const beforeRequest = __webpack_require__(863);
const requestError = __webpack_require__(293);
const validate = __webpack_require__(954);
const withAuthorizationPrefix = __webpack_require__(143);
const beforeRequest = __nested_webpack_require_121288__(863);
const requestError = __nested_webpack_require_121288__(293);
const validate = __nested_webpack_require_121288__(954);
const withAuthorizationPrefix = __nested_webpack_require_121288__(143);
const deprecateAuthBasic = once((log, deprecation) => log.warn(deprecation));
const deprecateAuthObject = once((log, deprecation) => log.warn(deprecation));
@ -4366,12 +4463,12 @@ function authenticationPlugin(octokit, options) {
/***/ }),
/***/ 197:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_124007__) {
module.exports = isexe
isexe.sync = sync
var fs = __webpack_require__(747)
var fs = __nested_webpack_require_124007__(747)
function isexe (path, options, cb) {
fs.stat(path, function (er, stat) {
@ -4414,7 +4511,7 @@ function checkMode (stat, options) {
/***/ }),
/***/ 202:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_125016__) {
"use strict";
@ -4426,11 +4523,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
const core = __importStar(__webpack_require__(470));
const github = __importStar(__webpack_require__(469));
const fs = __importStar(__nested_webpack_require_125016__(747));
const os = __importStar(__nested_webpack_require_125016__(87));
const path = __importStar(__nested_webpack_require_125016__(622));
const core = __importStar(__nested_webpack_require_125016__(470));
const github = __importStar(__nested_webpack_require_125016__(469));
function configAuthentication(registryUrl, alwaysAuth) {
const npmrc = path.resolve(process.env['RUNNER_TEMP'] || process.cwd(), '.npmrc');
if (!registryUrl.endsWith('/')) {
@ -4480,7 +4577,7 @@ function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth) {
/***/ 211:
/***/ (function(module) {
module.exports = require("https");
module.exports = __webpack_require__(211);
/***/ }),
@ -4492,11 +4589,11 @@ module.exports = {"name":"@octokit/rest","version":"16.38.1","publishConfig":{"a
/***/ }),
/***/ 248:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_131548__) {
module.exports = octokitRegisterEndpoints;
const registerEndpoints = __webpack_require__(899);
const registerEndpoints = __nested_webpack_require_131548__(899);
function octokitRegisterEndpoints(octokit) {
octokit.registerEndpoints = registerEndpoints.bind(null, octokit);
@ -4506,15 +4603,15 @@ function octokitRegisterEndpoints(octokit) {
/***/ }),
/***/ 260:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_131850__) {
// Note: since nyc uses this module to output coverage, any lines
// that are in the direct sync flow of nyc's outputCoverage are
// ignored, since we can never get coverage for them.
var assert = __webpack_require__(357)
var signals = __webpack_require__(654)
var assert = __nested_webpack_require_131850__(357)
var signals = __nested_webpack_require_131850__(654)
var EE = __webpack_require__(614)
var EE = __nested_webpack_require_131850__(614)
/* istanbul ignore if */
if (typeof EE !== 'function') {
EE = EE.EventEmitter
@ -4670,13 +4767,13 @@ function processEmit (ev, arg) {
/***/ }),
/***/ 262:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_135863__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __webpack_require__(747);
const os_1 = __webpack_require__(87);
const fs_1 = __nested_webpack_require_135863__(747);
const os_1 = __nested_webpack_require_135863__(87);
class Context {
/**
* Hydrate the context from the environment
@ -4722,13 +4819,13 @@ exports.Context = Context;
/***/ }),
/***/ 265:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_137683__) {
module.exports = getPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const HttpError = __webpack_require__(297)
const deprecate = __nested_webpack_require_137683__(370)
const getPageLinks = __nested_webpack_require_137683__(577)
const HttpError = __nested_webpack_require_137683__(297)
function getPage (octokit, link, which, headers) {
deprecate(`octokit.get${which.charAt(0).toUpperCase() + which.slice(1)}Page() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -6326,11 +6423,11 @@ function coerce (version, options) {
/***/ }),
/***/ 293:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_179425__) {
module.exports = authenticationRequestError;
const { RequestError } = __webpack_require__(463);
const { RequestError } = __nested_webpack_require_179425__(463);
function authenticationRequestError(state, error, options) {
if (!error.headers) throw error;
@ -6394,15 +6491,15 @@ function authenticationRequestError(state, error, options) {
/***/ }),
/***/ 294:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_181100__) {
module.exports = parseOptions;
const { Deprecation } = __webpack_require__(692);
const { getUserAgent } = __webpack_require__(619);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_181100__(692);
const { getUserAgent } = __nested_webpack_require_181100__(619);
const once = __nested_webpack_require_181100__(969);
const pkg = __webpack_require__(215);
const pkg = __nested_webpack_require_181100__(215);
const deprecateOptionsTimeout = once((log, deprecation) =>
log.warn(deprecation)
@ -6512,7 +6609,7 @@ module.exports = class HttpError extends Error {
/***/ }),
/***/ 301:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_184046__) {
/**
* Some list response that can be paginated have a different response structure
@ -6538,8 +6635,8 @@ module.exports = class HttpError extends Error {
module.exports = normalizePaginatedListResponse;
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_184046__(692);
const once = __nested_webpack_require_184046__(969);
const deprecateIncompleteResults = once((log, deprecation) =>
log.warn(deprecation)
@ -6671,12 +6768,12 @@ isStream.transform = function (stream) {
/***/ }),
/***/ 336:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_191744__) {
module.exports = hasLastPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_191744__(370)
const getPageLinks = __nested_webpack_require_191744__(577)
function hasLastPage (link) {
deprecate(`octokit.hasLastPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -6687,16 +6784,16 @@ function hasLastPage (link) {
/***/ }),
/***/ 348:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_192161__) {
"use strict";
module.exports = validate;
const { RequestError } = __webpack_require__(463);
const get = __webpack_require__(854);
const set = __webpack_require__(883);
const { RequestError } = __nested_webpack_require_192161__(463);
const get = __nested_webpack_require_192161__(854);
const set = __nested_webpack_require_192161__(883);
function validate(octokit, options) {
if (!options.request.validate) {
@ -6846,11 +6943,11 @@ function validate(octokit, options) {
/***/ }),
/***/ 349:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_196387__) {
module.exports = authenticationRequestError;
const { RequestError } = __webpack_require__(463);
const { RequestError } = __nested_webpack_require_196387__(463);
function authenticationRequestError(state, error, options) {
/* istanbul ignore next */
@ -6910,7 +7007,7 @@ function authenticationRequestError(state, error, options) {
/***/ 357:
/***/ (function(module) {
module.exports = require("assert");
module.exports = __webpack_require__(357);
/***/ }),
@ -7014,7 +7111,7 @@ function octokitDebug(octokit) {
/***/ }),
/***/ 385:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_199902__) {
"use strict";
@ -7023,8 +7120,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var isPlainObject = _interopDefault(__webpack_require__(626));
var universalUserAgent = __webpack_require__(562);
var isPlainObject = _interopDefault(__nested_webpack_require_199902__(626));
var universalUserAgent = __nested_webpack_require_199902__(562);
function lowercaseKeys(object) {
if (!object) {
@ -7401,13 +7498,13 @@ exports.endpoint = endpoint;
/***/ }),
/***/ 389:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_212254__) {
"use strict";
const fs = __webpack_require__(747);
const shebangCommand = __webpack_require__(866);
const fs = __nested_webpack_require_212254__(747);
const shebangCommand = __nested_webpack_require_212254__(866);
function readShebang(command) {
// Read the first 150 bytes from the file
@ -7441,7 +7538,7 @@ module.exports = readShebang;
/***/ }),
/***/ 392:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_213093__) {
"use strict";
@ -7450,7 +7547,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var osName = _interopDefault(__webpack_require__(2));
var osName = _interopDefault(__nested_webpack_require_213093__(2));
function getUserAgent() {
try {
@ -7471,14 +7568,14 @@ exports.getUserAgent = getUserAgent;
/***/ }),
/***/ 402:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_213771__) {
module.exports = Octokit;
const { request } = __webpack_require__(753);
const Hook = __webpack_require__(523);
const { request } = __nested_webpack_require_213771__(753);
const Hook = __nested_webpack_require_213771__(523);
const parseClientOptions = __webpack_require__(294);
const parseClientOptions = __nested_webpack_require_213771__(294);
function Octokit(plugins, options) {
options = options || {};
@ -7507,9 +7604,9 @@ function Octokit(plugins, options) {
/***/ }),
/***/ 413:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_214496__) {
module.exports = __webpack_require__(141);
module.exports = __nested_webpack_require_214496__(141);
/***/ }),
@ -7517,18 +7614,18 @@ module.exports = __webpack_require__(141);
/***/ 417:
/***/ (function(module) {
module.exports = require("crypto");
module.exports = __webpack_require__(417);
/***/ }),
/***/ 427:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_214714__) {
"use strict";
// Older verions of Node.js might not have `util.getSystemErrorName()`.
// In that case, fall back to a deprecated internal.
const util = __webpack_require__(669);
const util = __nested_webpack_require_214714__(669);
let uv;
@ -7569,11 +7666,11 @@ function errname(uv, code) {
/***/ }),
/***/ 430:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_215654__) {
module.exports = octokitValidate;
const validate = __webpack_require__(348);
const validate = __nested_webpack_require_215654__(348);
function octokitValidate(octokit) {
octokit.hook.before("request", validate.bind(null, octokit));
@ -7583,7 +7680,7 @@ function octokitValidate(octokit) {
/***/ }),
/***/ 431:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_215924__) {
"use strict";
@ -7595,7 +7692,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __importStar(__webpack_require__(87));
const os = __importStar(__nested_webpack_require_215924__(87));
/**
* Commands
*
@ -7668,11 +7765,11 @@ function escapeProperty(s) {
/***/ }),
/***/ 453:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_218371__) {
var once = __webpack_require__(969)
var eos = __webpack_require__(3)
var fs = __webpack_require__(747) // we only need fs to get the ReadStream and WriteStream prototypes
var once = __nested_webpack_require_218371__(969)
var eos = __nested_webpack_require_218371__(3)
var fs = __nested_webpack_require_218371__(747) // we only need fs to get the ReadStream and WriteStream prototypes
var noop = function () {}
var ancient = /^v?\.0/.test(process.version)
@ -7757,7 +7854,7 @@ module.exports = pump
/***/ }),
/***/ 454:
/***/ (function(module, exports, __webpack_require__) {
/***/ (function(module, exports, __nested_webpack_require_220694__) {
"use strict";
@ -7766,11 +7863,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Stream = _interopDefault(__webpack_require__(794));
var http = _interopDefault(__webpack_require__(605));
var Url = _interopDefault(__webpack_require__(835));
var https = _interopDefault(__webpack_require__(211));
var zlib = _interopDefault(__webpack_require__(761));
var Stream = _interopDefault(__nested_webpack_require_220694__(794));
var http = _interopDefault(__nested_webpack_require_220694__(605));
var Url = _interopDefault(__nested_webpack_require_220694__(835));
var https = _interopDefault(__nested_webpack_require_220694__(211));
var zlib = _interopDefault(__nested_webpack_require_220694__(761));
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
@ -7921,7 +8018,7 @@ FetchError.prototype.name = 'FetchError';
let convert;
try {
convert = __webpack_require__(18).convert;
convert = __nested_webpack_require_220694__(18).convert;
} catch (e) {}
const INTERNALS = Symbol('Body internals');
@ -9460,7 +9557,7 @@ module.exports.argument = escapeArgument;
/***/ }),
/***/ 463:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_263383__) {
"use strict";
@ -9469,8 +9566,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var deprecation = __webpack_require__(692);
var once = _interopDefault(__webpack_require__(969));
var deprecation = __nested_webpack_require_263383__(692);
var once = _interopDefault(__nested_webpack_require_263383__(969));
const logOnce = once(deprecation => console.warn(deprecation));
/**
@ -9523,7 +9620,7 @@ exports.RequestError = RequestError;
/***/ }),
/***/ 469:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_265505__) {
"use strict";
@ -9539,9 +9636,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
// Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts
const graphql_1 = __webpack_require__(503);
const rest_1 = __importDefault(__webpack_require__(613));
const Context = __importStar(__webpack_require__(262));
const graphql_1 = __nested_webpack_require_265505__(503);
const rest_1 = __importDefault(__nested_webpack_require_265505__(613));
const Context = __importStar(__nested_webpack_require_265505__(262));
// We need this in order to extend Octokit
rest_1.default.prototype = new rest_1.default();
exports.context = new Context.Context();
@ -9559,7 +9656,7 @@ exports.GitHub = GitHub;
/***/ }),
/***/ 470:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_266818__) {
"use strict";
@ -9580,9 +9677,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(431);
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
const command_1 = __nested_webpack_require_266818__(431);
const os = __importStar(__nested_webpack_require_266818__(87));
const path = __importStar(__nested_webpack_require_266818__(622));
/**
* The code to exit an action
*/
@ -9768,12 +9865,12 @@ exports.getState = getState;
/***/ }),
/***/ 471:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_273130__) {
module.exports = authenticationBeforeRequest;
const btoa = __webpack_require__(675);
const uniq = __webpack_require__(126);
const btoa = __nested_webpack_require_273130__(675);
const uniq = __nested_webpack_require_273130__(126);
function authenticationBeforeRequest(state, options) {
if (!state.auth.type) {
@ -9818,14 +9915,14 @@ function authenticationBeforeRequest(state, options) {
/***/ }),
/***/ 489:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_274432__) {
"use strict";
const path = __webpack_require__(622);
const which = __webpack_require__(814);
const pathKey = __webpack_require__(39)();
const path = __nested_webpack_require_274432__(622);
const which = __nested_webpack_require_274432__(814);
const pathKey = __nested_webpack_require_274432__(39)();
function resolveCommandAttempt(parsed, withoutPathExt) {
const cwd = process.cwd();
@ -9873,11 +9970,11 @@ module.exports = resolveCommand;
/***/ }),
/***/ 500:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_275870__) {
module.exports = graphql
const GraphqlError = __webpack_require__(862)
const GraphqlError = __nested_webpack_require_275870__(862)
const NON_VARIABLE_OPTIONS = ['method', 'baseUrl', 'url', 'headers', 'request', 'query']
@ -9916,15 +10013,15 @@ function graphql (request, query, options) {
/***/ }),
/***/ 503:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_276795__) {
const { request } = __webpack_require__(753)
const getUserAgent = __webpack_require__(46)
const { request } = __nested_webpack_require_276795__(753)
const getUserAgent = __nested_webpack_require_276795__(46)
const version = __webpack_require__(314).version
const version = __nested_webpack_require_276795__(314).version
const userAgent = `octokit-graphql.js/${version} ${getUserAgent()}`
const withDefaults = __webpack_require__(0)
const withDefaults = __nested_webpack_require_276795__(0)
module.exports = withDefaults(request, {
method: 'POST',
@ -9991,11 +10088,11 @@ function addHook (state, kind, name, hook) {
/***/ }),
/***/ 523:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_278304__) {
var register = __webpack_require__(363)
var addHook = __webpack_require__(510)
var removeHook = __webpack_require__(763)
var register = __nested_webpack_require_278304__(363)
var addHook = __nested_webpack_require_278304__(510)
var removeHook = __nested_webpack_require_278304__(763)
// bind with array of arguments: https://stackoverflow.com/a/21792913
var bind = Function.bind
@ -10055,9 +10152,9 @@ module.exports.Collection = Hook.Collection
/***/ }),
/***/ 529:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_280103__) {
const factory = __webpack_require__(47);
const factory = __nested_webpack_require_280103__(47);
module.exports = factory();
@ -10065,7 +10162,7 @@ module.exports = factory();
/***/ }),
/***/ 533:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_280262__) {
"use strict";
@ -10089,16 +10186,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const io = __importStar(__webpack_require__(1));
const fs = __importStar(__webpack_require__(747));
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
const httpm = __importStar(__webpack_require__(539));
const semver = __importStar(__webpack_require__(280));
const v4_1 = __importDefault(__webpack_require__(826));
const exec_1 = __webpack_require__(986);
const assert_1 = __webpack_require__(357);
const core = __importStar(__nested_webpack_require_280262__(470));
const io = __importStar(__nested_webpack_require_280262__(1));
const fs = __importStar(__nested_webpack_require_280262__(747));
const os = __importStar(__nested_webpack_require_280262__(87));
const path = __importStar(__nested_webpack_require_280262__(622));
const httpm = __importStar(__nested_webpack_require_280262__(539));
const semver = __importStar(__nested_webpack_require_280262__(280));
const v4_1 = __importDefault(__nested_webpack_require_280262__(826));
const exec_1 = __nested_webpack_require_280262__(986);
const assert_1 = __nested_webpack_require_280262__(357);
class HTTPError extends Error {
constructor(httpStatusCode) {
super(`Unexpected HTTP response: ${httpStatusCode}`);
@ -10547,12 +10644,12 @@ function _evaluateVersions(versions, versionSpec) {
/***/ }),
/***/ 536:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_299112__) {
module.exports = hasFirstPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_299112__(370)
const getPageLinks = __nested_webpack_require_299112__(577)
function hasFirstPage (link) {
deprecate(`octokit.hasFirstPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -10563,15 +10660,15 @@ function hasFirstPage (link) {
/***/ }),
/***/ 539:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_299533__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const url = __webpack_require__(835);
const http = __webpack_require__(605);
const https = __webpack_require__(211);
const pm = __webpack_require__(950);
const url = __nested_webpack_require_299533__(835);
const http = __nested_webpack_require_299533__(605);
const https = __nested_webpack_require_299533__(211);
const pm = __nested_webpack_require_299533__(950);
let tunnel;
var HttpCodes;
(function (HttpCodes) {
@ -10905,7 +11002,7 @@ class HttpClient {
if (useProxy) {
// If using proxy, need tunnel
if (!tunnel) {
tunnel = __webpack_require__(413);
tunnel = __nested_webpack_require_299533__(413);
}
const agentOptions = {
maxSockets: maxSockets,
@ -11013,11 +11110,11 @@ module.exports = isPlainObject;
/***/ }),
/***/ 550:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_317296__) {
module.exports = getNextPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_317296__(265)
function getNextPage (octokit, link, headers) {
return getPage(octokit, link, 'next', headers)
@ -11027,12 +11124,12 @@ function getNextPage (octokit, link, headers) {
/***/ }),
/***/ 558:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_317556__) {
module.exports = hasPreviousPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_317556__(370)
const getPageLinks = __nested_webpack_require_317556__(577)
function hasPreviousPage (link) {
deprecate(`octokit.hasPreviousPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -11043,7 +11140,7 @@ function hasPreviousPage (link) {
/***/ }),
/***/ 562:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_317985__) {
"use strict";
@ -11052,7 +11149,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var osName = _interopDefault(__webpack_require__(2));
var osName = _interopDefault(__nested_webpack_require_317985__(2));
function getUserAgent() {
try {
@ -11073,11 +11170,11 @@ exports.getUserAgent = getUserAgent;
/***/ }),
/***/ 563:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_318663__) {
module.exports = getPreviousPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_318663__(265)
function getPreviousPage (octokit, link, headers) {
return getPage(octokit, link, 'prev', headers)
@ -11087,17 +11184,17 @@ function getPreviousPage (octokit, link, headers) {
/***/ }),
/***/ 568:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_318931__) {
"use strict";
const path = __webpack_require__(622);
const niceTry = __webpack_require__(948);
const resolveCommand = __webpack_require__(489);
const escape = __webpack_require__(462);
const readShebang = __webpack_require__(389);
const semver = __webpack_require__(48);
const path = __nested_webpack_require_318931__(622);
const niceTry = __nested_webpack_require_318931__(948);
const resolveCommand = __nested_webpack_require_318931__(489);
const escape = __nested_webpack_require_318931__(462);
const readShebang = __nested_webpack_require_318931__(389);
const semver = __nested_webpack_require_318931__(48);
const isWin = process.platform === 'win32';
const isExecutableRegExp = /\.(?:com|exe)$/i;
@ -11242,11 +11339,11 @@ function getPageLinks (link) {
/***/ }),
/***/ 586:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_323893__) {
module.exports = octokitRestApiEndpoints;
const ROUTES = __webpack_require__(705);
const ROUTES = __nested_webpack_require_323893__(705);
function octokitRestApiEndpoints(octokit) {
// Aliasing scopes for backward compatibility
@ -11264,25 +11361,25 @@ function octokitRestApiEndpoints(octokit) {
/***/ 605:
/***/ (function(module) {
module.exports = require("http");
module.exports = __webpack_require__(605);
/***/ }),
/***/ 613:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_324459__) {
const Octokit = __webpack_require__(529);
const Octokit = __nested_webpack_require_324459__(529);
const CORE_PLUGINS = [
__webpack_require__(190),
__webpack_require__(19), // deprecated: remove in v17
__webpack_require__(372),
__webpack_require__(148),
__webpack_require__(248),
__webpack_require__(586),
__webpack_require__(430),
__nested_webpack_require_324459__(190),
__nested_webpack_require_324459__(19), // deprecated: remove in v17
__nested_webpack_require_324459__(372),
__nested_webpack_require_324459__(148),
__nested_webpack_require_324459__(248),
__nested_webpack_require_324459__(586),
__nested_webpack_require_324459__(430),
__webpack_require__(850) // deprecated: remove in v17
__nested_webpack_require_324459__(850) // deprecated: remove in v17
];
module.exports = Octokit.plugin(CORE_PLUGINS);
@ -11293,12 +11390,12 @@ module.exports = Octokit.plugin(CORE_PLUGINS);
/***/ 614:
/***/ (function(module) {
module.exports = require("events");
module.exports = __webpack_require__(614);
/***/ }),
/***/ 619:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_325032__) {
"use strict";
@ -11307,7 +11404,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var osName = _interopDefault(__webpack_require__(2));
var osName = _interopDefault(__nested_webpack_require_325032__(2));
function getUserAgent() {
try {
@ -11328,12 +11425,12 @@ exports.getUserAgent = getUserAgent;
/***/ }),
/***/ 621:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_325710__) {
"use strict";
const path = __webpack_require__(622);
const pathKey = __webpack_require__(39);
const path = __nested_webpack_require_325710__(622);
const pathKey = __nested_webpack_require_325710__(39);
module.exports = opts => {
opts = Object.assign({
@ -11377,7 +11474,7 @@ module.exports.env = opts => {
/***/ 622:
/***/ (function(module) {
module.exports = require("path");
module.exports = __webpack_require__(622);
/***/ }),
@ -11440,16 +11537,16 @@ module.exports = isPlainObject;
/***/ 631:
/***/ (function(module) {
module.exports = require("net");
module.exports = __webpack_require__(631);
/***/ }),
/***/ 649:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_327888__) {
module.exports = getLastPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_327888__(265)
function getLastPage (octokit, link, headers) {
return getPage(octokit, link, 'last', headers)
@ -11521,12 +11618,12 @@ if (process.platform === 'linux') {
/***/ 669:
/***/ (function(module) {
module.exports = require("util");
module.exports = __webpack_require__(669);
/***/ }),
/***/ 672:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_329578__) {
"use strict";
@ -11541,9 +11638,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = __webpack_require__(357);
const fs = __webpack_require__(747);
const path = __webpack_require__(622);
const assert_1 = __nested_webpack_require_329578__(357);
const fs = __nested_webpack_require_329578__(747);
const path = __nested_webpack_require_329578__(622);
_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
exports.IS_WINDOWS = process.platform === 'win32';
function exists(fsPath) {
@ -11728,12 +11825,12 @@ function isUnixExecutable(stats) {
/***/ }),
/***/ 674:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_337255__) {
module.exports = authenticate;
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_337255__(692);
const once = __nested_webpack_require_337255__(969);
const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation));
@ -11886,14 +11983,14 @@ module.exports = bytesToUuid;
/***/ }),
/***/ 742:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_516347__) {
var fs = __webpack_require__(747)
var fs = __nested_webpack_require_516347__(747)
var core
if (process.platform === 'win32' || global.TESTING_WINDOWS) {
core = __webpack_require__(818)
core = __nested_webpack_require_516347__(818)
} else {
core = __webpack_require__(197)
core = __nested_webpack_require_516347__(197)
}
module.exports = isexe
@ -11952,12 +12049,12 @@ function sync (path, options) {
/***/ 747:
/***/ (function(module) {
module.exports = require("fs");
module.exports = __webpack_require__(747);
/***/ }),
/***/ 749:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_517726__) {
"use strict";
@ -11979,14 +12076,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
Object.defineProperty(exports, "__esModule", { value: true });
// Load tempDirectory before it gets wiped by tool-cache
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
const assert = __importStar(__webpack_require__(357));
const core = __importStar(__webpack_require__(470));
const hc = __importStar(__webpack_require__(539));
const io = __importStar(__webpack_require__(1));
const tc = __importStar(__webpack_require__(533));
const os = __importStar(__webpack_require__(87));
const path = __importStar(__webpack_require__(622));
const semver = __importStar(__webpack_require__(280));
const assert = __importStar(__nested_webpack_require_517726__(357));
const core = __importStar(__nested_webpack_require_517726__(470));
const hc = __importStar(__nested_webpack_require_517726__(539));
const io = __importStar(__nested_webpack_require_517726__(1));
const tc = __importStar(__nested_webpack_require_517726__(533));
const os = __importStar(__nested_webpack_require_517726__(87));
const path = __importStar(__nested_webpack_require_517726__(622));
const semver = __importStar(__nested_webpack_require_517726__(280));
let osPlat = os.platform();
let osArch = translateArchToDistUrl(os.arch());
if (!tempDirectory) {
@ -12212,7 +12309,7 @@ function translateArchToDistUrl(arch) {
/***/ }),
/***/ 753:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_527956__) {
"use strict";
@ -12221,11 +12318,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var endpoint = __webpack_require__(385);
var universalUserAgent = __webpack_require__(392);
var isPlainObject = _interopDefault(__webpack_require__(548));
var nodeFetch = _interopDefault(__webpack_require__(454));
var requestError = __webpack_require__(463);
var endpoint = __nested_webpack_require_527956__(385);
var universalUserAgent = __nested_webpack_require_527956__(392);
var isPlainObject = _interopDefault(__nested_webpack_require_527956__(548));
var nodeFetch = _interopDefault(__nested_webpack_require_527956__(454));
var requestError = __nested_webpack_require_527956__(463);
const VERSION = "5.3.1";
@ -12370,7 +12467,7 @@ exports.request = request;
/***/ 761:
/***/ (function(module) {
module.exports = require("zlib");
module.exports = __webpack_require__(761);
/***/ }),
@ -12422,11 +12519,11 @@ module.exports = function (x) {
/***/ }),
/***/ 777:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_532860__) {
module.exports = getFirstPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_532860__(265)
function getFirstPage (octokit, link, headers) {
return getPage(octokit, link, 'first', headers)
@ -12438,16 +12535,16 @@ function getFirstPage (octokit, link, headers) {
/***/ 794:
/***/ (function(module) {
module.exports = require("stream");
module.exports = __webpack_require__(413);
/***/ }),
/***/ 807:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_533209__) {
module.exports = paginate;
const iterator = __webpack_require__(8);
const iterator = __nested_webpack_require_533209__(8);
function paginate(octokit, route, options, mapFn) {
if (typeof options === "function") {
@ -12547,7 +12644,7 @@ exports.createTokenAuth = createTokenAuth;
/***/ }),
/***/ 814:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_535465__) {
module.exports = which
which.sync = whichSync
@ -12556,9 +12653,9 @@ var isWindows = process.platform === 'win32' ||
process.env.OSTYPE === 'cygwin' ||
process.env.OSTYPE === 'msys'
var path = __webpack_require__(622)
var path = __nested_webpack_require_535465__(622)
var COLON = isWindows ? ';' : ':'
var isexe = __webpack_require__(742)
var isexe = __nested_webpack_require_535465__(742)
function getNotFoundError (cmd) {
var er = new Error('not found: ' + cmd)
@ -12699,12 +12796,12 @@ module.exports = /^#!.*/;
/***/ }),
/***/ 818:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_538847__) {
module.exports = isexe
isexe.sync = sync
var fs = __webpack_require__(747)
var fs = __nested_webpack_require_538847__(747)
function checkPathExt (path, options) {
var pathext = options.pathExt !== undefined ?
@ -12748,10 +12845,10 @@ function sync (path, options) {
/***/ }),
/***/ 826:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_539837__) {
var rng = __webpack_require__(139);
var bytesToUuid = __webpack_require__(722);
var rng = __nested_webpack_require_539837__(139);
var bytesToUuid = __nested_webpack_require_539837__(722);
function v4(options, buf, offset) {
var i = buf && offset || 0;
@ -12786,24 +12883,24 @@ module.exports = v4;
/***/ 835:
/***/ (function(module) {
module.exports = require("url");
module.exports = __webpack_require__(835);
/***/ }),
/***/ 850:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_540689__) {
module.exports = paginationMethodsPlugin
function paginationMethodsPlugin (octokit) {
octokit.getFirstPage = __webpack_require__(777).bind(null, octokit)
octokit.getLastPage = __webpack_require__(649).bind(null, octokit)
octokit.getNextPage = __webpack_require__(550).bind(null, octokit)
octokit.getPreviousPage = __webpack_require__(563).bind(null, octokit)
octokit.hasFirstPage = __webpack_require__(536)
octokit.hasLastPage = __webpack_require__(336)
octokit.hasNextPage = __webpack_require__(929)
octokit.hasPreviousPage = __webpack_require__(558)
octokit.getFirstPage = __nested_webpack_require_540689__(777).bind(null, octokit)
octokit.getLastPage = __nested_webpack_require_540689__(649).bind(null, octokit)
octokit.getNextPage = __nested_webpack_require_540689__(550).bind(null, octokit)
octokit.getPreviousPage = __nested_webpack_require_540689__(563).bind(null, octokit)
octokit.hasFirstPage = __nested_webpack_require_540689__(536)
octokit.hasLastPage = __nested_webpack_require_540689__(336)
octokit.hasNextPage = __nested_webpack_require_540689__(929)
octokit.hasPreviousPage = __nested_webpack_require_540689__(558)
}
@ -13748,11 +13845,11 @@ module.exports = get;
/***/ }),
/***/ 855:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_564798__) {
module.exports = registerPlugin;
const factory = __webpack_require__(47);
const factory = __nested_webpack_require_564798__(47);
function registerPlugin(plugins, pluginFunction) {
return factory(
@ -13787,13 +13884,13 @@ module.exports = class GraphqlError extends Error {
/***/ }),
/***/ 863:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_565619__) {
module.exports = authenticationBeforeRequest;
const btoa = __webpack_require__(675);
const btoa = __nested_webpack_require_565619__(675);
const withAuthorizationPrefix = __webpack_require__(143);
const withAuthorizationPrefix = __nested_webpack_require_565619__(143);
function authenticationBeforeRequest(state, options) {
if (typeof state.auth === "string") {
@ -13847,11 +13944,11 @@ function authenticationBeforeRequest(state, options) {
/***/ }),
/***/ 866:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_567760__) {
"use strict";
var shebangRegex = __webpack_require__(816);
var shebangRegex = __nested_webpack_require_567760__(816);
module.exports = function (str) {
var match = str.match(shebangRegex);
@ -14938,11 +15035,11 @@ module.exports = set;
/***/ }),
/***/ 899:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_595010__) {
module.exports = registerEndpoints;
const { Deprecation } = __webpack_require__(692);
const { Deprecation } = __nested_webpack_require_595010__(692);
function registerEndpoints(octokit, routes) {
Object.keys(routes).forEach(namespaceName => {
@ -15043,12 +15140,12 @@ function patchForDeprecation(octokit, apiOptions, method, methodName) {
/***/ }),
/***/ 929:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_597968__) {
module.exports = hasNextPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_597968__(370)
const getPageLinks = __nested_webpack_require_597968__(577)
function hasNextPage (link) {
deprecate(`octokit.hasNextPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -15059,7 +15156,7 @@ function hasNextPage (link) {
/***/ }),
/***/ 934:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_598385__) {
"use strict";
@ -15079,10 +15176,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const installer = __importStar(__webpack_require__(749));
const auth = __importStar(__webpack_require__(202));
const path = __importStar(__webpack_require__(622));
const core = __importStar(__nested_webpack_require_598385__(470));
const installer = __importStar(__nested_webpack_require_598385__(749));
const auth = __importStar(__nested_webpack_require_598385__(202));
const path = __importStar(__nested_webpack_require_598385__(622));
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
@ -15137,12 +15234,12 @@ module.exports = function(fn) {
/***/ }),
/***/ 950:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_601218__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const url = __webpack_require__(835);
const url = __nested_webpack_require_601218__(835);
function getProxyUrl(reqUrl) {
let usingSsl = reqUrl.protocol === 'https:';
let proxyUrl;
@ -15230,21 +15327,21 @@ function validateAuth(auth) {
/***/ }),
/***/ 955:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_603354__) {
"use strict";
const path = __webpack_require__(622);
const childProcess = __webpack_require__(129);
const crossSpawn = __webpack_require__(20);
const stripEof = __webpack_require__(768);
const npmRunPath = __webpack_require__(621);
const isStream = __webpack_require__(323);
const _getStream = __webpack_require__(145);
const pFinally = __webpack_require__(697);
const onExit = __webpack_require__(260);
const errname = __webpack_require__(427);
const stdio = __webpack_require__(168);
const path = __nested_webpack_require_603354__(622);
const childProcess = __nested_webpack_require_603354__(129);
const crossSpawn = __nested_webpack_require_603354__(20);
const stripEof = __nested_webpack_require_603354__(768);
const npmRunPath = __nested_webpack_require_603354__(621);
const isStream = __nested_webpack_require_603354__(323);
const _getStream = __nested_webpack_require_603354__(145);
const pFinally = __nested_webpack_require_603354__(697);
const onExit = __nested_webpack_require_603354__(260);
const errname = __nested_webpack_require_603354__(427);
const stdio = __nested_webpack_require_603354__(168);
const TEN_MEGABYTES = 1000 * 1000 * 10;
@ -15599,11 +15696,11 @@ module.exports.shellSync = (cmd, opts) => handleShell(module.exports.sync, cmd,
/***/ }),
/***/ 966:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_611150__) {
"use strict";
const {PassThrough} = __webpack_require__(794);
const {PassThrough} = __nested_webpack_require_611150__(794);
module.exports = options => {
options = Object.assign({}, options);
@ -15658,9 +15755,9 @@ module.exports = options => {
/***/ }),
/***/ 969:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_612088__) {
var wrappy = __webpack_require__(11)
var wrappy = __nested_webpack_require_612088__(11)
module.exports = wrappy(once)
module.exports.strict = wrappy(onceStrict)
@ -15707,7 +15804,7 @@ function onceStrict (fn) {
/***/ }),
/***/ 986:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_613118__) {
"use strict";
@ -15721,7 +15818,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const tr = __webpack_require__(9);
const tr = __nested_webpack_require_613118__(9);
/**
* Exec a command.
* Output will be streamed to the live console.
@ -15750,4 +15847,64 @@ exports.exec = exec;
/***/ })
/******/ });
/***/ }),
/***/ 605:
/***/ (function(module) {
module.exports = require("http");
/***/ }),
/***/ 614:
/***/ (function(module) {
module.exports = require("events");
/***/ }),
/***/ 622:
/***/ (function(module) {
module.exports = require("path");
/***/ }),
/***/ 631:
/***/ (function(module) {
module.exports = require("net");
/***/ }),
/***/ 669:
/***/ (function(module) {
module.exports = require("util");
/***/ }),
/***/ 747:
/***/ (function(module) {
module.exports = require("fs");
/***/ }),
/***/ 761:
/***/ (function(module) {
module.exports = require("zlib");
/***/ }),
/***/ 835:
/***/ (function(module) {
module.exports = require("url");
/***/ })
/******/ });

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"description": "setup node action",
"main": "lib/setup-node.js",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",