diff --git a/dist/index.js b/dist/index.js index 0fca8c78..4f442ae6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3,7 +3,7 @@ module.exports = /******/ var __webpack_modules__ = ({ /***/ 351: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -15,8 +15,8 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const os = __importStar(__webpack_require__(87)); -const utils_1 = __webpack_require__(278); +const os = __importStar(__nccwpck_require__(87)); +const utils_1 = __nccwpck_require__(278); /** * Commands * @@ -89,7 +89,7 @@ function escapeProperty(s) { /***/ }), /***/ 186: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -110,11 +110,11 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const command_1 = __webpack_require__(351); -const file_command_1 = __webpack_require__(717); -const utils_1 = __webpack_require__(278); -const os = __importStar(__webpack_require__(87)); -const path = __importStar(__webpack_require__(622)); +const command_1 = __nccwpck_require__(351); +const file_command_1 = __nccwpck_require__(717); +const utils_1 = __nccwpck_require__(278); +const os = __importStar(__nccwpck_require__(87)); +const path = __importStar(__nccwpck_require__(622)); /** * The code to exit an action */ @@ -334,7 +334,7 @@ exports.getState = getState; /***/ }), /***/ 717: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -349,9 +349,9 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", ({ value: true })); // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__webpack_require__(747)); -const os = __importStar(__webpack_require__(87)); -const utils_1 = __webpack_require__(278); +const fs = __importStar(__nccwpck_require__(747)); +const os = __importStar(__nccwpck_require__(87)); +const utils_1 = __nccwpck_require__(278); function issueCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -396,14 +396,14 @@ exports.toCommandValue = toCommandValue; /***/ }), /***/ 53: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Context = void 0; -const fs_1 = __webpack_require__(747); -const os_1 = __webpack_require__(87); +const fs_1 = __nccwpck_require__(747); +const os_1 = __nccwpck_require__(87); class Context { /** * Hydrate the context from the environment @@ -453,7 +453,7 @@ exports.Context = Context; /***/ }), /***/ 438: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -478,8 +478,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokit = exports.context = void 0; -const Context = __importStar(__webpack_require__(53)); -const utils_1 = __webpack_require__(30); +const Context = __importStar(__nccwpck_require__(53)); +const utils_1 = __nccwpck_require__(30); exports.context = new Context.Context(); /** * Returns a hydrated octokit ready to use for GitHub Actions @@ -496,7 +496,7 @@ exports.getOctokit = getOctokit; /***/ }), /***/ 914: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -521,7 +521,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(__webpack_require__(925)); +const httpClient = __importStar(__nccwpck_require__(925)); function getAuthString(token, options) { if (!token && !options.auth) { throw new Error('Parameter token or opts.auth is required'); @@ -546,7 +546,7 @@ exports.getApiBaseUrl = getApiBaseUrl; /***/ }), /***/ 30: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -571,12 +571,12 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokitOptions = exports.GitHub = exports.context = void 0; -const Context = __importStar(__webpack_require__(53)); -const Utils = __importStar(__webpack_require__(914)); +const Context = __importStar(__nccwpck_require__(53)); +const Utils = __importStar(__nccwpck_require__(914)); // octokit + plugins -const core_1 = __webpack_require__(762); -const plugin_rest_endpoint_methods_1 = __webpack_require__(44); -const plugin_paginate_rest_1 = __webpack_require__(193); +const core_1 = __nccwpck_require__(762); +const plugin_rest_endpoint_methods_1 = __nccwpck_require__(44); +const plugin_paginate_rest_1 = __nccwpck_require__(193); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); const defaults = { @@ -607,15 +607,15 @@ exports.getOctokitOptions = getOctokitOptions; /***/ }), /***/ 925: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "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__(443); +const url = __nccwpck_require__(835); +const http = __nccwpck_require__(605); +const https = __nccwpck_require__(211); +const pm = __nccwpck_require__(443); let tunnel; var HttpCodes; (function (HttpCodes) { @@ -1025,7 +1025,7 @@ class HttpClient { if (useProxy) { // If using proxy, need tunnel if (!tunnel) { - tunnel = __webpack_require__(294); + tunnel = __nccwpck_require__(294); } const agentOptions = { maxSockets: maxSockets, @@ -1146,12 +1146,12 @@ exports.HttpClient = HttpClient; /***/ }), /***/ 443: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -const url = __webpack_require__(835); +const url = __nccwpck_require__(835); function getProxyUrl(reqUrl) { let usingSsl = reqUrl.protocol === 'https:'; let proxyUrl; @@ -1269,18 +1269,18 @@ exports.createTokenAuth = createTokenAuth; /***/ }), /***/ 762: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -var universalUserAgent = __webpack_require__(429); -var beforeAfterHook = __webpack_require__(682); -var request = __webpack_require__(234); -var graphql = __webpack_require__(668); -var authToken = __webpack_require__(334); +var universalUserAgent = __nccwpck_require__(429); +var beforeAfterHook = __nccwpck_require__(682); +var request = __nccwpck_require__(234); +var graphql = __nccwpck_require__(668); +var authToken = __nccwpck_require__(334); function _defineProperty(obj, key, value) { if (key in obj) { @@ -1453,7 +1453,7 @@ exports.Octokit = Octokit; /***/ }), /***/ 440: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -1462,8 +1462,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__(840)); -var universalUserAgent = __webpack_require__(429); +var isPlainObject = _interopDefault(__nccwpck_require__(840)); +var universalUserAgent = __nccwpck_require__(429); function lowercaseKeys(object) { if (!object) { @@ -1840,15 +1840,15 @@ exports.endpoint = endpoint; /***/ }), /***/ 668: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -var request = __webpack_require__(234); -var universalUserAgent = __webpack_require__(429); +var request = __nccwpck_require__(234); +var universalUserAgent = __nccwpck_require__(429); const VERSION = "4.5.4"; @@ -3296,7 +3296,7 @@ exports.restEndpointMethods = restEndpointMethods; /***/ }), /***/ 537: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -3305,8 +3305,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__(932); -var once = _interopDefault(__webpack_require__(223)); +var deprecation = __nccwpck_require__(932); +var once = _interopDefault(__nccwpck_require__(223)); const logOnce = once(deprecation => console.warn(deprecation)); /** @@ -3359,7 +3359,7 @@ exports.RequestError = RequestError; /***/ }), /***/ 234: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -3368,11 +3368,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__(440); -var universalUserAgent = __webpack_require__(429); -var isPlainObject = _interopDefault(__webpack_require__(840)); -var nodeFetch = _interopDefault(__webpack_require__(467)); -var requestError = __webpack_require__(537); +var endpoint = __nccwpck_require__(440); +var universalUserAgent = __nccwpck_require__(429); +var isPlainObject = _interopDefault(__nccwpck_require__(840)); +var nodeFetch = _interopDefault(__nccwpck_require__(467)); +var requestError = __nccwpck_require__(537); const VERSION = "5.4.7"; @@ -3515,11 +3515,11 @@ exports.request = request; /***/ }), /***/ 682: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var register = __webpack_require__(670) -var addHook = __webpack_require__(549) -var removeHook = __webpack_require__(819) +var register = __nccwpck_require__(670) +var addHook = __nccwpck_require__(549) +var removeHook = __nccwpck_require__(819) // bind with array of arguments: https://stackoverflow.com/a/21792913 var bind = Function.bind @@ -3763,7 +3763,7 @@ module.exports = isPlainObject; /***/ }), /***/ 467: -/***/ ((module, exports, __webpack_require__) => { +/***/ ((module, exports, __nccwpck_require__) => { "use strict"; @@ -3772,11 +3772,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__(413)); -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(__nccwpck_require__(413)); +var http = _interopDefault(__nccwpck_require__(605)); +var Url = _interopDefault(__nccwpck_require__(835)); +var https = _interopDefault(__nccwpck_require__(211)); +var zlib = _interopDefault(__nccwpck_require__(761)); // Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js @@ -3927,7 +3927,7 @@ FetchError.prototype.name = 'FetchError'; let convert; try { - convert = __webpack_require__(877).convert; + convert = __nccwpck_require__(877).convert; } catch (e) {} const INTERNALS = Symbol('Body internals'); @@ -5420,9 +5420,9 @@ exports.FetchError = FetchError; /***/ }), /***/ 223: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var wrappy = __webpack_require__(940) +var wrappy = __nccwpck_require__(940) module.exports = wrappy(once) module.exports.strict = wrappy(onceStrict) @@ -5469,26 +5469,26 @@ function onceStrict (fn) { /***/ }), /***/ 294: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -module.exports = __webpack_require__(219); +module.exports = __nccwpck_require__(219); /***/ }), /***/ 219: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "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 = __nccwpck_require__(631); +var tls = __nccwpck_require__(16); +var http = __nccwpck_require__(605); +var https = __nccwpck_require__(211); +var events = __nccwpck_require__(614); +var assert = __nccwpck_require__(357); +var util = __nccwpck_require__(669); exports.httpOverHttp = httpOverHttp; @@ -5815,7 +5815,7 @@ function wrappy (fn, cb) { /***/ }), /***/ 144: -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -5839,8 +5839,8 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__webpack_require__(186)); -const github = __importStar(__webpack_require__(438)); +const core = __importStar(__nccwpck_require__(186)); +const github = __importStar(__nccwpck_require__(438)); if (!github) { throw new Error('Module not found: github'); } @@ -5932,7 +5932,7 @@ module.exports = eval("require")("encoding"); /***/ ((module) => { "use strict"; -module.exports = require("assert"); +module.exports = require("assert");; /***/ }), @@ -5940,7 +5940,7 @@ module.exports = require("assert"); /***/ ((module) => { "use strict"; -module.exports = require("events"); +module.exports = require("events");; /***/ }), @@ -5948,7 +5948,7 @@ module.exports = require("events"); /***/ ((module) => { "use strict"; -module.exports = require("fs"); +module.exports = require("fs");; /***/ }), @@ -5956,7 +5956,7 @@ module.exports = require("fs"); /***/ ((module) => { "use strict"; -module.exports = require("http"); +module.exports = require("http");; /***/ }), @@ -5964,7 +5964,7 @@ module.exports = require("http"); /***/ ((module) => { "use strict"; -module.exports = require("https"); +module.exports = require("https");; /***/ }), @@ -5972,7 +5972,7 @@ module.exports = require("https"); /***/ ((module) => { "use strict"; -module.exports = require("net"); +module.exports = require("net");; /***/ }), @@ -5980,7 +5980,7 @@ module.exports = require("net"); /***/ ((module) => { "use strict"; -module.exports = require("os"); +module.exports = require("os");; /***/ }), @@ -5988,7 +5988,7 @@ module.exports = require("os"); /***/ ((module) => { "use strict"; -module.exports = require("path"); +module.exports = require("path");; /***/ }), @@ -5996,7 +5996,7 @@ module.exports = require("path"); /***/ ((module) => { "use strict"; -module.exports = require("stream"); +module.exports = require("stream");; /***/ }), @@ -6004,7 +6004,7 @@ module.exports = require("stream"); /***/ ((module) => { "use strict"; -module.exports = require("tls"); +module.exports = require("tls");; /***/ }), @@ -6012,7 +6012,7 @@ module.exports = require("tls"); /***/ ((module) => { "use strict"; -module.exports = require("url"); +module.exports = require("url");; /***/ }), @@ -6020,7 +6020,7 @@ module.exports = require("url"); /***/ ((module) => { "use strict"; -module.exports = require("util"); +module.exports = require("util");; /***/ }), @@ -6028,7 +6028,7 @@ module.exports = require("util"); /***/ ((module) => { "use strict"; -module.exports = require("zlib"); +module.exports = require("zlib");; /***/ }) @@ -6038,7 +6038,7 @@ module.exports = require("zlib"); /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function -/******/ function __webpack_require__(moduleId) { +/******/ function __nccwpck_require__(moduleId) { /******/ // Check if module is in cache /******/ if(__webpack_module_cache__[moduleId]) { /******/ return __webpack_module_cache__[moduleId].exports; @@ -6053,7 +6053,7 @@ module.exports = require("zlib"); /******/ // Execute the module function /******/ var threw = true; /******/ try { -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__); /******/ threw = false; /******/ } finally { /******/ if(threw) delete __webpack_module_cache__[moduleId]; @@ -6066,10 +6066,10 @@ module.exports = require("zlib"); /************************************************************************/ /******/ /* webpack/runtime/compat */ /******/ -/******/ __webpack_require__.ab = __dirname + "/";/************************************************************************/ +/******/ __nccwpck_require__.ab = __dirname + "/";/************************************************************************/ /******/ // module exports must be returned from runtime so entry inlining is disabled /******/ // startup /******/ // Load entry module and return exports -/******/ return __webpack_require__(144); +/******/ return __nccwpck_require__(144); /******/ })() ; \ No newline at end of file diff --git a/package.json b/package.json index 9e189e4a..4e5d648a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@actions/github": "4.0.0" }, "devDependencies": { - "@vercel/ncc": "0.24.0", - "typescript": "4.0.2" + "@vercel/ncc": "0.27.0", + "typescript": "4.1.5" } } diff --git a/yarn.lock b/yarn.lock index e09c1d1a..0da1ae85 100644 --- a/yarn.lock +++ b/yarn.lock @@ -111,10 +111,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.2.tgz#264b44c5a28dfa80198fc2f7b6d3c8a054b9491f" integrity sha512-onlIwbaeqvZyniGPfdw/TEhKIh79pz66L1q06WUQqJLnAb6wbjvOtepLYTGHTqzdXgBYIE3ZdmqHDGsRsbBz7A== -"@vercel/ncc@0.24.0": - version "0.24.0" - resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.24.0.tgz#a2e8783a185caa99b5d8961a57dfc9665de16296" - integrity sha512-crqItMcIwCkvdXY/V3/TzrHJQx6nbIaRqE1cOopJhgGX6izvNov40SmD//nS5flfEvdK54YGjwVVq+zG6crjOg== +"@vercel/ncc@0.27.0": + version "0.27.0" + resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.27.0.tgz#c0cfeebb0bebb56052719efa4a0ecc090a932c76" + integrity sha512-DllIJQapnU2YwewIhh/4dYesmMQw3h2cFtabECc/zSJHqUbNa0eJuEkRa6DXbZvh1YPWBtYQoPV17NlDpBw1Vw== before-after-hook@^2.1.0: version "2.1.0" @@ -148,10 +148,10 @@ tunnel@0.0.6: resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c" integrity sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg== -typescript@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2" - integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ== +typescript@4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72" + integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA== universal-user-agent@^6.0.0: version "6.0.0"