diff --git a/.github/local-actions/branch-manager/main.js b/.github/local-actions/branch-manager/main.js index 9a4391bb7..74c3ae663 100644 --- a/.github/local-actions/branch-manager/main.js +++ b/.github/local-actions/branch-manager/main.js @@ -47532,7 +47532,7 @@ var require_sqlite_cache_store = __commonJS({ var { Writable } = __require("stream"); var { assertCacheKey, assertCacheValue } = require_cache2(); var DatabaseSync; - var VERSION13 = 3; + var VERSION14 = 3; var MAX_ENTRY_SIZE = 2 * 1e3 * 1e3 * 1e3; module.exports = class SqliteCacheStore { #maxEntrySize = MAX_ENTRY_SIZE; @@ -47571,7 +47571,7 @@ var require_sqlite_cache_store = __commonJS({ } this.#db = new DatabaseSync((opts == null ? void 0 : opts.location) ?? ":memory:"); this.#db.exec(` - CREATE TABLE IF NOT EXISTS cacheInterceptorV${VERSION13} ( + CREATE TABLE IF NOT EXISTS cacheInterceptorV${VERSION14} ( -- Data specific to us id INTEGER PRIMARY KEY AUTOINCREMENT, url TEXT NOT NULL, @@ -47590,9 +47590,9 @@ var require_sqlite_cache_store = __commonJS({ staleAt INTEGER NOT NULL ); - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION13}_url ON cacheInterceptorV${VERSION13}(url); - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION13}_method ON cacheInterceptorV${VERSION13}(method); - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION13}_deleteAt ON cacheInterceptorV${VERSION13}(deleteAt); + CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION14}_url ON cacheInterceptorV${VERSION14}(url); + CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION14}_method ON cacheInterceptorV${VERSION14}(method); + CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION14}_deleteAt ON cacheInterceptorV${VERSION14}(deleteAt); `); this.#getValuesQuery = this.#db.prepare(` SELECT @@ -47607,7 +47607,7 @@ var require_sqlite_cache_store = __commonJS({ vary, cachedAt, staleAt - FROM cacheInterceptorV${VERSION13} + FROM cacheInterceptorV${VERSION14} WHERE url = ? AND method = ? @@ -47615,7 +47615,7 @@ var require_sqlite_cache_store = __commonJS({ deleteAt ASC `); this.#updateValueQuery = this.#db.prepare(` - UPDATE cacheInterceptorV${VERSION13} SET + UPDATE cacheInterceptorV${VERSION14} SET body = ?, deleteAt = ?, statusCode = ?, @@ -47630,7 +47630,7 @@ var require_sqlite_cache_store = __commonJS({ id = ? `); this.#insertValueQuery = this.#db.prepare(` - INSERT INTO cacheInterceptorV${VERSION13} ( + INSERT INTO cacheInterceptorV${VERSION14} ( url, method, body, @@ -47647,20 +47647,20 @@ var require_sqlite_cache_store = __commonJS({ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) `); this.#deleteByUrlQuery = this.#db.prepare( - `DELETE FROM cacheInterceptorV${VERSION13} WHERE url = ?` + `DELETE FROM cacheInterceptorV${VERSION14} WHERE url = ?` ); this.#countEntriesQuery = this.#db.prepare( - `SELECT COUNT(*) AS total FROM cacheInterceptorV${VERSION13}` + `SELECT COUNT(*) AS total FROM cacheInterceptorV${VERSION14}` ); this.#deleteExpiredValuesQuery = this.#db.prepare( - `DELETE FROM cacheInterceptorV${VERSION13} WHERE deleteAt <= ?` + `DELETE FROM cacheInterceptorV${VERSION14} WHERE deleteAt <= ?` ); this.#deleteOldValuesQuery = this.#maxCount === Infinity ? null : this.#db.prepare(` - DELETE FROM cacheInterceptorV${VERSION13} + DELETE FROM cacheInterceptorV${VERSION14} WHERE id IN ( SELECT id - FROM cacheInterceptorV${VERSION13} + FROM cacheInterceptorV${VERSION14} ORDER BY cachedAt DESC LIMIT ? ) @@ -54285,9 +54285,9 @@ var require_dist_node3 = __commonJS({ endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); - var import_universal_user_agent9 = require_dist_node2(); - var VERSION13 = "9.0.5"; - var userAgent2 = `octokit-endpoint.js/${VERSION13} ${(0, import_universal_user_agent9.getUserAgent)()}`; + var import_universal_user_agent10 = require_dist_node2(); + var VERSION14 = "9.0.5"; + var userAgent2 = `octokit-endpoint.js/${VERSION14} ${(0, import_universal_user_agent10.getUserAgent)()}`; var DEFAULTS2 = { method: "GET", baseUrl: "https://api.github.com", @@ -54593,17 +54593,17 @@ var require_dist_node3 = __commonJS({ function endpointWithDefaults2(defaults2, route, options) { return parse4(merge2(defaults2, route, options)); } - function withDefaults4(oldDefaults, newDefaults) { + function withDefaults5(oldDefaults, newDefaults) { const DEFAULTS22 = merge2(oldDefaults, newDefaults); const endpoint22 = endpointWithDefaults2.bind(null, DEFAULTS22); return Object.assign(endpoint22, { DEFAULTS: DEFAULTS22, - defaults: withDefaults4.bind(null, DEFAULTS22), + defaults: withDefaults5.bind(null, DEFAULTS22), merge: merge2.bind(null, DEFAULTS22), parse: parse4 }); } - var endpoint2 = withDefaults4(null, DEFAULTS2); + var endpoint2 = withDefaults5(null, DEFAULTS2); } }); @@ -54730,14 +54730,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -54816,8 +54816,8 @@ var require_dist_node6 = __commonJS({ }); module.exports = __toCommonJS(dist_src_exports); var import_endpoint2 = require_dist_node3(); - var import_universal_user_agent9 = require_dist_node(); - var VERSION13 = "8.4.0"; + var import_universal_user_agent10 = require_dist_node(); + var VERSION14 = "8.4.0"; function isPlainObject4(value) { if (typeof value !== "object" || value === null) return false; @@ -54966,7 +54966,7 @@ var require_dist_node6 = __commonJS({ } return `Unknown error: ${JSON.stringify(data)}`; } - function withDefaults4(oldEndpoint, newDefaults) { + function withDefaults5(oldEndpoint, newDefaults) { const endpoint2 = oldEndpoint.defaults(newDefaults); const newApi = function(route, parameters) { const endpointOptions = endpoint2.merge(route, parameters); @@ -54980,18 +54980,18 @@ var require_dist_node6 = __commonJS({ }; Object.assign(request22, { endpoint: endpoint2, - defaults: withDefaults4.bind(null, endpoint2) + defaults: withDefaults5.bind(null, endpoint2) }); return endpointOptions.request.hook(request22, endpointOptions); }; return Object.assign(newApi, { endpoint: endpoint2, - defaults: withDefaults4.bind(null, endpoint2) + defaults: withDefaults5.bind(null, endpoint2) }); } - var request2 = withDefaults4(import_endpoint2.endpoint, { + var request2 = withDefaults5(import_endpoint2.endpoint, { headers: { - "user-agent": `octokit-request.js/${VERSION13} ${(0, import_universal_user_agent9.getUserAgent)()}` + "user-agent": `octokit-request.js/${VERSION14} ${(0, import_universal_user_agent10.getUserAgent)()}` } }); } @@ -55020,23 +55020,23 @@ var require_dist_node7 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - GraphqlResponseError: () => GraphqlResponseError2, - graphql: () => graphql22, + GraphqlResponseError: () => GraphqlResponseError3, + graphql: () => graphql23, withCustomRequest: () => withCustomRequest2 }); module.exports = __toCommonJS(dist_src_exports); var import_request32 = require_dist_node6(); - var import_universal_user_agent9 = require_dist_node(); - var VERSION13 = "7.1.0"; + var import_universal_user_agent10 = require_dist_node(); + var VERSION14 = "7.1.0"; var import_request22 = require_dist_node6(); - var import_request15 = require_dist_node6(); - function _buildMessageForResponseErrors2(data) { + var import_request16 = require_dist_node6(); + function _buildMessageForResponseErrors3(data) { return `Request failed due to following response errors: ` + data.errors.map((e) => ` - ${e.message}`).join("\n"); } - var GraphqlResponseError2 = class extends Error { + var GraphqlResponseError3 = class extends Error { constructor(request2, headers, response) { - super(_buildMessageForResponseErrors2(response)); + super(_buildMessageForResponseErrors3(response)); this.request = request2; this.headers = headers; this.response = response; @@ -55048,7 +55048,7 @@ var require_dist_node7 = __commonJS({ } } }; - var NON_VARIABLE_OPTIONS2 = [ + var NON_VARIABLE_OPTIONS3 = [ "method", "baseUrl", "url", @@ -55057,9 +55057,9 @@ var require_dist_node7 = __commonJS({ "query", "mediaType" ]; - var FORBIDDEN_VARIABLE_OPTIONS2 = ["query", "method", "url"]; - var GHES_V3_SUFFIX_REGEX2 = /\/api\/v3\/?$/; - function graphql3(request2, query2, options) { + var FORBIDDEN_VARIABLE_OPTIONS3 = ["query", "method", "url"]; + var GHES_V3_SUFFIX_REGEX3 = /\/api\/v3\/?$/; + function graphql4(request2, query2, options) { if (options) { if (typeof query2 === "string" && "query" in options) { return Promise.reject( @@ -55067,7 +55067,7 @@ var require_dist_node7 = __commonJS({ ); } for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS2.includes(key)) + if (!FORBIDDEN_VARIABLE_OPTIONS3.includes(key)) continue; return Promise.reject( new Error( @@ -55080,7 +55080,7 @@ var require_dist_node7 = __commonJS({ const requestOptions = Object.keys( parsedOptions ).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS2.includes(key)) { + if (NON_VARIABLE_OPTIONS3.includes(key)) { result[key] = parsedOptions[key]; return result; } @@ -55091,8 +55091,8 @@ var require_dist_node7 = __commonJS({ return result; }, {}); const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl; - if (GHES_V3_SUFFIX_REGEX2.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX2, "/api/graphql"); + if (GHES_V3_SUFFIX_REGEX3.test(baseUrl)) { + requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX3, "/api/graphql"); } return request2(requestOptions).then((response) => { if (response.data.errors) { @@ -55100,7 +55100,7 @@ var require_dist_node7 = __commonJS({ for (const key of Object.keys(response.headers)) { headers[key] = response.headers[key]; } - throw new GraphqlResponseError2( + throw new GraphqlResponseError3( requestOptions, headers, response.data @@ -55109,25 +55109,25 @@ var require_dist_node7 = __commonJS({ return response.data.data; }); } - function withDefaults4(request2, newDefaults) { + function withDefaults5(request2, newDefaults) { const newRequest = request2.defaults(newDefaults); const newApi = (query2, options) => { - return graphql3(newRequest, query2, options); + return graphql4(newRequest, query2, options); }; return Object.assign(newApi, { - defaults: withDefaults4.bind(null, newRequest), + defaults: withDefaults5.bind(null, newRequest), endpoint: newRequest.endpoint }); } - var graphql22 = withDefaults4(import_request32.request, { + var graphql23 = withDefaults5(import_request32.request, { headers: { - "user-agent": `octokit-graphql.js/${VERSION13} ${(0, import_universal_user_agent9.getUserAgent)()}` + "user-agent": `octokit-graphql.js/${VERSION14} ${(0, import_universal_user_agent10.getUserAgent)()}` }, method: "POST", url: "/graphql" }); function withCustomRequest2(customRequest) { - return withDefaults4(customRequest, { + return withDefaults5(customRequest, { method: "POST", url: "/graphql" }); @@ -55232,17 +55232,17 @@ var require_dist_node9 = __commonJS({ Octokit: () => Octokit3 }); module.exports = __toCommonJS(dist_src_exports); - var import_universal_user_agent9 = require_dist_node(); + var import_universal_user_agent10 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); - var import_request15 = require_dist_node6(); + var import_request16 = require_dist_node6(); var import_graphql3 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION14 = "5.2.0"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); var consoleError2 = console.error.bind(console); - var userAgentTrail2 = `octokit-core.js/${VERSION13} ${(0, import_universal_user_agent9.getUserAgent)()}`; + var userAgentTrail2 = `octokit-core.js/${VERSION14} ${(0, import_universal_user_agent10.getUserAgent)()}`; var _a; var Octokit3 = (_a = class { static defaults(defaults2) { @@ -55281,7 +55281,7 @@ var require_dist_node9 = __commonJS({ constructor(options = {}) { const hook6 = new import_before_after_hook2.Collection(); const requestDefaults = { - baseUrl: import_request15.request.endpoint.DEFAULTS.baseUrl, + baseUrl: import_request16.request.endpoint.DEFAULTS.baseUrl, headers: {}, request: Object.assign({}, options.request, { hook: hook6.bind(null, "request") @@ -55301,7 +55301,7 @@ var require_dist_node9 = __commonJS({ if (options.timeZone) { requestDefaults.headers["time-zone"] = options.timeZone; } - this.request = import_request15.request.defaults(requestDefaults); + this.request = import_request16.request.defaults(requestDefaults); this.graphql = (0, import_graphql3.withCustomRequest)(this.request).defaults(requestDefaults); this.log = Object.assign( { @@ -55345,7 +55345,7 @@ var require_dist_node9 = __commonJS({ } } }, (() => { - _a.VERSION = VERSION13; + _a.VERSION = VERSION14; })(), (() => { _a.plugins = []; })(), _a); @@ -55379,7 +55379,7 @@ var require_dist_node10 = __commonJS({ restEndpointMethods: () => restEndpointMethods2 }); module.exports = __toCommonJS(dist_src_exports); - var VERSION13 = "10.4.1"; + var VERSION14 = "10.4.1"; var Endpoints2 = { actions: { addCustomLabelsToSelfHostedRunnerForOrg: [ @@ -57495,7 +57495,7 @@ var require_dist_node10 = __commonJS({ rest: api }; } - restEndpointMethods2.VERSION = VERSION13; + restEndpointMethods2.VERSION = VERSION14; function legacyRestEndpointMethods2(octokit) { const api = endpointsToMethods2(octokit); return { @@ -57503,7 +57503,7 @@ var require_dist_node10 = __commonJS({ rest: api }; } - legacyRestEndpointMethods2.VERSION = VERSION13; + legacyRestEndpointMethods2.VERSION = VERSION14; } }); @@ -57536,7 +57536,7 @@ var require_dist_node11 = __commonJS({ paginatingEndpoints: () => paginatingEndpoints }); module.exports = __toCommonJS(dist_src_exports); - var VERSION13 = "9.2.1"; + var VERSION14 = "9.2.1"; function normalizePaginatedListResponse2(response) { if (!response.data) { return { @@ -57882,7 +57882,7 @@ var require_dist_node11 = __commonJS({ }) }; } - paginateRest2.VERSION = VERSION13; + paginateRest2.VERSION = VERSION14; } }); @@ -62027,12 +62027,6 @@ var graphql2 = withDefaults3(request, { method: "POST", url: "/graphql" }); -function withCustomRequest(customRequest) { - return withDefaults3(customRequest, { - method: "POST", - url: "/graphql" - }); -} // async function getPr(prSchema, prNumber, git) { @@ -64644,6 +64638,113 @@ function Collection() { } var before_after_hook_default = { Singular, Collection }; +// +var VERSION4 = "0.0.0-development"; +function _buildMessageForResponseErrors2(data) { + return `Request failed due to following response errors: +` + data.errors.map((e) => ` - ${e.message}`).join("\n"); +} +var GraphqlResponseError2 = class extends Error { + constructor(request2, headers, response) { + super(_buildMessageForResponseErrors2(response)); + this.request = request2; + this.headers = headers; + this.response = response; + this.errors = response.errors; + this.data = response.data; + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + } + name = "GraphqlResponseError"; + errors; + data; +}; +var NON_VARIABLE_OPTIONS2 = [ + "method", + "baseUrl", + "url", + "headers", + "request", + "query", + "mediaType" +]; +var FORBIDDEN_VARIABLE_OPTIONS2 = ["query", "method", "url"]; +var GHES_V3_SUFFIX_REGEX2 = /\/api\/v3\/?$/; +function graphql3(request2, query2, options) { + if (options) { + if (typeof query2 === "string" && "query" in options) { + return Promise.reject( + new Error(`[@octokit/graphql] "query" cannot be used as variable name`) + ); + } + for (const key in options) { + if (!FORBIDDEN_VARIABLE_OPTIONS2.includes(key)) + continue; + return Promise.reject( + new Error( + `[@octokit/graphql] "${key}" cannot be used as variable name` + ) + ); + } + } + const parsedOptions = typeof query2 === "string" ? Object.assign({ query: query2 }, options) : query2; + const requestOptions = Object.keys( + parsedOptions + ).reduce((result, key) => { + if (NON_VARIABLE_OPTIONS2.includes(key)) { + result[key] = parsedOptions[key]; + return result; + } + if (!result.variables) { + result.variables = {}; + } + result.variables[key] = parsedOptions[key]; + return result; + }, {}); + const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl; + if (GHES_V3_SUFFIX_REGEX2.test(baseUrl)) { + requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX2, "/api/graphql"); + } + return request2(requestOptions).then((response) => { + if (response.data.errors) { + const headers = {}; + for (const key of Object.keys(response.headers)) { + headers[key] = response.headers[key]; + } + throw new GraphqlResponseError2( + requestOptions, + headers, + response.data + ); + } + return response.data.data; + }); +} +function withDefaults4(request2, newDefaults) { + const newRequest = request2.defaults(newDefaults); + const newApi = (query2, options) => { + return graphql3(newRequest, query2, options); + }; + return Object.assign(newApi, { + defaults: withDefaults4.bind(null, newRequest), + endpoint: newRequest.endpoint + }); +} +var graphql22 = withDefaults4(request, { + headers: { + "user-agent": `octokit-graphql.js/${VERSION4} ${getUserAgent()}` + }, + method: "POST", + url: "/graphql" +}); +function withCustomRequest(customRequest) { + return withDefaults4(customRequest, { + method: "POST", + url: "/graphql" + }); +} + // var REGEX_IS_INSTALLATION_LEGACY = /^v1\./; var REGEX_IS_INSTALLATION = /^ghs_/; @@ -64689,14 +64790,14 @@ var createTokenAuth = function createTokenAuth2(token2) { }; // -var VERSION4 = "6.1.2"; +var VERSION5 = "6.1.2"; // var noop = () => { }; var consoleWarn = console.warn.bind(console); var consoleError = console.error.bind(console); -var userAgentTrail = `octokit-core.js/${VERSION4} ${getUserAgent()}`; +var userAgentTrail = `octokit-core.js/${VERSION5} ${getUserAgent()}`; var Octokit = class { static defaults(defaults2) { const OctokitWithDefaults = class extends this { @@ -64801,11 +64902,11 @@ var Octokit = class { hook; auth; }; -__publicField(Octokit, "VERSION", VERSION4); +__publicField(Octokit, "VERSION", VERSION5); __publicField(Octokit, "plugins", []); // -var VERSION5 = "5.3.1"; +var VERSION6 = "5.3.1"; // function requestLog(octokit) { @@ -64830,10 +64931,10 @@ function requestLog(octokit) { }); }); } -requestLog.VERSION = VERSION5; +requestLog.VERSION = VERSION6; // -var VERSION6 = "0.0.0-development"; +var VERSION7 = "0.0.0-development"; function normalizePaginatedListResponse(response) { if (!response.data) { return { @@ -64936,10 +65037,10 @@ function paginateRest(octokit) { }) }; } -paginateRest.VERSION = VERSION6; +paginateRest.VERSION = VERSION7; // -var VERSION7 = "13.2.6"; +var VERSION8 = "13.2.6"; // var Endpoints = { @@ -67011,7 +67112,7 @@ function restEndpointMethods(octokit) { rest: api }; } -restEndpointMethods.VERSION = VERSION7; +restEndpointMethods.VERSION = VERSION8; function legacyRestEndpointMethods(octokit) { const api = endpointsToMethods(octokit); return { @@ -67019,15 +67120,15 @@ function legacyRestEndpointMethods(octokit) { rest: api }; } -legacyRestEndpointMethods.VERSION = VERSION7; +legacyRestEndpointMethods.VERSION = VERSION8; // -var VERSION8 = "21.0.2"; +var VERSION9 = "21.0.2"; // var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults( { - userAgent: `octokit-rest.js/${VERSION8}` + userAgent: `octokit-rest.js/${VERSION9}` } ); @@ -67282,36 +67383,6 @@ AuthenticatedGitClient._authenticatedInstance = null; // var import_core17 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -67327,7 +67398,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error2 = new RequestError2( + const error2 = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { @@ -67631,11 +67702,11 @@ async function hook2(state, request2, route, parameters) { endpoint2.headers.authorization = `token ${token2}`; return request2(endpoint2); } -var VERSION9 = "0.0.0-development"; +var VERSION10 = "0.0.0-development"; function createOAuthDeviceAuth(options) { const requestWithDefaults = options.request || request.defaults({ headers: { - "user-agent": `octokit-auth-oauth-device.js/${VERSION9} ${getUserAgent()}` + "user-agent": `octokit-auth-oauth-device.js/${VERSION10} ${getUserAgent()}` } }); const { request: request2 = requestWithDefaults, ...otherOptions } = options; @@ -67665,7 +67736,7 @@ function createOAuthDeviceAuth(options) { } // -var VERSION10 = "0.0.0-development"; +var VERSION11 = "0.0.0-development"; async function getAuthentication(state) { if ("code" in state.strategyOptions) { const { authentication } = await exchangeWebFlowCode({ @@ -67824,7 +67895,7 @@ function createOAuthUserAuth({ clientType = "oauth-app", request: request2 = request.defaults({ headers: { - "user-agent": `octokit-auth-oauth-app.js/${VERSION10} ${getUserAgent()}` + "user-agent": `octokit-auth-oauth-app.js/${VERSION11} ${getUserAgent()}` } }), onTokenCreated, @@ -67842,7 +67913,7 @@ function createOAuthUserAuth({ hook: hook3.bind(null, state) }); } -createOAuthUserAuth.VERSION = VERSION10; +createOAuthUserAuth.VERSION = VERSION11; // async function auth4(state, authOptions) { @@ -67905,13 +67976,13 @@ async function hook4(state, request2, route, parameters) { throw error2; } } -var VERSION11 = "0.0.0-development"; +var VERSION12 = "0.0.0-development"; function createOAuthAppAuth(options) { const state = Object.assign( { request: request.defaults({ headers: { - "user-agent": `octokit-auth-oauth-app.js/${VERSION11} ${getUserAgent()}` + "user-agent": `octokit-auth-oauth-app.js/${VERSION12} ${getUserAgent()}` } }), clientType: "oauth-app" @@ -68558,7 +68629,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri return sendRequestWithRetries(state, request2, options, createdAt, retries); } } -var VERSION12 = "7.1.3"; +var VERSION13 = "7.1.3"; function createAppAuth(options) { if (!options.appId) { throw new Error("[@octokit/auth-app] appId option is required"); @@ -68579,7 +68650,7 @@ function createAppAuth(options) { ); const request2 = options.request || request.defaults({ headers: { - "user-agent": `octokit-auth-app.js/${VERSION12} ${getUserAgent()}` + "user-agent": `octokit-auth-app.js/${VERSION13} ${getUserAgent()}` } }); const state = Object.assign( diff --git a/.github/local-actions/labels-sync/main.js b/.github/local-actions/labels-sync/main.js index d9e808d99..1d9c52a63 100644 --- a/.github/local-actions/labels-sync/main.js +++ b/.github/local-actions/labels-sync/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45912,36 +45912,6 @@ var allLabels = { // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -45957,7 +45927,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error = new RequestError2( + const error = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/.github/local-actions/lock-closed/main.js b/.github/local-actions/lock-closed/main.js index 0c630e8f5..d40e0c743 100644 --- a/.github/local-actions/lock-closed/main.js +++ b/.github/local-actions/lock-closed/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45668,36 +45668,6 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -45713,7 +45683,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error2 = new RequestError2( + const error2 = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/github-actions/branch-manager/main.js b/github-actions/branch-manager/main.js index 998fb5eb7..92cdb453f 100644 --- a/github-actions/branch-manager/main.js +++ b/github-actions/branch-manager/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45912,36 +45912,6 @@ var allLabels = { // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -45957,7 +45927,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error = new RequestError2( + const error = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/github-actions/commit-message-based-labels/main.js b/github-actions/commit-message-based-labels/main.js index edf30ea5e..b6dc6db05 100644 --- a/github-actions/commit-message-based-labels/main.js +++ b/github-actions/commit-message-based-labels/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -46377,36 +46377,6 @@ var allLabels = { // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -46422,7 +46392,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error2 = new RequestError2( + const error2 = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/github-actions/feature-request/main.js b/github-actions/feature-request/main.js index f474c3cfa..b43fda0df 100644 --- a/github-actions/feature-request/main.js +++ b/github-actions/feature-request/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError4 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError4 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45668,36 +45668,6 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes } ); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -45713,7 +45683,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error = new RequestError2( + const error = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { @@ -47157,36 +47127,6 @@ var getInputValue = (name, _core = core) => { return num; }; -// -var RequestError3 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // var OctoKit = class { constructor(token, params, options = { readonly: false }) { @@ -47261,7 +47201,7 @@ var OctoKit = class { await this.octokit.issues.getLabel({ ...this.params, name }); return true; } catch (e) { - if (e instanceof RequestError3 && e.status === 404) { + if (e instanceof RequestError && e.status === 404) { return this.options.readonly && this.mockLabels.has(name); } throw e; @@ -47355,7 +47295,7 @@ var OctoKitIssue = class extends OctoKit { name }); } catch (e) { - if (e instanceof RequestError3 && e.status === 404) { + if (e instanceof RequestError && e.status === 404) { log(`Label ${name} not found on issue`); return; } diff --git a/github-actions/org-file-sync/main.js b/github-actions/org-file-sync/main.js index 8f9af6bd3..7de8d2abd 100644 --- a/github-actions/org-file-sync/main.js +++ b/github-actions/org-file-sync/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45668,36 +45668,6 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -45713,7 +45683,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error = new RequestError2( + const error = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/github-actions/post-approval-changes/main.js b/github-actions/post-approval-changes/main.js index ee2dee9d7..93f3c4d42 100644 --- a/github-actions/post-approval-changes/main.js +++ b/github-actions/post-approval-changes/main.js @@ -39157,14 +39157,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45668,36 +45668,6 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -45713,7 +45683,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error = new RequestError2( + const error = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/github-actions/unified-status-check/main.js b/github-actions/unified-status-check/main.js index 57741678d..8c1dbae37 100644 --- a/github-actions/unified-status-check/main.js +++ b/github-actions/unified-status-check/main.js @@ -39253,14 +39253,14 @@ var require_dist_node5 = __commonJS({ var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; __export2(dist_src_exports, { - RequestError: () => RequestError3 + RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); var import_deprecation = require_dist_node4(); var import_once = __toESM2(require_once()); var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); - var RequestError3 = class extends Error { + var RequestError2 = class extends Error { constructor(message, statusCode, options) { super(message); if (Error.captureStackTrace) { @@ -45955,36 +45955,6 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes // var import_core2 = __toESM(require_core()); -// -var RequestError2 = class extends Error { - name; - status; - request; - response; - constructor(message, statusCode, options) { - super(message); - this.name = "HttpError"; - this.status = Number.parseInt(statusCode); - if (Number.isNaN(this.status)) { - this.status = 0; - } - if ("response" in options) { - this.response = options.response; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } -}; - // function requestToOAuthBaseUrl(request2) { const endpointDefaults = request2.endpoint.DEFAULTS; @@ -46000,7 +45970,7 @@ async function oauthRequest(request2, route, parameters) { }; const response = await request2(route, withOAuthParameters); if ("error" in response.data) { - const error = new RequestError2( + const error = new RequestError( `${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`, 400, { diff --git a/package.json b/package.json index 3a1cdf845..708a6d48f 100644 --- a/package.json +++ b/package.json @@ -76,13 +76,13 @@ "@inquirer/prompts": "^7.0.0", "@inquirer/type": "^3.0.0", "@octokit/auth-app": "7.1.3", - "@octokit/core": "6.1.2", - "@octokit/graphql": "8.1.1", + "@octokit/core": "6.1.3", + "@octokit/graphql": "8.1.2", "@octokit/graphql-schema": "patch:@octokit/graphql-schema@npm%3A15.3.0#~/.yarn/patches/@octokit-graphql-schema-npm-15.3.0-4046a59648.patch", "@octokit/openapi-types": "22.2.0", "@octokit/plugin-paginate-rest": "11.3.6", "@octokit/plugin-rest-endpoint-methods": "13.2.6", - "@octokit/request-error": "6.1.5", + "@octokit/request-error": "6.1.6", "@octokit/rest": "21.0.2", "@octokit/types": "13.6.2", "@octokit/webhooks-definitions": "3.67.3", diff --git a/yarn.lock b/yarn.lock index 44822791e..e1a5c161b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -284,13 +284,13 @@ __metadata: "@inquirer/type": "npm:^3.0.0" "@microsoft/api-extractor": "npm:7.48.1" "@octokit/auth-app": "npm:7.1.3" - "@octokit/core": "npm:6.1.2" - "@octokit/graphql": "npm:8.1.1" + "@octokit/core": "npm:6.1.3" + "@octokit/graphql": "npm:8.1.2" "@octokit/graphql-schema": "patch:@octokit/graphql-schema@npm%3A15.3.0#~/.yarn/patches/@octokit-graphql-schema-npm-15.3.0-4046a59648.patch" "@octokit/openapi-types": "npm:22.2.0" "@octokit/plugin-paginate-rest": "npm:11.3.6" "@octokit/plugin-rest-endpoint-methods": "npm:13.2.6" - "@octokit/request-error": "npm:6.1.5" + "@octokit/request-error": "npm:6.1.6" "@octokit/rest": "npm:21.0.2" "@octokit/types": "npm:13.6.2" "@octokit/webhooks-definitions": "npm:3.67.3" @@ -3342,18 +3342,18 @@ __metadata: languageName: node linkType: hard -"@octokit/core@npm:6.1.2, @octokit/core@npm:^6.1.2": - version: 6.1.2 - resolution: "@octokit/core@npm:6.1.2" +"@octokit/core@npm:6.1.3": + version: 6.1.3 + resolution: "@octokit/core@npm:6.1.3" dependencies: "@octokit/auth-token": "npm:^5.0.0" - "@octokit/graphql": "npm:^8.0.0" - "@octokit/request": "npm:^9.0.0" - "@octokit/request-error": "npm:^6.0.1" - "@octokit/types": "npm:^13.0.0" + "@octokit/graphql": "npm:^8.1.2" + "@octokit/request": "npm:^9.1.4" + "@octokit/request-error": "npm:^6.1.6" + "@octokit/types": "npm:^13.6.2" before-after-hook: "npm:^3.0.2" universal-user-agent: "npm:^7.0.0" - checksum: 10c0/f73be16a8013f69197b7744de75537d869f3a2061dda25dcde746d23b87f305bbdc7adbfe044ab0755eec32e6d54d61c73f4ca788d214eba8e88648a3133733e + checksum: 10c0/d02506dfb2771b18d0ee620b92deb75f0458cbf92b975b04c9ad3e50b06813d4c98a598bf1a1cae5757d31166c52a1ef55c30b17f2359f30309731e264ea20d0 languageName: node linkType: hard @@ -3372,6 +3372,21 @@ __metadata: languageName: node linkType: hard +"@octokit/core@npm:^6.1.2": + version: 6.1.2 + resolution: "@octokit/core@npm:6.1.2" + dependencies: + "@octokit/auth-token": "npm:^5.0.0" + "@octokit/graphql": "npm:^8.0.0" + "@octokit/request": "npm:^9.0.0" + "@octokit/request-error": "npm:^6.0.1" + "@octokit/types": "npm:^13.0.0" + before-after-hook: "npm:^3.0.2" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/f73be16a8013f69197b7744de75537d869f3a2061dda25dcde746d23b87f305bbdc7adbfe044ab0755eec32e6d54d61c73f4ca788d214eba8e88648a3133733e + languageName: node + linkType: hard + "@octokit/endpoint@npm:^10.0.0": version: 10.1.1 resolution: "@octokit/endpoint@npm:10.1.1" @@ -3412,14 +3427,14 @@ __metadata: languageName: node linkType: hard -"@octokit/graphql@npm:8.1.1, @octokit/graphql@npm:^8.0.0": - version: 8.1.1 - resolution: "@octokit/graphql@npm:8.1.1" +"@octokit/graphql@npm:8.1.2, @octokit/graphql@npm:^8.1.2": + version: 8.1.2 + resolution: "@octokit/graphql@npm:8.1.2" dependencies: - "@octokit/request": "npm:^9.0.0" - "@octokit/types": "npm:^13.0.0" + "@octokit/request": "npm:^9.1.4" + "@octokit/types": "npm:^13.6.2" universal-user-agent: "npm:^7.0.0" - checksum: 10c0/fe68b89b21416f56bc9c0d19bba96a9a8ee567312b6fb764b05ea0649a5e44bec71665a0013e7c34304eb77c20ad7e7a7cf43b87ea27c280350229d71034c131 + checksum: 10c0/58f08ddbb85e334b5dc07c75ca746781484cb63e0d64edfa8205cd69a2d99c87a9279251a2d24bbdf9a3d45708474eb8d834858cd8f4959da726dbffe96e9e4e languageName: node linkType: hard @@ -3434,6 +3449,17 @@ __metadata: languageName: node linkType: hard +"@octokit/graphql@npm:^8.0.0": + version: 8.1.1 + resolution: "@octokit/graphql@npm:8.1.1" + dependencies: + "@octokit/request": "npm:^9.0.0" + "@octokit/types": "npm:^13.0.0" + universal-user-agent: "npm:^7.0.0" + checksum: 10c0/fe68b89b21416f56bc9c0d19bba96a9a8ee567312b6fb764b05ea0649a5e44bec71665a0013e7c34304eb77c20ad7e7a7cf43b87ea27c280350229d71034c131 + languageName: node + linkType: hard + "@octokit/oauth-authorization-url@npm:^7.0.0": version: 7.1.1 resolution: "@octokit/oauth-authorization-url@npm:7.1.1" @@ -3520,12 +3546,12 @@ __metadata: languageName: node linkType: hard -"@octokit/request-error@npm:6.1.5": - version: 6.1.5 - resolution: "@octokit/request-error@npm:6.1.5" +"@octokit/request-error@npm:6.1.6, @octokit/request-error@npm:^6.0.1, @octokit/request-error@npm:^6.1.0, @octokit/request-error@npm:^6.1.1, @octokit/request-error@npm:^6.1.6": + version: 6.1.6 + resolution: "@octokit/request-error@npm:6.1.6" dependencies: - "@octokit/types": "npm:^13.0.0" - checksum: 10c0/37afef6c072d987ddf50b3438bcc974741a22ee7f788172876f92b5228ed43f5c4c1556a1d73153508d6c8d3a3d2344c7fefb6cde8678c7f63c2115b8629c49b + "@octokit/types": "npm:^13.6.2" + checksum: 10c0/cbbed77ddd1d40a1bed36224667c2fac4c20ce375a78d4648745ad1fedc8c2b1d01343b5908979d5b6557736245637eb58efc65d0cd1ef047ea6be74b46c47d2 languageName: node linkType: hard @@ -3540,15 +3566,6 @@ __metadata: languageName: node linkType: hard -"@octokit/request-error@npm:^6.0.1, @octokit/request-error@npm:^6.1.0, @octokit/request-error@npm:^6.1.1": - version: 6.1.6 - resolution: "@octokit/request-error@npm:6.1.6" - dependencies: - "@octokit/types": "npm:^13.6.2" - checksum: 10c0/cbbed77ddd1d40a1bed36224667c2fac4c20ce375a78d4648745ad1fedc8c2b1d01343b5908979d5b6557736245637eb58efc65d0cd1ef047ea6be74b46c47d2 - languageName: node - linkType: hard - "@octokit/request@npm:^8.3.0, @octokit/request@npm:^8.3.1": version: 8.4.0 resolution: "@octokit/request@npm:8.4.0" @@ -3561,7 +3578,7 @@ __metadata: languageName: node linkType: hard -"@octokit/request@npm:^9.0.0, @octokit/request@npm:^9.0.1, @octokit/request@npm:^9.1.0, @octokit/request@npm:^9.1.1": +"@octokit/request@npm:^9.0.0, @octokit/request@npm:^9.0.1, @octokit/request@npm:^9.1.0, @octokit/request@npm:^9.1.1, @octokit/request@npm:^9.1.4": version: 9.1.4 resolution: "@octokit/request@npm:9.1.4" dependencies: