From bc419befabe94eb5e5ca7e33aea56c546508c46f Mon Sep 17 00:00:00 2001 From: Angular Robot Date: Mon, 24 Mar 2025 07:17:22 +0000 Subject: [PATCH] build: lock file maintenance --- .github/local-actions/branch-manager/main.js | 383 ++++++-- .github/local-actions/labels-sync/main.js | 381 ++++++-- .github/local-actions/lock-closed/main.js | 381 ++++++-- .github/ng-renovate/yarn.lock | 12 +- github-actions/branch-manager/main.js | 381 ++++++-- .../commit-message-based-labels/main.js | 381 ++++++-- github-actions/create-pr-for-changes/main.js | 333 ++++++- github-actions/feature-request/main.js | 381 ++++++-- github-actions/google-internal-tests/main.js | 333 ++++++- github-actions/org-file-sync/main.js | 381 ++++++-- github-actions/post-approval-changes/main.js | 381 ++++++-- .../fetch-workflow-artifact.js | 325 ++++++- github-actions/unified-status-check/main.js | 381 ++++++-- tools/ts_proto/yarn.lock | 6 +- yarn.lock | 883 ++++++------------ 15 files changed, 4001 insertions(+), 1322 deletions(-) diff --git a/.github/local-actions/branch-manager/main.js b/.github/local-actions/branch-manager/main.js index c8557f309..e733d9fd6 100644 --- a/.github/local-actions/branch-manager/main.js +++ b/.github/local-actions/branch-manager/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -33437,7 +33432,7 @@ var require_jsonc_parser = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -33451,7 +33446,7 @@ var require_jsonc_parser = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var main_exports = {}; - __export2(main_exports, { + __export(main_exports, { ParseErrorCode: () => ParseErrorCode, ScanError: () => ScanError, SyntaxKind: () => SyntaxKind, @@ -54622,7 +54617,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -54636,7 +54631,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -55066,7 +55061,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -55084,7 +55079,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -55152,7 +55147,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -55166,7 +55161,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -55360,7 +55355,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -55374,7 +55369,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -55498,7 +55493,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -55512,7 +55507,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -55569,7 +55564,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -55582,17 +55577,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql3 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -55715,7 +55710,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -55729,7 +55724,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -57870,7 +57865,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -57884,7 +57879,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -65322,7 +65317,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -65351,6 +65346,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -65388,6 +65384,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -65476,6 +65475,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -65519,6 +65536,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -65637,6 +65658,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -66154,6 +66178,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -66345,6 +66389,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -66354,6 +66399,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -66370,6 +66416,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -66384,6 +66434,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -66458,6 +66509,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -66571,35 +66623,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -66972,6 +67170,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -67145,7 +67349,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -67200,13 +67410,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -67244,13 +67476,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -68085,7 +68341,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error2; @@ -68443,12 +68699,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -68478,7 +68729,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -68487,7 +68738,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/.github/local-actions/labels-sync/main.js b/.github/local-actions/labels-sync/main.js index 1c6ab8a60..a736349d0 100644 --- a/.github/local-actions/labels-sync/main.js +++ b/.github/local-actions/labels-sync/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -43917,7 +43912,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -43946,6 +43941,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -43983,6 +43979,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44071,6 +44070,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44114,6 +44131,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44232,6 +44253,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -44749,6 +44773,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -44940,6 +44984,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -44949,6 +44994,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -44965,6 +45011,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -44979,6 +45029,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45053,6 +45104,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45166,35 +45218,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45567,6 +45765,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -45740,7 +45944,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -45795,13 +46005,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -45839,13 +46071,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46694,7 +46950,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error; @@ -47052,12 +47308,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -47087,7 +47338,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -47096,7 +47347,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/.github/local-actions/lock-closed/main.js b/.github/local-actions/lock-closed/main.js index d45711e62..a9930ba67 100644 --- a/.github/local-actions/lock-closed/main.js +++ b/.github/local-actions/lock-closed/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -43917,7 +43912,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -43946,6 +43941,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -43983,6 +43979,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44071,6 +44070,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44114,6 +44131,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44232,6 +44253,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -44749,6 +44773,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -44940,6 +44984,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -44949,6 +44994,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -44965,6 +45011,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -44979,6 +45029,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45053,6 +45104,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45166,35 +45218,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45567,6 +45765,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -45740,7 +45944,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -45795,13 +46005,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -45839,13 +46071,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46432,7 +46688,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error2; @@ -46790,12 +47046,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -46825,7 +47076,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -46834,7 +47085,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/.github/ng-renovate/yarn.lock b/.github/ng-renovate/yarn.lock index e726ffc31..572f4f41c 100644 --- a/.github/ng-renovate/yarn.lock +++ b/.github/ng-renovate/yarn.lock @@ -2077,13 +2077,13 @@ __metadata: linkType: hard "@seald-io/nedb@npm:^4.0.4": - version: 4.0.4 - resolution: "@seald-io/nedb@npm:4.0.4" + version: 4.1.1 + resolution: "@seald-io/nedb@npm:4.1.1" dependencies: "@seald-io/binary-search-tree": "npm:^1.0.3" localforage: "npm:^1.9.0" util: "npm:^0.12.4" - checksum: 10c0/1136c924401390f3f108c6a337b685f341e094549bdcfb9be1e40a10e7886996663418fdd847a3e0925417d4ff85c42cfc7e30dac8fafbc6b1686d9a7fd34272 + checksum: 10c0/048baeccbcf01f235c1f17d495a26fcb26b94ee3e9b5126cc0d278b39d5cda7e4499a66181d0b6b6473fecc0a3e8e3c2cd31a49d9f84dce05c232b045dffc477 languageName: node linkType: hard @@ -2849,11 +2849,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:>=13.7.0": - version: 22.13.10 - resolution: "@types/node@npm:22.13.10" + version: 22.13.12 + resolution: "@types/node@npm:22.13.12" dependencies: undici-types: "npm:~6.20.0" - checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9 + checksum: 10c0/c360ee830faf6e5de0a77459c06f5320d166d8d981547bb0e2d921057e3b71ce44bc8c0ede25ee69c7575445d424121c158bc2a059da3c80f0275a1ca4ab4a00 languageName: node linkType: hard diff --git a/github-actions/branch-manager/main.js b/github-actions/branch-manager/main.js index c781dbc2d..5b8895849 100644 --- a/github-actions/branch-manager/main.js +++ b/github-actions/branch-manager/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -43917,7 +43912,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -43946,6 +43941,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -43983,6 +43979,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44071,6 +44070,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44114,6 +44131,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44232,6 +44253,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -44749,6 +44773,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -44940,6 +44984,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -44949,6 +44994,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -44965,6 +45011,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -44979,6 +45029,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45053,6 +45104,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45166,35 +45218,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45567,6 +45765,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -45740,7 +45944,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -45795,13 +46005,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -45839,13 +46071,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46694,7 +46950,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error; @@ -47052,12 +47308,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -47087,7 +47338,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -47096,7 +47347,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/github-actions/commit-message-based-labels/main.js b/github-actions/commit-message-based-labels/main.js index 4a2dcbc26..8795e3ce1 100644 --- a/github-actions/commit-message-based-labels/main.js +++ b/github-actions/commit-message-based-labels/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -44320,7 +44315,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -44349,6 +44344,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -44386,6 +44382,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44474,6 +44473,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44517,6 +44534,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44635,6 +44656,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -45152,6 +45176,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -45343,6 +45387,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -45352,6 +45397,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -45368,6 +45414,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -45382,6 +45432,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45456,6 +45507,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45569,35 +45621,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45970,6 +46168,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -46143,7 +46347,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -46198,13 +46408,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46242,13 +46474,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -47159,7 +47415,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error2; @@ -47517,12 +47773,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -47552,7 +47803,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -47561,7 +47812,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/github-actions/create-pr-for-changes/main.js b/github-actions/create-pr-for-changes/main.js index 8c7ea3b8a..e54f28a5f 100644 --- a/github-actions/create-pr-for-changes/main.js +++ b/github-actions/create-pr-for-changes/main.js @@ -39988,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent5 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request3 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION9 = "5.2.0"; + var VERSION9 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -45091,7 +45091,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -45120,6 +45120,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -45157,6 +45158,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -45245,6 +45249,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -45288,6 +45310,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -45406,6 +45432,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -45923,6 +45952,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -46114,6 +46163,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -46123,6 +46173,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -46139,6 +46190,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -46153,6 +46208,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -46227,6 +46283,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -46340,35 +46397,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } + ], + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -46741,6 +46944,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -46914,7 +47123,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -46969,13 +47184,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -47013,13 +47250,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" diff --git a/github-actions/feature-request/main.js b/github-actions/feature-request/main.js index a008c4603..18ea7d6ee 100644 --- a/github-actions/feature-request/main.js +++ b/github-actions/feature-request/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -43920,7 +43915,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -43949,6 +43944,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -43986,6 +43982,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44074,6 +44073,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44117,6 +44134,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44235,6 +44256,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -44752,6 +44776,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -44943,6 +44987,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -44952,6 +44997,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -44968,6 +45014,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -44982,6 +45032,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45056,6 +45107,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45169,35 +45221,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45570,6 +45768,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -45743,7 +45947,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -45798,13 +46008,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -45842,13 +46074,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46432,7 +46688,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error; @@ -46790,12 +47046,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -46825,7 +47076,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -46834,7 +47085,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/github-actions/google-internal-tests/main.js b/github-actions/google-internal-tests/main.js index f15c8d5a1..f93c22b9f 100644 --- a/github-actions/google-internal-tests/main.js +++ b/github-actions/google-internal-tests/main.js @@ -39992,17 +39992,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent5 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request3 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION9 = "5.2.0"; + var VERSION9 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -45709,7 +45709,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -45738,6 +45738,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -45775,6 +45776,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -45863,6 +45867,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -45906,6 +45928,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -46024,6 +46050,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -46541,6 +46570,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -46732,6 +46781,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -46741,6 +46791,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -46757,6 +46808,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -46771,6 +46826,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -46845,6 +46901,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -46958,35 +47015,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } + ], + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -47359,6 +47562,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -47532,7 +47741,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -47587,13 +47802,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -47631,13 +47868,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" diff --git a/github-actions/org-file-sync/main.js b/github-actions/org-file-sync/main.js index 64ec58cec..f34a9d6f8 100644 --- a/github-actions/org-file-sync/main.js +++ b/github-actions/org-file-sync/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -43917,7 +43912,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -43946,6 +43941,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -43983,6 +43979,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44071,6 +44070,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44114,6 +44131,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44232,6 +44253,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -44749,6 +44773,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -44940,6 +44984,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -44949,6 +44994,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -44965,6 +45011,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -44979,6 +45029,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45053,6 +45104,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45166,35 +45218,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45567,6 +45765,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -45740,7 +45944,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -45795,13 +46005,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -45839,13 +46071,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46432,7 +46688,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error; @@ -46790,12 +47046,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -46825,7 +47076,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -46834,7 +47085,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/github-actions/post-approval-changes/main.js b/github-actions/post-approval-changes/main.js index 009ad4b2b..2b3da6bc5 100644 --- a/github-actions/post-approval-changes/main.js +++ b/github-actions/post-approval-changes/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39033,7 +39028,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39047,7 +39042,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39477,7 +39472,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39495,7 +39490,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39563,7 +39558,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39577,7 +39572,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39771,7 +39766,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39785,7 +39780,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -39909,7 +39904,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39923,7 +39918,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -39980,7 +39975,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39993,17 +39988,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40126,7 +40121,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40140,7 +40135,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42281,7 +42276,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42295,7 +42290,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -43917,7 +43912,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -43946,6 +43941,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -43983,6 +43979,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44071,6 +44070,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44114,6 +44131,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44232,6 +44253,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -44749,6 +44773,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -44940,6 +44984,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -44949,6 +44994,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -44965,6 +45011,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -44979,6 +45029,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45053,6 +45104,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45166,35 +45218,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45567,6 +45765,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -45740,7 +45944,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -45795,13 +46005,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -45839,13 +46071,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46432,7 +46688,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error; @@ -46790,12 +47046,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -46825,7 +47076,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -46834,7 +47085,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/github-actions/previews/upload-artifacts-to-firebase/fetch-workflow-artifact.js b/github-actions/previews/upload-artifacts-to-firebase/fetch-workflow-artifact.js index a84ca0eb3..97a63eb76 100644 --- a/github-actions/previews/upload-artifacts-to-firebase/fetch-workflow-artifact.js +++ b/github-actions/previews/upload-artifacts-to-firebase/fetch-workflow-artifact.js @@ -1176,7 +1176,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -1205,6 +1205,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -1242,6 +1243,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -1330,6 +1334,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -1373,6 +1395,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -1491,6 +1517,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -2008,6 +2037,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -2199,6 +2248,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -2208,6 +2258,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -2224,6 +2275,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -2238,6 +2293,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -2312,6 +2368,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -2425,35 +2482,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -2826,6 +3029,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -2999,7 +3208,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -3054,13 +3269,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -3098,13 +3335,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" diff --git a/github-actions/unified-status-check/main.js b/github-actions/unified-status-check/main.js index 1d52ee492..217484701 100644 --- a/github-actions/unified-status-check/main.js +++ b/github-actions/unified-status-check/main.js @@ -19,10 +19,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) @@ -31,7 +27,6 @@ var __copyProps = (to, from, except, desc) => { } return to; }; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod @@ -39129,7 +39124,7 @@ var require_dist_node3 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39143,7 +39138,7 @@ var require_dist_node3 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { endpoint: () => endpoint2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39573,7 +39568,7 @@ var require_dist_node5 = __commonJS({ var __getOwnPropNames2 = Object.getOwnPropertyNames; var __getProtoOf2 = Object.getPrototypeOf; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39591,7 +39586,7 @@ var require_dist_node5 = __commonJS({ )); var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { RequestError: () => RequestError2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39659,7 +39654,7 @@ var require_dist_node6 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39673,7 +39668,7 @@ var require_dist_node6 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { request: () => request2 }); module.exports = __toCommonJS(dist_src_exports); @@ -39867,7 +39862,7 @@ var require_dist_node7 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -39881,7 +39876,7 @@ var require_dist_node7 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var index_exports = {}; - __export2(index_exports, { + __export(index_exports, { GraphqlResponseError: () => GraphqlResponseError2, graphql: () => graphql22, withCustomRequest: () => withCustomRequest2 @@ -40005,7 +40000,7 @@ var require_dist_node8 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40019,7 +40014,7 @@ var require_dist_node8 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { createTokenAuth: () => createTokenAuth3 }); module.exports = __toCommonJS(dist_src_exports); @@ -40076,7 +40071,7 @@ var require_dist_node9 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40089,17 +40084,17 @@ var require_dist_node9 = __commonJS({ return to; }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); - var dist_src_exports = {}; - __export2(dist_src_exports, { + var index_exports = {}; + __export(index_exports, { Octokit: () => Octokit3 }); - module.exports = __toCommonJS(dist_src_exports); + module.exports = __toCommonJS(index_exports); var import_universal_user_agent9 = require_dist_node(); var import_before_after_hook2 = require_before_after_hook(); var import_request15 = require_dist_node6(); var import_graphql2 = require_dist_node7(); var import_auth_token2 = require_dist_node8(); - var VERSION13 = "5.2.0"; + var VERSION13 = "5.2.1"; var noop2 = () => { }; var consoleWarn2 = console.warn.bind(console); @@ -40222,7 +40217,7 @@ var require_dist_node10 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -40236,7 +40231,7 @@ var require_dist_node10 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { legacyRestEndpointMethods: () => legacyRestEndpointMethods2, restEndpointMethods: () => restEndpointMethods2 }); @@ -42377,7 +42372,7 @@ var require_dist_node11 = __commonJS({ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; - var __export2 = (target, all) => { + var __export = (target, all) => { for (var name in all) __defProp2(target, name, { get: all[name], enumerable: true }); }; @@ -42391,7 +42386,7 @@ var require_dist_node11 = __commonJS({ }; var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod); var dist_src_exports = {}; - __export2(dist_src_exports, { + __export(dist_src_exports, { composePaginateRest: () => composePaginateRest2, isPaginatingEndpoint: () => isPaginatingEndpoint, paginateRest: () => paginateRest2, @@ -44204,7 +44199,7 @@ function paginateRest(octokit) { paginateRest.VERSION = VERSION6; // -var VERSION7 = "13.3.1"; +var VERSION7 = "13.5.0"; // var Endpoints = { @@ -44233,6 +44228,7 @@ var Endpoints = { createEnvironmentVariable: [ "POST /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"], createOrUpdateEnvironmentSecret: [ "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" ], @@ -44270,6 +44266,9 @@ var Endpoints = { deleteEnvironmentVariable: [ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + deleteHostedRunnerForOrg: [ + "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteRepoSecret: [ @@ -44358,6 +44357,24 @@ var Endpoints = { getGithubActionsPermissionsRepository: [ "GET /repos/{owner}/{repo}/actions/permissions" ], + getHostedRunnerForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], + getHostedRunnersGithubOwnedImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/github-owned" + ], + getHostedRunnersLimitsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/limits" + ], + getHostedRunnersMachineSpecsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/machine-sizes" + ], + getHostedRunnersPartnerImagesForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/images/partner" + ], + getHostedRunnersPlatformsForOrg: [ + "GET /orgs/{org}/actions/hosted-runners/platforms" + ], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], @@ -44401,6 +44418,10 @@ var Endpoints = { listEnvironmentVariables: [ "GET /repos/{owner}/{repo}/environments/{environment_name}/variables" ], + listGithubHostedRunnersInGroupForOrg: [ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners" + ], + listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"], listJobsForWorkflowRun: [ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" ], @@ -44519,6 +44540,9 @@ var Endpoints = { updateEnvironmentVariable: [ "PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" ], + updateHostedRunnerForOrg: [ + "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}" + ], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], updateRepoVariable: [ "PATCH /repos/{owner}/{repo}/actions/variables/{name}" @@ -45036,6 +45060,26 @@ var Endpoints = { getAllTemplates: ["GET /gitignore/templates"], getTemplate: ["GET /gitignore/templates/{name}"] }, + hostedCompute: { + createNetworkConfigurationForOrg: [ + "POST /orgs/{org}/settings/network-configurations" + ], + deleteNetworkConfigurationFromOrg: [ + "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkConfigurationForOrg: [ + "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ], + getNetworkSettingsForOrg: [ + "GET /orgs/{org}/settings/network-settings/{network_settings_id}" + ], + listNetworkConfigurationsForOrg: [ + "GET /orgs/{org}/settings/network-configurations" + ], + updateNetworkConfigurationForOrg: [ + "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}" + ] + }, interactions: { getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], @@ -45227,6 +45271,7 @@ var Endpoints = { "PUT /orgs/{org}/outside_collaborators/{username}" ], createInvitation: ["POST /orgs/{org}/invitations"], + createIssueType: ["POST /orgs/{org}/issue-types"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomPropertiesValuesForRepos: [ "PATCH /orgs/{org}/properties/values" @@ -45236,6 +45281,7 @@ var Endpoints = { ], createWebhook: ["POST /orgs/{org}/hooks"], delete: ["DELETE /orgs/{org}"], + deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], enableOrDisableSecurityProductOnAllOrgRepos: [ "POST /orgs/{org}/{security_product}/{enablement}", @@ -45252,6 +45298,10 @@ var Endpoints = { getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], + getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"], + getOrgRulesetVersion: [ + "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}" + ], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookDelivery: [ @@ -45266,6 +45316,7 @@ var Endpoints = { listForAuthenticatedUser: ["GET /user/orgs"], listForUser: ["GET /users/{username}/orgs"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listIssueTypes: ["GET /orgs/{org}/issue-types"], listMembers: ["GET /orgs/{org}/members"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], @@ -45340,6 +45391,7 @@ var Endpoints = { ], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], update: ["PATCH /orgs/{org}"], + updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"], updateMembershipForAuthenticatedUser: [ "PATCH /user/memberships/orgs/{org}" ], @@ -45453,35 +45505,181 @@ var Endpoints = { ] }, projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], + addCollaborator: [ + "PUT /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.addCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#add-project-collaborator" + } + ], + createCard: [ + "POST /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.createCard() is deprecated, see https://docs.github.com/rest/projects/cards#create-a-project-card" + } + ], + createColumn: [ + "POST /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.createColumn() is deprecated, see https://docs.github.com/rest/projects/columns#create-a-project-column" + } + ], + createForAuthenticatedUser: [ + "POST /user/projects", + {}, + { + deprecated: "octokit.rest.projects.createForAuthenticatedUser() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-user-project" + } + ], + createForOrg: [ + "POST /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#create-an-organization-project" + } + ], + createForRepo: [ + "POST /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.createForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#create-a-repository-project" + } + ], + delete: [ + "DELETE /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.delete() is deprecated, see https://docs.github.com/rest/projects/projects#delete-a-project" + } + ], + deleteCard: [ + "DELETE /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteCard() is deprecated, see https://docs.github.com/rest/projects/cards#delete-a-project-card" + } + ], + deleteColumn: [ + "DELETE /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.deleteColumn() is deprecated, see https://docs.github.com/rest/projects/columns#delete-a-project-column" + } + ], + get: [ + "GET /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.get() is deprecated, see https://docs.github.com/rest/projects/projects#get-a-project" + } + ], + getCard: [ + "GET /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.getCard() is deprecated, see https://docs.github.com/rest/projects/cards#get-a-project-card" + } + ], + getColumn: [ + "GET /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.getColumn() is deprecated, see https://docs.github.com/rest/projects/columns#get-a-project-column" + } + ], getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], + "GET /projects/{project_id}/collaborators/{username}/permission", + {}, + { + deprecated: "octokit.rest.projects.getPermissionForUser() is deprecated, see https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user" + } + ], + listCards: [ + "GET /projects/columns/{column_id}/cards", + {}, + { + deprecated: "octokit.rest.projects.listCards() is deprecated, see https://docs.github.com/rest/projects/cards#list-project-cards" + } + ], + listCollaborators: [ + "GET /projects/{project_id}/collaborators", + {}, + { + deprecated: "octokit.rest.projects.listCollaborators() is deprecated, see https://docs.github.com/rest/projects/collaborators#list-project-collaborators" + } + ], + listColumns: [ + "GET /projects/{project_id}/columns", + {}, + { + deprecated: "octokit.rest.projects.listColumns() is deprecated, see https://docs.github.com/rest/projects/columns#list-project-columns" + } + ], + listForOrg: [ + "GET /orgs/{org}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForOrg() is deprecated, see https://docs.github.com/rest/projects/projects#list-organization-projects" + } + ], + listForRepo: [ + "GET /repos/{owner}/{repo}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForRepo() is deprecated, see https://docs.github.com/rest/projects/projects#list-repository-projects" + } + ], + listForUser: [ + "GET /users/{username}/projects", + {}, + { + deprecated: "octokit.rest.projects.listForUser() is deprecated, see https://docs.github.com/rest/projects/projects#list-user-projects" + } + ], + moveCard: [ + "POST /projects/columns/cards/{card_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveCard() is deprecated, see https://docs.github.com/rest/projects/cards#move-a-project-card" + } + ], + moveColumn: [ + "POST /projects/columns/{column_id}/moves", + {}, + { + deprecated: "octokit.rest.projects.moveColumn() is deprecated, see https://docs.github.com/rest/projects/columns#move-a-project-column" + } + ], removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" + "DELETE /projects/{project_id}/collaborators/{username}", + {}, + { + deprecated: "octokit.rest.projects.removeCollaborator() is deprecated, see https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator" + } ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] + update: [ + "PATCH /projects/{project_id}", + {}, + { + deprecated: "octokit.rest.projects.update() is deprecated, see https://docs.github.com/rest/projects/projects#update-a-project" + } + ], + updateCard: [ + "PATCH /projects/columns/cards/{card_id}", + {}, + { + deprecated: "octokit.rest.projects.updateCard() is deprecated, see https://docs.github.com/rest/projects/cards#update-an-existing-project-card" + } + ], + updateColumn: [ + "PATCH /projects/columns/{column_id}", + {}, + { + deprecated: "octokit.rest.projects.updateColumn() is deprecated, see https://docs.github.com/rest/projects/columns#update-an-existing-project-column" + } + ] }, pulls: { checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], @@ -45854,6 +46052,12 @@ var Endpoints = { ], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], + getRepoRulesetHistory: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history" + ], + getRepoRulesetVersion: [ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}" + ], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], getStatusChecksProtection: [ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" @@ -46027,7 +46231,13 @@ var Endpoints = { search: { code: ["GET /search/code"], commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], + issuesAndPullRequests: [ + "GET /search/issues", + {}, + { + deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests" + } + ], labels: ["GET /search/labels"], repos: ["GET /search/repositories"], topics: ["GET /search/topics"], @@ -46082,13 +46292,35 @@ var Endpoints = { "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" ], addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions" + } + ], + addOrUpdateProjectPermissionsLegacy: [ + "PUT /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.addOrUpdateProjectPermissionsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy" + } ], addOrUpdateRepoPermissionsInOrg: [ "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" ], checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project" + } + ], + checkPermissionsForProjectLegacy: [ + "GET /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.checkPermissionsForProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy" + } ], checkPermissionsForRepoInOrg: [ "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46126,13 +46358,37 @@ var Endpoints = { listPendingInvitationsInOrg: [ "GET /orgs/{org}/teams/{team_slug}/invitations" ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], + listProjectsInOrg: [ + "GET /orgs/{org}/teams/{team_slug}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects" + } + ], + listProjectsLegacy: [ + "GET /teams/{team_id}/projects", + {}, + { + deprecated: "octokit.rest.teams.listProjectsLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#list-team-projects-legacy" + } + ], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], removeMembershipForUserInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" ], removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectInOrg() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team" + } + ], + removeProjectLegacy: [ + "DELETE /teams/{team_id}/projects/{project_id}", + {}, + { + deprecated: "octokit.rest.teams.removeProjectLegacy() is deprecated, see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy" + } ], removeRepoInOrg: [ "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" @@ -46719,7 +46975,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification) return waitForAccessToken(request2, clientId, clientType, verification); } if (errorType === "slow_down") { - await wait(verification.interval + 5); + await wait(verification.interval + 7); return waitForAccessToken(request2, clientId, clientType, verification); } throw error; @@ -47077,12 +47333,7 @@ function base64encodeJSON(obj) { } // -var crypto_node_exports = {}; -__export(crypto_node_exports, { - convertPrivateKey: () => convertPrivateKey -}); -__reExport(crypto_node_exports, node_crypto_star); -import * as node_crypto_star from "node:crypto"; +import { subtle } from "node:crypto"; import { createPrivateKey } from "node:crypto"; function convertPrivateKey(privateKey) { if (!isPkcs1(privateKey)) @@ -47112,7 +47363,7 @@ async function getToken({ privateKey, payload }) { }; const header = { alg: "RS256", typ: "JWT" }; const privateKeyDER = getDERfromPEM(convertedPrivateKey); - const importedKey = await crypto_node_exports.subtle.importKey( + const importedKey = await subtle.importKey( "pkcs8", privateKeyDER, algorithm, @@ -47121,7 +47372,7 @@ async function getToken({ privateKey, payload }) { ); const encodedMessage = getEncodedMessage(header, payload); const encodedMessageArrBuf = string2ArrayBuffer(encodedMessage); - const signatureArrBuf = await crypto_node_exports.subtle.sign( + const signatureArrBuf = await subtle.sign( algorithm.name, importedKey, encodedMessageArrBuf diff --git a/tools/ts_proto/yarn.lock b/tools/ts_proto/yarn.lock index f9ec8b03a..49db783bf 100644 --- a/tools/ts_proto/yarn.lock +++ b/tools/ts_proto/yarn.lock @@ -147,11 +147,11 @@ __metadata: linkType: hard "@types/node@npm:>=13.7.0": - version: 22.13.10 - resolution: "@types/node@npm:22.13.10" + version: 22.13.12 + resolution: "@types/node@npm:22.13.12" dependencies: undici-types: "npm:~6.20.0" - checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9 + checksum: 10c0/c360ee830faf6e5de0a77459c06f5320d166d8d981547bb0e2d921057e3b71ce44bc8c0ede25ee69c7575445d424121c158bc2a059da3c80f0275a1ca4ab4a00 languageName: node linkType: hard diff --git a/yarn.lock b/yarn.lock index f6f16de80..1da08d71d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -73,9 +73,9 @@ __metadata: languageName: node linkType: hard -"@angular-devkit/core@npm:19.2.2": - version: 19.2.2 - resolution: "@angular-devkit/core@npm:19.2.2" +"@angular-devkit/core@npm:19.2.4": + version: 19.2.4 + resolution: "@angular-devkit/core@npm:19.2.4" dependencies: ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" @@ -88,7 +88,7 @@ __metadata: peerDependenciesMeta: chokidar: optional: true - checksum: 10c0/dc7527030177058d832ec30ebced707686fce1e9676a534414aec536379f6acfc664aadec20b96f16ec86b6108ce200b74e4dea0d5d2ea1d00b6b3d75c67fc82 + checksum: 10c0/c42ec0de4b421a0f6b4c61e3d4e0a27eaa4446d33fae5f19c54dc3bc0ff4dbf2f1d7db713ebf4e97481a41bd24c85d48238cb08df7ba1aba70ced7a5c7005b60 languageName: node linkType: hard @@ -111,16 +111,16 @@ __metadata: languageName: node linkType: hard -"@angular-devkit/schematics@npm:19.2.2, @angular-devkit/schematics@npm:^19.0.0": - version: 19.2.2 - resolution: "@angular-devkit/schematics@npm:19.2.2" +"@angular-devkit/schematics@npm:19.2.4, @angular-devkit/schematics@npm:^19.0.0": + version: 19.2.4 + resolution: "@angular-devkit/schematics@npm:19.2.4" dependencies: - "@angular-devkit/core": "npm:19.2.2" + "@angular-devkit/core": "npm:19.2.4" jsonc-parser: "npm:3.3.1" magic-string: "npm:0.30.17" ora: "npm:5.4.1" rxjs: "npm:7.8.1" - checksum: 10c0/2e2141462478d2799030fa2ed7e2076945846a828c994d742518a9df8d4f5d18a10c883fc7503aecb240423a1c5b210e99a0a9af5f2c4ed979ecb619c56a6195 + checksum: 10c0/7b34f212d9fd3fa813121a5645ebfc9e34be875e041f1431ae1a577f9c65251af5b444a205b535d03ee81f5f639ab757531063643462278ef7dcaed454090158 languageName: node linkType: hard @@ -719,19 +719,6 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.26.9": - version: 7.26.9 - resolution: "@babel/generator@npm:7.26.9" - dependencies: - "@babel/parser": "npm:^7.26.9" - "@babel/types": "npm:^7.26.9" - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.25" - jsesc: "npm:^3.0.2" - checksum: 10c0/6b78872128205224a9a9761b9ea7543a9a7902a04b82fc2f6801ead4de8f59056bab3fd17b1f834ca7b049555fc4c79234b9a6230dd9531a06525306050becad - languageName: node - linkType: hard - "@babel/helper-annotate-as-pure@npm:7.25.9, @babel/helper-annotate-as-pure@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-annotate-as-pure@npm:7.25.9" @@ -848,18 +835,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.9": - version: 7.26.9 - resolution: "@babel/parser@npm:7.26.9" - dependencies: - "@babel/types": "npm:^7.26.9" - bin: - parser: ./bin/babel-parser.js - checksum: 10c0/4b9ef3c9a0d4c328e5e5544f50fe8932c36f8a2c851e7f14a85401487cd3da75cad72c2e1bcec1eac55599a6bbb2fdc091f274c4fcafa6bdd112d4915ff087fc - languageName: node - linkType: hard - -"@babel/parser@npm:^7.26.10": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.26.9": version: 7.26.10 resolution: "@babel/parser@npm:7.26.10" dependencies: @@ -905,22 +881,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.25.9": - version: 7.26.9 - resolution: "@babel/traverse@npm:7.26.9" - dependencies: - "@babel/code-frame": "npm:^7.26.2" - "@babel/generator": "npm:^7.26.9" - "@babel/parser": "npm:^7.26.9" - "@babel/template": "npm:^7.26.9" - "@babel/types": "npm:^7.26.9" - debug: "npm:^4.3.1" - globals: "npm:^11.1.0" - checksum: 10c0/51dd57fa39ea34d04816806bfead04c74f37301269d24c192d1406dc6e244fea99713b3b9c5f3e926d9ef6aa9cd5c062ad4f2fc1caa9cf843d5e864484ac955e - languageName: node - linkType: hard - -"@babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.8": +"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.8": version: 7.26.10 resolution: "@babel/traverse@npm:7.26.10" dependencies: @@ -935,17 +896,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.9": - version: 7.26.9 - resolution: "@babel/types@npm:7.26.9" - dependencies: - "@babel/helper-string-parser": "npm:^7.25.9" - "@babel/helper-validator-identifier": "npm:^7.25.9" - checksum: 10c0/999c56269ba00e5c57aa711fbe7ff071cd6990bafd1b978341ea7572cc78919986e2aa6ee51dacf4b6a7a6fa63ba4eb3f1a03cf55eee31b896a56d068b895964 - languageName: node - linkType: hard - -"@babel/types@npm:^7.26.10": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10, @babel/types@npm:^7.26.9": version: 7.26.10 resolution: "@babel/types@npm:7.26.10" dependencies: @@ -1446,22 +1397,6 @@ __metadata: languageName: node linkType: hard -"@firebase/app-check-compat@npm:0.3.19": - version: 0.3.19 - resolution: "@firebase/app-check-compat@npm:0.3.19" - dependencies: - "@firebase/app-check": "npm:0.8.12" - "@firebase/app-check-types": "npm:0.5.3" - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app-compat": 0.x - checksum: 10c0/eaf9fd7b97f94e5917fa2ffd8c50454a1bd3c109b2e524e77d16649c5d51c82a8a932abbfae8cfae142f9cca55c89fc641cab56e59ea726b8eb7264ee8f5f13d - languageName: node - linkType: hard - "@firebase/app-check-compat@npm:0.3.20": version: 0.3.20 resolution: "@firebase/app-check-compat@npm:0.3.20" @@ -1492,20 +1427,6 @@ __metadata: languageName: node linkType: hard -"@firebase/app-check@npm:0.8.12": - version: 0.8.12 - resolution: "@firebase/app-check@npm:0.8.12" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app": 0.x - checksum: 10c0/b31c99d49d79e7ccd379875da96b1d5d3be8c111b3b745a640e58439848bd54b5f8c7dc88d4d1fbbd2bae85d862f60c6c6c4f014d00477eed270037e2cbb49a8 - languageName: node - linkType: hard - "@firebase/app-check@npm:0.8.13": version: 0.8.13 resolution: "@firebase/app-check@npm:0.8.13" @@ -1520,19 +1441,6 @@ __metadata: languageName: node linkType: hard -"@firebase/app-compat@npm:0.2.51": - version: 0.2.51 - resolution: "@firebase/app-compat@npm:0.2.51" - dependencies: - "@firebase/app": "npm:0.11.2" - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - checksum: 10c0/c2331ea93fd56398ada1643d67ed856d47e20137b782950c03c44cb05d138c0ddbf2ae6bd3b127a47e3d71469c5bcd96ae9d8f2390076c910cac715efaa2eb9f - languageName: node - linkType: hard - "@firebase/app-compat@npm:0.2.52": version: 0.2.52 resolution: "@firebase/app-compat@npm:0.2.52" @@ -1553,19 +1461,6 @@ __metadata: languageName: node linkType: hard -"@firebase/app@npm:0.11.2": - version: 0.11.2 - resolution: "@firebase/app@npm:0.11.2" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - idb: "npm:7.1.1" - tslib: "npm:^2.1.0" - checksum: 10c0/4e8f5a959e90eaf5f24ba803946023ada99bbd8d4ee1a05c161350d8154b180b760fac18f0912fb9dd6cd86b5903ff4f62a823757d3e899521c3b6f9a3965c01 - languageName: node - linkType: hard - "@firebase/app@npm:0.11.3": version: 0.11.3 resolution: "@firebase/app@npm:0.11.3" @@ -1639,21 +1534,6 @@ __metadata: languageName: node linkType: hard -"@firebase/data-connect@npm:0.3.1": - version: 0.3.1 - resolution: "@firebase/data-connect@npm:0.3.1" - dependencies: - "@firebase/auth-interop-types": "npm:0.2.4" - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app": 0.x - checksum: 10c0/5071d6be3095bdd713c9606cbc32b639ca1d859a8af8efebed11b445c897f2dc6c2f3ac7f1862932e97f18901a0267b26532e4377d3e8b6fa5e54aabf470eeb5 - languageName: node - linkType: hard - "@firebase/data-connect@npm:0.3.2": version: 0.3.2 resolution: "@firebase/data-connect@npm:0.3.2" @@ -1669,21 +1549,7 @@ __metadata: languageName: node linkType: hard -"@firebase/database-compat@npm:2.0.4, @firebase/database-compat@npm:^2.0.0": - version: 2.0.4 - resolution: "@firebase/database-compat@npm:2.0.4" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/database": "npm:1.0.13" - "@firebase/database-types": "npm:1.0.9" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - checksum: 10c0/d59c9e113c9e1dfc95d6f191fc5d547c1549e74733d6ef65ce0b1f51fc1043d3a307077ebd0c4cffe79ec1f39ad61c7b324a4b1e0f2241fba5c1efbde61d26a7 - languageName: node - linkType: hard - -"@firebase/database-compat@npm:2.0.5": +"@firebase/database-compat@npm:2.0.5, @firebase/database-compat@npm:^2.0.0": version: 2.0.5 resolution: "@firebase/database-compat@npm:2.0.5" dependencies: @@ -1697,7 +1563,7 @@ __metadata: languageName: node linkType: hard -"@firebase/database-types@npm:1.0.10": +"@firebase/database-types@npm:1.0.10, @firebase/database-types@npm:^1.0.6": version: 1.0.10 resolution: "@firebase/database-types@npm:1.0.10" dependencies: @@ -1707,31 +1573,6 @@ __metadata: languageName: node linkType: hard -"@firebase/database-types@npm:1.0.9, @firebase/database-types@npm:^1.0.6": - version: 1.0.9 - resolution: "@firebase/database-types@npm:1.0.9" - dependencies: - "@firebase/app-types": "npm:0.9.3" - "@firebase/util": "npm:1.11.0" - checksum: 10c0/95a6e1ba8ad5fcc0786f47088dd703e5fc7a0d6ad4d712b2feec0065cefae7683327d7e90320f4a025015ddb72543db9c62a73277589bc965963251f299fefbb - languageName: node - linkType: hard - -"@firebase/database@npm:1.0.13": - version: 1.0.13 - resolution: "@firebase/database@npm:1.0.13" - dependencies: - "@firebase/app-check-interop-types": "npm:0.3.3" - "@firebase/auth-interop-types": "npm:0.2.4" - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - faye-websocket: "npm:0.11.4" - tslib: "npm:^2.1.0" - checksum: 10c0/ec48d7a4836f2d350a704bbc03b835c6a30398607302a308da1edd7603037925cd0c6c418c22a9c64150e7c82971a080f861db10d569814afc5768d0c806c34e - languageName: node - linkType: hard - "@firebase/database@npm:1.0.14": version: 1.0.14 resolution: "@firebase/database@npm:1.0.14" @@ -1747,21 +1588,6 @@ __metadata: languageName: node linkType: hard -"@firebase/firestore-compat@npm:0.3.44": - version: 0.3.44 - resolution: "@firebase/firestore-compat@npm:0.3.44" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/firestore": "npm:4.7.9" - "@firebase/firestore-types": "npm:3.0.3" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app-compat": 0.x - checksum: 10c0/0c1793086f111706a56595f18714508e0d573e01661cbd889b53748491b41a6c6925c6f9e2f56f4fe2a95b808cb325759b729d830dad00ff7aff38779fcb92e0 - languageName: node - linkType: hard - "@firebase/firestore-compat@npm:0.3.45": version: 0.3.45 resolution: "@firebase/firestore-compat@npm:0.3.45" @@ -1804,23 +1630,6 @@ __metadata: languageName: node linkType: hard -"@firebase/firestore@npm:4.7.9": - version: 4.7.9 - resolution: "@firebase/firestore@npm:4.7.9" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - "@firebase/webchannel-wrapper": "npm:1.0.3" - "@grpc/grpc-js": "npm:~1.9.0" - "@grpc/proto-loader": "npm:^0.7.8" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app": 0.x - checksum: 10c0/fe1684d73c9ec279caddbdbd2a4e65ae4d82b56af97c3a7a8aec91dc96a8dd5ab069f2a48b994f4159de06381faa9bba885db8683b2935d8c3b21f9fdf9fdd01 - languageName: node - linkType: hard - "@firebase/functions-compat@npm:0.3.20": version: 0.3.20 resolution: "@firebase/functions-compat@npm:0.3.20" @@ -1943,22 +1752,6 @@ __metadata: languageName: node linkType: hard -"@firebase/performance-compat@npm:0.2.14": - version: 0.2.14 - resolution: "@firebase/performance-compat@npm:0.2.14" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/performance": "npm:0.7.1" - "@firebase/performance-types": "npm:0.2.3" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app-compat": 0.x - checksum: 10c0/e5251005ff6135745334f56c9933d2707a2ed60d7c61f6e282afbbefe5e750a49bc5e637281c5bdb236858ff520fffd7db5305805ddf1bf697862bc22a765a9c - languageName: node - linkType: hard - "@firebase/performance-compat@npm:0.2.15": version: 0.2.15 resolution: "@firebase/performance-compat@npm:0.2.15" @@ -1982,22 +1775,6 @@ __metadata: languageName: node linkType: hard -"@firebase/performance@npm:0.7.1": - version: 0.7.1 - resolution: "@firebase/performance@npm:0.7.1" - dependencies: - "@firebase/component": "npm:0.6.13" - "@firebase/installations": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - web-vitals: "npm:^4.2.4" - peerDependencies: - "@firebase/app": 0.x - checksum: 10c0/178a51f69930ad48075c2cd6240b7c1bf21cf875454c114a98534588f935708b8876b16e44093454ea794c1af0cccc033a02042e66c8257513847b117cb29d12 - languageName: node - linkType: hard - "@firebase/performance@npm:0.7.2": version: 0.7.2 resolution: "@firebase/performance@npm:0.7.2" @@ -2099,22 +1876,6 @@ __metadata: languageName: node linkType: hard -"@firebase/vertexai@npm:1.1.0": - version: 1.1.0 - resolution: "@firebase/vertexai@npm:1.1.0" - dependencies: - "@firebase/app-check-interop-types": "npm:0.3.3" - "@firebase/component": "npm:0.6.13" - "@firebase/logger": "npm:0.4.4" - "@firebase/util": "npm:1.11.0" - tslib: "npm:^2.1.0" - peerDependencies: - "@firebase/app": 0.x - "@firebase/app-types": 0.x - checksum: 10c0/fc46253590426751ee733259ffdbb0cc186b62b484183a7f68d1ad039e322c448c54368fdd42b0fc10b466c47e99cfae1a41944c59de8c706ae240526182257c - languageName: node - linkType: hard - "@firebase/vertexai@npm:1.2.0": version: 1.2.0 resolution: "@firebase/vertexai@npm:1.2.0" @@ -2139,14 +1900,14 @@ __metadata: linkType: hard "@google-cloud/cloud-sql-connector@npm:^1.3.3": - version: 1.6.1 - resolution: "@google-cloud/cloud-sql-connector@npm:1.6.1" + version: 1.7.0 + resolution: "@google-cloud/cloud-sql-connector@npm:1.7.0" dependencies: - "@googleapis/sqladmin": "npm:^24.0.0" + "@googleapis/sqladmin": "npm:^27.0.0" gaxios: "npm:^6.1.1" google-auth-library: "npm:^9.2.0" p-throttle: "npm:^7.0.0" - checksum: 10c0/f65fb8c3a1116c759400ce5e9b333f9348e1f5f8c58fef1190c97e057ea5673e70610b7dda6c1af24c7b7bd2a602b1978efb421171eedbaa148450b3402f0643 + checksum: 10c0/f779ce3c18fed65b0ba5c8991bf0db3dc6037ebeda4f2bd667a71d0cf58b897670ef4b08464588f34821fdb9583d0af33ed7a11b4bc0ef9c67be849d06f4cfb2 languageName: node linkType: hard @@ -2302,22 +2063,22 @@ __metadata: languageName: node linkType: hard -"@googleapis/sqladmin@npm:^24.0.0": - version: 24.0.0 - resolution: "@googleapis/sqladmin@npm:24.0.0" +"@googleapis/sqladmin@npm:^27.0.0": + version: 27.0.0 + resolution: "@googleapis/sqladmin@npm:27.0.0" dependencies: googleapis-common: "npm:^7.0.0" - checksum: 10c0/7d993fc29c328815877886c7cdf99589e09e1f6b33219aa161fa906c26c08a76d44fdf3316595fc0aa5467171df678092f73c5b79a1929bbcd6a74e097683e52 + checksum: 10c0/985153cf2829b08199b4d7c6d571a68894ab13a1c238b6b6b74b3f8720523d9c8c471e0d7fede68295d7d248e65ed34fcb399c40b30e3eddc18a2d3ada28957c languageName: node linkType: hard "@grpc/grpc-js@npm:^1.10.9, @grpc/grpc-js@npm:^1.7.0": - version: 1.13.0 - resolution: "@grpc/grpc-js@npm:1.13.0" + version: 1.13.1 + resolution: "@grpc/grpc-js@npm:1.13.1" dependencies: "@grpc/proto-loader": "npm:^0.7.13" "@js-sdsl/ordered-map": "npm:^4.4.2" - checksum: 10c0/c760d5eb5ee07c4cfd5dcd83ee62d5232d5776b5d1ce5d436edc53402ec16ef053d3a283f48ce832f4635009dbd411ac7586495a7d053fc5f202e95811cf4129 + checksum: 10c0/0123363064350094553bd6d22469d039887eeb2e23b246947c302e7e079d5ad273955e08c74c478ac5c00b97d1138766886503010109adc3298148e7866aa4cc languageName: node linkType: hard @@ -2763,17 +2524,6 @@ __metadata: languageName: node linkType: hard -"@microsoft/api-extractor-model@npm:7.30.3": - version: 7.30.3 - resolution: "@microsoft/api-extractor-model@npm:7.30.3" - dependencies: - "@microsoft/tsdoc": "npm:~0.15.1" - "@microsoft/tsdoc-config": "npm:~0.17.1" - "@rushstack/node-core-library": "npm:5.11.0" - checksum: 10c0/2c6f41435bc927470ae90325955d12f5d19a8aa58fab2a5ebe6b7c4eaa5b84288d65b6abec40703f68275a0702b01fdce1850067b0631ca8c0e24a72dfa3b13a - languageName: node - linkType: hard - "@microsoft/api-extractor-model@npm:7.30.4": version: 7.30.4 resolution: "@microsoft/api-extractor-model@npm:7.30.4" @@ -2785,7 +2535,7 @@ __metadata: languageName: node linkType: hard -"@microsoft/api-extractor@npm:7.52.1": +"@microsoft/api-extractor@npm:7.52.1, @microsoft/api-extractor@npm:^7.24.2": version: 7.52.1 resolution: "@microsoft/api-extractor@npm:7.52.1" dependencies: @@ -2808,29 +2558,6 @@ __metadata: languageName: node linkType: hard -"@microsoft/api-extractor@npm:^7.24.2": - version: 7.50.1 - resolution: "@microsoft/api-extractor@npm:7.50.1" - dependencies: - "@microsoft/api-extractor-model": "npm:7.30.3" - "@microsoft/tsdoc": "npm:~0.15.1" - "@microsoft/tsdoc-config": "npm:~0.17.1" - "@rushstack/node-core-library": "npm:5.11.0" - "@rushstack/rig-package": "npm:0.5.3" - "@rushstack/terminal": "npm:0.15.0" - "@rushstack/ts-command-line": "npm:4.23.5" - lodash: "npm:~4.17.15" - minimatch: "npm:~3.0.3" - resolve: "npm:~1.22.1" - semver: "npm:~7.5.4" - source-map: "npm:~0.6.1" - typescript: "npm:5.7.3" - bin: - api-extractor: bin/api-extractor - checksum: 10c0/b73be3cdd234163f23d86fa8b5072c5a1078fe9befa4afb4ce147e5de79270e72bd4a0293dc03e786cb9755f9dc7f00b99fc5bceea373978b9665528386f8187 - languageName: node - linkType: hard - "@microsoft/tsdoc-config@npm:~0.17.1": version: 0.17.1 resolution: "@microsoft/tsdoc-config@npm:0.17.1" @@ -3256,14 +2983,14 @@ __metadata: linkType: hard "@octokit/auth-oauth-device@npm:^7.1.3": - version: 7.1.3 - resolution: "@octokit/auth-oauth-device@npm:7.1.3" + version: 7.1.4 + resolution: "@octokit/auth-oauth-device@npm:7.1.4" dependencies: "@octokit/oauth-methods": "npm:^5.1.4" "@octokit/request": "npm:^9.2.1" "@octokit/types": "npm:^13.6.2" universal-user-agent: "npm:^7.0.0" - checksum: 10c0/23373396fb93b55ccccc9b3a1b0ed2cf5ef9da7d2244a1450bea674c00060cdc6614185e387ff8c9d2958c9b20aa0ec1d4f61b7f50caebbd39e638c0fe603f3d + checksum: 10c0/ab67d89ee1d514fdc21a4b5657e8b77f2381bb1eec24c5b1e3f5d2e3b516e32db36a225e89d0f08401e70e20eb4ab06ddbc4592d2ab5e57b63b7803345849ed6 languageName: node linkType: hard @@ -3310,17 +3037,17 @@ __metadata: linkType: hard "@octokit/core@npm:^5.0.1": - version: 5.2.0 - resolution: "@octokit/core@npm:5.2.0" + version: 5.2.1 + resolution: "@octokit/core@npm:5.2.1" dependencies: "@octokit/auth-token": "npm:^4.0.0" "@octokit/graphql": "npm:^7.1.0" - "@octokit/request": "npm:^8.3.1" - "@octokit/request-error": "npm:^5.1.0" + "@octokit/request": "npm:^8.4.1" + "@octokit/request-error": "npm:^5.1.1" "@octokit/types": "npm:^13.0.0" before-after-hook: "npm:^2.2.0" universal-user-agent: "npm:^6.0.0" - checksum: 10c0/9dc5cf55b335da382f340ef74c8009c06a1f7157b0530d3ff6cacf179887811352dcd405448e37849d73f17b28970b7817995be2260ce902dad52b91905542f0 + checksum: 10c0/9759c70a6a6477a636f336d717657761243bab0e9d34c4012a8b2d70aafd89ba3d24289fb7e05352999c6ec526fe572b8aff9ad59e90761842fb72fb7d59ed95 languageName: node linkType: hard @@ -3405,7 +3132,7 @@ __metadata: languageName: node linkType: hard -"@octokit/openapi-types@npm:24.1.0, @octokit/openapi-types@npm:^24.0.0": +"@octokit/openapi-types@npm:24.1.0": version: 24.1.0 resolution: "@octokit/openapi-types@npm:24.1.0" checksum: 10c0/87d65951b52b6645017d9c6933fdfb62ff93c28450d790aa05a7c29ec9c9d026789838afaf396cf0ea121ccd6eaf45ae0d0709551e0da7b563256ae1de857030 @@ -3419,14 +3146,14 @@ __metadata: languageName: node linkType: hard -"@octokit/openapi-types@npm:^23.0.1": - version: 23.0.1 - resolution: "@octokit/openapi-types@npm:23.0.1" - checksum: 10c0/ab734ceb26343d9f051a59503b8cb5bdc7fec9ca044b60511b227179bec73141dd9144a6b2d68bcd737741881b136c1b7d5392da89ae2e35e39acc489e5eb4c1 +"@octokit/openapi-types@npm:^24.0.0, @octokit/openapi-types@npm:^24.2.0": + version: 24.2.0 + resolution: "@octokit/openapi-types@npm:24.2.0" + checksum: 10c0/8f47918b35e9b7f6109be6f7c8fc3a64ad13a48233112b29e92559e64a564b810eb3ebf81b4cd0af1bb2989d27b9b95cca96e841ec4e23a3f68703cefe62fd9e languageName: node linkType: hard -"@octokit/plugin-paginate-rest@npm:11.4.3, @octokit/plugin-paginate-rest@npm:^11.4.2": +"@octokit/plugin-paginate-rest@npm:11.4.3": version: 11.4.3 resolution: "@octokit/plugin-paginate-rest@npm:11.4.3" dependencies: @@ -3437,6 +3164,17 @@ __metadata: languageName: node linkType: hard +"@octokit/plugin-paginate-rest@npm:^11.4.2": + version: 11.6.0 + resolution: "@octokit/plugin-paginate-rest@npm:11.6.0" + dependencies: + "@octokit/types": "npm:^13.10.0" + peerDependencies: + "@octokit/core": ">=6" + checksum: 10c0/f5c8751a1cd08f972a84d0e0534d1f72c178648c64ec2b57f8d924a04b81cc616338e397fb1400c02d7ffda7b6147835cbdbae07a2673f963217d2d59768daaa + languageName: node + linkType: hard + "@octokit/plugin-paginate-rest@npm:^9.0.0": version: 9.2.2 resolution: "@octokit/plugin-paginate-rest@npm:9.2.2" @@ -3457,7 +3195,7 @@ __metadata: languageName: node linkType: hard -"@octokit/plugin-rest-endpoint-methods@npm:13.3.1, @octokit/plugin-rest-endpoint-methods@npm:^13.3.0": +"@octokit/plugin-rest-endpoint-methods@npm:13.3.1": version: 13.3.1 resolution: "@octokit/plugin-rest-endpoint-methods@npm:13.3.1" dependencies: @@ -3479,6 +3217,17 @@ __metadata: languageName: node linkType: hard +"@octokit/plugin-rest-endpoint-methods@npm:^13.3.0": + version: 13.5.0 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:13.5.0" + dependencies: + "@octokit/types": "npm:^13.10.0" + peerDependencies: + "@octokit/core": ">=6" + checksum: 10c0/0dd5fcdc01ac82abeab26fa32fd1c504732918bc70ad8e16924dd4d155dfd4bc8b57f2326c5012276885b9d59be3eb1e8d0b2576f5915a3b3343f26359cdba5e + languageName: node + linkType: hard + "@octokit/request-error@npm:6.1.7, @octokit/request-error@npm:^6.1.7": version: 6.1.7 resolution: "@octokit/request-error@npm:6.1.7" @@ -3488,7 +3237,7 @@ __metadata: languageName: node linkType: hard -"@octokit/request-error@npm:^5.1.0, @octokit/request-error@npm:^5.1.1": +"@octokit/request-error@npm:^5.1.1": version: 5.1.1 resolution: "@octokit/request-error@npm:5.1.1" dependencies: @@ -3499,7 +3248,7 @@ __metadata: languageName: node linkType: hard -"@octokit/request@npm:^8.3.1, @octokit/request@npm:^8.4.1": +"@octokit/request@npm:^8.4.1": version: 8.4.1 resolution: "@octokit/request@npm:8.4.1" dependencies: @@ -3554,12 +3303,12 @@ __metadata: languageName: node linkType: hard -"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.6.2, @octokit/types@npm:^13.7.0, @octokit/types@npm:^13.8.0": - version: 13.8.0 - resolution: "@octokit/types@npm:13.8.0" +"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.10.0, @octokit/types@npm:^13.6.2, @octokit/types@npm:^13.7.0, @octokit/types@npm:^13.8.0": + version: 13.10.0 + resolution: "@octokit/types@npm:13.10.0" dependencies: - "@octokit/openapi-types": "npm:^23.0.1" - checksum: 10c0/e08c2fcf10e374f18e4c9fa12a6ada33a40f112d1209012a39f0ce40ae7aa9dcf0598b6007b467f63cc4a97e7b1388d6eed34ddef61494655e08b5a95afaad97 + "@octokit/openapi-types": "npm:^24.2.0" + checksum: 10c0/f66a401b89d653ec28e5c1529abdb7965752db4d9d40fa54c80e900af4c6bf944af6bd0a83f5b4f1eecb72e3d646899dfb27ffcf272ac243552de7e3b97a038d languageName: node linkType: hard @@ -4006,13 +3755,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.35.0" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@rollup/rollup-android-arm-eabi@npm:4.36.0": version: 4.36.0 resolution: "@rollup/rollup-android-arm-eabi@npm:4.36.0" @@ -4020,10 +3762,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-android-arm64@npm:4.35.0" - conditions: os=android & cpu=arm64 +"@rollup/rollup-android-arm-eabi@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.37.0" + conditions: os=android & cpu=arm languageName: node linkType: hard @@ -4034,10 +3776,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.35.0" - conditions: os=darwin & cpu=arm64 +"@rollup/rollup-android-arm64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-android-arm64@npm:4.37.0" + conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -4048,10 +3790,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.35.0" - conditions: os=darwin & cpu=x64 +"@rollup/rollup-darwin-arm64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.37.0" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -4062,10 +3804,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.35.0" - conditions: os=freebsd & cpu=arm64 +"@rollup/rollup-darwin-x64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.37.0" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -4076,10 +3818,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-freebsd-x64@npm:4.35.0" - conditions: os=freebsd & cpu=x64 +"@rollup/rollup-freebsd-arm64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.37.0" + conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -4090,10 +3832,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.35.0" - conditions: os=linux & cpu=arm & libc=glibc +"@rollup/rollup-freebsd-x64@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-freebsd-x64@npm:4.37.0" + conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -4104,10 +3846,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.35.0" - conditions: os=linux & cpu=arm & libc=musl +"@rollup/rollup-linux-arm-gnueabihf@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.37.0" + conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard @@ -4118,10 +3860,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.35.0" - conditions: os=linux & cpu=arm64 & libc=glibc +"@rollup/rollup-linux-arm-musleabihf@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.37.0" + conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard @@ -4132,10 +3874,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.35.0" - conditions: os=linux & cpu=arm64 & libc=musl +"@rollup/rollup-linux-arm64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.37.0" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -4146,10 +3888,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-loongarch64-gnu@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.35.0" - conditions: os=linux & cpu=loong64 & libc=glibc +"@rollup/rollup-linux-arm64-musl@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.37.0" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -4160,10 +3902,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.35.0" - conditions: os=linux & cpu=ppc64 & libc=glibc +"@rollup/rollup-linux-loongarch64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.37.0" + conditions: os=linux & cpu=loong64 & libc=glibc languageName: node linkType: hard @@ -4174,10 +3916,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.35.0" - conditions: os=linux & cpu=riscv64 & libc=glibc +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.37.0" + conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard @@ -4188,10 +3930,17 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.35.0" - conditions: os=linux & cpu=s390x & libc=glibc +"@rollup/rollup-linux-riscv64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.37.0" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-musl@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.37.0" + conditions: os=linux & cpu=riscv64 & libc=musl languageName: node linkType: hard @@ -4202,10 +3951,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.35.0" - conditions: os=linux & cpu=x64 & libc=glibc +"@rollup/rollup-linux-s390x-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.37.0" + conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard @@ -4216,10 +3965,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.35.0" - conditions: os=linux & cpu=x64 & libc=musl +"@rollup/rollup-linux-x64-gnu@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.37.0" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -4230,10 +3979,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.35.0" - conditions: os=win32 & cpu=arm64 +"@rollup/rollup-linux-x64-musl@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.37.0" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -4244,10 +3993,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.35.0" - conditions: os=win32 & cpu=ia32 +"@rollup/rollup-win32-arm64-msvc@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.37.0" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -4258,10 +4007,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.35.0": - version: 4.35.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.35.0" - conditions: os=win32 & cpu=x64 +"@rollup/rollup-win32-ia32-msvc@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.37.0" + conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -4272,24 +4021,10 @@ __metadata: languageName: node linkType: hard -"@rushstack/node-core-library@npm:5.11.0": - version: 5.11.0 - resolution: "@rushstack/node-core-library@npm:5.11.0" - dependencies: - ajv: "npm:~8.13.0" - ajv-draft-04: "npm:~1.0.0" - ajv-formats: "npm:~3.0.1" - fs-extra: "npm:~11.3.0" - import-lazy: "npm:~4.0.0" - jju: "npm:~1.4.0" - resolve: "npm:~1.22.1" - semver: "npm:~7.5.4" - peerDependencies: - "@types/node": "*" - peerDependenciesMeta: - "@types/node": - optional: true - checksum: 10c0/7de70fdfa0274ce2fd5e2617c38156143172d852730d03ffb7cfec9ebd6f1bbbc595b81527a189956ee89fe419d9e7d51ffaeaa2d0ee2fc2deae7d24531b7ffb +"@rollup/rollup-win32-x64-msvc@npm:4.37.0": + version: 4.37.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.37.0" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -4324,21 +4059,6 @@ __metadata: languageName: node linkType: hard -"@rushstack/terminal@npm:0.15.0": - version: 0.15.0 - resolution: "@rushstack/terminal@npm:0.15.0" - dependencies: - "@rushstack/node-core-library": "npm:5.11.0" - supports-color: "npm:~8.1.1" - peerDependencies: - "@types/node": "*" - peerDependenciesMeta: - "@types/node": - optional: true - checksum: 10c0/44e23353e8a4b8024d10d01b9a05fd8d736ddbe2d595a12bfcd290c27842fef156e2471f5e61eed62bad733bd692ba261f1e642c2b1547a0009927805e74e2a6 - languageName: node - linkType: hard - "@rushstack/terminal@npm:0.15.1": version: 0.15.1 resolution: "@rushstack/terminal@npm:0.15.1" @@ -4354,18 +4074,6 @@ __metadata: languageName: node linkType: hard -"@rushstack/ts-command-line@npm:4.23.5": - version: 4.23.5 - resolution: "@rushstack/ts-command-line@npm:4.23.5" - dependencies: - "@rushstack/terminal": "npm:0.15.0" - "@types/argparse": "npm:1.0.38" - argparse: "npm:~1.0.9" - string-argv: "npm:~0.3.1" - checksum: 10c0/8c4330620658227bb7af27031d720a826f6a8b92f281cc433393c52968475fddc0031d86477f1676377878130b926b2efb7893edb2d73cdb1fa23444b792e88a - languageName: node - linkType: hard - "@rushstack/ts-command-line@npm:4.23.6": version: 4.23.6 resolution: "@rushstack/ts-command-line@npm:4.23.6" @@ -4390,13 +4098,13 @@ __metadata: linkType: hard "@schematics/angular@npm:^19.0.0": - version: 19.2.2 - resolution: "@schematics/angular@npm:19.2.2" + version: 19.2.4 + resolution: "@schematics/angular@npm:19.2.4" dependencies: - "@angular-devkit/core": "npm:19.2.2" - "@angular-devkit/schematics": "npm:19.2.2" + "@angular-devkit/core": "npm:19.2.4" + "@angular-devkit/schematics": "npm:19.2.4" jsonc-parser: "npm:3.3.1" - checksum: 10c0/46e162755d57c3a0f14f9db6f056917ce2f8ebf5819440a9dec5bb6993351f44a49cab4cb0722b7899139a4ac00c7d67c179312909c378fe76912f705d784c74 + checksum: 10c0/6f475fa4cd98b87515e963c446b3dff682455e48b23e1370d9db7919e045c1fa39fe070864c973fd60371fdd34b136d9f7827c6426705556f02e2a485951b98e languageName: node linkType: hard @@ -4737,7 +4445,7 @@ __metadata: languageName: node linkType: hard -"@types/express@npm:^4.17.15, @types/express@npm:^4.17.17, @types/express@npm:^4.17.21": +"@types/express@npm:^4.17.15, @types/express@npm:^4.17.20, @types/express@npm:^4.17.21": version: 4.17.21 resolution: "@types/express@npm:4.17.21" dependencies: @@ -4820,7 +4528,7 @@ __metadata: languageName: node linkType: hard -"@types/jsonwebtoken@npm:^9.0.2": +"@types/jsonwebtoken@npm:^9.0.4": version: 9.0.9 resolution: "@types/jsonwebtoken@npm:9.0.9" dependencies: @@ -4868,11 +4576,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:>=10.0.0, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0, @types/node@npm:^22.8.7": - version: 22.13.10 - resolution: "@types/node@npm:22.13.10" + version: 22.13.12 + resolution: "@types/node@npm:22.13.12" dependencies: undici-types: "npm:~6.20.0" - checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9 + checksum: 10c0/c360ee830faf6e5de0a77459c06f5320d166d8d981547bb0e2d921057e3b71ce44bc8c0ede25ee69c7575445d424121c158bc2a059da3c80f0275a1ca4ab4a00 languageName: node linkType: hard @@ -4884,11 +4592,11 @@ __metadata: linkType: hard "@types/node@npm:^20.14.8": - version: 20.17.24 - resolution: "@types/node@npm:20.17.24" + version: 20.17.26 + resolution: "@types/node@npm:20.17.26" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9 + checksum: 10c0/e4c3b7ddb43d3bd4c9e63ca5cc351683fc0c382bb344c7d85bb84e0035558113e1953a5633c15457f93ff32c2598acf9c9aead43843d6e848b4fedb65badbbb2 languageName: node linkType: hard @@ -5070,16 +4778,7 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:*": - version: 8.5.14 - resolution: "@types/ws@npm:8.5.14" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/be88a0b6252f939cb83340bd1b4d450287f752c19271195cd97564fd94047259a9bb8c31c585a61b69d8a1b069a99df9dd804db0132d3359c54d3890c501416a - languageName: node - linkType: hard - -"@types/ws@npm:8.18.0": +"@types/ws@npm:*, @types/ws@npm:8.18.0": version: 8.18.0 resolution: "@types/ws@npm:8.18.0" dependencies: @@ -5635,13 +5334,13 @@ __metadata: linkType: hard "axios@npm:^1.8.2": - version: 1.8.3 - resolution: "axios@npm:1.8.3" + version: 1.8.4 + resolution: "axios@npm:1.8.4" dependencies: follow-redirects: "npm:^1.15.6" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 10c0/de75da9859adf0a6481d4af2b687db357a054d20f0d69b99d502b71dae3578326b1fdc0951dabaef769827484941cda93d3f89150bf9e04f05f6615fb8316780 + checksum: 10c0/450993c2ba975ffccaf0d480b68839a3b2435a5469a71fa2fb0b8a55cdb2c2ae47e609360b9c1e2b2534b73dfd69e2733a1cf9f8215bee0bcd729b72f801b0ce languageName: node linkType: hard @@ -6143,9 +5842,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001688": - version: 1.0.30001703 - resolution: "caniuse-lite@npm:1.0.30001703" - checksum: 10c0/ed88e318da28e9e59c4ac3a2e3c42859558b7b713aebf03696a1f916e4ed4b70734dda82be04635e2b62ec355b8639bbed829b7b12ff528d7f9cc31a3a5bea91 + version: 1.0.30001707 + resolution: "caniuse-lite@npm:1.0.30001707" + checksum: 10c0/a1beaf84bad4f6617bbc5616d6bc0c9cab73e73f7e9e09b6466af5195b1bc393e0f6f19643d7a1c88bd3f4bfa122d7bea81cf6225ec3ade57d5b1dd3478c1a1b languageName: node linkType: hard @@ -7302,9 +7001,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.73": - version: 1.5.114 - resolution: "electron-to-chromium@npm:1.5.114" - checksum: 10c0/cb86057d78f1aeb53ab6550dedacfd9496bcc6676bab7b48466c3958ba9ce0ed78c7213b1eab99ba38542cbaaa176eb7f8ea8b0274c0688b8ce3058291549430 + version: 1.5.123 + resolution: "electron-to-chromium@npm:1.5.123" + checksum: 10c0/ffaa65e9337f5ba0b51d5709795c3d1074e0cae8efda24116561feed6cedd281f523be50339d991c2fc65344e66e65e7308a157ff87047a8bb4e8008412e9eb1 languageName: node linkType: hard @@ -8180,7 +7879,7 @@ __metadata: languageName: node linkType: hard -"firebase@npm:11.5.0": +"firebase@npm:11.5.0, firebase@npm:^11.2.0": version: 11.5.0 resolution: "firebase@npm:11.5.0" dependencies: @@ -8216,42 +7915,6 @@ __metadata: languageName: node linkType: hard -"firebase@npm:^11.2.0": - version: 11.4.0 - resolution: "firebase@npm:11.4.0" - dependencies: - "@firebase/analytics": "npm:0.10.12" - "@firebase/analytics-compat": "npm:0.2.18" - "@firebase/app": "npm:0.11.2" - "@firebase/app-check": "npm:0.8.12" - "@firebase/app-check-compat": "npm:0.3.19" - "@firebase/app-compat": "npm:0.2.51" - "@firebase/app-types": "npm:0.9.3" - "@firebase/auth": "npm:1.9.1" - "@firebase/auth-compat": "npm:0.5.19" - "@firebase/data-connect": "npm:0.3.1" - "@firebase/database": "npm:1.0.13" - "@firebase/database-compat": "npm:2.0.4" - "@firebase/firestore": "npm:4.7.9" - "@firebase/firestore-compat": "npm:0.3.44" - "@firebase/functions": "npm:0.12.3" - "@firebase/functions-compat": "npm:0.3.20" - "@firebase/installations": "npm:0.6.13" - "@firebase/installations-compat": "npm:0.2.13" - "@firebase/messaging": "npm:0.12.17" - "@firebase/messaging-compat": "npm:0.2.17" - "@firebase/performance": "npm:0.7.1" - "@firebase/performance-compat": "npm:0.2.14" - "@firebase/remote-config": "npm:0.6.0" - "@firebase/remote-config-compat": "npm:0.2.13" - "@firebase/storage": "npm:0.13.7" - "@firebase/storage-compat": "npm:0.3.17" - "@firebase/util": "npm:1.11.0" - "@firebase/vertexai": "npm:1.1.0" - checksum: 10c0/627b5b81d6b1405061a8372a795a972c12a0e6d064cd9cc281403ab568fd84e1cf8db08bd2fc002ac8ec05a88bdc42f934f311be530e40d02c0153022d5b2f4f - languageName: node - linkType: hard - "flat-cache@npm:^6.1.7": version: 6.1.7 resolution: "flat-cache@npm:6.1.7" @@ -8590,13 +8253,6 @@ __metadata: languageName: node linkType: hard -"get-stdin@npm:=8.0.0": - version: 8.0.0 - resolution: "get-stdin@npm:8.0.0" - checksum: 10c0/b71b72b83928221052f713b3b6247ebf1ceaeb4ef76937778557537fd51ad3f586c9e6a7476865022d9394b39b74eed1dc7514052fa74d80625276253571b76f - languageName: node - linkType: hard - "get-tsconfig@npm:^4.7.5": version: 4.10.0 resolution: "get-tsconfig@npm:4.10.0" @@ -8981,9 +8637,9 @@ __metadata: linkType: hard "hookified@npm:^1.7.1": - version: 1.7.1 - resolution: "hookified@npm:1.7.1" - checksum: 10c0/779cb2f912d19f9cf00ec081d2fb07068553093e8cfaab7fb536b45a04b5743ac836e7fd4d09f1473f82c105338aa2539a104e5fb28e55f4ec1ce0be28ea9acc + version: 1.8.1 + resolution: "hookified@npm:1.8.1" + checksum: 10c0/f3ed2ec2e522946cbf9c673f05ff5ead266bb6fd8ff2c2beb8bea0ea786658131fdb72f3aa2c2c154451f08316a3c266ecb74522647c35c25c3e9c16d9584d55 languageName: node linkType: hard @@ -9006,9 +8662,9 @@ __metadata: linkType: hard "html-entities@npm:^2.5.2": - version: 2.5.2 - resolution: "html-entities@npm:2.5.2" - checksum: 10c0/f20ffb4326606245c439c231de40a7c560607f639bf40ffbfb36b4c70729fd95d7964209045f1a4e62fe17f2364cef3d6e49b02ea09016f207fde51c2211e481 + version: 2.5.3 + resolution: "html-entities@npm:2.5.3" + checksum: 10c0/313b0550926b56ccb46c0df4db63e743e565f222e6a8bc97d848d8c9bb51a2c0ff3c724856675032b5c2a9a757c9ab68019956c52e60dd9836d554cdde5bbbc3 languageName: node linkType: hard @@ -9976,7 +9632,7 @@ __metadata: languageName: node linkType: hard -"jose@npm:^4.14.6": +"jose@npm:^4.15.4": version: 4.15.9 resolution: "jose@npm:4.15.9" checksum: 10c0/4ed4ddf4a029db04bd167f2215f65d7245e4dc5f36d7ac3c0126aab38d66309a9e692f52df88975d99429e357e5fd8bab340ff20baab544d17684dd1d940a0f4 @@ -10274,16 +9930,16 @@ __metadata: linkType: hard "jwks-rsa@npm:^3.1.0": - version: 3.1.0 - resolution: "jwks-rsa@npm:3.1.0" + version: 3.2.0 + resolution: "jwks-rsa@npm:3.2.0" dependencies: - "@types/express": "npm:^4.17.17" - "@types/jsonwebtoken": "npm:^9.0.2" + "@types/express": "npm:^4.17.20" + "@types/jsonwebtoken": "npm:^9.0.4" debug: "npm:^4.3.4" - jose: "npm:^4.14.6" + jose: "npm:^4.15.4" limiter: "npm:^1.1.5" lru-memoizer: "npm:^2.2.0" - checksum: 10c0/60d686ba42ebfcedffd867aa68044d3d505bc21f6574afda17c6cc8bcabcf88a9a2b651965a25c53280902a532767cd002694c98f68287d31a60b492cba35822 + checksum: 10c0/94896264473c8ec0ec21b8f29fd69b760ccb58ff63e6d5328d99694dc49a9be1d6f739fa536c71ca279966874e6c77b405181ed2c567318e0f545d3e941c318e languageName: node linkType: hard @@ -10416,11 +10072,11 @@ __metadata: linkType: hard "keyv@npm:^5.3.1": - version: 5.3.1 - resolution: "keyv@npm:5.3.1" + version: 5.3.2 + resolution: "keyv@npm:5.3.2" dependencies: "@keyv/serialize": "npm:^1.0.3" - checksum: 10c0/d5ffe3d2d547a50a5e1189d5acbc0480821c22c025082851a8eeb26667d789f3f7b7ee7beb933660d98c239f7e7c403c652a511693670a78a73f06cd411e04fa + checksum: 10c0/293ebd052e7889685b8b770b7b4c9047aaafd821f5446b5b5ffa1cc6e9b830ee752f7b2d108bd96e1277c644c89f02a39e09c45159a6cb87663e183c4405989a languageName: node linkType: hard @@ -10993,9 +10649,9 @@ __metadata: linkType: hard "mime-db@npm:>= 1.43.0 < 2": - version: 1.53.0 - resolution: "mime-db@npm:1.53.0" - checksum: 10c0/1dcc37ba8ed5d1c179f5c6f0837e8db19371d5f2ea3690c3c2f3fa8c3858f976851d3460b172b4dee78ebd606762cbb407aa398545fbacd539e519f858cd7bf4 + version: 1.54.0 + resolution: "mime-db@npm:1.54.0" + checksum: 10c0/8d907917bc2a90fa2df842cdf5dfeaf509adc15fe0531e07bb2f6ab15992416479015828d6a74200041c492e42cce3ebf78e5ce714388a0a538ea9c53eece284 languageName: node linkType: hard @@ -11235,7 +10891,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.5, mkdirp@npm:^0.5.6": +"mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.5": version: 0.5.6 resolution: "mkdirp@npm:0.5.6" dependencies: @@ -11408,11 +11064,11 @@ __metadata: linkType: hard "nanoid@npm:^3.3.8": - version: 3.3.9 - resolution: "nanoid@npm:3.3.9" + version: 3.3.11 + resolution: "nanoid@npm:3.3.11" bin: nanoid: bin/nanoid.cjs - checksum: 10c0/4515abe53db7b150cf77074558efc20d8e916d6910d557b5ce72e8bbf6f8e7554d3d7a0d180bfa65e5d8e99aa51b207aa8a3bf5f3b56233897b146d592e30b24 + checksum: 10c0/40e7f70b3d15f725ca072dfc4f74e81fcf1fbb02e491cf58ac0c79093adc9b0a73b152bcde57df4b79cd097e13023d7504acb38404a4da7bc1cd8e887b82fe0b languageName: node linkType: hard @@ -11696,9 +11352,9 @@ __metadata: linkType: hard "nwsapi@npm:^2.2.16": - version: 2.2.18 - resolution: "nwsapi@npm:2.2.18" - checksum: 10c0/fb64761f02d838a1964ef3f15f324779ae5b735c878843ed6592b07d85652928f8f34458605fee0ff379514bf5ffa5afeef5dc8290bfb0959a854069e2af300b + version: 2.2.19 + resolution: "nwsapi@npm:2.2.19" + checksum: 10c0/5bd9da260b2b24a775103c835a93c79584a870307eb59270b43c6970b7ae9c0af3cfffd9df5292c24d2ca2c67f49672b4c9be9824c347d6083b90e002a12779a languageName: node linkType: hard @@ -12244,8 +11900,8 @@ __metadata: linkType: hard "pg@npm:^8.11.3": - version: 8.14.0 - resolution: "pg@npm:8.14.0" + version: 8.14.1 + resolution: "pg@npm:8.14.1" dependencies: pg-cloudflare: "npm:^1.1.1" pg-connection-string: "npm:^2.7.0" @@ -12261,7 +11917,7 @@ __metadata: peerDependenciesMeta: pg-native: optional: true - checksum: 10c0/14d9fe726189107b028d5603b299776d039e36ed657c99057bcc1c125f889cb46536e0c48c6d98952231733c788f98c631bf74d5f8c9cbf85c4ac7c0a119b8b4 + checksum: 10c0/221741cfcea4ab32c8b57bd60703bc36cfb5622dcac56c19e45f504ef8669f2f2e0429af8850f58079cfc89055da35b5a5e12de19e0505e3f61a4b4349388dcb languageName: node linkType: hard @@ -12331,13 +11987,12 @@ __metadata: linkType: hard "portfinder@npm:^1.0.32": - version: 1.0.34 - resolution: "portfinder@npm:1.0.34" + version: 1.0.35 + resolution: "portfinder@npm:1.0.35" dependencies: async: "npm:^3.2.6" debug: "npm:^4.3.6" - mkdirp: "npm:^0.5.6" - checksum: 10c0/1ca7ea711b4c3ab6fe06d32a5b0099401105a8003741bdfde2be727e3bd039887264c52b4ceb8278510cc2d4a57124c03fbe95e67614cbfbdc05cee9a495e513 + checksum: 10c0/bdc3653bf7f8e6f83464812fba8cb26abdb1a7d3d4977199f6edd857a1697c829d5ac4342b626590619efbbddc9916a1847145812d32bb0d2457ee6e895f9082 languageName: node linkType: hard @@ -13186,28 +12841,29 @@ __metadata: linkType: hard "rollup@npm:^4.30.1": - version: 4.35.0 - resolution: "rollup@npm:4.35.0" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.35.0" - "@rollup/rollup-android-arm64": "npm:4.35.0" - "@rollup/rollup-darwin-arm64": "npm:4.35.0" - "@rollup/rollup-darwin-x64": "npm:4.35.0" - "@rollup/rollup-freebsd-arm64": "npm:4.35.0" - "@rollup/rollup-freebsd-x64": "npm:4.35.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.35.0" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.35.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.35.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.35.0" - "@rollup/rollup-linux-loongarch64-gnu": "npm:4.35.0" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.35.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.35.0" - "@rollup/rollup-linux-s390x-gnu": "npm:4.35.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.35.0" - "@rollup/rollup-linux-x64-musl": "npm:4.35.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.35.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.35.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.35.0" + version: 4.37.0 + resolution: "rollup@npm:4.37.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.37.0" + "@rollup/rollup-android-arm64": "npm:4.37.0" + "@rollup/rollup-darwin-arm64": "npm:4.37.0" + "@rollup/rollup-darwin-x64": "npm:4.37.0" + "@rollup/rollup-freebsd-arm64": "npm:4.37.0" + "@rollup/rollup-freebsd-x64": "npm:4.37.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.37.0" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.37.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.37.0" + "@rollup/rollup-linux-loongarch64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.37.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-riscv64-musl": "npm:4.37.0" + "@rollup/rollup-linux-s390x-gnu": "npm:4.37.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.37.0" + "@rollup/rollup-linux-x64-musl": "npm:4.37.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.37.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.37.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.37.0" "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -13237,6 +12893,8 @@ __metadata: optional: true "@rollup/rollup-linux-riscv64-gnu": optional: true + "@rollup/rollup-linux-riscv64-musl": + optional: true "@rollup/rollup-linux-s390x-gnu": optional: true "@rollup/rollup-linux-x64-gnu": @@ -13253,7 +12911,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/5a04add5a48173b1d95deb5422a96833b7df91b14ccec462c048be48241a79ecee2c1b843511b91ca8b6124bdbae134ccfebe80d4222a93e98e73795d161d3cc + checksum: 10c0/2e00382e08938636edfe0a7547ea2eaa027205dc0b6ff85d8b82be0fbe55a4ef88a1995fee2a5059e33dbccf12d1376c236825353afb89c96298cc95c5160a46 languageName: node linkType: hard @@ -13420,14 +13078,14 @@ __metadata: linkType: hard "selenium-webdriver@npm:^4.18.1": - version: 4.29.0 - resolution: "selenium-webdriver@npm:4.29.0" + version: 4.30.0 + resolution: "selenium-webdriver@npm:4.30.0" dependencies: "@bazel/runfiles": "npm:^6.3.1" jszip: "npm:^3.10.1" tmp: "npm:^0.2.3" ws: "npm:^8.18.0" - checksum: 10c0/e2997328d95c5eefaeaa09512e8e7612021b45eba80aad9c09e68275c38b25c7de8dbbebc149b3ec0ff631f15b0362f5c30b5b66c9238d0bfd29548d575658c1 + checksum: 10c0/4426d0b8d217b6d684bf8dd3f5c7896082b7694304f5a53faadda251e8d51e3e98c3e4b138d4e2178a826fe7ea6fb2044b365e729f63dc6f5a47829d1d93722c languageName: node linkType: hard @@ -13988,15 +13646,14 @@ __metadata: linkType: hard "sql-formatter@npm:^15.3.0": - version: 15.4.11 - resolution: "sql-formatter@npm:15.4.11" + version: 15.5.1 + resolution: "sql-formatter@npm:15.5.1" dependencies: argparse: "npm:^2.0.1" - get-stdin: "npm:=8.0.0" nearley: "npm:^2.20.1" bin: sql-formatter: bin/sql-formatter-cli.cjs - checksum: 10c0/a61f252d6d71face6693a41e5b6a689c913f9bf88a37c3410bdf24a0858da552cbac336a9dc2a254e876fdc2f77026465b55425b1c9f15c4afa2f6218c22d80f + checksum: 10c0/bb6e32181915c97a2e516134416e0ba0c71008eb0d856572d1354524e500e5c5d2f6975f68da118d55ab54cd6565c387879b0993660ea58bedc8f2a1eb1dfaef languageName: node linkType: hard @@ -14600,21 +14257,21 @@ __metadata: languageName: node linkType: hard -"tldts-core@npm:^6.1.84": - version: 6.1.84 - resolution: "tldts-core@npm:6.1.84" - checksum: 10c0/e64b2f1d13788dc67a8c9f61e1d227b20e83328565a1eb8aeb704d991dc9ae1a0b48665260a78927ba7809793e000bb3071a21a9686d9a02a9be17f8a527e6bb +"tldts-core@npm:^6.1.85": + version: 6.1.85 + resolution: "tldts-core@npm:6.1.85" + checksum: 10c0/f028759b361bef86d3dd8dbaaa010b4c3aca236ec7ba097658b9a595243bb34c98206e410cc3631055af6ed34012f5da7e9af2c4e38e218d5fc693df6ab3da33 languageName: node linkType: hard "tldts@npm:^6.1.32": - version: 6.1.84 - resolution: "tldts@npm:6.1.84" + version: 6.1.85 + resolution: "tldts@npm:6.1.85" dependencies: - tldts-core: "npm:^6.1.84" + tldts-core: "npm:^6.1.85" bin: tldts: bin/cli.js - checksum: 10c0/84c865197ff8eb83283e1c1b7bc45a7e7ff9a41922dad0348c586791df63d6605a5a8e8efb6d4962b63459b2f3c0096d683041f65e29b468ccaf53fe99d9a9e0 + checksum: 10c0/83bc222046f36a9ca071b662e3272bb1e98e849fa4bddfab0a3eba8804a4a539b02bcbe55e1277fe713de6677e55104da2ef9a54d006c642b6e9f26c7595d5aa languageName: node linkType: hard @@ -14694,12 +14351,12 @@ __metadata: languageName: node linkType: hard -"tr46@npm:^5.0.0": - version: 5.0.0 - resolution: "tr46@npm:5.0.0" +"tr46@npm:^5.1.0": + version: 5.1.0 + resolution: "tr46@npm:5.1.0" dependencies: punycode: "npm:^2.3.1" - checksum: 10c0/1521b6e7bbc8adc825c4561480f9fe48eb2276c81335eed9fa610aa4c44a48a3221f78b10e5f18b875769eb3413e30efbf209ed556a17a42aa8d690df44b7bee + checksum: 10c0/d761f7144e0cb296187674ef245c74f761e334d7cf25ca73ef60e4c72c097c75051031c093fa1a2fee04b904977b316716a7915854bcae8fb1a371746513cbe8 languageName: node linkType: hard @@ -14929,16 +14586,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.7.3": - version: 5.7.3 - resolution: "typescript@npm:5.7.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/b7580d716cf1824736cc6e628ab4cd8b51877408ba2be0869d2866da35ef8366dd6ae9eb9d0851470a39be17cbd61df1126f9e211d8799d764ea7431d5435afa - languageName: node - linkType: hard - "typescript@npm:5.8.2": version: 5.8.2 resolution: "typescript@npm:5.8.2" @@ -14949,16 +14596,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.7.3#optional!builtin": - version: 5.7.3 - resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin::version=5.7.3&hash=5786d5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/6fd7e0ed3bf23a81246878c613423730c40e8bdbfec4c6e4d7bf1b847cbb39076e56ad5f50aa9d7ebd89877999abaee216002d3f2818885e41c907caaa192cc4 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A5.8.2#optional!builtin": version: 5.8.2 resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin::version=5.8.2&hash=5786d5" @@ -15080,9 +14717,9 @@ __metadata: linkType: hard "universal-github-app-jwt@npm:^2.2.0": - version: 2.2.0 - resolution: "universal-github-app-jwt@npm:2.2.0" - checksum: 10c0/590a557ef0a675ebafc4813d95459f30a301ce6e9e8f3a91b8a9d79fde09a30a955a145387957b91c9107d9ffb0879838e52edeb3a1366dbece961c44a9917a9 + version: 2.2.2 + resolution: "universal-github-app-jwt@npm:2.2.2" + checksum: 10c0/7ae5f031fb89c01a4407459b764c5e6341d725d436e1ceec161f9b754dd4883d9704cc8de53d5b6314b7e1bef8dbc7561799fc23001e706f213d468c17026fb6 languageName: node linkType: hard @@ -15495,12 +15132,12 @@ __metadata: linkType: hard "whatwg-url@npm:^14.0.0, whatwg-url@npm:^14.1.0": - version: 14.1.1 - resolution: "whatwg-url@npm:14.1.1" + version: 14.2.0 + resolution: "whatwg-url@npm:14.2.0" dependencies: - tr46: "npm:^5.0.0" + tr46: "npm:^5.1.0" webidl-conversions: "npm:^7.0.0" - checksum: 10c0/de1e9cc2f04cb000f232c839d4999384ba41b680ef8a89e7c61c9bc40354ba8593c775d068faaf0819f5866e4d6ca3e7b9b386e2123aa475bfd33da02316f476 + checksum: 10c0/f746fc2f4c906607d09537de1227b13f9494c171141e5427ed7d2c0dd0b6a48b43d8e71abaae57d368d0c06b673fd8ec63550b32ad5ed64990c7b0266c2b4272 languageName: node linkType: hard