mirror of
https://github.com/peter-evans/create-or-update-comment.git
synced 2025-01-18 19:22:44 +08:00
Update distribution
This commit is contained in:
parent
6fb74abd38
commit
a2be0871da
174
dist/index.js
vendored
174
dist/index.js
vendored
@ -3,11 +3,11 @@ module.exports =
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ 932:
|
||||
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||||
/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
|
||||
|
||||
const { inspect } = __webpack_require__(669);
|
||||
const core = __webpack_require__(186);
|
||||
const github = __webpack_require__(438);
|
||||
const { inspect } = __nccwpck_require__(669);
|
||||
const core = __nccwpck_require__(186);
|
||||
const github = __nccwpck_require__(438);
|
||||
|
||||
const REACTION_TYPES = [
|
||||
"+1",
|
||||
@ -172,7 +172,7 @@ run();
|
||||
/***/ }),
|
||||
|
||||
/***/ 351:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -184,8 +184,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
|
||||
*
|
||||
@ -258,7 +258,7 @@ function escapeProperty(s) {
|
||||
/***/ }),
|
||||
|
||||
/***/ 186:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -279,11 +279,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
|
||||
*/
|
||||
@ -503,7 +503,7 @@ exports.getState = getState;
|
||||
/***/ }),
|
||||
|
||||
/***/ 717:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -518,9 +518,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) {
|
||||
@ -565,14 +565,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
|
||||
@ -622,7 +622,7 @@ exports.Context = Context;
|
||||
/***/ }),
|
||||
|
||||
/***/ 438:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -647,8 +647,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
|
||||
@ -665,7 +665,7 @@ exports.getOctokit = getOctokit;
|
||||
/***/ }),
|
||||
|
||||
/***/ 914:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -690,7 +690,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');
|
||||
@ -715,7 +715,7 @@ exports.getApiBaseUrl = getApiBaseUrl;
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -740,12 +740,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 = {
|
||||
@ -776,15 +776,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) {
|
||||
@ -1194,7 +1194,7 @@ class HttpClient {
|
||||
if (useProxy) {
|
||||
// If using proxy, need tunnel
|
||||
if (!tunnel) {
|
||||
tunnel = __webpack_require__(294);
|
||||
tunnel = __nccwpck_require__(294);
|
||||
}
|
||||
const agentOptions = {
|
||||
maxSockets: maxSockets,
|
||||
@ -1315,12 +1315,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;
|
||||
@ -1438,18 +1438,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) {
|
||||
@ -1622,15 +1622,15 @@ exports.Octokit = Octokit;
|
||||
/***/ }),
|
||||
|
||||
/***/ 440:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
|
||||
var isPlainObject = __webpack_require__(287);
|
||||
var universalUserAgent = __webpack_require__(429);
|
||||
var isPlainObject = __nccwpck_require__(287);
|
||||
var universalUserAgent = __nccwpck_require__(429);
|
||||
|
||||
function lowercaseKeys(object) {
|
||||
if (!object) {
|
||||
@ -2007,15 +2007,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.6";
|
||||
|
||||
@ -3423,7 +3423,7 @@ exports.restEndpointMethods = restEndpointMethods;
|
||||
/***/ }),
|
||||
|
||||
/***/ 537:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -3432,8 +3432,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__(481);
|
||||
var once = _interopDefault(__webpack_require__(223));
|
||||
var deprecation = __nccwpck_require__(481);
|
||||
var once = _interopDefault(__nccwpck_require__(223));
|
||||
|
||||
const logOnce = once(deprecation => console.warn(deprecation));
|
||||
/**
|
||||
@ -3486,7 +3486,7 @@ exports.RequestError = RequestError;
|
||||
/***/ }),
|
||||
|
||||
/***/ 234:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -3495,11 +3495,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 = __webpack_require__(287);
|
||||
var nodeFetch = _interopDefault(__webpack_require__(467));
|
||||
var requestError = __webpack_require__(537);
|
||||
var endpoint = __nccwpck_require__(440);
|
||||
var universalUserAgent = __nccwpck_require__(429);
|
||||
var isPlainObject = __nccwpck_require__(287);
|
||||
var nodeFetch = _interopDefault(__nccwpck_require__(467));
|
||||
var requestError = __nccwpck_require__(537);
|
||||
|
||||
const VERSION = "5.4.9";
|
||||
|
||||
@ -3642,11 +3642,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
|
||||
@ -3892,7 +3892,7 @@ exports.isPlainObject = isPlainObject;
|
||||
/***/ }),
|
||||
|
||||
/***/ 467:
|
||||
/***/ ((module, exports, __webpack_require__) => {
|
||||
/***/ ((module, exports, __nccwpck_require__) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -3901,11 +3901,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
|
||||
|
||||
@ -4056,7 +4056,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');
|
||||
@ -5549,9 +5549,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)
|
||||
|
||||
@ -5598,26 +5598,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;
|
||||
@ -6061,7 +6061,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;
|
||||
@ -6076,7 +6076,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];
|
||||
@ -6089,10 +6089,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__(932);
|
||||
/******/ return __nccwpck_require__(932);
|
||||
/******/ })()
|
||||
;
|
Loading…
x
Reference in New Issue
Block a user