diff --git a/dist/index.js b/dist/index.js index ee6c397..8a5fba8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -143,9 +143,9 @@ var require_cjs = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/context.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/context.js var require_context = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/context.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/context.js"(exports2) { "use strict"; var __importDefault = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; @@ -1691,12 +1691,30 @@ var require_commonjs = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-authenticated-octokit.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/rebind-log.js +var require_rebind_log = __commonJS({ + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/rebind-log.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.rebindLog = rebindLog; + function rebindLog(log2) { + for (const key in log2) { + if (typeof log2[key] !== "function") + continue; + log2[key] = log2[key].bind(log2); + } + return log2; + } + } +}); + +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-authenticated-octokit.js var require_get_authenticated_octokit = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-authenticated-octokit.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-authenticated-octokit.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getAuthenticatedOctokit = getAuthenticatedOctokit; + var rebind_log_js_1 = require_rebind_log(); async function getAuthenticatedOctokit(state, installationId, log2) { const { octokit } = state; if (!installationId) @@ -1709,14 +1727,7 @@ var require_get_authenticated_octokit = __commonJS({ const pinoLog = log2 || state.log.child({ name: "github" }); const options2 = { ...octokitOptions, - log: { - fatal: pinoLog.fatal.bind(pinoLog), - error: pinoLog.error.bind(pinoLog), - warn: pinoLog.warn.bind(pinoLog), - info: pinoLog.info.bind(pinoLog), - debug: pinoLog.debug.bind(pinoLog), - trace: pinoLog.trace.bind(pinoLog) - }, + log: (0, rebind_log_js_1.rebindLog)(pinoLog), throttle: ((_a2 = octokitOptions.throttle) == null ? void 0 : _a2.enabled) ? { ...octokitOptions.throttle, id: String(installationId) @@ -1735,9 +1746,9 @@ var require_get_authenticated_octokit = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/auth.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/auth.js var require_auth = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/auth.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/auth.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.auth = auth7; @@ -25380,30 +25391,9 @@ var require_pino2 = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/rebind-log.js -var require_rebind_log = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/rebind-log.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.rebindLog = rebindLog; - var kIsBound = Symbol("is-bound"); - function rebindLog(log2) { - if (log2[kIsBound]) - return log2; - for (const key in log2) { - if (typeof log2[key] !== "function") - continue; - log2[key] = log2[key].bind(log2); - } - log2[kIsBound] = true; - return log2; - } - } -}); - -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/get-log.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/get-log.js var require_get_log = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/get-log.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/get-log.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getLog = getLog; @@ -38496,9 +38486,9 @@ var require_built3 = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-octokit-throttle-options.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-octokit-throttle-options.js var require_get_octokit_throttle_options = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-octokit-throttle-options.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-octokit-throttle-options.js"(exports2) { "use strict"; var __importDefault = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; @@ -38541,9 +38531,9 @@ var require_get_octokit_throttle_options = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-probot-octokit-with-defaults.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-probot-octokit-with-defaults.js var require_get_probot_octokit_with_defaults = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-probot-octokit-with-defaults.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-probot-octokit-with-defaults.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getProbotOctokitWithDefaults = getProbotOctokitWithDefaults; @@ -39525,9 +39515,9 @@ var init_dist_src5 = __esm({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/get-error-handler.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/get-error-handler.js var require_get_error_handler = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/get-error-handler.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/get-error-handler.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getErrorHandler = getErrorHandler; @@ -39555,9 +39545,9 @@ var require_get_error_handler = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/octokit-webhooks-transform.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/octokit-webhooks-transform.js var require_octokit_webhooks_transform = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/octokit-webhooks-transform.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/octokit-webhooks-transform.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.webhookTransform = webhookTransform; @@ -39573,9 +39563,9 @@ var require_octokit_webhooks_transform = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-webhooks.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-webhooks.js var require_get_webhooks = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/get-webhooks.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/get-webhooks.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getWebhooks = getWebhooks; @@ -48701,9 +48691,9 @@ var init_dist_src15 = __esm({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/octokit-plugin-probot-request-logging.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/octokit-plugin-probot-request-logging.js var require_octokit_plugin_probot_request_logging = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/octokit-plugin-probot-request-logging.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/octokit-plugin-probot-request-logging.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.probotRequestLogging = probotRequestLogging; @@ -48725,19 +48715,19 @@ var require_octokit_plugin_probot_request_logging = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/version.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/version.js var require_version2 = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/version.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/version.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.VERSION = void 0; - exports2.VERSION = "13.4.0"; + exports2.VERSION = "13.4.1"; } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/probot-octokit.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/probot-octokit.js var require_probot_octokit = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/octokit/probot-octokit.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/octokit/probot-octokit.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.ProbotOctokit = void 0; @@ -71107,9 +71097,9 @@ var require_logger = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/server/logging-middleware.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/server/logging-middleware.js var require_logging_middleware = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/server/logging-middleware.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/server/logging-middleware.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.getLoggingMiddleware = getLoggingMiddleware; @@ -71133,9 +71123,9 @@ var require_logging_middleware = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/webhook-proxy.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/webhook-proxy.js var require_webhook_proxy = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/webhook-proxy.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/webhook-proxy.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.createWebhookProxy = void 0; @@ -71158,9 +71148,9 @@ var require_webhook_proxy = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/server/server.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/server/server.js var require_server = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/server/server.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/server/server.js"(exports2) { "use strict"; var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { if (k2 === void 0) k2 = k; @@ -71280,9 +71270,9 @@ var require_server = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/probot.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/probot.js var require_probot = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/probot.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/probot.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.Probot = void 0; @@ -71339,12 +71329,7 @@ var require_probot = __commonJS({ const octokitLogger = (0, rebind_log_js_1.rebindLog)(this.log.child({ name: "octokit" })); const octokit = new Octokit2({ request: options2.request, - log: { - debug: octokitLogger.debug.bind(octokitLogger), - info: octokitLogger.info.bind(octokitLogger), - warn: octokitLogger.warn.bind(octokitLogger), - error: octokitLogger.error.bind(octokitLogger) - } + log: octokitLogger }); this.state = { cache, @@ -75844,9 +75829,9 @@ var require_js_yaml = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/load-package-json.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/load-package-json.js var require_load_package_json = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/load-package-json.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/load-package-json.js"(exports2) { "use strict"; var __importDefault = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; @@ -75875,9 +75860,9 @@ var require_load_package_json = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/manifest-creation.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/manifest-creation.js var require_manifest_creation = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/manifest-creation.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/manifest-creation.js"(exports2) { "use strict"; var __importDefault = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; @@ -75969,9 +75954,9 @@ var require_manifest_creation = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/is-production.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/is-production.js var require_is_production = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/helpers/is-production.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/helpers/is-production.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.isProduction = isProduction; @@ -75981,9 +75966,9 @@ var require_is_production = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/import.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/import.js var require_import = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/import.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/import.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.importView = importView; @@ -76076,9 +76061,9 @@ var require_import = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/setup.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/setup.js var require_setup = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/setup.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/setup.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.setupView = setupView; @@ -76132,9 +76117,9 @@ var require_setup = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/success.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/success.js var require_success = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/success.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/success.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.successView = successView; @@ -76174,9 +76159,9 @@ var require_success = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/apps/setup.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/apps/setup.js var require_setup2 = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/apps/setup.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/apps/setup.js"(exports2) { "use strict"; var __importDefault = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; @@ -79378,9 +79363,9 @@ var init_dist_web9 = __esm({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/bin/read-cli-options.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/bin/read-cli-options.js var require_read_cli_options = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/bin/read-cli-options.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/bin/read-cli-options.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.readCliOptions = readCliOptions; @@ -79400,9 +79385,9 @@ var require_read_cli_options = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/bin/read-env-options.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/bin/read-env-options.js var require_read_env_options = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/bin/read-env-options.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/bin/read-env-options.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.readEnvOptions = readEnvOptions; @@ -79431,9 +79416,9 @@ var require_read_env_options = __commonJS({ } }); -// node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/probot.js +// node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/probot.js var require_probot2 = __commonJS({ - "node_modules/.pnpm/probot@13.4.0/node_modules/probot/lib/views/probot.js"(exports2) { + "node_modules/.pnpm/probot@13.4.1/node_modules/probot/lib/views/probot.js"(exports2) { "use strict"; Object.defineProperty(exports2, "__esModule", { value: true }); exports2.probotView = probotView; @@ -79474,9 +79459,9 @@ ${version ? ` =18'} - probot@13.4.0: - resolution: {integrity: sha512-W+6KHMXVZtOo0bPw1RwyQS74AqExY87t675w42l/FZSZAu8gF7vAyFw7fIaBfwbHwdvzW0ysSg2xo391oy6PJw==} + probot@13.4.1: + resolution: {integrity: sha512-nLmQ4UI0U1upNtMr6TQQ5b4fdenzS90Of8/YAkbWgOG+GqlB/IJHArF6ZvMKBMIpIgsmTWd5eDSutBLrlbCT1w==} engines: {node: '>=18'} hasBin: true @@ -3671,7 +3671,7 @@ snapshots: dependencies: '@actions/core': 1.11.1 pino: 8.21.0 - probot: 13.4.0 + probot: 13.4.1 through2: 4.0.2 transitivePeerDependencies: - supports-color @@ -5660,7 +5660,7 @@ snapshots: dependencies: parse-ms: 4.0.0 - probot@13.4.0: + probot@13.4.1: dependencies: '@octokit/core': 5.2.0 '@octokit/plugin-enterprise-compatibility': 4.1.0