diff --git a/dist/index.js b/dist/index.js index 205d3dd..add8328 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4,10 +4,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; +var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { + get: (a, b) => (typeof require !== "undefined" ? require : a)[b] +}) : x)(function(x) { + if (typeof require !== "undefined") + return require.apply(this, arguments); + throw Error('Dynamic require of "' + x + '" is not supported'); +}); var __esm = (fn, res) => function __init() { return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; }; -var __commonJS = (cb, mod) => function __require() { +var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { @@ -145,7 +152,7 @@ var require_context = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.Context = void 0; - var node_path_1 = __importDefault2(require("node:path")); + var node_path_1 = __importDefault2(__require("node:path")); var deepmerge_1 = __importDefault2(require_cjs()); var Context = class { name; @@ -2925,10 +2932,10 @@ var require_atomic_sleep = __commonJS({ var require_sonic_boom = __commonJS({ "node_modules/sonic-boom/index.js"(exports2, module2) { "use strict"; - var fs = require("fs"); - var EventEmitter = require("events"); - var inherits = require("util").inherits; - var path = require("path"); + var fs = __require("fs"); + var EventEmitter = __require("events"); + var inherits = __require("util").inherits; + var path = __require("path"); var sleep = require_atomic_sleep(); var BUSY_WRITE_TIMEOUT = 100; var kEmptyBuffer = Buffer.allocUnsafe(0); @@ -3702,17 +3709,17 @@ var require_thread_stream = __commonJS({ "node_modules/thread-stream/index.js"(exports2, module2) { "use strict"; var { version: version2 } = require_package(); - var { EventEmitter } = require("events"); - var { Worker } = require("worker_threads"); - var { join } = require("path"); - var { pathToFileURL } = require("url"); + var { EventEmitter } = __require("events"); + var { Worker } = __require("worker_threads"); + var { join } = __require("path"); + var { pathToFileURL } = __require("url"); var { wait } = require_wait(); var { WRITE_INDEX, READ_INDEX } = require_indexes(); - var buffer = require("buffer"); - var assert = require("assert"); + var buffer = __require("buffer"); + var assert = __require("assert"); var kImpl = Symbol("kImpl"); var MAX_STRING = buffer.constants.MAX_STRING_LENGTH; var FakeWeakRef = class { @@ -4121,9 +4128,9 @@ var require_thread_stream = __commonJS({ var require_transport = __commonJS({ "node_modules/pino/lib/transport.js"(exports2, module2) { "use strict"; - var { createRequire } = require("module"); + var { createRequire } = __require("module"); var getCallers = require_caller(); - var { join, isAbsolute, sep } = require("path"); + var { join, isAbsolute, sep } = __require("path"); var sleep = require_atomic_sleep(); var onExit = require_on_exit_leak_free(); var ThreadStream = require_thread_stream(); @@ -4259,7 +4266,7 @@ var require_tools = __commonJS({ nestedKeyStrSym, msgPrefixSym } = require_symbols(); - var { isMainThread } = require("worker_threads"); + var { isMainThread } = __require("worker_threads"); var transport2 = require_transport(); function noop() { } @@ -4786,7 +4793,7 @@ var require_meta = __commonJS({ var require_proto = __commonJS({ "node_modules/pino/lib/proto.js"(exports2, module2) { "use strict"; - var { EventEmitter } = require("events"); + var { EventEmitter } = __require("events"); var { lsCacheSym, levelValSym, @@ -5726,7 +5733,7 @@ var require_multistream = __commonJS({ var require_pino = __commonJS({ "node_modules/pino/pino.js"(exports2, module2) { "use strict"; - var os = require("os"); + var os = __require("os"); var stdSerializers = require_pino_std_serializers(); var caller = require_caller(); var redaction = require_redaction(); @@ -5933,7 +5940,7 @@ var require_pino = __commonJS({ // node_modules/@probot/pino/node_modules/readable-stream/lib/internal/streams/stream.js var require_stream = __commonJS({ "node_modules/@probot/pino/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2, module2) { - module2.exports = require("stream"); + module2.exports = __require("stream"); } }); @@ -6010,9 +6017,9 @@ var require_buffer_list = __commonJS({ } return (hint === "string" ? String : Number)(input); } - var _require = require("buffer"); + var _require = __require("buffer"); var Buffer2 = _require.Buffer; - var _require2 = require("util"); + var _require2 = __require("util"); var inspect2 = _require2.inspect; var custom = inspect2 && inspect2.custom || "inspect"; function copyBuffer(src, target, offset) { @@ -6453,7 +6460,7 @@ var require_inherits_browser = __commonJS({ var require_inherits = __commonJS({ "node_modules/inherits/inherits.js"(exports2, module2) { try { - util = require("util"); + util = __require("util"); if (typeof util.inherits !== "function") throw ""; module2.exports = util.inherits; @@ -6467,7 +6474,7 @@ var require_inherits = __commonJS({ // node_modules/util-deprecate/node.js var require_node = __commonJS({ "node_modules/util-deprecate/node.js"(exports2, module2) { - module2.exports = require("util").deprecate; + module2.exports = __require("util").deprecate; } }); @@ -6490,7 +6497,7 @@ var require_stream_writable = __commonJS({ deprecate: require_node() }; var Stream = require_stream(); - var Buffer2 = require("buffer").Buffer; + var Buffer2 = __require("buffer").Buffer; var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() { }; function _uint8ArrayToBuffer(chunk) { @@ -7073,7 +7080,7 @@ var require_stream_duplex = __commonJS({ // node_modules/safe-buffer/index.js var require_safe_buffer = __commonJS({ "node_modules/safe-buffer/index.js"(exports2, module2) { - var buffer = require("buffer"); + var buffer = __require("buffer"); var Buffer2 = buffer.Buffer; function copyProps(src, dst) { for (var key in src) { @@ -7807,12 +7814,12 @@ var require_stream_readable = __commonJS({ module2.exports = Readable; var Duplex; Readable.ReadableState = ReadableState; - var EE = require("events").EventEmitter; + var EE = __require("events").EventEmitter; var EElistenerCount = function EElistenerCount2(emitter, type) { return emitter.listeners(type).length; }; var Stream = require_stream(); - var Buffer2 = require("buffer").Buffer; + var Buffer2 = __require("buffer").Buffer; var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() { }; function _uint8ArrayToBuffer(chunk) { @@ -7821,7 +7828,7 @@ var require_stream_readable = __commonJS({ function _isUint8Array(obj) { return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array; } - var debugUtil = require("util"); + var debugUtil = __require("util"); var debug; if (debugUtil && debugUtil.debuglog) { debug = debugUtil.debuglog("stream"); @@ -8824,7 +8831,7 @@ var require_pipeline = __commonJS({ // node_modules/@probot/pino/node_modules/readable-stream/readable.js var require_readable = __commonJS({ "node_modules/@probot/pino/node_modules/readable-stream/readable.js"(exports2, module2) { - var Stream = require("stream"); + var Stream = __require("stream"); if (process.env.READABLE_STREAM === "disable" && Stream) { module2.exports = Stream.Readable; Object.assign(module2.exports, Stream); @@ -8846,7 +8853,7 @@ var require_readable = __commonJS({ // node_modules/colorette/index.cjs var require_colorette = __commonJS({ "node_modules/colorette/index.cjs"(exports2) { - var tty = require("tty"); + var tty = __require("tty"); var env = process.env; var isDisabled = "NO_COLOR" in env; var isForced = "FORCE_COLOR" in env; @@ -16458,7 +16465,7 @@ var require_stack_parser = __commonJS({ if (!filename) { return; } - var base = (require && require.main && require.main.filename && utils_1.dirname(require.main.filename) || global.process.cwd()) + "/"; + var base = (__require && __require.main && __require.main.filename && utils_1.dirname(__require.main.filename) || global.process.cwd()) + "/"; var file = utils_1.basename(filename, ".js"); var path = utils_1.dirname(filename); var n = path.lastIndexOf("/node_modules/"); @@ -16640,8 +16647,8 @@ var require_base2 = __commonJS({ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); var core_1 = require_dist5(); var utils_1 = require_dist2(); - var fs = require("fs"); - var url_1 = require("url"); + var fs = __require("fs"); + var url_1 = __require("url"); var flags_1 = require_flags4(); var version_1 = require_version2(); var CATEGORY_MAPPING = { @@ -17303,7 +17310,7 @@ var require_has_flag = __commonJS({ var require_supports_color = __commonJS({ "node_modules/supports-color/index.js"(exports2, module2) { "use strict"; - var os = require("os"); + var os = __require("os"); var hasFlag = require_has_flag(); var env = process.env; var forceColor; @@ -17397,8 +17404,8 @@ var require_supports_color = __commonJS({ // node_modules/debug/src/node.js var require_node3 = __commonJS({ "node_modules/debug/src/node.js"(exports2, module2) { - var tty = require("tty"); - var util = require("util"); + var tty = __require("tty"); + var util = __require("util"); exports2.init = init; exports2.log = log; exports2.formatArgs = formatArgs; @@ -17608,7 +17615,7 @@ var require_src2 = __commonJS({ var __importDefault2 = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; - var events_1 = require("events"); + var events_1 = __require("events"); var debug_1 = __importDefault2(require_src()); var promisify_1 = __importDefault2(require_promisify()); var debug = debug_1.default("agent-base"); @@ -17885,10 +17892,10 @@ var require_agent = __commonJS({ return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports2, "__esModule", { value: true }); - var net_1 = __importDefault2(require("net")); - var tls_1 = __importDefault2(require("tls")); - var url_1 = __importDefault2(require("url")); - var assert_1 = __importDefault2(require("assert")); + var net_1 = __importDefault2(__require("net")); + var tls_1 = __importDefault2(__require("tls")); + var url_1 = __importDefault2(__require("url")); + var assert_1 = __importDefault2(__require("assert")); var debug_1 = __importDefault2(require_src()); var agent_base_1 = require_src2(); var parse_proxy_response_1 = __importDefault2(require_parse_proxy_response()); @@ -18035,7 +18042,7 @@ var require_http = __commonJS({ Object.defineProperty(exports2, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); var core_1 = require_dist5(); - var http = require("http"); + var http = __require("http"); var base_1 = require_base2(); var HTTPTransport = ( /** @class */ @@ -18068,7 +18075,7 @@ var require_https = __commonJS({ Object.defineProperty(exports2, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); var core_1 = require_dist5(); - var https = require("https"); + var https = __require("https"); var base_1 = require_base2(); var HTTPSTransport = ( /** @class */ @@ -18101,9 +18108,9 @@ var require_new = __commonJS({ Object.defineProperty(exports2, "__esModule", { value: true }); var core_1 = require_dist5(); var utils_1 = require_dist2(); - var http = require("http"); - var https = require("https"); - var url_1 = require("url"); + var http = __require("http"); + var https = __require("https"); + var url_1 = __require("url"); function makeNodeTransport(options2) { var _a; var urlSegments = new url_1.URL(options2.url); @@ -18333,7 +18340,7 @@ var require_console = __commonJS({ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); var core_1 = require_dist5(); var utils_1 = require_dist2(); - var util = require("util"); + var util = __require("util"); var Console = ( /** @class */ function() { @@ -18392,7 +18399,7 @@ var require_http2 = __commonJS({ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); var core_1 = require_dist5(); var utils_1 = require_dist2(); - var url_1 = require("url"); + var url_1 = __require("url"); var NODE_VERSION = utils_1.parseSemver(process.versions.node); function isSentryRequest(url) { var _a; @@ -18502,11 +18509,11 @@ var require_http3 = __commonJS({ return; } var wrappedHandlerMaker = _createWrappedRequestMethodFactory(this._breadcrumbs, this._tracing); - var httpModule = require("http"); + var httpModule = __require("http"); utils_1.fill(httpModule, "get", wrappedHandlerMaker); utils_1.fill(httpModule, "request", wrappedHandlerMaker); if (NODE_VERSION.major && NODE_VERSION.major > 8) { - var httpsModule = require("https"); + var httpsModule = __require("https"); utils_1.fill(httpsModule, "get", wrappedHandlerMaker); utils_1.fill(httpsModule, "request", wrappedHandlerMaker); } @@ -19019,7 +19026,7 @@ var require_contextlines = __commonJS({ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); var core_1 = require_dist5(); var utils_1 = require_dist2(); - var fs_1 = require("fs"); + var fs_1 = __require("fs"); var lru_map_1 = require_lru(); var FILE_CONTENT_CACHE = new lru_map_1.LRUMap(100); var DEFAULT_LINES_OF_CONTEXT = 7; @@ -19307,18 +19314,18 @@ var require_modules = __commonJS({ "node_modules/@sentry/node/dist/integrations/modules.js"(exports2) { Object.defineProperty(exports2, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var fs_1 = require("fs"); - var path_1 = require("path"); + var fs_1 = __require("fs"); + var path_1 = __require("path"); var moduleCache; function getPaths() { try { - return require.cache ? Object.keys(require.cache) : []; + return __require.cache ? Object.keys(__require.cache) : []; } catch (e) { return []; } } function collectModules() { - var mainPaths = require.main && require.main.paths || []; + var mainPaths = __require.main && __require.main.paths || []; var paths = getPaths(); var infos = {}; var seen = {}; @@ -19406,7 +19413,7 @@ var require_sdk2 = __commonJS({ var core_1 = require_dist5(); var hub_1 = require_dist3(); var utils_1 = require_dist2(); - var domain = require("domain"); + var domain = __require("domain"); var client_1 = require_client(); var flags_1 = require_flags4(); var integrations_1 = require_integrations2(); @@ -19543,8 +19550,8 @@ var require_utils2 = __commonJS({ "node_modules/@sentry/node/dist/utils.js"(exports2) { Object.defineProperty(exports2, "__esModule", { value: true }); var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)); - var fs = require("fs"); - var path = require("path"); + var fs = __require("fs"); + var path = __require("path"); function deepReadDirSync(targetDir) { var targetDirAbsPath = path.resolve(targetDir); if (!fs.existsSync(targetDirAbsPath)) { @@ -19688,9 +19695,9 @@ var require_handlers = __commonJS({ var core_1 = require_dist5(); var utils_1 = require_dist2(); var cookie = require_cookie(); - var domain = require("domain"); - var os = require("os"); - var url = require("url"); + var domain = __require("domain"); + var os = __require("os"); + var url = __require("url"); var flags_1 = require_flags4(); var sdk_1 = require_sdk2(); function tracingHandler() { @@ -19998,7 +20005,7 @@ var require_dist7 = __commonJS({ exports2.SDK_NAME = version_1.SDK_NAME; var core_2 = require_dist5(); var hub_1 = require_dist3(); - var domain = require("domain"); + var domain = __require("domain"); var Handlers = require_handlers(); exports2.Handlers = Handlers; var NodeIntegrations = require_integrations2(); @@ -26531,8 +26538,8 @@ var require_built2 = __commonJS({ var require_old = __commonJS({ "node_modules/redis-errors/lib/old.js"(exports2, module2) { "use strict"; - var assert = require("assert"); - var util = require("util"); + var assert = __require("assert"); + var util = __require("util"); function RedisError(message) { Object.defineProperty(this, "message", { value: message || "", @@ -26627,7 +26634,7 @@ var require_old = __commonJS({ var require_modern = __commonJS({ "node_modules/redis-errors/lib/modern.js"(exports2, module2) { "use strict"; - var assert = require("assert"); + var assert = __require("assert"); var RedisError = class extends Error { get name() { return this.constructor.name; @@ -27489,7 +27496,7 @@ var require_utils4 = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.noop = exports2.defaults = exports2.Debug = exports2.zipMap = exports2.CONNECTION_CLOSED_ERROR_MSG = exports2.shuffle = exports2.sample = exports2.resolveTLSProfile = exports2.parseURL = exports2.optimizeErrorStack = exports2.toArg = exports2.convertMapToArray = exports2.convertObjectToArray = exports2.timeout = exports2.packObject = exports2.isInt = exports2.wrapMultiResult = exports2.convertBufferToString = void 0; - var url_1 = require("url"); + var url_1 = __require("url"); var lodash_1 = require_lodash3(); Object.defineProperty(exports2, "defaults", { enumerable: true, get: function() { return lodash_1.defaults; @@ -28015,7 +28022,7 @@ var require_ScanStream = __commonJS({ "node_modules/ioredis/built/ScanStream.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); - var stream_1 = require("stream"); + var stream_1 = __require("stream"); var ScanStream = class extends stream_1.Readable { constructor(opt) { super(opt); @@ -28188,7 +28195,7 @@ var require_Script = __commonJS({ "node_modules/ioredis/built/Script.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); - var crypto_1 = require("crypto"); + var crypto_1 = __require("crypto"); var Command_1 = require_Command(); var standard_as_callback_1 = require_built2(); var Script = class { @@ -28372,7 +28379,7 @@ var require_Pipeline = __commonJS({ var calculateSlot = require_lib3(); var commands_1 = require_built(); var standard_as_callback_1 = require_built2(); - var util_1 = require("util"); + var util_1 = __require("util"); var Command_1 = require_Command(); var utils_1 = require_utils4(); var Commander_1 = require_Commander(); @@ -28781,7 +28788,7 @@ var require_ClusterOptions = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.DEFAULT_CLUSTER_OPTIONS = void 0; - var dns_1 = require("dns"); + var dns_1 = __require("dns"); exports2.DEFAULT_CLUSTER_OPTIONS = { clusterRetryStrategy: (times) => Math.min(100 + times * 2, 2e3), enableOfflineQueue: true, @@ -28809,7 +28816,7 @@ var require_util = __commonJS({ Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getConnectionName = exports2.weightSrvRecords = exports2.groupSrvRecords = exports2.getUniqueHostnamesFromOptions = exports2.normalizeNodeOptions = exports2.nodeKeyToRedisOptions = exports2.getNodeKey = void 0; var utils_1 = require_utils4(); - var net_1 = require("net"); + var net_1 = __require("net"); function getNodeKey(node) { node.port = node.port || 6379; node.host = node.host || "127.0.0.1"; @@ -29046,7 +29053,7 @@ var require_ConnectionPool = __commonJS({ "node_modules/ioredis/built/cluster/ConnectionPool.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); - var events_1 = require("events"); + var events_1 = __require("events"); var utils_1 = require_utils4(); var util_1 = require_util(); var Redis_1 = require_Redis(); @@ -29581,7 +29588,7 @@ var require_cluster = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); var commands_1 = require_built(); - var events_1 = require("events"); + var events_1 = __require("events"); var redis_errors_1 = require_redis_errors(); var standard_as_callback_1 = require_built2(); var Command_1 = require_Command(); @@ -30364,8 +30371,8 @@ var require_StandaloneConnector = __commonJS({ "node_modules/ioredis/built/connectors/StandaloneConnector.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); - var net_1 = require("net"); - var tls_1 = require("tls"); + var net_1 = __require("net"); + var tls_1 = __require("tls"); var utils_1 = require_utils4(); var AbstractConnector_1 = require_AbstractConnector(); var StandaloneConnector = class extends AbstractConnector_1.default { @@ -30518,9 +30525,9 @@ var require_SentinelConnector = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.SentinelIterator = void 0; - var net_1 = require("net"); + var net_1 = __require("net"); var utils_1 = require_utils4(); - var tls_1 = require("tls"); + var tls_1 = __require("tls"); var SentinelIterator_1 = require_SentinelIterator(); exports2.SentinelIterator = SentinelIterator_1.default; var AbstractConnector_1 = require_AbstractConnector(); @@ -30819,8 +30826,8 @@ var require_errors2 = __commonJS({ var require_parser2 = __commonJS({ "node_modules/redis-parser/lib/parser.js"(exports2, module2) { "use strict"; - var Buffer2 = require("buffer").Buffer; - var StringDecoder = require("string_decoder").StringDecoder; + var Buffer2 = __require("buffer").Buffer; + var StringDecoder = __require("string_decoder").StringDecoder; var decoder = new StringDecoder(); var errors = require_redis_errors(); var ReplyError = errors.ReplyError; @@ -31798,7 +31805,7 @@ var require_Redis = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); var commands_1 = require_built(); - var events_1 = require("events"); + var events_1 = __require("events"); var standard_as_callback_1 = require_built2(); var cluster_1 = require_cluster(); var Command_1 = require_Command(); @@ -32587,7 +32594,7 @@ var require_indent_string = __commonJS({ var require_clean_stack = __commonJS({ "node_modules/clean-stack/index.js"(exports2, module2) { "use strict"; - var os = require("os"); + var os = __require("os"); var extractPathRegex = /\s+at.*(?:\(|\s)(.*)\)?/; var pathRegex = /^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/; var homeDir = typeof os.homedir === "undefined" ? "" : os.homedir(); @@ -32680,7 +32687,7 @@ var require_dist_node6 = __commonJS({ verifyWithFallback: () => verifyWithFallback }); module2.exports = __toCommonJS2(dist_src_exports); - var import_node_crypto = require("node:crypto"); + var import_node_crypto = __require("node:crypto"); var Algorithm = /* @__PURE__ */ ((Algorithm2) => { Algorithm2["SHA1"] = "sha1"; Algorithm2["SHA256"] = "sha256"; @@ -32708,8 +32715,8 @@ var require_dist_node6 = __commonJS({ return `${algorithm}=${(0, import_node_crypto.createHmac)(algorithm, secret).update(payload).digest("hex")}`; } sign.VERSION = VERSION; - var import_node_crypto2 = require("node:crypto"); - var import_node_buffer = require("node:buffer"); + var import_node_crypto2 = __require("node:crypto"); + var import_node_buffer = __require("node:buffer"); var getAlgorithm = (signature) => { return signature.startsWith("sha256=") ? "sha256" : "sha1"; }; @@ -42355,8 +42362,8 @@ var require_dist_node22 = __commonJS({ var require_data_stream = __commonJS({ "node_modules/jws/lib/data-stream.js"(exports2, module2) { var Buffer2 = require_safe_buffer().Buffer; - var Stream = require("stream"); - var util = require("util"); + var Stream = __require("stream"); + var util = __require("util"); function DataStream(data) { this.buffer = null; this.writable = true; @@ -42403,8 +42410,8 @@ var require_data_stream = __commonJS({ var require_buffer_equal_constant_time = __commonJS({ "node_modules/buffer-equal-constant-time/index.js"(exports2, module2) { "use strict"; - var Buffer2 = require("buffer").Buffer; - var SlowBuffer = require("buffer").SlowBuffer; + var Buffer2 = __require("buffer").Buffer; + var SlowBuffer = __require("buffer").SlowBuffer; module2.exports = bufferEq; function bufferEq(a, b) { if (!Buffer2.isBuffer(a) || !Buffer2.isBuffer(b)) { @@ -42602,9 +42609,9 @@ var require_jwa = __commonJS({ "node_modules/jwa/index.js"(exports2, module2) { var bufferEqual = require_buffer_equal_constant_time(); var Buffer2 = require_safe_buffer().Buffer; - var crypto4 = require("crypto"); + var crypto4 = __require("crypto"); var formatEcdsa = require_ecdsa_sig_formatter(); - var util = require("util"); + var util = __require("util"); var MSG_INVALID_ALGORITHM = '"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".'; var MSG_INVALID_SECRET = "secret must be a string or buffer"; var MSG_INVALID_VERIFIER_KEY = "key must be a string or a buffer"; @@ -42813,7 +42820,7 @@ var require_jwa = __commonJS({ // node_modules/jws/lib/tostring.js var require_tostring = __commonJS({ "node_modules/jws/lib/tostring.js"(exports2, module2) { - var Buffer2 = require("buffer").Buffer; + var Buffer2 = __require("buffer").Buffer; module2.exports = function toString(obj) { if (typeof obj === "string") return obj; @@ -42830,9 +42837,9 @@ var require_sign_stream = __commonJS({ var Buffer2 = require_safe_buffer().Buffer; var DataStream = require_data_stream(); var jwa = require_jwa(); - var Stream = require("stream"); + var Stream = __require("stream"); var toString = require_tostring(); - var util = require("util"); + var util = __require("util"); function base64url(string, encoding) { return Buffer2.from(string, encoding).toString("base64").replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_"); } @@ -42900,9 +42907,9 @@ var require_verify_stream = __commonJS({ var Buffer2 = require_safe_buffer().Buffer; var DataStream = require_data_stream(); var jwa = require_jwa(); - var Stream = require("stream"); + var Stream = __require("stream"); var toString = require_tostring(); - var util = require("util"); + var util = __require("util"); var JWS_REGEX = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/; function isObject(thing) { return Object.prototype.toString.call(thing) === "[object Object]"; @@ -45670,7 +45677,7 @@ var require_verify = __commonJS({ var validateAsymmetricKey = require_validateAsymmetricKey(); var PS_SUPPORTED = require_psSupported(); var jws = require_jws(); - var { KeyObject, createSecretKey, createPublicKey } = require("crypto"); + var { KeyObject, createSecretKey, createPublicKey } = __require("crypto"); var PUB_KEY_ALGS = ["RS256", "RS384", "RS512"]; var EC_KEY_ALGS = ["ES256", "ES384", "ES512"]; var RSA_KEY_ALGS = ["RS256", "RS384", "RS512"]; @@ -46311,7 +46318,7 @@ var require_sign = __commonJS({ var isPlainObject = require_lodash8(); var isString = require_lodash9(); var once = require_lodash10(); - var { KeyObject, createSecretKey, createPrivateKey } = require("crypto"); + var { KeyObject, createSecretKey, createPrivateKey } = __require("crypto"); var SUPPORTED_ALGS = ["RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "HS256", "HS384", "HS512", "none"]; if (PS_SUPPORTED) { SUPPORTED_ALGS.splice(3, 0, "PS256", "PS384", "PS512"); @@ -47248,7 +47255,7 @@ var require_probot_octokit = __commonJS({ // node_modules/depd/index.js var require_depd = __commonJS({ "node_modules/depd/index.js"(exports2, module2) { - var relative = require("path").relative; + var relative = __require("path").relative; module2.exports = depd; var basePath = process.cwd(); function containsNamespace(str, namespace) { @@ -48385,8 +48392,8 @@ var require_browser3 = __commonJS({ // node_modules/body-parser/node_modules/debug/src/node.js var require_node4 = __commonJS({ "node_modules/body-parser/node_modules/debug/src/node.js"(exports2, module2) { - var tty = require("tty"); - var util = require("util"); + var tty = __require("tty"); + var util = __require("util"); exports2 = module2.exports = require_debug3(); exports2.init = init; exports2.log = log; @@ -48469,13 +48476,13 @@ var require_node4 = __commonJS({ } break; case "FILE": - var fs = require("fs"); + var fs = __require("fs"); stream2 = new fs.SyncWriteStream(fd2, { autoClose: false }); stream2._type = "fs"; break; case "PIPE": case "TCP": - var net = require("net"); + var net = __require("net"); stream2 = new net.Socket({ fd: fd2, readable: false, @@ -48521,10 +48528,10 @@ var require_src3 = __commonJS({ var require_destroy2 = __commonJS({ "node_modules/destroy/index.js"(exports2, module2) { "use strict"; - var EventEmitter = require("events").EventEmitter; - var ReadStream = require("fs").ReadStream; - var Stream = require("stream"); - var Zlib = require("zlib"); + var EventEmitter = __require("events").EventEmitter; + var ReadStream = __require("fs").ReadStream; + var Stream = __require("stream"); + var Zlib = __require("zlib"); module2.exports = destroy; function destroy(stream, suppress) { if (isFsReadStream(stream)) { @@ -48608,7 +48615,7 @@ var require_destroy2 = __commonJS({ var require_safer = __commonJS({ "node_modules/safer-buffer/safer.js"(exports2, module2) { "use strict"; - var buffer = require("buffer"); + var buffer = __require("buffer"); var Buffer2 = buffer.Buffer; var safer = {}; var key; @@ -48754,7 +48761,7 @@ var require_internal = __commonJS({ } InternalCodec.prototype.encoder = InternalEncoder; InternalCodec.prototype.decoder = InternalDecoder; - var StringDecoder = require("string_decoder").StringDecoder; + var StringDecoder = __require("string_decoder").StringDecoder; if (!StringDecoder.prototype.end) StringDecoder.prototype.end = function() { }; @@ -51680,8 +51687,8 @@ var require_encodings = __commonJS({ var require_streams = __commonJS({ "node_modules/iconv-lite/lib/streams.js"(exports2, module2) { "use strict"; - var Buffer2 = require("buffer").Buffer; - var Transform = require("stream").Transform; + var Buffer2 = __require("buffer").Buffer; + var Transform = __require("stream").Transform; module2.exports = function(iconv) { iconv.encodeStream = function encodeStream(encoding, options2) { return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options2), options2); @@ -51785,7 +51792,7 @@ var require_streams = __commonJS({ var require_extend_node = __commonJS({ "node_modules/iconv-lite/lib/extend-node.js"(exports2, module2) { "use strict"; - var Buffer2 = require("buffer").Buffer; + var Buffer2 = __require("buffer").Buffer; module2.exports = function(iconv) { var original = void 0; iconv.supportsNodeEncodingsExtension = !(Buffer2.from || new Buffer2(0) instanceof Uint8Array); @@ -51813,7 +51820,7 @@ var require_extend_node = __commonJS({ Buffer2.isNativeEncoding = function(enc) { return enc && nodeNativeEncodings[enc.toLowerCase()]; }; - var SlowBuffer = require("buffer").SlowBuffer; + var SlowBuffer = __require("buffer").SlowBuffer; original.SlowBufferToString = SlowBuffer.prototype.toString; SlowBuffer.prototype.toString = function(encoding, start, end) { encoding = String(encoding || "utf8").toLowerCase(); @@ -51917,7 +51924,7 @@ var require_extend_node = __commonJS({ return length; }; if (iconv.supportsStreams) { - var Readable = require("stream").Readable; + var Readable = __require("stream").Readable; original.ReadableSetEncoding = Readable.prototype.setEncoding; Readable.prototype.setEncoding = function setEncoding(enc, options2) { this._readableState.decoder = iconv.getDecoder(enc, options2); @@ -51932,7 +51939,7 @@ var require_extend_node = __commonJS({ if (!original) throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called."); delete Buffer2.isNativeEncoding; - var SlowBuffer = require("buffer").SlowBuffer; + var SlowBuffer = __require("buffer").SlowBuffer; SlowBuffer.prototype.toString = original.SlowBufferToString; SlowBuffer.prototype.write = original.SlowBufferWrite; Buffer2.isEncoding = original.BufferIsEncoding; @@ -51940,7 +51947,7 @@ var require_extend_node = __commonJS({ Buffer2.prototype.toString = original.BufferToString; Buffer2.prototype.write = original.BufferWrite; if (iconv.supportsStreams) { - var Readable = require("stream").Readable; + var Readable = __require("stream").Readable; Readable.prototype.setEncoding = original.ReadableSetEncoding; delete Readable.prototype.collect; } @@ -52269,7 +52276,7 @@ var require_raw_body = __commonJS({ } function tryRequireAsyncHooks() { try { - return require("async_hooks"); + return __require("async_hooks"); } catch (e) { return {}; } @@ -52434,7 +52441,7 @@ var require_on_finished = __commonJS({ } function tryRequireAsyncHooks() { try { - return require("async_hooks"); + return __require("async_hooks"); } catch (e) { return {}; } @@ -52462,7 +52469,7 @@ var require_read = __commonJS({ var iconv = require_lib4(); var onFinished = require_on_finished(); var unpipe = require_unpipe(); - var zlib = require("zlib"); + var zlib = __require("zlib"); module2.exports = read; function read(req, res, next, parse2, debug, options2) { var length; @@ -61240,7 +61247,7 @@ var require_mime_types = __commonJS({ "node_modules/mime-types/index.js"(exports2) { "use strict"; var db = require_mime_db(); - var extname = require("path").extname; + var extname = __require("path").extname; var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/; var TEXT_TYPE_REGEXP = /^text\//i; exports2.charset = charset; @@ -62456,7 +62463,7 @@ var require_callBound = __commonJS({ // node_modules/object-inspect/util.inspect.js var require_util_inspect = __commonJS({ "node_modules/object-inspect/util.inspect.js"(exports2, module2) { - module2.exports = require("util").inspect; + module2.exports = __require("util").inspect; } }); @@ -63918,7 +63925,7 @@ var require_urlencoded = __commonJS({ mod = require_lib5(); break; case "querystring": - mod = require("querystring"); + mod = __require("querystring"); break; } parsers[name] = mod; @@ -64361,8 +64368,8 @@ var require_browser4 = __commonJS({ // node_modules/finalhandler/node_modules/debug/src/node.js var require_node5 = __commonJS({ "node_modules/finalhandler/node_modules/debug/src/node.js"(exports2, module2) { - var tty = require("tty"); - var util = require("util"); + var tty = __require("tty"); + var util = __require("util"); exports2 = module2.exports = require_debug4(); exports2.init = init; exports2.log = log; @@ -64445,13 +64452,13 @@ var require_node5 = __commonJS({ } break; case "FILE": - var fs = require("fs"); + var fs = __require("fs"); stream2 = new fs.SyncWriteStream(fd2, { autoClose: false }); stream2._type = "fs"; break; case "PIPE": case "TCP": - var net = require("net"); + var net = __require("net"); stream2 = new net.Socket({ fd: fd2, readable: false, @@ -64558,7 +64565,7 @@ var require_escape_html = __commonJS({ var require_parseurl = __commonJS({ "node_modules/parseurl/index.js"(exports2, module2) { "use strict"; - var url = require("url"); + var url = __require("url"); var parse2 = url.parse; var Url = url.Url; module2.exports = parseurl; @@ -65080,8 +65087,8 @@ var require_browser5 = __commonJS({ // node_modules/express/node_modules/debug/src/node.js var require_node6 = __commonJS({ "node_modules/express/node_modules/debug/src/node.js"(exports2, module2) { - var tty = require("tty"); - var util = require("util"); + var tty = __require("tty"); + var util = __require("util"); exports2 = module2.exports = require_debug5(); exports2.init = init; exports2.log = log; @@ -65164,13 +65171,13 @@ var require_node6 = __commonJS({ } break; case "FILE": - var fs = require("fs"); + var fs = __require("fs"); stream2 = new fs.SyncWriteStream(fd2, { autoClose: false }); stream2._type = "fs"; break; case "PIPE": case "TCP": - var net = require("net"); + var net = __require("net"); stream2 = new net.Socket({ fd: fd2, readable: false, @@ -65424,7 +65431,7 @@ var require_layer = __commonJS({ var require_methods = __commonJS({ "node_modules/methods/index.js"(exports2, module2) { "use strict"; - var http = require("http"); + var http = __require("http"); module2.exports = getCurrentNodeMethods() || getBasicNodeMethods(); function getCurrentNodeMethods() { return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) { @@ -66030,8 +66037,8 @@ var require_view = __commonJS({ "node_modules/express/lib/view.js"(exports2, module2) { "use strict"; var debug = require_src5()("express:view"); - var path = require("path"); - var fs = require("fs"); + var path = __require("path"); + var fs = __require("fs"); var dirname = path.dirname; var basename = path.basename; var extname = path.extname; @@ -66055,7 +66062,7 @@ var require_view = __commonJS({ if (!opts.engines[this.ext]) { var mod = this.ext.slice(1); debug('require "%s"', mod); - var fn = require(mod).__express; + var fn = __require(mod).__express; if (typeof fn !== "function") { throw new Error('Module "' + mod + '" does not provide a view engine.'); } @@ -66111,7 +66118,7 @@ var require_content_disposition = __commonJS({ "use strict"; module2.exports = contentDisposition; module2.exports.parse = parse2; - var basename = require("path").basename; + var basename = __require("path").basename; var Buffer2 = require_safe_buffer().Buffer; var ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g; var HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/; @@ -66570,8 +66577,8 @@ var require_browser6 = __commonJS({ // node_modules/send/node_modules/debug/src/node.js var require_node7 = __commonJS({ "node_modules/send/node_modules/debug/src/node.js"(exports2, module2) { - var tty = require("tty"); - var util = require("util"); + var tty = __require("tty"); + var util = __require("util"); exports2 = module2.exports = require_debug6(); exports2.init = init; exports2.log = log; @@ -66654,13 +66661,13 @@ var require_node7 = __commonJS({ } break; case "FILE": - var fs = require("fs"); + var fs = __require("fs"); stream2 = new fs.SyncWriteStream(fd2, { autoClose: false }); stream2._type = "fs"; break; case "PIPE": case "TCP": - var net = require("net"); + var net = __require("net"); stream2 = new net.Socket({ fd: fd2, readable: false, @@ -66707,8 +66714,8 @@ var require_etag = __commonJS({ "node_modules/etag/index.js"(exports2, module2) { "use strict"; module2.exports = etag; - var crypto4 = require("crypto"); - var Stats = require("fs").Stats; + var crypto4 = __require("crypto"); + var Stats = __require("fs").Stats; var toString = Object.prototype.toString; function entitytag(entity) { if (entity.length === 0) { @@ -66827,8 +66834,8 @@ var require_types = __commonJS({ // node_modules/send/node_modules/mime/mime.js var require_mime = __commonJS({ "node_modules/send/node_modules/mime/mime.js"(exports2, module2) { - var path = require("path"); - var fs = require("fs"); + var path = __require("path"); + var fs = __require("fs"); function Mime() { this.types = /* @__PURE__ */ Object.create(null); this.extensions = /* @__PURE__ */ Object.create(null); @@ -67087,15 +67094,15 @@ var require_send = __commonJS({ var escapeHtml = require_escape_html(); var etag = require_etag(); var fresh = require_fresh(); - var fs = require("fs"); + var fs = __require("fs"); var mime = require_mime(); var ms = require_ms6(); var onFinished = require_on_finished(); var parseRange = require_range_parser(); - var path = require("path"); + var path = __require("path"); var statuses = require_statuses(); - var Stream = require("stream"); - var util = require("util"); + var Stream = __require("stream"); + var util = __require("util"); var extname = path.extname; var join = path.join; var normalize = path.normalize; @@ -68473,7 +68480,7 @@ var require_utils6 = __commonJS({ var etag = require_etag(); var proxyaddr = require_proxy_addr(); var qs = require_lib5(); - var querystring = require("querystring"); + var querystring = __require("querystring"); exports2.etag = createETagGenerator({ weak: false }); exports2.wetag = createETagGenerator({ weak: true }); exports2.isAbsolute = function(path) { @@ -68612,14 +68619,14 @@ var require_application = __commonJS({ var query = require_query(); var debug = require_src5()("express:application"); var View = require_view(); - var http = require("http"); + var http = __require("http"); var compileETag = require_utils6().compileETag; var compileQueryParser = require_utils6().compileQueryParser; var compileTrust = require_utils6().compileTrust; var deprecate = require_depd()("express"); var flatten = require_array_flatten(); var merge = require_utils_merge(); - var resolve = require("path").resolve; + var resolve = __require("path").resolve; var setPrototypeOf = require_setprototypeof(); var hasOwnProperty2 = Object.prototype.hasOwnProperty; var slice = Array.prototype.slice; @@ -69469,9 +69476,9 @@ var require_request2 = __commonJS({ "use strict"; var accepts = require_accepts(); var deprecate = require_depd()("express"); - var isIP = require("net").isIP; + var isIP = __require("net").isIP; var typeis = require_type_is(); - var http = require("http"); + var http = __require("http"); var fresh = require_fresh(); var parseRange = require_range_parser(); var parse2 = require_parseurl(); @@ -69637,7 +69644,7 @@ var require_request2 = __commonJS({ // node_modules/cookie-signature/index.js var require_cookie_signature = __commonJS({ "node_modules/cookie-signature/index.js"(exports2) { - var crypto4 = require("crypto"); + var crypto4 = __require("crypto"); exports2.sign = function(val, secret) { if ("string" != typeof val) throw new TypeError("Cookie value must be provided as a string."); @@ -69884,10 +69891,10 @@ var require_response = __commonJS({ var deprecate = require_depd()("express"); var encodeUrl = require_encodeurl(); var escapeHtml = require_escape_html(); - var http = require("http"); + var http = __require("http"); var isAbsolute = require_utils6().isAbsolute; var onFinished = require_on_finished(); - var path = require("path"); + var path = __require("path"); var statuses = require_statuses(); var merge = require_utils_merge(); var sign = require_cookie_signature().sign; @@ -70426,9 +70433,9 @@ var require_serve_static = __commonJS({ var encodeUrl = require_encodeurl(); var escapeHtml = require_escape_html(); var parseUrl = require_parseurl(); - var resolve = require("path").resolve; + var resolve = __require("path").resolve; var send = require_send(); - var url = require("url"); + var url = __require("url"); module2.exports = serveStatic; module2.exports.mime = send.mime; function serveStatic(root, options2) { @@ -70529,7 +70536,7 @@ var require_express = __commonJS({ "node_modules/express/lib/express.js"(exports2, module2) { "use strict"; var bodyParser = require_body_parser(); - var EventEmitter = require("events").EventEmitter; + var EventEmitter = __require("events").EventEmitter; var mixin = require_merge_descriptors(); var proto = require_application(); var Route = require_route(); @@ -70855,7 +70862,7 @@ var require_logging_middleware = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getLoggingMiddleware = void 0; - var node_crypto_1 = require("node:crypto"); + var node_crypto_1 = __require("node:crypto"); var pino_http_1 = require_logger2(); function getLoggingMiddleware(logger, options2) { return (0, pino_http_1.pinoHttp)({ @@ -70939,7 +70946,7 @@ var require_server = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.Server = exports2.defaultWebhooksPath = void 0; - var node_path_1 = require("node:path"); + var node_path_1 = __require("node:path"); var express_1 = __importStar2(require_express2()); var webhooks_1 = require_dist_node7(); var logging_middleware_js_1 = require_logging_middleware(); @@ -71140,7 +71147,7 @@ var require_probot = __commonJS({ var require_path_exists = __commonJS({ "node_modules/path-exists/index.js"(exports2, module2) { "use strict"; - var fs = require("fs"); + var fs = __require("fs"); module2.exports = (fp) => new Promise((resolve) => { fs.access(fp, (err) => { resolve(!err); @@ -71251,7 +71258,7 @@ var require_p_locate = __commonJS({ var require_locate_path = __commonJS({ "node_modules/locate-path/index.js"(exports2, module2) { "use strict"; - var path = require("path"); + var path = __require("path"); var pathExists = require_path_exists(); var pLocate = require_p_locate(); module2.exports = (iterable, options2) => { @@ -71277,7 +71284,7 @@ var require_locate_path = __commonJS({ var require_find_up = __commonJS({ "node_modules/find-up/index.js"(exports2, module2) { "use strict"; - var path = require("path"); + var path = __require("path"); var locatePath = require_locate_path(); module2.exports = (filename, opts = {}) => { const startDir = path.resolve(opts.cwd || ""); @@ -71318,7 +71325,7 @@ var require_find_up = __commonJS({ // node_modules/graceful-fs/polyfills.js var require_polyfills = __commonJS({ "node_modules/graceful-fs/polyfills.js"(exports2, module2) { - var constants = require("constants"); + var constants = __require("constants"); var origCwd = process.cwd; var cwd = null; var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform; @@ -71634,7 +71641,7 @@ var require_polyfills = __commonJS({ // node_modules/graceful-fs/legacy-streams.js var require_legacy_streams = __commonJS({ "node_modules/graceful-fs/legacy-streams.js"(exports2, module2) { - var Stream = require("stream").Stream; + var Stream = __require("stream").Stream; module2.exports = legacy; function legacy(fs) { return { @@ -71756,11 +71763,11 @@ var require_clone = __commonJS({ // node_modules/graceful-fs/graceful-fs.js var require_graceful_fs = __commonJS({ "node_modules/graceful-fs/graceful-fs.js"(exports2, module2) { - var fs = require("fs"); + var fs = __require("fs"); var polyfills = require_polyfills(); var legacy = require_legacy_streams(); var clone = require_clone(); - var util = require("util"); + var util = __require("util"); var gracefulQueue; var previousSymbol; if (typeof Symbol === "function" && typeof Symbol.for === "function") { @@ -71819,7 +71826,7 @@ var require_graceful_fs = __commonJS({ if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) { process.on("exit", function() { debug(fs[gracefulQueue]); - require("assert").equal(fs[gracefulQueue].length, 0); + __require("assert").equal(fs[gracefulQueue].length, 0); }); } } @@ -72156,7 +72163,7 @@ var require_is_arrayish = __commonJS({ var require_error_ex = __commonJS({ "node_modules/error-ex/index.js"(exports2, module2) { "use strict"; - var util = require("util"); + var util = __require("util"); var isArrayish = require_is_arrayish(); var errorEx = function errorEx2(name, properties) { if (!name || name.constructor !== String) { @@ -72394,7 +72401,7 @@ var require_pify = __commonJS({ var require_load_json_file = __commonJS({ "node_modules/load-json-file/index.js"(exports2, module2) { "use strict"; - var path = require("path"); + var path = __require("path"); var fs = require_graceful_fs(); var stripBom = require_strip_bom(); var parseJson = require_parse_json(); @@ -72417,7 +72424,7 @@ var require_load_json_file = __commonJS({ var require_pkg_conf = __commonJS({ "node_modules/pkg-conf/index.js"(exports2, module2) { "use strict"; - var path = require("path"); + var path = __require("path"); var findUp = require_find_up(); var loadJsonFile = require_load_json_file(); var filepaths = /* @__PURE__ */ new WeakMap(); @@ -72540,10 +72547,10 @@ var require_package2 = __commonJS({ // node_modules/dotenv/lib/main.js var require_main = __commonJS({ "node_modules/dotenv/lib/main.js"(exports2, module2) { - var fs = require("fs"); - var path = require("path"); - var os = require("os"); - var crypto4 = require("crypto"); + var fs = __require("fs"); + var path = __require("path"); + var os = __require("os"); + var crypto4 = __require("crypto"); var packageJson = require_package2(); var version2 = packageJson.version; var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg; @@ -72808,9 +72815,9 @@ var require_main = __commonJS({ var require_update_dotenv = __commonJS({ "node_modules/update-dotenv/index.js"(exports2, module2) { var dotenv = require_main(); - var fs = require("fs"); - var path = require("path"); - var { promisify } = require("util"); + var fs = __require("fs"); + var path = __require("path"); + var { promisify } = __require("util"); function escapeNewlines(str) { return str.replace(/\n/g, "\\n"); } @@ -72844,8 +72851,8 @@ var require_load_package_json = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.loadPackageJson = void 0; - var node_fs_1 = __importDefault2(require("node:fs")); - var node_path_1 = __importDefault2(require("node:path")); + var node_fs_1 = __importDefault2(__require("node:fs")); + var node_path_1 = __importDefault2(__require("node:path")); function loadPackageJson(filepath = node_path_1.default.join(process.cwd(), "package.json")) { let pkgContent; try { @@ -72876,8 +72883,8 @@ var require_manifest_creation = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.ManifestCreation = void 0; - var node_fs_1 = __importDefault2(require("node:fs")); - var node_path_1 = __importDefault2(require("node:path")); + var node_fs_1 = __importDefault2(__require("node:fs")); + var node_path_1 = __importDefault2(__require("node:path")); var js_yaml_1 = __importDefault2(require_js_yaml()); var update_dotenv_1 = __importDefault2(require_update_dotenv()); var probot_octokit_js_1 = require_probot_octokit(); @@ -73179,8 +73186,8 @@ var require_setup2 = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.setupAppFactory = void 0; - var node_child_process_1 = require("node:child_process"); - var querystring_1 = require("querystring"); + var node_child_process_1 = __require("node:child_process"); + var querystring_1 = __require("querystring"); var express_1 = __importDefault2(require_express2()); var update_dotenv_1 = __importDefault2(require_update_dotenv()); var manifest_creation_js_1 = require_manifest_creation(); @@ -74199,11 +74206,11 @@ var require_suggestSimilar = __commonJS({ // node_modules/commander/lib/command.js var require_command = __commonJS({ "node_modules/commander/lib/command.js"(exports2) { - var EventEmitter = require("events").EventEmitter; - var childProcess = require("child_process"); - var path = require("path"); - var fs = require("fs"); - var process2 = require("process"); + var EventEmitter = __require("events").EventEmitter; + var childProcess = __require("child_process"); + var path = __require("path"); + var fs = __require("fs"); + var process2 = __require("process"); var { Argument, humanReadableArgName } = require_argument(); var { CommanderError } = require_error2(); var { Help } = require_help(); @@ -76209,8 +76216,8 @@ var require_dist_node26 = __commonJS({ getPrivateKey: () => getPrivateKey }); module2.exports = __toCommonJS2(dist_src_exports); - var import_path = require("path"); - var import_fs = require("fs"); + var import_path = __require("path"); + var import_fs = __require("fs"); var VERSION = "1.1.2"; var begin = "-----BEGIN RSA PRIVATE KEY-----"; var end = "-----END RSA PRIVATE KEY-----"; @@ -76378,7 +76385,7 @@ var require_default2 = __commonJS({ "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.defaultApp = void 0; - var node_path_1 = require("node:path"); + var node_path_1 = __require("node:path"); var load_package_json_js_1 = require_load_package_json(); var probot_js_1 = require_probot2(); function defaultApp(_app, { getRouter, cwd = process.cwd() }) { @@ -76405,7 +76412,7 @@ var require_default2 = __commonJS({ var require_homedir = __commonJS({ "node_modules/resolve/lib/homedir.js"(exports2, module2) { "use strict"; - var os = require("os"); + var os = __require("os"); module2.exports = os.homedir || function homedir() { var home = process.env.HOME; var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME; @@ -76501,7 +76508,7 @@ var require_path_parse = __commonJS({ // node_modules/resolve/lib/node-modules-paths.js var require_node_modules_paths = __commonJS({ "node_modules/resolve/lib/node-modules-paths.js"(exports2, module2) { - var path = require("path"); + var path = __require("path"); var parse2 = path.parse || require_path_parse(); var getNodeModulesDirs = function getNodeModulesDirs2(absoluteStart, modules) { var prefix = "/"; @@ -76779,9 +76786,9 @@ var require_is_core_module = __commonJS({ // node_modules/resolve/lib/async.js var require_async2 = __commonJS({ "node_modules/resolve/lib/async.js"(exports2, module2) { - var fs = require("fs"); + var fs = __require("fs"); var getHomedir = require_homedir(); - var path = require("path"); + var path = __require("path"); var caller = require_caller2(); var nodeModulesPaths = require_node_modules_paths(); var normalizeOptions = require_normalize_options(); @@ -77309,8 +77316,8 @@ var require_is_core = __commonJS({ var require_sync = __commonJS({ "node_modules/resolve/lib/sync.js"(exports2, module2) { var isCore = require_is_core_module(); - var fs = require("fs"); - var path = require("path"); + var fs = __require("fs"); + var path = __require("path"); var getHomedir = require_homedir(); var caller = require_caller2(); var nodeModulesPaths = require_node_modules_paths(); @@ -77777,7 +77784,7 @@ var require_lib6 = __commonJS({ // node_modules/through2/node_modules/readable-stream/lib/internal/streams/stream.js var require_stream2 = __commonJS({ "node_modules/through2/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2, module2) { - module2.exports = require("stream"); + module2.exports = __require("stream"); } }); @@ -77854,9 +77861,9 @@ var require_buffer_list2 = __commonJS({ } return (hint === "string" ? String : Number)(input); } - var _require = require("buffer"); + var _require = __require("buffer"); var Buffer2 = _require.Buffer; - var _require2 = require("util"); + var _require2 = __require("util"); var inspect2 = _require2.inspect; var custom = inspect2 && inspect2.custom || "inspect"; function copyBuffer(src, target, offset) { @@ -78280,7 +78287,7 @@ var require_stream_writable2 = __commonJS({ deprecate: require_node() }; var Stream = require_stream2(); - var Buffer2 = require("buffer").Buffer; + var Buffer2 = __require("buffer").Buffer; var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() { }; function _uint8ArrayToBuffer(chunk) { @@ -79279,12 +79286,12 @@ var require_stream_readable2 = __commonJS({ module2.exports = Readable; var Duplex; Readable.ReadableState = ReadableState; - var EE = require("events").EventEmitter; + var EE = __require("events").EventEmitter; var EElistenerCount = function EElistenerCount2(emitter, type) { return emitter.listeners(type).length; }; var Stream = require_stream2(); - var Buffer2 = require("buffer").Buffer; + var Buffer2 = __require("buffer").Buffer; var OurUint8Array = (typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : {}).Uint8Array || function() { }; function _uint8ArrayToBuffer(chunk) { @@ -79293,7 +79300,7 @@ var require_stream_readable2 = __commonJS({ function _isUint8Array(obj) { return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array; } - var debugUtil = require("util"); + var debugUtil = __require("util"); var debug; if (debugUtil && debugUtil.debuglog) { debug = debugUtil.debuglog("stream"); @@ -80296,7 +80303,7 @@ var require_pipeline2 = __commonJS({ // node_modules/through2/node_modules/readable-stream/readable.js var require_readable2 = __commonJS({ "node_modules/through2/node_modules/readable-stream/readable.js"(exports2, module2) { - var Stream = require("stream"); + var Stream = __require("stream"); if (process.env.READABLE_STREAM === "disable" && Stream) { module2.exports = Stream.Readable; Object.assign(module2.exports, Stream); @@ -80444,7 +80451,7 @@ var require_command2 = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.issue = exports2.issueCommand = void 0; - var os = __importStar2(require("os")); + var os = __importStar2(__require("os")); var utils_1 = require_utils7(); function issueCommand(command, properties, message) { const cmd = new Command(command, properties, message); @@ -80498,17 +80505,17 @@ var require_command2 = __commonJS({ }); // node_modules/uuid/dist/esm-node/rng.js +import crypto from "crypto"; function rng() { if (poolPtr > rnds8Pool.length - 16) { - import_crypto.default.randomFillSync(rnds8Pool); + crypto.randomFillSync(rnds8Pool); poolPtr = 0; } return rnds8Pool.slice(poolPtr, poolPtr += 16); } -var import_crypto, rnds8Pool, poolPtr; +var rnds8Pool, poolPtr; var init_rng = __esm({ "node_modules/uuid/dist/esm-node/rng.js"() { - import_crypto = __toESM(require("crypto")); rnds8Pool = new Uint8Array(256); poolPtr = rnds8Pool.length; } @@ -80701,18 +80708,18 @@ var init_v35 = __esm({ }); // node_modules/uuid/dist/esm-node/md5.js +import crypto2 from "crypto"; function md5(bytes) { if (Array.isArray(bytes)) { bytes = Buffer.from(bytes); } else if (typeof bytes === "string") { bytes = Buffer.from(bytes, "utf8"); } - return import_crypto2.default.createHash("md5").update(bytes).digest(); + return crypto2.createHash("md5").update(bytes).digest(); } -var import_crypto2, md5_default; +var md5_default; var init_md5 = __esm({ "node_modules/uuid/dist/esm-node/md5.js"() { - import_crypto2 = __toESM(require("crypto")); md5_default = md5; } }); @@ -80753,18 +80760,18 @@ var init_v4 = __esm({ }); // node_modules/uuid/dist/esm-node/sha1.js +import crypto3 from "crypto"; function sha1(bytes) { if (Array.isArray(bytes)) { bytes = Buffer.from(bytes); } else if (typeof bytes === "string") { bytes = Buffer.from(bytes, "utf8"); } - return import_crypto3.default.createHash("sha1").update(bytes).digest(); + return crypto3.createHash("sha1").update(bytes).digest(); } -var import_crypto3, sha1_default; +var sha1_default; var init_sha1 = __esm({ "node_modules/uuid/dist/esm-node/sha1.js"() { - import_crypto3 = __toESM(require("crypto")); sha1_default = sha1; } }); @@ -80864,8 +80871,8 @@ var require_file_command = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.prepareKeyValueMessage = exports2.issueFileCommand = void 0; - var fs = __importStar2(require("fs")); - var os = __importStar2(require("os")); + var fs = __importStar2(__require("fs")); + var os = __importStar2(__require("os")); var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports)); var utils_1 = require_utils7(); function issueFileCommand(command, message) { @@ -80969,13 +80976,13 @@ var require_proxy = __commonJS({ var require_tunnel = __commonJS({ "node_modules/tunnel/lib/tunnel.js"(exports2) { "use strict"; - var net = require("net"); - var tls = require("tls"); - var http = require("http"); - var https = require("https"); - var events = require("events"); - var assert = require("assert"); - var util = require("util"); + var net = __require("net"); + var tls = __require("tls"); + var http = __require("http"); + var https = __require("https"); + var events = __require("events"); + var assert = __require("assert"); + var util = __require("util"); exports2.httpOverHttp = httpOverHttp; exports2.httpsOverHttp = httpsOverHttp; exports2.httpOverHttps = httpOverHttps; @@ -81490,15 +81497,15 @@ var require_errors4 = __commonJS({ var require_util2 = __commonJS({ "node_modules/undici/lib/core/util.js"(exports2, module2) { "use strict"; - var assert = require("assert"); + var assert = __require("assert"); var { kDestroyed, kBodyUsed } = require_symbols2(); - var { IncomingMessage } = require("http"); - var stream = require("stream"); - var net = require("net"); + var { IncomingMessage } = __require("http"); + var stream = __require("stream"); + var net = __require("net"); var { InvalidArgumentError } = require_errors4(); - var { Blob: Blob2 } = require("buffer"); - var nodeUtil = require("util"); - var { stringify: stringify2 } = require("querystring"); + var { Blob: Blob2 } = __require("buffer"); + var nodeUtil = __require("util"); + var { stringify: stringify2 } = __require("querystring"); var [nodeMajor, nodeMinor] = process.versions.node.split(".").map((v) => Number(v)); function nop() { } @@ -81753,7 +81760,7 @@ var require_util2 = __commonJS({ var ReadableStream; function ReadableStreamFrom(iterable) { if (!ReadableStream) { - ReadableStream = require("stream/web").ReadableStream; + ReadableStream = __require("stream/web").ReadableStream; } if (ReadableStream.from) { return ReadableStream.from(convertIterableToBuffer(iterable)); @@ -81954,8 +81961,8 @@ var require_timers = __commonJS({ var require_sbmh = __commonJS({ "node_modules/@fastify/busboy/deps/streamsearch/sbmh.js"(exports2, module2) { "use strict"; - var EventEmitter = require("node:events").EventEmitter; - var inherits = require("node:util").inherits; + var EventEmitter = __require("node:events").EventEmitter; + var inherits = __require("node:util").inherits; function SBMH(needle) { if (typeof needle === "string") { needle = Buffer.from(needle); @@ -82091,8 +82098,8 @@ var require_sbmh = __commonJS({ var require_PartStream = __commonJS({ "node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js"(exports2, module2) { "use strict"; - var inherits = require("node:util").inherits; - var ReadableStream = require("node:stream").Readable; + var inherits = __require("node:util").inherits; + var ReadableStream = __require("node:stream").Readable; function PartStream(opts) { ReadableStream.call(this, opts); } @@ -82123,8 +82130,8 @@ var require_getLimit = __commonJS({ var require_HeaderParser = __commonJS({ "node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js"(exports2, module2) { "use strict"; - var EventEmitter = require("node:events").EventEmitter; - var inherits = require("node:util").inherits; + var EventEmitter = __require("node:events").EventEmitter; + var inherits = __require("node:util").inherits; var getLimit = require_getLimit(); var StreamSearch = require_sbmh(); var B_DCRLF = Buffer.from("\r\n\r\n"); @@ -82223,8 +82230,8 @@ var require_HeaderParser = __commonJS({ var require_Dicer = __commonJS({ "node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js"(exports2, module2) { "use strict"; - var WritableStream = require("node:stream").Writable; - var inherits = require("node:util").inherits; + var WritableStream = __require("node:stream").Writable; + var inherits = __require("node:util").inherits; var StreamSearch = require_sbmh(); var PartStream = require_PartStream(); var HeaderParser = require_HeaderParser(); @@ -83190,8 +83197,8 @@ var require_basename = __commonJS({ var require_multipart = __commonJS({ "node_modules/@fastify/busboy/lib/types/multipart.js"(exports2, module2) { "use strict"; - var { Readable } = require("node:stream"); - var { inherits } = require("node:util"); + var { Readable } = __require("node:stream"); + var { inherits } = __require("node:util"); var Dicer = require_Dicer(); var parseParams = require_parseParams(); var decodeText = require_decodeText(); @@ -83864,8 +83871,8 @@ var require_urlencoded2 = __commonJS({ var require_main2 = __commonJS({ "node_modules/@fastify/busboy/lib/main.js"(exports2, module2) { "use strict"; - var WritableStream = require("node:stream").Writable; - var { inherits } = require("node:util"); + var WritableStream = __require("node:stream").Writable; + var { inherits } = __require("node:util"); var Dicer = require_Dicer(); var MultipartParser = require_multipart(); var UrlencodedParser = require_urlencoded2(); @@ -83943,7 +83950,7 @@ var require_main2 = __commonJS({ var require_constants4 = __commonJS({ "node_modules/undici/lib/fetch/constants.js"(exports2, module2) { "use strict"; - var { MessageChannel, receiveMessageOnPort } = require("worker_threads"); + var { MessageChannel, receiveMessageOnPort } = __require("worker_threads"); var corsSafeListedMethods = ["GET", "HEAD", "POST"]; var corsSafeListedMethodsSet = new Set(corsSafeListedMethods); var nullBodyStatus = [101, 204, 205, 304]; @@ -84180,13 +84187,13 @@ var require_util3 = __commonJS({ "use strict"; var { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require_constants4(); var { getGlobalOrigin } = require_global2(); - var { performance: performance2 } = require("perf_hooks"); + var { performance: performance2 } = __require("perf_hooks"); var { isBlobLike, toUSVString, ReadableStreamFrom } = require_util2(); - var assert = require("assert"); - var { isUint8Array } = require("util/types"); + var assert = __require("assert"); + var { isUint8Array } = __require("util/types"); var crypto4; try { - crypto4 = require("crypto"); + crypto4 = __require("crypto"); } catch { } function responseURL(response) { @@ -84630,7 +84637,7 @@ var require_util3 = __commonJS({ var ReadableStream = globalThis.ReadableStream; function isReadableStreamLike(stream) { if (!ReadableStream) { - ReadableStream = require("stream/web").ReadableStream; + ReadableStream = __require("stream/web").ReadableStream; } return stream instanceof ReadableStream || stream[Symbol.toStringTag] === "ReadableStream" && typeof stream.tee === "function"; } @@ -84756,7 +84763,7 @@ var require_symbols3 = __commonJS({ var require_webidl = __commonJS({ "node_modules/undici/lib/fetch/webidl.js"(exports2, module2) { "use strict"; - var { types } = require("util"); + var { types } = __require("util"); var { hasOwn, toUSVString } = require_util3(); var webidl = {}; webidl.converters = {}; @@ -85124,8 +85131,8 @@ var require_webidl = __commonJS({ // node_modules/undici/lib/fetch/dataURL.js var require_dataURL = __commonJS({ "node_modules/undici/lib/fetch/dataURL.js"(exports2, module2) { - var assert = require("assert"); - var { atob: atob2 } = require("buffer"); + var assert = __require("assert"); + var { atob: atob2 } = __require("buffer"); var { isomorphicDecode } = require_util3(); var encoder = new TextEncoder(); var HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+-.^_|~A-Za-z0-9]+$/; @@ -85414,8 +85421,8 @@ var require_dataURL = __commonJS({ var require_file = __commonJS({ "node_modules/undici/lib/fetch/file.js"(exports2, module2) { "use strict"; - var { Blob: Blob2, File: NativeFile } = require("buffer"); - var { types } = require("util"); + var { Blob: Blob2, File: NativeFile } = __require("buffer"); + var { types } = __require("util"); var { kState } = require_symbols3(); var { isBlobLike } = require_util3(); var { webidl } = require_webidl(); @@ -85604,7 +85611,7 @@ var require_formdata = __commonJS({ var { kState } = require_symbols3(); var { File: UndiciFile, FileLike, isFileLike } = require_file(); var { webidl } = require_webidl(); - var { Blob: Blob2, File: NativeFile } = require("buffer"); + var { Blob: Blob2, File: NativeFile } = __require("buffer"); var File = NativeFile ?? UndiciFile; var FormData = class _FormData { constructor(form) { @@ -85770,11 +85777,11 @@ var require_body = __commonJS({ var { kState } = require_symbols3(); var { webidl } = require_webidl(); var { DOMException: DOMException2, structuredClone } = require_constants4(); - var { Blob: Blob2, File: NativeFile } = require("buffer"); + var { Blob: Blob2, File: NativeFile } = __require("buffer"); var { kBodyUsed } = require_symbols2(); - var assert = require("assert"); + var assert = __require("assert"); var { isErrored } = require_util2(); - var { isUint8Array, isArrayBuffer } = require("util/types"); + var { isUint8Array, isArrayBuffer } = __require("util/types"); var { File: UndiciFile } = require_file(); var { parseMIMEType, serializeAMimeType } = require_dataURL(); var ReadableStream = globalThis.ReadableStream; @@ -85783,7 +85790,7 @@ var require_body = __commonJS({ var textDecoder = new TextDecoder(); function extractBody(object, keepalive = false) { if (!ReadableStream) { - ReadableStream = require("stream/web").ReadableStream; + ReadableStream = __require("stream/web").ReadableStream; } let stream = null; if (object instanceof ReadableStream) { @@ -85916,7 +85923,7 @@ Content-Type: ${value.type || "application/octet-stream"}\r } function safelyExtractBody(object, keepalive = false) { if (!ReadableStream) { - ReadableStream = require("stream/web").ReadableStream; + ReadableStream = __require("stream/web").ReadableStream; } if (object instanceof ReadableStream) { assert(!util.isDisturbed(object), "The body has already been consumed."); @@ -86134,7 +86141,7 @@ var require_request3 = __commonJS({ InvalidArgumentError, NotSupportedError } = require_errors4(); - var assert = require("assert"); + var assert = __require("assert"); var { kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest } = require_symbols2(); var util = require_util2(); var tokenRegExp = /^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/; @@ -86144,7 +86151,7 @@ var require_request3 = __commonJS({ var channels = {}; var extractBody; try { - const diagnosticsChannel = require("diagnostics_channel"); + const diagnosticsChannel = __require("diagnostics_channel"); channels.create = diagnosticsChannel.channel("undici:request:create"); channels.bodySent = diagnosticsChannel.channel("undici:request:bodySent"); channels.headers = diagnosticsChannel.channel("undici:request:headers"); @@ -86509,7 +86516,7 @@ var require_request3 = __commonJS({ var require_dispatcher = __commonJS({ "node_modules/undici/lib/dispatcher.js"(exports2, module2) { "use strict"; - var EventEmitter = require("events"); + var EventEmitter = __require("events"); var Dispatcher = class extends EventEmitter { dispatch() { throw new Error("not implemented"); @@ -86692,8 +86699,8 @@ var require_dispatcher_base = __commonJS({ var require_connect = __commonJS({ "node_modules/undici/lib/core/connect.js"(exports2, module2) { "use strict"; - var net = require("net"); - var assert = require("assert"); + var net = __require("net"); + var assert = __require("assert"); var util = require_util2(); var { InvalidArgumentError, ConnectTimeoutError } = require_errors4(); var tls; @@ -86758,7 +86765,7 @@ var require_connect = __commonJS({ let socket; if (protocol === "https:") { if (!tls) { - tls = require("tls"); + tls = __require("tls"); } servername = servername || options2.servername || util.getServerName(host) || null; const sessionKey = servername || hostname; @@ -87191,9 +87198,9 @@ var require_RedirectHandler = __commonJS({ "use strict"; var util = require_util2(); var { kBodyUsed } = require_symbols2(); - var assert = require("assert"); + var assert = __require("assert"); var { InvalidArgumentError } = require_errors4(); - var EE = require("events"); + var EE = __require("events"); var redirectableStatusCodes = [300, 301, 302, 303, 307, 308]; var kBody = Symbol("body"); var BodyAsyncIterable = class { @@ -87365,10 +87372,10 @@ var require_llhttp_simd_wasm = __commonJS({ var require_client2 = __commonJS({ "node_modules/undici/lib/client.js"(exports2, module2) { "use strict"; - var assert = require("assert"); - var net = require("net"); - var http = require("http"); - var { pipeline } = require("stream"); + var assert = __require("assert"); + var net = __require("net"); + var http = __require("http"); + var { pipeline } = __require("stream"); var util = require_util2(); var timers = require_timers(); var Request2 = require_request3(); @@ -87442,7 +87449,7 @@ var require_client2 = __commonJS({ } = require_symbols2(); var http2; try { - http2 = require("http2"); + http2 = __require("http2"); } catch { http2 = { constants: {} }; } @@ -87462,7 +87469,7 @@ var require_client2 = __commonJS({ var kClosedResolve = Symbol("kClosedResolve"); var channels = {}; try { - const diagnosticsChannel = require("diagnostics_channel"); + const diagnosticsChannel = __require("diagnostics_channel"); channels.sendHeaders = diagnosticsChannel.channel("undici:client:sendHeaders"); channels.beforeConnect = diagnosticsChannel.channel("undici:client:beforeConnect"); channels.connectError = diagnosticsChannel.channel("undici:client:connectError"); @@ -89697,8 +89704,8 @@ var require_agent2 = __commonJS({ var require_readable3 = __commonJS({ "node_modules/undici/lib/api/readable.js"(exports2, module2) { "use strict"; - var assert = require("assert"); - var { Readable } = require("stream"); + var assert = __require("assert"); + var { Readable } = __require("stream"); var { RequestAbortedError, NotSupportedError, InvalidArgumentError } = require_errors4(); var util = require_util2(); var { ReadableStreamFrom, toUSVString } = require_util2(); @@ -89913,7 +89920,7 @@ var require_readable3 = __commonJS({ resolve(dst.buffer); } else if (type === "blob") { if (!Blob2) { - Blob2 = require("buffer").Blob; + Blob2 = __require("buffer").Blob; } resolve(new Blob2(body, { type: stream[kContentType] })); } @@ -89948,7 +89955,7 @@ var require_readable3 = __commonJS({ // node_modules/undici/lib/api/util.js var require_util4 = __commonJS({ "node_modules/undici/lib/api/util.js"(exports2, module2) { - var assert = require("assert"); + var assert = __require("assert"); var { ResponseStatusCodeError } = require_errors4(); @@ -90048,7 +90055,7 @@ var require_api_request = __commonJS({ } = require_errors4(); var util = require_util2(); var { getResolveErrorBodyCallback } = require_util4(); - var { AsyncResource } = require("async_hooks"); + var { AsyncResource } = __require("async_hooks"); var { addSignal, removeSignal } = require_abort_signal(); var RequestHandler = class extends AsyncResource { constructor(opts, callback) { @@ -90195,7 +90202,7 @@ var require_api_request = __commonJS({ var require_api_stream = __commonJS({ "node_modules/undici/lib/api/api-stream.js"(exports2, module2) { "use strict"; - var { finished, PassThrough } = require("stream"); + var { finished, PassThrough } = __require("stream"); var { InvalidArgumentError, InvalidReturnValueError, @@ -90203,7 +90210,7 @@ var require_api_stream = __commonJS({ } = require_errors4(); var util = require_util2(); var { getResolveErrorBodyCallback } = require_util4(); - var { AsyncResource } = require("async_hooks"); + var { AsyncResource } = __require("async_hooks"); var { addSignal, removeSignal } = require_abort_signal(); var StreamHandler = class extends AsyncResource { constructor(opts, factory, callback) { @@ -90373,16 +90380,16 @@ var require_api_pipeline = __commonJS({ Readable, Duplex, PassThrough - } = require("stream"); + } = __require("stream"); var { InvalidArgumentError, InvalidReturnValueError, RequestAbortedError } = require_errors4(); var util = require_util2(); - var { AsyncResource } = require("async_hooks"); + var { AsyncResource } = __require("async_hooks"); var { addSignal, removeSignal } = require_abort_signal(); - var assert = require("assert"); + var assert = __require("assert"); var kResume = Symbol("resume"); var PipelineRequest = class extends Readable { constructor() { @@ -90568,10 +90575,10 @@ var require_api_upgrade = __commonJS({ "node_modules/undici/lib/api/api-upgrade.js"(exports2, module2) { "use strict"; var { InvalidArgumentError, RequestAbortedError, SocketError } = require_errors4(); - var { AsyncResource } = require("async_hooks"); + var { AsyncResource } = __require("async_hooks"); var util = require_util2(); var { addSignal, removeSignal } = require_abort_signal(); - var assert = require("assert"); + var assert = __require("assert"); var UpgradeHandler = class extends AsyncResource { constructor(opts, callback) { if (!opts || typeof opts !== "object") { @@ -90657,7 +90664,7 @@ var require_api_upgrade = __commonJS({ var require_api_connect = __commonJS({ "node_modules/undici/lib/api/api-connect.js"(exports2, module2) { "use strict"; - var { AsyncResource } = require("async_hooks"); + var { AsyncResource } = __require("async_hooks"); var { InvalidArgumentError, RequestAbortedError, SocketError } = require_errors4(); var util = require_util2(); var { addSignal, removeSignal } = require_abort_signal(); @@ -90813,12 +90820,12 @@ var require_mock_utils = __commonJS({ kGetNetConnect } = require_mock_symbols(); var { buildURL, nop } = require_util2(); - var { STATUS_CODES } = require("http"); + var { STATUS_CODES } = __require("http"); var { types: { isPromise } - } = require("util"); + } = __require("util"); function matchValue(match, value) { if (typeof match === "string") { return match === value; @@ -91245,7 +91252,7 @@ var require_mock_interceptor = __commonJS({ var require_mock_client = __commonJS({ "node_modules/undici/lib/mock/mock-client.js"(exports2, module2) { "use strict"; - var { promisify } = require("util"); + var { promisify } = __require("util"); var Client = require_client2(); var { buildMockDispatch } = require_mock_utils(); var { @@ -91298,7 +91305,7 @@ var require_mock_client = __commonJS({ var require_mock_pool = __commonJS({ "node_modules/undici/lib/mock/mock-pool.js"(exports2, module2) { "use strict"; - var { promisify } = require("util"); + var { promisify } = __require("util"); var Pool = require_pool(); var { buildMockDispatch } = require_mock_utils(); var { @@ -91382,8 +91389,8 @@ var require_pluralizer = __commonJS({ var require_pending_interceptors_formatter = __commonJS({ "node_modules/undici/lib/mock/pending-interceptors-formatter.js"(exports2, module2) { "use strict"; - var { Transform } = require("stream"); - var { Console } = require("console"); + var { Transform } = __require("stream"); + var { Console } = __require("console"); module2.exports = class PendingInterceptorsFormatter { constructor({ disableColors } = {}) { this.transform = new Transform({ @@ -91561,7 +91568,7 @@ var require_proxy_agent = __commonJS({ "node_modules/undici/lib/proxy-agent.js"(exports2, module2) { "use strict"; var { kProxy, kClose, kDestroy, kInterceptors } = require_symbols2(); - var { URL: URL3 } = require("url"); + var { URL: URL3 } = __require("url"); var Agent = require_agent2(); var Pool = require_pool(); var DispatcherBase = require_dispatcher_base(); @@ -91711,7 +91718,7 @@ var require_proxy_agent = __commonJS({ // node_modules/undici/lib/handler/RetryHandler.js var require_RetryHandler = __commonJS({ "node_modules/undici/lib/handler/RetryHandler.js"(exports2, module2) { - var assert = require("assert"); + var assert = __require("assert"); var { kRetryHandlerDefaultRetry } = require_symbols2(); var { RequestRetryError } = require_errors4(); var { isDisturbed, parseHeaders, parseRangeHeader } = require_util2(); @@ -92053,7 +92060,7 @@ var require_headers = __commonJS({ isValidHeaderValue } = require_util3(); var { webidl } = require_webidl(); - var assert = require("assert"); + var assert = __require("assert"); var kHeadersMap = Symbol("headers map"); var kHeadersSortedMap = Symbol("headers map sorted"); function isHTTPWhiteSpaceCharCode(code) { @@ -92456,9 +92463,9 @@ var require_response2 = __commonJS({ var { getGlobalOrigin } = require_global2(); var { URLSerializer } = require_dataURL(); var { kHeadersList, kConstruct } = require_symbols2(); - var assert = require("assert"); - var { types } = require("util"); - var ReadableStream = globalThis.ReadableStream || require("stream/web").ReadableStream; + var assert = __require("assert"); + var { types } = __require("util"); + var ReadableStream = globalThis.ReadableStream || __require("stream/web").ReadableStream; var textEncoder = new TextEncoder("utf-8"); var Response2 = class _Response { // Creates network error Response. @@ -92838,8 +92845,8 @@ var require_request4 = __commonJS({ var { getGlobalOrigin } = require_global2(); var { URLSerializer } = require_dataURL(); var { kHeadersList, kConstruct } = require_symbols2(); - var assert = require("assert"); - var { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require("events"); + var assert = __require("assert"); + var { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = __require("events"); var TransformStream = globalThis.TransformStream; var kAbortController = Symbol("abortController"); var requestFinalizer = new FinalizationRegistry2(({ signal, abort }) => { @@ -93116,7 +93123,7 @@ var require_request4 = __commonJS({ ); } if (!TransformStream) { - TransformStream = require("stream/web").TransformStream; + TransformStream = __require("stream/web").TransformStream; } const identityTransform = new TransformStream(); inputBody.stream.pipeThrough(identityTransform); @@ -93459,7 +93466,7 @@ var require_fetch = __commonJS({ } = require_response2(); var { Headers: Headers2 } = require_headers(); var { Request: Request2, makeRequest } = require_request4(); - var zlib = require("zlib"); + var zlib = __require("zlib"); var { bytesMatch, makePolicyContainer, @@ -93491,7 +93498,7 @@ var require_fetch = __commonJS({ urlHasHttpsScheme } = require_util3(); var { kState, kHeaders, kGuard, kRealm } = require_symbols3(); - var assert = require("assert"); + var assert = __require("assert"); var { safelyExtractBody } = require_body(); var { redirectStatusSet, @@ -93502,14 +93509,14 @@ var require_fetch = __commonJS({ DOMException: DOMException2 } = require_constants4(); var { kHeadersList } = require_symbols2(); - var EE = require("events"); - var { Readable, pipeline } = require("stream"); + var EE = __require("events"); + var { Readable, pipeline } = __require("stream"); var { addAbortListener, isErrored, isReadable, nodeMajor, nodeMinor } = require_util2(); var { dataURLProcessor, serializeAMimeType } = require_dataURL(); - var { TransformStream } = require("stream/web"); + var { TransformStream } = __require("stream/web"); var { getGlobalDispatcher } = require_global3(); var { webidl } = require_webidl(); - var { STATUS_CODES } = require("http"); + var { STATUS_CODES } = __require("http"); var GET_OR_HEAD = ["GET", "HEAD"]; var resolveObjectURL; var ReadableStream = globalThis.ReadableStream; @@ -93845,7 +93852,7 @@ var require_fetch = __commonJS({ } case "blob:": { if (!resolveObjectURL) { - resolveObjectURL = require("buffer").resolveObjectURL; + resolveObjectURL = __require("buffer").resolveObjectURL; } const blobURLEntry = requestCurrentURL(request); if (blobURLEntry.search.length !== 0) { @@ -94260,7 +94267,7 @@ var require_fetch = __commonJS({ fetchParams.controller.abort(reason); }; if (!ReadableStream) { - ReadableStream = require("stream/web").ReadableStream; + ReadableStream = __require("stream/web").ReadableStream; } const stream = new ReadableStream( { @@ -94866,9 +94873,9 @@ var require_util5 = __commonJS({ var { getEncoding } = require_encoding2(); var { DOMException: DOMException2 } = require_constants4(); var { serializeAMimeType, parseMIMEType } = require_dataURL(); - var { types } = require("util"); - var { StringDecoder } = require("string_decoder"); - var { btoa } = require("buffer"); + var { types } = __require("util"); + var { StringDecoder } = __require("string_decoder"); + var { btoa } = __require("buffer"); var staticPropertyDescriptors = { enumerable: true, writable: false, @@ -95310,7 +95317,7 @@ var require_symbols5 = __commonJS({ var require_util6 = __commonJS({ "node_modules/undici/lib/cache/util.js"(exports2, module2) { "use strict"; - var assert = require("assert"); + var assert = __require("assert"); var { URLSerializer } = require_dataURL(); var { isValidHeaderName } = require_util3(); function urlEquals(A, B, excludeFragment = false) { @@ -95353,7 +95360,7 @@ var require_cache = __commonJS({ var { kState, kHeaders, kGuard, kRealm } = require_symbols3(); var { fetching } = require_fetch(); var { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = require_util3(); - var assert = require("assert"); + var assert = __require("assert"); var { getGlobalDispatcher } = require_global3(); var Cache = class _Cache { /** @@ -95996,7 +96003,7 @@ var require_constants6 = __commonJS({ var require_util7 = __commonJS({ "node_modules/undici/lib/cookies/util.js"(exports2, module2) { "use strict"; - var assert = require("assert"); + var assert = __require("assert"); var { kHeadersList } = require_symbols2(); function isCTLExcludingHtab(value) { if (value.length === 0) { @@ -96158,7 +96165,7 @@ var require_parse4 = __commonJS({ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants6(); var { isCTLExcludingHtab } = require_util7(); var { collectASequenceOfCodePointsFast } = require_dataURL(); - var assert = require("assert"); + var assert = __require("assert"); function parseSetCookie(header) { if (isCTLExcludingHtab(header)) { return null; @@ -96486,7 +96493,7 @@ var require_events = __commonJS({ "use strict"; var { webidl } = require_webidl(); var { kEnumerableProperty } = require_util2(); - var { MessagePort } = require("worker_threads"); + var { MessagePort } = __require("worker_threads"); var MessageEvent = class _MessageEvent extends Event { #eventInit; constructor(type, eventInitDict = {}) { @@ -96817,7 +96824,7 @@ var require_util8 = __commonJS({ var require_connection = __commonJS({ "node_modules/undici/lib/websocket/connection.js"(exports2, module2) { "use strict"; - var diagnosticsChannel = require("diagnostics_channel"); + var diagnosticsChannel = __require("diagnostics_channel"); var { uid, states } = require_constants7(); var { kReadyState, @@ -96838,7 +96845,7 @@ var require_connection = __commonJS({ channels.socketError = diagnosticsChannel.channel("undici:websocket:socket_error"); var crypto4; try { - crypto4 = require("crypto"); + crypto4 = __require("crypto"); } catch { } function establishWebSocketConnection(url, protocols, ws, onEstablish, options2) { @@ -96968,7 +96975,7 @@ var require_frame = __commonJS({ var { maxUnsigned16Bit } = require_constants7(); var crypto4; try { - crypto4 = require("crypto"); + crypto4 = __require("crypto"); } catch { } var WebsocketFrameSend = class { @@ -97022,8 +97029,8 @@ var require_frame = __commonJS({ var require_receiver = __commonJS({ "node_modules/undici/lib/websocket/receiver.js"(exports2, module2) { "use strict"; - var { Writable } = require("stream"); - var diagnosticsChannel = require("diagnostics_channel"); + var { Writable } = __require("stream"); + var diagnosticsChannel = __require("diagnostics_channel"); var { parserStates, opcodes, states, emptyBuffer } = require_constants7(); var { kReadyState, kSentClose, kResponse, kReceivedClose } = require_symbols6(); var { isValidStatusCode, failWebsocketConnection, websocketMessageReceived } = require_util8(); @@ -97278,7 +97285,7 @@ var require_websocket = __commonJS({ var { ByteParser } = require_receiver(); var { kEnumerableProperty, isBlobLike } = require_util2(); var { getGlobalDispatcher } = require_global3(); - var { types } = require("util"); + var { types } = __require("util"); var experimentalWarned = false; var WebSocket = class _WebSocket extends EventTarget { #events = { @@ -97685,7 +97692,7 @@ var require_undici = __commonJS({ var createRedirectInterceptor = require_redirectInterceptor(); var hasCrypto; try { - require("crypto"); + __require("crypto"); hasCrypto = true; } catch { hasCrypto = false; @@ -97863,8 +97870,8 @@ var require_lib7 = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.HttpClient = exports2.isHttps = exports2.HttpClientResponse = exports2.HttpClientError = exports2.getProxyUrl = exports2.MediaTypes = exports2.Headers = exports2.HttpCodes = void 0; - var http = __importStar2(require("http")); - var https = __importStar2(require("https")); + var http = __importStar2(__require("http")); + var https = __importStar2(__require("https")); var pm = __importStar2(require_proxy()); var tunnel = __importStar2(require_tunnel2()); var undici_1 = require_undici(); @@ -98657,8 +98664,8 @@ var require_summary = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.summary = exports2.markdownSummary = exports2.SUMMARY_DOCS_URL = exports2.SUMMARY_ENV_VAR = void 0; - var os_1 = require("os"); - var fs_1 = require("fs"); + var os_1 = __require("os"); + var fs_1 = __require("fs"); var { access, appendFile, writeFile } = fs_1.promises; exports2.SUMMARY_ENV_VAR = "GITHUB_STEP_SUMMARY"; exports2.SUMMARY_DOCS_URL = "https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary"; @@ -98952,7 +98959,7 @@ var require_path_utils = __commonJS({ }; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.toPlatformPath = exports2.toWin32Path = exports2.toPosixPath = void 0; - var path = __importStar2(require("path")); + var path = __importStar2(__require("path")); function toPosixPath(pth) { return pth.replace(/[\\]/g, "/"); } @@ -99032,8 +99039,8 @@ var require_core5 = __commonJS({ var command_1 = require_command2(); var file_command_1 = require_file_command(); var utils_1 = require_utils7(); - var os = __importStar2(require("os")); - var path = __importStar2(require("path")); + var os = __importStar2(__require("os")); + var path = __importStar2(__require("path")); var oidc_utils_1 = require_oidc_utils(); var ExitCode; (function(ExitCode2) { @@ -99205,13 +99212,13 @@ __export(adapter_github_actions_exports, { __reExport(adapter_github_actions_exports, __toESM(require_lib6(), 1)); var import_probot = __toESM(require_lib6(), 1); var import_pino2 = __toESM(require_pino(), 1); -var import_node_fs = require("node:fs"); +import { readFileSync } from "node:fs"; // node_modules/@probot/adapter-github-actions/pino-transport-github-actions.js -var import_util = require("util"); var import_through2 = __toESM(require_through2(), 1); var import_core = __toESM(require_core5(), 1); var import_pino = __toESM(require_pino(), 1); +import { inspect } from "util"; var LEVEL_TO_ACTIONS_CORE_LOG_METHOD = { trace: "debug", debug: "debug", @@ -99226,7 +99233,7 @@ var transport = import_through2.default.obj(function(chunk, enc, cb) { const logMethodName = LEVEL_TO_ACTIONS_CORE_LOG_METHOD[levelLabel]; const output = [ msg, - Object.keys(meta).length ? (0, import_util.inspect)(meta, { depth: Infinity }) : "" + Object.keys(meta).length ? inspect(meta, { depth: Infinity }) : "" ].join("\n").trim(); if (logMethodName in import_core.default) { import_core.default[logMethodName](output); @@ -99269,7 +99276,7 @@ async function run(app) { return probot.receive({ id: process.env.GITHUB_RUN_ID, name: process.env.GITHUB_EVENT_NAME, - payload: JSON.parse((0, import_node_fs.readFileSync)(process.env.GITHUB_EVENT_PATH)) + payload: JSON.parse(readFileSync(process.env.GITHUB_EVENT_PATH)) }).catch((error) => { probot.log.error(error); }); diff --git a/package.json b/package.json index 9077a1f..7612033 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "description": "Probot & GitHub Action example", "scripts": { - "build": "esbuild index.js --bundle --platform=node --outfile=dist/index.js", + "build": "esbuild index.js --bundle --platform=node --outfile=dist/index.js --format=esm", "test": "node --test" }, "author": "Gregor Martynus (https://twitter.com/gr2m)",