Skip to content

Commit d5bd429

Browse files
committed
build: update octokit monorepo
See associated pull request for more information.
1 parent 7c67703 commit d5bd429

File tree

11 files changed

+593
-149
lines changed

11 files changed

+593
-149
lines changed

.github/local-actions/branch-manager/main.js

Lines changed: 210 additions & 78 deletions
Large diffs are not rendered by default.

.github/local-actions/labels-sync/main.js

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34666,14 +34666,14 @@ var require_dist_node5 = __commonJS({
3466634666
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
3466734667
var dist_src_exports = {};
3466834668
__export(dist_src_exports, {
34669-
RequestError: () => RequestError2
34669+
RequestError: () => RequestError3
3467034670
});
3467134671
module.exports = __toCommonJS(dist_src_exports);
3467234672
var import_deprecation = require_dist_node4();
3467334673
var import_once = __toESM2(require_once());
3467434674
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
3467534675
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
34676-
var RequestError2 = class extends Error {
34676+
var RequestError3 = class extends Error {
3467734677
constructor(message, statusCode, options) {
3467834678
super(message);
3467934679
if (Error.captureStackTrace) {
@@ -41833,6 +41833,36 @@ var allLabels = {
4183341833
//
4183441834
var import_core2 = __toESM(require_core());
4183541835

41836+
//
41837+
var RequestError2 = class extends Error {
41838+
name;
41839+
status;
41840+
request;
41841+
response;
41842+
constructor(message, statusCode, options) {
41843+
super(message);
41844+
this.name = "HttpError";
41845+
this.status = Number.parseInt(statusCode);
41846+
if (Number.isNaN(this.status)) {
41847+
this.status = 0;
41848+
}
41849+
if ("response" in options) {
41850+
this.response = options.response;
41851+
}
41852+
const requestCopy = Object.assign({}, options.request);
41853+
if (options.request.headers.authorization) {
41854+
requestCopy.headers = Object.assign({}, options.request.headers, {
41855+
authorization: options.request.headers.authorization.replace(
41856+
/(?<! ) .*$/,
41857+
" [REDACTED]"
41858+
)
41859+
});
41860+
}
41861+
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
41862+
this.request = requestCopy;
41863+
}
41864+
};
41865+
4183641866
//
4183741867
function requestToOAuthBaseUrl(request2) {
4183841868
const endpointDefaults = request2.endpoint.DEFAULTS;
@@ -41848,7 +41878,7 @@ async function oauthRequest(request2, route, parameters) {
4184841878
};
4184941879
const response = await request2(route, withOAuthParameters);
4185041880
if ("error" in response.data) {
41851-
const error = new RequestError(
41881+
const error = new RequestError2(
4185241882
`${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`,
4185341883
400,
4185441884
{
@@ -43088,7 +43118,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
4308843118
return sendRequestWithRetries(state, request2, options, createdAt, retries);
4308943119
}
4309043120
}
43091-
var VERSION12 = "7.2.1";
43121+
var VERSION12 = "8.0.0";
4309243122
function createAppAuth(options) {
4309343123
if (!options.appId) {
4309443124
throw new Error("[@octokit/auth-app] appId option is required");

.github/local-actions/lock-closed/main.js

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34666,14 +34666,14 @@ var require_dist_node5 = __commonJS({
3466634666
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
3466734667
var dist_src_exports = {};
3466834668
__export(dist_src_exports, {
34669-
RequestError: () => RequestError2
34669+
RequestError: () => RequestError3
3467034670
});
3467134671
module.exports = __toCommonJS(dist_src_exports);
3467234672
var import_deprecation = require_dist_node4();
3467334673
var import_once = __toESM2(require_once());
3467434674
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
3467534675
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
34676-
var RequestError2 = class extends Error {
34676+
var RequestError3 = class extends Error {
3467734677
constructor(message, statusCode, options) {
3467834678
super(message);
3467934679
if (Error.captureStackTrace) {
@@ -41570,6 +41570,36 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes
4157041570
//
4157141571
var import_core2 = __toESM(require_core());
4157241572

41573+
//
41574+
var RequestError2 = class extends Error {
41575+
name;
41576+
status;
41577+
request;
41578+
response;
41579+
constructor(message, statusCode, options) {
41580+
super(message);
41581+
this.name = "HttpError";
41582+
this.status = Number.parseInt(statusCode);
41583+
if (Number.isNaN(this.status)) {
41584+
this.status = 0;
41585+
}
41586+
if ("response" in options) {
41587+
this.response = options.response;
41588+
}
41589+
const requestCopy = Object.assign({}, options.request);
41590+
if (options.request.headers.authorization) {
41591+
requestCopy.headers = Object.assign({}, options.request.headers, {
41592+
authorization: options.request.headers.authorization.replace(
41593+
/(?<! ) .*$/,
41594+
" [REDACTED]"
41595+
)
41596+
});
41597+
}
41598+
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
41599+
this.request = requestCopy;
41600+
}
41601+
};
41602+
4157341603
//
4157441604
function requestToOAuthBaseUrl(request2) {
4157541605
const endpointDefaults = request2.endpoint.DEFAULTS;
@@ -41585,7 +41615,7 @@ async function oauthRequest(request2, route, parameters) {
4158541615
};
4158641616
const response = await request2(route, withOAuthParameters);
4158741617
if ("error" in response.data) {
41588-
const error2 = new RequestError(
41618+
const error2 = new RequestError2(
4158941619
`${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`,
4159041620
400,
4159141621
{
@@ -42825,7 +42855,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
4282542855
return sendRequestWithRetries(state, request2, options, createdAt, retries);
4282642856
}
4282742857
}
42828-
var VERSION12 = "7.2.1";
42858+
var VERSION12 = "8.0.0";
4282942859
function createAppAuth(options) {
4283042860
if (!options.appId) {
4283142861
throw new Error("[@octokit/auth-app] appId option is required");

github-actions/branch-manager/main.js

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34666,14 +34666,14 @@ var require_dist_node5 = __commonJS({
3466634666
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
3466734667
var dist_src_exports = {};
3466834668
__export(dist_src_exports, {
34669-
RequestError: () => RequestError2
34669+
RequestError: () => RequestError3
3467034670
});
3467134671
module.exports = __toCommonJS(dist_src_exports);
3467234672
var import_deprecation = require_dist_node4();
3467334673
var import_once = __toESM2(require_once());
3467434674
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
3467534675
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
34676-
var RequestError2 = class extends Error {
34676+
var RequestError3 = class extends Error {
3467734677
constructor(message, statusCode, options) {
3467834678
super(message);
3467934679
if (Error.captureStackTrace) {
@@ -41833,6 +41833,36 @@ var allLabels = {
4183341833
//
4183441834
var import_core2 = __toESM(require_core());
4183541835

41836+
//
41837+
var RequestError2 = class extends Error {
41838+
name;
41839+
status;
41840+
request;
41841+
response;
41842+
constructor(message, statusCode, options) {
41843+
super(message);
41844+
this.name = "HttpError";
41845+
this.status = Number.parseInt(statusCode);
41846+
if (Number.isNaN(this.status)) {
41847+
this.status = 0;
41848+
}
41849+
if ("response" in options) {
41850+
this.response = options.response;
41851+
}
41852+
const requestCopy = Object.assign({}, options.request);
41853+
if (options.request.headers.authorization) {
41854+
requestCopy.headers = Object.assign({}, options.request.headers, {
41855+
authorization: options.request.headers.authorization.replace(
41856+
/(?<! ) .*$/,
41857+
" [REDACTED]"
41858+
)
41859+
});
41860+
}
41861+
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
41862+
this.request = requestCopy;
41863+
}
41864+
};
41865+
4183641866
//
4183741867
function requestToOAuthBaseUrl(request2) {
4183841868
const endpointDefaults = request2.endpoint.DEFAULTS;
@@ -41848,7 +41878,7 @@ async function oauthRequest(request2, route, parameters) {
4184841878
};
4184941879
const response = await request2(route, withOAuthParameters);
4185041880
if ("error" in response.data) {
41851-
const error = new RequestError(
41881+
const error = new RequestError2(
4185241882
`${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`,
4185341883
400,
4185441884
{
@@ -43088,7 +43118,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
4308843118
return sendRequestWithRetries(state, request2, options, createdAt, retries);
4308943119
}
4309043120
}
43091-
var VERSION12 = "7.2.1";
43121+
var VERSION12 = "8.0.0";
4309243122
function createAppAuth(options) {
4309343123
if (!options.appId) {
4309443124
throw new Error("[@octokit/auth-app] appId option is required");

github-actions/commit-message-based-labels/main.js

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34666,14 +34666,14 @@ var require_dist_node5 = __commonJS({
3466634666
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
3466734667
var dist_src_exports = {};
3466834668
__export(dist_src_exports, {
34669-
RequestError: () => RequestError2
34669+
RequestError: () => RequestError3
3467034670
});
3467134671
module.exports = __toCommonJS(dist_src_exports);
3467234672
var import_deprecation = require_dist_node4();
3467334673
var import_once = __toESM2(require_once());
3467434674
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
3467534675
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
34676-
var RequestError2 = class extends Error {
34676+
var RequestError3 = class extends Error {
3467734677
constructor(message, statusCode, options) {
3467834678
super(message);
3467934679
if (Error.captureStackTrace) {
@@ -42298,6 +42298,36 @@ var allLabels = {
4229842298
//
4229942299
var import_core2 = __toESM(require_core());
4230042300

42301+
//
42302+
var RequestError2 = class extends Error {
42303+
name;
42304+
status;
42305+
request;
42306+
response;
42307+
constructor(message, statusCode, options) {
42308+
super(message);
42309+
this.name = "HttpError";
42310+
this.status = Number.parseInt(statusCode);
42311+
if (Number.isNaN(this.status)) {
42312+
this.status = 0;
42313+
}
42314+
if ("response" in options) {
42315+
this.response = options.response;
42316+
}
42317+
const requestCopy = Object.assign({}, options.request);
42318+
if (options.request.headers.authorization) {
42319+
requestCopy.headers = Object.assign({}, options.request.headers, {
42320+
authorization: options.request.headers.authorization.replace(
42321+
/(?<! ) .*$/,
42322+
" [REDACTED]"
42323+
)
42324+
});
42325+
}
42326+
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
42327+
this.request = requestCopy;
42328+
}
42329+
};
42330+
4230142331
//
4230242332
function requestToOAuthBaseUrl(request2) {
4230342333
const endpointDefaults = request2.endpoint.DEFAULTS;
@@ -42313,7 +42343,7 @@ async function oauthRequest(request2, route, parameters) {
4231342343
};
4231442344
const response = await request2(route, withOAuthParameters);
4231542345
if ("error" in response.data) {
42316-
const error2 = new RequestError(
42346+
const error2 = new RequestError2(
4231742347
`${response.data.error_description} (${response.data.error}, ${response.data.error_uri})`,
4231842348
400,
4231942349
{
@@ -43553,7 +43583,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
4355343583
return sendRequestWithRetries(state, request2, options, createdAt, retries);
4355443584
}
4355543585
}
43556-
var VERSION12 = "7.2.1";
43586+
var VERSION12 = "8.0.0";
4355743587
function createAppAuth(options) {
4355843588
if (!options.appId) {
4355943589
throw new Error("[@octokit/auth-app] appId option is required");

0 commit comments

Comments
 (0)