zotero-plugin 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/branches.js +310 -72
- package/bin/release.js +349 -96
- package/package.json +11 -11
package/bin/branches.js
CHANGED
|
@@ -405,6 +405,102 @@
|
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
407
|
|
|
408
|
+
// node_modules/fast-content-type-parse/index.js
|
|
409
|
+
var require_fast_content_type_parse = __commonJS({
|
|
410
|
+
"node_modules/fast-content-type-parse/index.js"(exports, module) {
|
|
411
|
+
"use strict";
|
|
412
|
+
var NullObject = function NullObject2() {
|
|
413
|
+
};
|
|
414
|
+
NullObject.prototype = /* @__PURE__ */ Object.create(null);
|
|
415
|
+
var paramRE = /; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu;
|
|
416
|
+
var quotedPairRE = /\\([\v\u0020-\u00ff])/gu;
|
|
417
|
+
var mediaTypeRE = /^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;
|
|
418
|
+
var defaultContentType = { type: "", parameters: new NullObject() };
|
|
419
|
+
Object.freeze(defaultContentType.parameters);
|
|
420
|
+
Object.freeze(defaultContentType);
|
|
421
|
+
function parse2(header) {
|
|
422
|
+
if (typeof header !== "string") {
|
|
423
|
+
throw new TypeError("argument header is required and must be a string");
|
|
424
|
+
}
|
|
425
|
+
let index = header.indexOf(";");
|
|
426
|
+
const type = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
427
|
+
if (mediaTypeRE.test(type) === false) {
|
|
428
|
+
throw new TypeError("invalid media type");
|
|
429
|
+
}
|
|
430
|
+
const result = {
|
|
431
|
+
type: type.toLowerCase(),
|
|
432
|
+
parameters: new NullObject()
|
|
433
|
+
};
|
|
434
|
+
if (index === -1) {
|
|
435
|
+
return result;
|
|
436
|
+
}
|
|
437
|
+
let key;
|
|
438
|
+
let match;
|
|
439
|
+
let value;
|
|
440
|
+
paramRE.lastIndex = index;
|
|
441
|
+
while (match = paramRE.exec(header)) {
|
|
442
|
+
if (match.index !== index) {
|
|
443
|
+
throw new TypeError("invalid parameter format");
|
|
444
|
+
}
|
|
445
|
+
index += match[0].length;
|
|
446
|
+
key = match[1].toLowerCase();
|
|
447
|
+
value = match[2];
|
|
448
|
+
if (value[0] === '"') {
|
|
449
|
+
value = value.slice(1, value.length - 1);
|
|
450
|
+
quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1"));
|
|
451
|
+
}
|
|
452
|
+
result.parameters[key] = value;
|
|
453
|
+
}
|
|
454
|
+
if (index !== header.length) {
|
|
455
|
+
throw new TypeError("invalid parameter format");
|
|
456
|
+
}
|
|
457
|
+
return result;
|
|
458
|
+
}
|
|
459
|
+
function safeParse2(header) {
|
|
460
|
+
if (typeof header !== "string") {
|
|
461
|
+
return defaultContentType;
|
|
462
|
+
}
|
|
463
|
+
let index = header.indexOf(";");
|
|
464
|
+
const type = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
465
|
+
if (mediaTypeRE.test(type) === false) {
|
|
466
|
+
return defaultContentType;
|
|
467
|
+
}
|
|
468
|
+
const result = {
|
|
469
|
+
type: type.toLowerCase(),
|
|
470
|
+
parameters: new NullObject()
|
|
471
|
+
};
|
|
472
|
+
if (index === -1) {
|
|
473
|
+
return result;
|
|
474
|
+
}
|
|
475
|
+
let key;
|
|
476
|
+
let match;
|
|
477
|
+
let value;
|
|
478
|
+
paramRE.lastIndex = index;
|
|
479
|
+
while (match = paramRE.exec(header)) {
|
|
480
|
+
if (match.index !== index) {
|
|
481
|
+
return defaultContentType;
|
|
482
|
+
}
|
|
483
|
+
index += match[0].length;
|
|
484
|
+
key = match[1].toLowerCase();
|
|
485
|
+
value = match[2];
|
|
486
|
+
if (value[0] === '"') {
|
|
487
|
+
value = value.slice(1, value.length - 1);
|
|
488
|
+
quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1"));
|
|
489
|
+
}
|
|
490
|
+
result.parameters[key] = value;
|
|
491
|
+
}
|
|
492
|
+
if (index !== header.length) {
|
|
493
|
+
return defaultContentType;
|
|
494
|
+
}
|
|
495
|
+
return result;
|
|
496
|
+
}
|
|
497
|
+
module.exports.default = { parse: parse2, safeParse: safeParse2 };
|
|
498
|
+
module.exports.parse = parse2;
|
|
499
|
+
module.exports.safeParse = safeParse2;
|
|
500
|
+
module.exports.defaultContentType = defaultContentType;
|
|
501
|
+
}
|
|
502
|
+
});
|
|
503
|
+
|
|
408
504
|
// node_modules/dotenv/config.js
|
|
409
505
|
(function() {
|
|
410
506
|
require_main().config(
|
|
@@ -419,7 +515,7 @@
|
|
|
419
515
|
// bin/branches.ts
|
|
420
516
|
var path = __toESM(__require("path"));
|
|
421
517
|
|
|
422
|
-
// node_modules
|
|
518
|
+
// node_modules/universal-user-agent/index.js
|
|
423
519
|
function getUserAgent() {
|
|
424
520
|
if (typeof navigator === "object" && "userAgent" in navigator) {
|
|
425
521
|
return navigator.userAgent;
|
|
@@ -430,7 +526,7 @@
|
|
|
430
526
|
return "<environment undetectable>";
|
|
431
527
|
}
|
|
432
528
|
|
|
433
|
-
// node_modules
|
|
529
|
+
// node_modules/before-after-hook/lib/register.js
|
|
434
530
|
function register(state, name, method, options) {
|
|
435
531
|
if (typeof method !== "function") {
|
|
436
532
|
throw new Error("method for before hook must be a function");
|
|
@@ -453,7 +549,7 @@
|
|
|
453
549
|
});
|
|
454
550
|
}
|
|
455
551
|
|
|
456
|
-
// node_modules
|
|
552
|
+
// node_modules/before-after-hook/lib/add.js
|
|
457
553
|
function addHook(state, kind, name, hook2) {
|
|
458
554
|
const orig = hook2;
|
|
459
555
|
if (!state.registry[name]) {
|
|
@@ -488,7 +584,7 @@
|
|
|
488
584
|
});
|
|
489
585
|
}
|
|
490
586
|
|
|
491
|
-
// node_modules
|
|
587
|
+
// node_modules/before-after-hook/lib/remove.js
|
|
492
588
|
function removeHook(state, name, method) {
|
|
493
589
|
if (!state.registry[name]) {
|
|
494
590
|
return;
|
|
@@ -502,7 +598,7 @@
|
|
|
502
598
|
state.registry[name].splice(index, 1);
|
|
503
599
|
}
|
|
504
600
|
|
|
505
|
-
// node_modules
|
|
601
|
+
// node_modules/before-after-hook/index.js
|
|
506
602
|
var bind = Function.bind;
|
|
507
603
|
var bindable = bind.bind(bind);
|
|
508
604
|
function bindApi(hook2, state, name) {
|
|
@@ -536,7 +632,7 @@
|
|
|
536
632
|
}
|
|
537
633
|
var before_after_hook_default = { Singular, Collection };
|
|
538
634
|
|
|
539
|
-
// node_modules/@octokit/
|
|
635
|
+
// node_modules/@octokit/endpoint/dist-bundle/index.js
|
|
540
636
|
var VERSION = "0.0.0-development";
|
|
541
637
|
var userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
|
|
542
638
|
var DEFAULTS = {
|
|
@@ -560,13 +656,10 @@
|
|
|
560
656
|
}, {});
|
|
561
657
|
}
|
|
562
658
|
function isPlainObject(value) {
|
|
563
|
-
if (typeof value !== "object" || value === null)
|
|
564
|
-
|
|
565
|
-
if (Object.prototype.toString.call(value) !== "[object Object]")
|
|
566
|
-
return false;
|
|
659
|
+
if (typeof value !== "object" || value === null) return false;
|
|
660
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
|
567
661
|
const proto = Object.getPrototypeOf(value);
|
|
568
|
-
if (proto === null)
|
|
569
|
-
return true;
|
|
662
|
+
if (proto === null) return true;
|
|
570
663
|
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
571
664
|
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
|
572
665
|
}
|
|
@@ -574,10 +667,8 @@
|
|
|
574
667
|
const result = Object.assign({}, defaults);
|
|
575
668
|
Object.keys(options).forEach((key) => {
|
|
576
669
|
if (isPlainObject(options[key])) {
|
|
577
|
-
if (!(key in defaults))
|
|
578
|
-
|
|
579
|
-
else
|
|
580
|
-
result[key] = mergeDeep(defaults[key], options[key]);
|
|
670
|
+
if (!(key in defaults)) Object.assign(result, { [key]: options[key] });
|
|
671
|
+
else result[key] = mergeDeep(defaults[key], options[key]);
|
|
581
672
|
} else {
|
|
582
673
|
Object.assign(result, { [key]: options[key] });
|
|
583
674
|
}
|
|
@@ -626,9 +717,9 @@
|
|
|
626
717
|
return `${name}=${encodeURIComponent(parameters[name])}`;
|
|
627
718
|
}).join("&");
|
|
628
719
|
}
|
|
629
|
-
var urlVariableRegex = /\{[^}]+\}/g;
|
|
720
|
+
var urlVariableRegex = /\{[^{}}]+\}/g;
|
|
630
721
|
function removeNonChars(variableName) {
|
|
631
|
-
return variableName.replace(
|
|
722
|
+
return variableName.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g, "").split(/,/);
|
|
632
723
|
}
|
|
633
724
|
function extractUrlVariableNames(url) {
|
|
634
725
|
const matches = url.match(urlVariableRegex);
|
|
@@ -808,7 +899,7 @@
|
|
|
808
899
|
}
|
|
809
900
|
if (url.endsWith("/graphql")) {
|
|
810
901
|
if (options.mediaType.previews?.length) {
|
|
811
|
-
const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
|
|
902
|
+
const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
|
|
812
903
|
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
|
813
904
|
const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
|
814
905
|
return `application/vnd.github.${preview}-preview${format}`;
|
|
@@ -854,7 +945,10 @@
|
|
|
854
945
|
}
|
|
855
946
|
var endpoint = withDefaults(null, DEFAULTS);
|
|
856
947
|
|
|
857
|
-
// node_modules/@octokit/
|
|
948
|
+
// node_modules/@octokit/request/dist-bundle/index.js
|
|
949
|
+
var import_fast_content_type_parse = __toESM(require_fast_content_type_parse(), 1);
|
|
950
|
+
|
|
951
|
+
// node_modules/@octokit/request-error/dist-src/index.js
|
|
858
952
|
var RequestError = class extends Error {
|
|
859
953
|
name;
|
|
860
954
|
/**
|
|
@@ -883,7 +977,7 @@
|
|
|
883
977
|
if (options.request.headers.authorization) {
|
|
884
978
|
requestCopy.headers = Object.assign({}, options.request.headers, {
|
|
885
979
|
authorization: options.request.headers.authorization.replace(
|
|
886
|
-
/ .*$/,
|
|
980
|
+
/(?<! ) .*$/,
|
|
887
981
|
" [REDACTED]"
|
|
888
982
|
)
|
|
889
983
|
});
|
|
@@ -893,7 +987,7 @@
|
|
|
893
987
|
}
|
|
894
988
|
};
|
|
895
989
|
|
|
896
|
-
// node_modules/@octokit/
|
|
990
|
+
// node_modules/@octokit/request/dist-bundle/index.js
|
|
897
991
|
var VERSION2 = "0.0.0-development";
|
|
898
992
|
var defaults_default = {
|
|
899
993
|
headers: {
|
|
@@ -971,7 +1065,7 @@
|
|
|
971
1065
|
data: ""
|
|
972
1066
|
};
|
|
973
1067
|
if ("deprecation" in responseHeaders) {
|
|
974
|
-
const matches = responseHeaders.link && responseHeaders.link.match(/<([
|
|
1068
|
+
const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel="deprecation"/);
|
|
975
1069
|
const deprecationLink = matches && matches.pop();
|
|
976
1070
|
log.warn(
|
|
977
1071
|
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
|
|
@@ -1008,13 +1102,26 @@
|
|
|
1008
1102
|
}
|
|
1009
1103
|
async function getResponseData(response) {
|
|
1010
1104
|
const contentType = response.headers.get("content-type");
|
|
1011
|
-
if (
|
|
1012
|
-
return response.
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
|
|
1105
|
+
if (!contentType) {
|
|
1106
|
+
return response.text().catch(() => "");
|
|
1107
|
+
}
|
|
1108
|
+
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
|
|
1109
|
+
if (isJSONResponse(mimetype)) {
|
|
1110
|
+
let text = "";
|
|
1111
|
+
try {
|
|
1112
|
+
text = await response.text();
|
|
1113
|
+
return JSON.parse(text);
|
|
1114
|
+
} catch (err) {
|
|
1115
|
+
return text;
|
|
1116
|
+
}
|
|
1117
|
+
} else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
|
|
1118
|
+
return response.text().catch(() => "");
|
|
1119
|
+
} else {
|
|
1120
|
+
return response.arrayBuffer().catch(() => new ArrayBuffer(0));
|
|
1016
1121
|
}
|
|
1017
|
-
|
|
1122
|
+
}
|
|
1123
|
+
function isJSONResponse(mimetype) {
|
|
1124
|
+
return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
|
|
1018
1125
|
}
|
|
1019
1126
|
function toErrorMessage(data) {
|
|
1020
1127
|
if (typeof data === "string") {
|
|
@@ -1054,7 +1161,7 @@
|
|
|
1054
1161
|
}
|
|
1055
1162
|
var request = withDefaults2(endpoint, defaults_default);
|
|
1056
1163
|
|
|
1057
|
-
// node_modules/@octokit/
|
|
1164
|
+
// node_modules/@octokit/graphql/dist-bundle/index.js
|
|
1058
1165
|
var VERSION3 = "0.0.0-development";
|
|
1059
1166
|
function _buildMessageForResponseErrors(data) {
|
|
1060
1167
|
return `Request failed due to following response errors:
|
|
@@ -1083,7 +1190,8 @@
|
|
|
1083
1190
|
"headers",
|
|
1084
1191
|
"request",
|
|
1085
1192
|
"query",
|
|
1086
|
-
"mediaType"
|
|
1193
|
+
"mediaType",
|
|
1194
|
+
"operationName"
|
|
1087
1195
|
];
|
|
1088
1196
|
var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"];
|
|
1089
1197
|
var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/;
|
|
@@ -1095,8 +1203,7 @@
|
|
|
1095
1203
|
);
|
|
1096
1204
|
}
|
|
1097
1205
|
for (const key in options) {
|
|
1098
|
-
if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key))
|
|
1099
|
-
continue;
|
|
1206
|
+
if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;
|
|
1100
1207
|
return Promise.reject(
|
|
1101
1208
|
new Error(
|
|
1102
1209
|
`[@octokit/graphql] "${key}" cannot be used as variable name`
|
|
@@ -1161,14 +1268,15 @@
|
|
|
1161
1268
|
});
|
|
1162
1269
|
}
|
|
1163
1270
|
|
|
1164
|
-
// node_modules/@octokit/
|
|
1165
|
-
var
|
|
1166
|
-
var
|
|
1167
|
-
var
|
|
1271
|
+
// node_modules/@octokit/auth-token/dist-bundle/index.js
|
|
1272
|
+
var b64url = "(?:[a-zA-Z0-9_-]+)";
|
|
1273
|
+
var sep = "\\.";
|
|
1274
|
+
var jwtRE = new RegExp(`^${b64url}${sep}${b64url}${sep}${b64url}$`);
|
|
1275
|
+
var isJWT = jwtRE.test.bind(jwtRE);
|
|
1168
1276
|
async function auth(token) {
|
|
1169
|
-
const isApp = token
|
|
1170
|
-
const isInstallation =
|
|
1171
|
-
const isUserToServer =
|
|
1277
|
+
const isApp = isJWT(token);
|
|
1278
|
+
const isInstallation = token.startsWith("v1.") || token.startsWith("ghs_");
|
|
1279
|
+
const isUserToServer = token.startsWith("ghu_");
|
|
1172
1280
|
const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth";
|
|
1173
1281
|
return {
|
|
1174
1282
|
type: "token",
|
|
@@ -1205,10 +1313,10 @@
|
|
|
1205
1313
|
});
|
|
1206
1314
|
};
|
|
1207
1315
|
|
|
1208
|
-
// node_modules/@octokit/
|
|
1209
|
-
var VERSION4 = "6.1.
|
|
1316
|
+
// node_modules/@octokit/core/dist-src/version.js
|
|
1317
|
+
var VERSION4 = "6.1.4";
|
|
1210
1318
|
|
|
1211
|
-
// node_modules/@octokit/
|
|
1319
|
+
// node_modules/@octokit/core/dist-src/index.js
|
|
1212
1320
|
var noop = () => {
|
|
1213
1321
|
};
|
|
1214
1322
|
var consoleWarn = console.warn.bind(console);
|
|
@@ -1362,8 +1470,8 @@
|
|
|
1362
1470
|
}
|
|
1363
1471
|
requestLog.VERSION = VERSION5;
|
|
1364
1472
|
|
|
1365
|
-
// node_modules/@octokit/plugin-paginate-rest/dist-
|
|
1366
|
-
var VERSION6 = "
|
|
1473
|
+
// node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.js
|
|
1474
|
+
var VERSION6 = "0.0.0-development";
|
|
1367
1475
|
function normalizePaginatedListResponse(response) {
|
|
1368
1476
|
if (!response.data) {
|
|
1369
1477
|
return {
|
|
@@ -1372,8 +1480,7 @@
|
|
|
1372
1480
|
};
|
|
1373
1481
|
}
|
|
1374
1482
|
const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
|
|
1375
|
-
if (!responseNeedsNormalization)
|
|
1376
|
-
return response;
|
|
1483
|
+
if (!responseNeedsNormalization) return response;
|
|
1377
1484
|
const incompleteResults = response.data.incomplete_results;
|
|
1378
1485
|
const repositorySelection = response.data.repository_selection;
|
|
1379
1486
|
const totalCount = response.data.total_count;
|
|
@@ -1401,18 +1508,16 @@
|
|
|
1401
1508
|
return {
|
|
1402
1509
|
[Symbol.asyncIterator]: () => ({
|
|
1403
1510
|
async next() {
|
|
1404
|
-
if (!url)
|
|
1405
|
-
return { done: true };
|
|
1511
|
+
if (!url) return { done: true };
|
|
1406
1512
|
try {
|
|
1407
1513
|
const response = await requestMethod({ method, url, headers });
|
|
1408
1514
|
const normalizedResponse = normalizePaginatedListResponse(response);
|
|
1409
1515
|
url = ((normalizedResponse.headers.link || "").match(
|
|
1410
|
-
/<([
|
|
1516
|
+
/<([^<>]+)>;\s*rel="next"/
|
|
1411
1517
|
) || [])[1];
|
|
1412
1518
|
return { value: normalizedResponse };
|
|
1413
1519
|
} catch (error) {
|
|
1414
|
-
if (error.status !== 409)
|
|
1415
|
-
throw error;
|
|
1520
|
+
if (error.status !== 409) throw error;
|
|
1416
1521
|
url = "";
|
|
1417
1522
|
return {
|
|
1418
1523
|
value: {
|
|
@@ -1468,8 +1573,10 @@
|
|
|
1468
1573
|
}
|
|
1469
1574
|
paginateRest.VERSION = VERSION6;
|
|
1470
1575
|
|
|
1471
|
-
// node_modules/@octokit/plugin-rest-endpoint-methods/dist-
|
|
1472
|
-
var VERSION7 = "13.
|
|
1576
|
+
// node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js
|
|
1577
|
+
var VERSION7 = "13.3.1";
|
|
1578
|
+
|
|
1579
|
+
// node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js
|
|
1473
1580
|
var Endpoints = {
|
|
1474
1581
|
actions: {
|
|
1475
1582
|
addCustomLabelsToSelfHostedRunnerForOrg: [
|
|
@@ -1478,6 +1585,9 @@
|
|
|
1478
1585
|
addCustomLabelsToSelfHostedRunnerForRepo: [
|
|
1479
1586
|
"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
1480
1587
|
],
|
|
1588
|
+
addRepoAccessToSelfHostedRunnerGroupInOrg: [
|
|
1589
|
+
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"
|
|
1590
|
+
],
|
|
1481
1591
|
addSelectedRepoToOrgSecret: [
|
|
1482
1592
|
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"
|
|
1483
1593
|
],
|
|
@@ -1906,6 +2016,9 @@
|
|
|
1906
2016
|
getGithubActionsBillingUser: [
|
|
1907
2017
|
"GET /users/{username}/settings/billing/actions"
|
|
1908
2018
|
],
|
|
2019
|
+
getGithubBillingUsageReportOrg: [
|
|
2020
|
+
"GET /organizations/{org}/settings/billing/usage"
|
|
2021
|
+
],
|
|
1909
2022
|
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
|
|
1910
2023
|
getGithubPackagesBillingUser: [
|
|
1911
2024
|
"GET /users/{username}/settings/billing/packages"
|
|
@@ -1942,9 +2055,21 @@
|
|
|
1942
2055
|
update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]
|
|
1943
2056
|
},
|
|
1944
2057
|
codeScanning: {
|
|
2058
|
+
commitAutofix: [
|
|
2059
|
+
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"
|
|
2060
|
+
],
|
|
2061
|
+
createAutofix: [
|
|
2062
|
+
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"
|
|
2063
|
+
],
|
|
2064
|
+
createVariantAnalysis: [
|
|
2065
|
+
"POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"
|
|
2066
|
+
],
|
|
1945
2067
|
deleteAnalysis: [
|
|
1946
2068
|
"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"
|
|
1947
2069
|
],
|
|
2070
|
+
deleteCodeqlDatabase: [
|
|
2071
|
+
"DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"
|
|
2072
|
+
],
|
|
1948
2073
|
getAlert: [
|
|
1949
2074
|
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",
|
|
1950
2075
|
{},
|
|
@@ -1953,11 +2078,20 @@
|
|
|
1953
2078
|
getAnalysis: [
|
|
1954
2079
|
"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"
|
|
1955
2080
|
],
|
|
2081
|
+
getAutofix: [
|
|
2082
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"
|
|
2083
|
+
],
|
|
1956
2084
|
getCodeqlDatabase: [
|
|
1957
2085
|
"GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"
|
|
1958
2086
|
],
|
|
1959
2087
|
getDefaultSetup: ["GET /repos/{owner}/{repo}/code-scanning/default-setup"],
|
|
1960
2088
|
getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],
|
|
2089
|
+
getVariantAnalysis: [
|
|
2090
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"
|
|
2091
|
+
],
|
|
2092
|
+
getVariantAnalysisRepoTask: [
|
|
2093
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"
|
|
2094
|
+
],
|
|
1961
2095
|
listAlertInstances: [
|
|
1962
2096
|
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"
|
|
1963
2097
|
],
|
|
@@ -1980,6 +2114,64 @@
|
|
|
1980
2114
|
],
|
|
1981
2115
|
uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"]
|
|
1982
2116
|
},
|
|
2117
|
+
codeSecurity: {
|
|
2118
|
+
attachConfiguration: [
|
|
2119
|
+
"POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"
|
|
2120
|
+
],
|
|
2121
|
+
attachEnterpriseConfiguration: [
|
|
2122
|
+
"POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"
|
|
2123
|
+
],
|
|
2124
|
+
createConfiguration: ["POST /orgs/{org}/code-security/configurations"],
|
|
2125
|
+
createConfigurationForEnterprise: [
|
|
2126
|
+
"POST /enterprises/{enterprise}/code-security/configurations"
|
|
2127
|
+
],
|
|
2128
|
+
deleteConfiguration: [
|
|
2129
|
+
"DELETE /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
2130
|
+
],
|
|
2131
|
+
deleteConfigurationForEnterprise: [
|
|
2132
|
+
"DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
2133
|
+
],
|
|
2134
|
+
detachConfiguration: [
|
|
2135
|
+
"DELETE /orgs/{org}/code-security/configurations/detach"
|
|
2136
|
+
],
|
|
2137
|
+
getConfiguration: [
|
|
2138
|
+
"GET /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
2139
|
+
],
|
|
2140
|
+
getConfigurationForRepository: [
|
|
2141
|
+
"GET /repos/{owner}/{repo}/code-security-configuration"
|
|
2142
|
+
],
|
|
2143
|
+
getConfigurationsForEnterprise: [
|
|
2144
|
+
"GET /enterprises/{enterprise}/code-security/configurations"
|
|
2145
|
+
],
|
|
2146
|
+
getConfigurationsForOrg: ["GET /orgs/{org}/code-security/configurations"],
|
|
2147
|
+
getDefaultConfigurations: [
|
|
2148
|
+
"GET /orgs/{org}/code-security/configurations/defaults"
|
|
2149
|
+
],
|
|
2150
|
+
getDefaultConfigurationsForEnterprise: [
|
|
2151
|
+
"GET /enterprises/{enterprise}/code-security/configurations/defaults"
|
|
2152
|
+
],
|
|
2153
|
+
getRepositoriesForConfiguration: [
|
|
2154
|
+
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"
|
|
2155
|
+
],
|
|
2156
|
+
getRepositoriesForEnterpriseConfiguration: [
|
|
2157
|
+
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"
|
|
2158
|
+
],
|
|
2159
|
+
getSingleConfigurationForEnterprise: [
|
|
2160
|
+
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
2161
|
+
],
|
|
2162
|
+
setConfigurationAsDefault: [
|
|
2163
|
+
"PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"
|
|
2164
|
+
],
|
|
2165
|
+
setConfigurationAsDefaultForEnterprise: [
|
|
2166
|
+
"PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"
|
|
2167
|
+
],
|
|
2168
|
+
updateConfiguration: [
|
|
2169
|
+
"PATCH /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
2170
|
+
],
|
|
2171
|
+
updateEnterpriseConfiguration: [
|
|
2172
|
+
"PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
2173
|
+
]
|
|
2174
|
+
},
|
|
1983
2175
|
codesOfConduct: {
|
|
1984
2176
|
getAllCodesOfConduct: ["GET /codes_of_conduct"],
|
|
1985
2177
|
getConductCode: ["GET /codes_of_conduct/{key}"]
|
|
@@ -2110,12 +2302,13 @@
|
|
|
2110
2302
|
cancelCopilotSeatAssignmentForUsers: [
|
|
2111
2303
|
"DELETE /orgs/{org}/copilot/billing/selected_users"
|
|
2112
2304
|
],
|
|
2305
|
+
copilotMetricsForOrganization: ["GET /orgs/{org}/copilot/metrics"],
|
|
2306
|
+
copilotMetricsForTeam: ["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],
|
|
2113
2307
|
getCopilotOrganizationDetails: ["GET /orgs/{org}/copilot/billing"],
|
|
2114
2308
|
getCopilotSeatDetailsForUser: [
|
|
2115
2309
|
"GET /orgs/{org}/members/{username}/copilot"
|
|
2116
2310
|
],
|
|
2117
2311
|
listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"],
|
|
2118
|
-
usageMetricsForEnterprise: ["GET /enterprises/{enterprise}/copilot/usage"],
|
|
2119
2312
|
usageMetricsForOrg: ["GET /orgs/{org}/copilot/usage"],
|
|
2120
2313
|
usageMetricsForTeam: ["GET /orgs/{org}/team/{team_slug}/copilot/usage"]
|
|
2121
2314
|
},
|
|
@@ -2246,6 +2439,9 @@
|
|
|
2246
2439
|
"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"
|
|
2247
2440
|
],
|
|
2248
2441
|
addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],
|
|
2442
|
+
addSubIssue: [
|
|
2443
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
|
|
2444
|
+
],
|
|
2249
2445
|
checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"],
|
|
2250
2446
|
checkUserCanBeAssignedToIssue: [
|
|
2251
2447
|
"GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"
|
|
@@ -2288,6 +2484,9 @@
|
|
|
2288
2484
|
"GET /repos/{owner}/{repo}/issues/{issue_number}/labels"
|
|
2289
2485
|
],
|
|
2290
2486
|
listMilestones: ["GET /repos/{owner}/{repo}/milestones"],
|
|
2487
|
+
listSubIssues: [
|
|
2488
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
|
|
2489
|
+
],
|
|
2291
2490
|
lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],
|
|
2292
2491
|
removeAllLabels: [
|
|
2293
2492
|
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"
|
|
@@ -2298,6 +2497,12 @@
|
|
|
2298
2497
|
removeLabel: [
|
|
2299
2498
|
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"
|
|
2300
2499
|
],
|
|
2500
|
+
removeSubIssue: [
|
|
2501
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
|
|
2502
|
+
],
|
|
2503
|
+
reprioritizeSubIssue: [
|
|
2504
|
+
"PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
|
|
2505
|
+
],
|
|
2301
2506
|
setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],
|
|
2302
2507
|
unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],
|
|
2303
2508
|
update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],
|
|
@@ -2371,7 +2576,11 @@
|
|
|
2371
2576
|
},
|
|
2372
2577
|
orgs: {
|
|
2373
2578
|
addSecurityManagerTeam: [
|
|
2374
|
-
"PUT /orgs/{org}/security-managers/teams/{team_slug}"
|
|
2579
|
+
"PUT /orgs/{org}/security-managers/teams/{team_slug}",
|
|
2580
|
+
{},
|
|
2581
|
+
{
|
|
2582
|
+
deprecated: "octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"
|
|
2583
|
+
}
|
|
2375
2584
|
],
|
|
2376
2585
|
assignTeamToOrgRole: [
|
|
2377
2586
|
"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
|
@@ -2387,7 +2596,6 @@
|
|
|
2387
2596
|
convertMemberToOutsideCollaborator: [
|
|
2388
2597
|
"PUT /orgs/{org}/outside_collaborators/{username}"
|
|
2389
2598
|
],
|
|
2390
|
-
createCustomOrganizationRole: ["POST /orgs/{org}/organization-roles"],
|
|
2391
2599
|
createInvitation: ["POST /orgs/{org}/invitations"],
|
|
2392
2600
|
createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"],
|
|
2393
2601
|
createOrUpdateCustomPropertiesValuesForRepos: [
|
|
@@ -2398,12 +2606,13 @@
|
|
|
2398
2606
|
],
|
|
2399
2607
|
createWebhook: ["POST /orgs/{org}/hooks"],
|
|
2400
2608
|
delete: ["DELETE /orgs/{org}"],
|
|
2401
|
-
deleteCustomOrganizationRole: [
|
|
2402
|
-
"DELETE /orgs/{org}/organization-roles/{role_id}"
|
|
2403
|
-
],
|
|
2404
2609
|
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
|
2405
2610
|
enableOrDisableSecurityProductOnAllOrgRepos: [
|
|
2406
|
-
"POST /orgs/{org}/{security_product}/{enablement}"
|
|
2611
|
+
"POST /orgs/{org}/{security_product}/{enablement}",
|
|
2612
|
+
{},
|
|
2613
|
+
{
|
|
2614
|
+
deprecated: "octokit.rest.orgs.enableOrDisableSecurityProductOnAllOrgRepos() is deprecated, see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization"
|
|
2615
|
+
}
|
|
2407
2616
|
],
|
|
2408
2617
|
get: ["GET /orgs/{org}"],
|
|
2409
2618
|
getAllCustomProperties: ["GET /orgs/{org}/properties/schema"],
|
|
@@ -2420,6 +2629,7 @@
|
|
|
2420
2629
|
],
|
|
2421
2630
|
list: ["GET /organizations"],
|
|
2422
2631
|
listAppInstallations: ["GET /orgs/{org}/installations"],
|
|
2632
|
+
listAttestations: ["GET /orgs/{org}/attestations/{subject_digest}"],
|
|
2423
2633
|
listBlockedUsers: ["GET /orgs/{org}/blocks"],
|
|
2424
2634
|
listCustomPropertiesValuesForRepos: ["GET /orgs/{org}/properties/values"],
|
|
2425
2635
|
listFailedInvitations: ["GET /orgs/{org}/failed_invitations"],
|
|
@@ -2445,12 +2655,15 @@
|
|
|
2445
2655
|
listPatGrants: ["GET /orgs/{org}/personal-access-tokens"],
|
|
2446
2656
|
listPendingInvitations: ["GET /orgs/{org}/invitations"],
|
|
2447
2657
|
listPublicMembers: ["GET /orgs/{org}/public_members"],
|
|
2448
|
-
listSecurityManagerTeams: [
|
|
2658
|
+
listSecurityManagerTeams: [
|
|
2659
|
+
"GET /orgs/{org}/security-managers",
|
|
2660
|
+
{},
|
|
2661
|
+
{
|
|
2662
|
+
deprecated: "octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"
|
|
2663
|
+
}
|
|
2664
|
+
],
|
|
2449
2665
|
listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"],
|
|
2450
2666
|
listWebhooks: ["GET /orgs/{org}/hooks"],
|
|
2451
|
-
patchCustomOrganizationRole: [
|
|
2452
|
-
"PATCH /orgs/{org}/organization-roles/{role_id}"
|
|
2453
|
-
],
|
|
2454
2667
|
pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
|
|
2455
2668
|
redeliverWebhookDelivery: [
|
|
2456
2669
|
"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
|
@@ -2467,7 +2680,11 @@
|
|
|
2467
2680
|
"DELETE /orgs/{org}/public_members/{username}"
|
|
2468
2681
|
],
|
|
2469
2682
|
removeSecurityManagerTeam: [
|
|
2470
|
-
"DELETE /orgs/{org}/security-managers/teams/{team_slug}"
|
|
2683
|
+
"DELETE /orgs/{org}/security-managers/teams/{team_slug}",
|
|
2684
|
+
{},
|
|
2685
|
+
{
|
|
2686
|
+
deprecated: "octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"
|
|
2687
|
+
}
|
|
2471
2688
|
],
|
|
2472
2689
|
reviewPatGrantRequest: [
|
|
2473
2690
|
"POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"
|
|
@@ -2593,6 +2810,18 @@
|
|
|
2593
2810
|
"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
2594
2811
|
]
|
|
2595
2812
|
},
|
|
2813
|
+
privateRegistries: {
|
|
2814
|
+
createOrgPrivateRegistry: ["POST /orgs/{org}/private-registries"],
|
|
2815
|
+
deleteOrgPrivateRegistry: [
|
|
2816
|
+
"DELETE /orgs/{org}/private-registries/{secret_name}"
|
|
2817
|
+
],
|
|
2818
|
+
getOrgPrivateRegistry: ["GET /orgs/{org}/private-registries/{secret_name}"],
|
|
2819
|
+
getOrgPublicKey: ["GET /orgs/{org}/private-registries/public-key"],
|
|
2820
|
+
listOrgPrivateRegistries: ["GET /orgs/{org}/private-registries"],
|
|
2821
|
+
updateOrgPrivateRegistry: [
|
|
2822
|
+
"PATCH /orgs/{org}/private-registries/{secret_name}"
|
|
2823
|
+
]
|
|
2824
|
+
},
|
|
2596
2825
|
projects: {
|
|
2597
2826
|
addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"],
|
|
2598
2827
|
createCard: ["POST /projects/columns/{column_id}/cards"],
|
|
@@ -2795,6 +3024,7 @@
|
|
|
2795
3024
|
compareCommitsWithBasehead: [
|
|
2796
3025
|
"GET /repos/{owner}/{repo}/compare/{basehead}"
|
|
2797
3026
|
],
|
|
3027
|
+
createAttestation: ["POST /repos/{owner}/{repo}/attestations"],
|
|
2798
3028
|
createAutolink: ["POST /repos/{owner}/{repo}/autolinks"],
|
|
2799
3029
|
createCommitComment: [
|
|
2800
3030
|
"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"
|
|
@@ -2830,7 +3060,6 @@
|
|
|
2830
3060
|
createPagesSite: ["POST /repos/{owner}/{repo}/pages"],
|
|
2831
3061
|
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
|
2832
3062
|
createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"],
|
|
2833
|
-
createTagProtection: ["POST /repos/{owner}/{repo}/tags/protection"],
|
|
2834
3063
|
createUsingTemplate: [
|
|
2835
3064
|
"POST /repos/{template_owner}/{template_repo}/generate"
|
|
2836
3065
|
],
|
|
@@ -2882,9 +3111,6 @@
|
|
|
2882
3111
|
"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"
|
|
2883
3112
|
],
|
|
2884
3113
|
deleteRepoRuleset: ["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
2885
|
-
deleteTagProtection: [
|
|
2886
|
-
"DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"
|
|
2887
|
-
],
|
|
2888
3114
|
deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
2889
3115
|
disableAutomatedSecurityFixes: [
|
|
2890
3116
|
"DELETE /repos/{owner}/{repo}/automated-security-fixes"
|
|
@@ -3019,6 +3245,9 @@
|
|
|
3019
3245
|
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"
|
|
3020
3246
|
],
|
|
3021
3247
|
listActivities: ["GET /repos/{owner}/{repo}/activity"],
|
|
3248
|
+
listAttestations: [
|
|
3249
|
+
"GET /repos/{owner}/{repo}/attestations/{subject_digest}"
|
|
3250
|
+
],
|
|
3022
3251
|
listAutolinks: ["GET /repos/{owner}/{repo}/autolinks"],
|
|
3023
3252
|
listBranches: ["GET /repos/{owner}/{repo}/branches"],
|
|
3024
3253
|
listBranchesForHeadCommit: [
|
|
@@ -3061,7 +3290,6 @@
|
|
|
3061
3290
|
"GET /repos/{owner}/{repo}/releases/{release_id}/assets"
|
|
3062
3291
|
],
|
|
3063
3292
|
listReleases: ["GET /repos/{owner}/{repo}/releases"],
|
|
3064
|
-
listTagProtection: ["GET /repos/{owner}/{repo}/tags/protection"],
|
|
3065
3293
|
listTags: ["GET /repos/{owner}/{repo}/tags"],
|
|
3066
3294
|
listTeams: ["GET /repos/{owner}/{repo}/teams"],
|
|
3067
3295
|
listWebhookDeliveries: [
|
|
@@ -3176,9 +3404,13 @@
|
|
|
3176
3404
|
users: ["GET /search/users"]
|
|
3177
3405
|
},
|
|
3178
3406
|
secretScanning: {
|
|
3407
|
+
createPushProtectionBypass: [
|
|
3408
|
+
"POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"
|
|
3409
|
+
],
|
|
3179
3410
|
getAlert: [
|
|
3180
3411
|
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"
|
|
3181
3412
|
],
|
|
3413
|
+
getScanHistory: ["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],
|
|
3182
3414
|
listAlertsForEnterprise: [
|
|
3183
3415
|
"GET /enterprises/{enterprise}/secret-scanning/alerts"
|
|
3184
3416
|
],
|
|
@@ -3332,6 +3564,7 @@
|
|
|
3332
3564
|
],
|
|
3333
3565
|
follow: ["PUT /user/following/{username}"],
|
|
3334
3566
|
getAuthenticated: ["GET /user"],
|
|
3567
|
+
getById: ["GET /user/{account_id}"],
|
|
3335
3568
|
getByUsername: ["GET /users/{username}"],
|
|
3336
3569
|
getContextForUser: ["GET /users/{username}/hovercard"],
|
|
3337
3570
|
getGpgKeyForAuthenticated: [
|
|
@@ -3350,6 +3583,7 @@
|
|
|
3350
3583
|
"GET /user/ssh_signing_keys/{ssh_signing_key_id}"
|
|
3351
3584
|
],
|
|
3352
3585
|
list: ["GET /users"],
|
|
3586
|
+
listAttestations: ["GET /users/{username}/attestations/{subject_digest}"],
|
|
3353
3587
|
listBlockedByAuthenticated: [
|
|
3354
3588
|
"GET /user/blocks",
|
|
3355
3589
|
{},
|
|
@@ -3409,6 +3643,8 @@
|
|
|
3409
3643
|
}
|
|
3410
3644
|
};
|
|
3411
3645
|
var endpoints_default = Endpoints;
|
|
3646
|
+
|
|
3647
|
+
// node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js
|
|
3412
3648
|
var endpointMethodsMap = /* @__PURE__ */ new Map();
|
|
3413
3649
|
for (const [scope, endpoints] of Object.entries(endpoints_default)) {
|
|
3414
3650
|
for (const [methodName, endpoint2] of Object.entries(endpoints)) {
|
|
@@ -3530,6 +3766,8 @@
|
|
|
3530
3766
|
}
|
|
3531
3767
|
return Object.assign(withDecorations, requestWithDefaults);
|
|
3532
3768
|
}
|
|
3769
|
+
|
|
3770
|
+
// node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
|
|
3533
3771
|
function restEndpointMethods(octokit2) {
|
|
3534
3772
|
const api = endpointsToMethods(octokit2);
|
|
3535
3773
|
return {
|
|
@@ -3547,7 +3785,7 @@
|
|
|
3547
3785
|
legacyRestEndpointMethods.VERSION = VERSION7;
|
|
3548
3786
|
|
|
3549
3787
|
// node_modules/@octokit/rest/dist-src/version.js
|
|
3550
|
-
var VERSION8 = "21.
|
|
3788
|
+
var VERSION8 = "21.1.1";
|
|
3551
3789
|
|
|
3552
3790
|
// node_modules/@octokit/rest/dist-src/index.js
|
|
3553
3791
|
var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
|