npm run package

This commit is contained in:
Nick Alteen
2025-08-05 13:30:29 -04:00
parent 5fc76d6491
commit d91d805d9f
17 changed files with 171 additions and 74 deletions
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/auth-token" name: "@octokit/auth-token"
version: 5.1.2 version: 6.0.0
type: npm type: npm
summary: GitHub API token authentication for browsers and Node.js summary: GitHub API token authentication for browsers and Node.js
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/core" name: "@octokit/core"
version: 6.1.4 version: 7.0.3
type: npm type: npm
summary: Extendable client for GitHub's REST & GraphQL APIs summary: Extendable client for GitHub's REST & GraphQL APIs
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/endpoint" name: "@octokit/endpoint"
version: 10.1.3 version: 11.0.0
type: npm type: npm
summary: Turns REST API endpoints into generic request options summary: Turns REST API endpoints into generic request options
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/graphql" name: "@octokit/graphql"
version: 8.2.1 version: 9.0.1
type: npm type: npm
summary: GitHub GraphQL API client for browsers and Node summary: GitHub GraphQL API client for browsers and Node
homepage: homepage:
@@ -0,0 +1,20 @@
---
name: "@octokit/openapi-types"
version: 25.1.0
type: npm
summary: Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com
homepage:
license: mit
licenses:
- sources: LICENSE
text: |
Copyright (c) GitHub 2025 - Licensed as MIT.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- sources: README.md
text: "[MIT](LICENSE)"
notices: []
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/plugin-paginate-rest" name: "@octokit/plugin-paginate-rest"
version: 11.4.2 version: 13.1.1
type: npm type: npm
summary: Octokit plugin to paginate REST API endpoint responses summary: Octokit plugin to paginate REST API endpoint responses
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/plugin-request-log" name: "@octokit/plugin-request-log"
version: 5.3.1 version: 6.0.0
type: npm type: npm
summary: Log all requests and request errors summary: Log all requests and request errors
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/plugin-rest-endpoint-methods" name: "@octokit/plugin-rest-endpoint-methods"
version: 13.3.1 version: 16.0.0
type: npm type: npm
summary: Octokit plugin adding one method for all of api.github.com REST API endpoints summary: Octokit plugin adding one method for all of api.github.com REST API endpoints
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/request" name: "@octokit/request"
version: 9.2.2 version: 10.0.3
type: npm type: npm
summary: Send parameterized requests to GitHub's APIs with sensible defaults in browsers summary: Send parameterized requests to GitHub's APIs with sensible defaults in browsers
and Node and Node
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/request-error" name: "@octokit/request-error"
version: 6.1.7 version: 7.0.0
type: npm type: npm
summary: Error class for Octokit request errors summary: Error class for Octokit request errors
homepage: homepage:
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
name: "@octokit/rest" name: "@octokit/rest"
version: 21.1.1 version: 22.0.0
type: npm type: npm
summary: GitHub REST API client for Node.js summary: GitHub REST API client for Node.js
homepage: homepage:
@@ -0,0 +1,20 @@
---
name: "@octokit/types"
version: 14.1.0
type: npm
summary: Shared TypeScript definitions for Octokit projects
homepage:
license: mit
licenses:
- sources: LICENSE
text: |
MIT License Copyright (c) 2019 Octokit contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- sources: README.md
text: "[MIT](LICENSE)"
notices: []
@@ -1,6 +1,6 @@
--- ---
name: before-after-hook name: before-after-hook
version: 3.0.2 version: 4.0.0
type: npm type: npm
summary: asynchronous before/error/after hooks for internal functionality summary: asynchronous before/error/after hooks for internal functionality
homepage: homepage:
@@ -1,6 +1,6 @@
--- ---
name: fast-content-type-parse name: fast-content-type-parse
version: 2.0.1 version: 3.0.0
type: npm type: npm
summary: Parse HTTP Content-Type header according to RFC 7231 summary: Parse HTTP Content-Type header according to RFC 7231
homepage: https://github.com/fastify/fast-content-type-parse#readme homepage: https://github.com/fastify/fast-content-type-parse#readme
@@ -1,6 +1,6 @@
--- ---
name: universal-user-agent name: universal-user-agent
version: 7.0.2 version: 7.0.3
type: npm type: npm
summary: Get a user agent string across all JavaScript Runtime Environments summary: Get a user agent string across all JavaScript Runtime Environments
homepage: homepage:
Generated Vendored
+117 -60
View File
@@ -31941,7 +31941,7 @@ class RequestError extends Error {
// pkg/dist-src/index.js // pkg/dist-src/index.js
// pkg/dist-src/version.js // pkg/dist-src/version.js
var VERSION$6 = "0.0.0-development"; var VERSION$6 = "10.0.3";
// pkg/dist-src/defaults.js // pkg/dist-src/defaults.js
var defaults_default = { var defaults_default = {
@@ -32292,12 +32292,27 @@ var createTokenAuth = function createTokenAuth2(token) {
}); });
}; };
const VERSION$4 = "6.1.4"; const VERSION$4 = "7.0.3";
const noop = () => { const noop = () => {
}; };
const consoleWarn = console.warn.bind(console); const consoleWarn = console.warn.bind(console);
const consoleError = console.error.bind(console); const consoleError = console.error.bind(console);
function createLogger(logger = {}) {
if (typeof logger.debug !== "function") {
logger.debug = noop;
}
if (typeof logger.info !== "function") {
logger.info = noop;
}
if (typeof logger.warn !== "function") {
logger.warn = consoleWarn;
}
if (typeof logger.error !== "function") {
logger.error = consoleError;
}
return logger;
}
const userAgentTrail = `octokit-core.js/${VERSION$4} ${getUserAgent()}`; const userAgentTrail = `octokit-core.js/${VERSION$4} ${getUserAgent()}`;
let Octokit$1 = class Octokit { let Octokit$1 = class Octokit {
static VERSION = VERSION$4; static VERSION = VERSION$4;
@@ -32365,15 +32380,7 @@ let Octokit$1 = class Octokit {
} }
this.request = request.defaults(requestDefaults); this.request = request.defaults(requestDefaults);
this.graphql = withCustomRequest(this.request).defaults(requestDefaults); this.graphql = withCustomRequest(this.request).defaults(requestDefaults);
this.log = Object.assign( this.log = createLogger(options.log);
{
debug: noop,
info: noop,
warn: consoleWarn,
error: consoleError
},
options.log
);
this.hook = hook; this.hook = hook;
if (!options.authStrategy) { if (!options.authStrategy) {
if (!options.auth) { if (!options.auth) {
@@ -32420,7 +32427,7 @@ let Octokit$1 = class Octokit {
auth; auth;
}; };
const VERSION$3 = "5.3.1"; const VERSION$3 = "6.0.0";
function requestLog(octokit) { function requestLog(octokit) {
octokit.hook.wrap("request", (request, options) => { octokit.hook.wrap("request", (request, options) => {
@@ -32456,14 +32463,16 @@ function normalizePaginatedListResponse(response) {
data: [] data: []
}; };
} }
const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); const responseNeedsNormalization = ("total_count" in response.data || "total_commits" in response.data) && !("url" in response.data);
if (!responseNeedsNormalization) return response; if (!responseNeedsNormalization) return response;
const incompleteResults = response.data.incomplete_results; const incompleteResults = response.data.incomplete_results;
const repositorySelection = response.data.repository_selection; const repositorySelection = response.data.repository_selection;
const totalCount = response.data.total_count; const totalCount = response.data.total_count;
const totalCommits = response.data.total_commits;
delete response.data.incomplete_results; delete response.data.incomplete_results;
delete response.data.repository_selection; delete response.data.repository_selection;
delete response.data.total_count; delete response.data.total_count;
delete response.data.total_commits;
const namespaceKey = Object.keys(response.data)[0]; const namespaceKey = Object.keys(response.data)[0];
const data = response.data[namespaceKey]; const data = response.data[namespaceKey];
response.data = data; response.data = data;
@@ -32474,6 +32483,7 @@ function normalizePaginatedListResponse(response) {
response.data.repository_selection = repositorySelection; response.data.repository_selection = repositorySelection;
} }
response.data.total_count = totalCount; response.data.total_count = totalCount;
response.data.total_commits = totalCommits;
return response; return response;
} }
@@ -32494,6 +32504,16 @@ function iterator(octokit, route, parameters) {
url = ((normalizedResponse.headers.link || "").match( url = ((normalizedResponse.headers.link || "").match(
/<([^<>]+)>;\s*rel="next"/ /<([^<>]+)>;\s*rel="next"/
) || [])[1]; ) || [])[1];
if (!url && "total_commits" in normalizedResponse.data) {
const parsedUrl = new URL(normalizedResponse.url);
const params = parsedUrl.searchParams;
const page = parseInt(params.get("page") || "1", 10);
const per_page = parseInt(params.get("per_page") || "250", 10);
if (page * per_page < normalizedResponse.data.total_commits) {
params.set("page", String(page + 1));
url = parsedUrl.toString();
}
}
return { value: normalizedResponse }; return { value: normalizedResponse };
} catch (error) { } catch (error) {
if (error.status !== 409) throw error; if (error.status !== 409) throw error;
@@ -32558,7 +32578,7 @@ function paginateRest(octokit) {
} }
paginateRest.VERSION = VERSION$2; paginateRest.VERSION = VERSION$2;
const VERSION$1 = "13.3.1"; const VERSION$1 = "16.0.0";
const Endpoints = { const Endpoints = {
actions: { actions: {
@@ -32586,6 +32606,7 @@ const Endpoints = {
createEnvironmentVariable: [ createEnvironmentVariable: [
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables" "POST /repos/{owner}/{repo}/environments/{environment_name}/variables"
], ],
createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"],
createOrUpdateEnvironmentSecret: [ createOrUpdateEnvironmentSecret: [
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" "PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
], ],
@@ -32623,6 +32644,9 @@ const Endpoints = {
deleteEnvironmentVariable: [ deleteEnvironmentVariable: [
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" "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}"], deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"],
deleteRepoSecret: [ deleteRepoSecret: [
@@ -32711,6 +32735,24 @@ const Endpoints = {
getGithubActionsPermissionsRepository: [ getGithubActionsPermissionsRepository: [
"GET /repos/{owner}/{repo}/actions/permissions" "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}"], getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
@@ -32754,6 +32796,10 @@ const Endpoints = {
listEnvironmentVariables: [ listEnvironmentVariables: [
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables" "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: [ listJobsForWorkflowRun: [
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"
], ],
@@ -32872,6 +32918,9 @@ const Endpoints = {
updateEnvironmentVariable: [ updateEnvironmentVariable: [
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" "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}"], updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"],
updateRepoVariable: [ updateRepoVariable: [
"PATCH /repos/{owner}/{repo}/actions/variables/{name}" "PATCH /repos/{owner}/{repo}/actions/variables/{name}"
@@ -33002,6 +33051,9 @@ const Endpoints = {
getGithubBillingUsageReportOrg: [ getGithubBillingUsageReportOrg: [
"GET /organizations/{org}/settings/billing/usage" "GET /organizations/{org}/settings/billing/usage"
], ],
getGithubBillingUsageReportUser: [
"GET /users/{username}/settings/billing/usage"
],
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
getGithubPackagesBillingUser: [ getGithubPackagesBillingUser: [
"GET /users/{username}/settings/billing/packages" "GET /users/{username}/settings/billing/packages"
@@ -33013,6 +33065,13 @@ const Endpoints = {
"GET /users/{username}/settings/billing/shared-storage" "GET /users/{username}/settings/billing/shared-storage"
] ]
}, },
campaigns: {
createCampaign: ["POST /orgs/{org}/campaigns"],
deleteCampaign: ["DELETE /orgs/{org}/campaigns/{campaign_number}"],
getCampaignSummary: ["GET /orgs/{org}/campaigns/{campaign_number}"],
listOrgCampaigns: ["GET /orgs/{org}/campaigns"],
updateCampaign: ["PATCH /orgs/{org}/campaigns/{campaign_number}"]
},
checks: { checks: {
create: ["POST /repos/{owner}/{repo}/check-runs"], create: ["POST /repos/{owner}/{repo}/check-runs"],
createSuite: ["POST /repos/{owner}/{repo}/check-suites"], createSuite: ["POST /repos/{owner}/{repo}/check-suites"],
@@ -33291,10 +33350,9 @@ const Endpoints = {
getCopilotSeatDetailsForUser: [ getCopilotSeatDetailsForUser: [
"GET /orgs/{org}/members/{username}/copilot" "GET /orgs/{org}/members/{username}/copilot"
], ],
listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"], listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"]
usageMetricsForOrg: ["GET /orgs/{org}/copilot/usage"],
usageMetricsForTeam: ["GET /orgs/{org}/team/{team_slug}/copilot/usage"]
}, },
credentials: { revoke: ["POST /credentials/revoke"] },
dependabot: { dependabot: {
addSelectedRepoToOrgSecret: [ addSelectedRepoToOrgSecret: [
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}" "PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
@@ -33389,6 +33447,26 @@ const Endpoints = {
getAllTemplates: ["GET /gitignore/templates"], getAllTemplates: ["GET /gitignore/templates"],
getTemplate: ["GET /gitignore/templates/{name}"] 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: { interactions: {
getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"],
getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"],
@@ -33580,6 +33658,7 @@ const Endpoints = {
"PUT /orgs/{org}/outside_collaborators/{username}" "PUT /orgs/{org}/outside_collaborators/{username}"
], ],
createInvitation: ["POST /orgs/{org}/invitations"], createInvitation: ["POST /orgs/{org}/invitations"],
createIssueType: ["POST /orgs/{org}/issue-types"],
createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"],
createOrUpdateCustomPropertiesValuesForRepos: [ createOrUpdateCustomPropertiesValuesForRepos: [
"PATCH /orgs/{org}/properties/values" "PATCH /orgs/{org}/properties/values"
@@ -33589,6 +33668,7 @@ const Endpoints = {
], ],
createWebhook: ["POST /orgs/{org}/hooks"], createWebhook: ["POST /orgs/{org}/hooks"],
delete: ["DELETE /orgs/{org}"], delete: ["DELETE /orgs/{org}"],
deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"],
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
enableOrDisableSecurityProductOnAllOrgRepos: [ enableOrDisableSecurityProductOnAllOrgRepos: [
"POST /orgs/{org}/{security_product}/{enablement}", "POST /orgs/{org}/{security_product}/{enablement}",
@@ -33605,6 +33685,10 @@ const Endpoints = {
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], 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}"], getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
getWebhookDelivery: [ getWebhookDelivery: [
@@ -33619,6 +33703,7 @@ const Endpoints = {
listForAuthenticatedUser: ["GET /user/orgs"], listForAuthenticatedUser: ["GET /user/orgs"],
listForUser: ["GET /users/{username}/orgs"], listForUser: ["GET /users/{username}/orgs"],
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
listIssueTypes: ["GET /orgs/{org}/issue-types"],
listMembers: ["GET /orgs/{org}/members"], listMembers: ["GET /orgs/{org}/members"],
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"],
@@ -33693,6 +33778,7 @@ const Endpoints = {
], ],
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
update: ["PATCH /orgs/{org}"], update: ["PATCH /orgs/{org}"],
updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"],
updateMembershipForAuthenticatedUser: [ updateMembershipForAuthenticatedUser: [
"PATCH /user/memberships/orgs/{org}" "PATCH /user/memberships/orgs/{org}"
], ],
@@ -33805,37 +33891,6 @@ const Endpoints = {
"PATCH /orgs/{org}/private-registries/{secret_name}" "PATCH /orgs/{org}/private-registries/{secret_name}"
] ]
}, },
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}"],
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"],
removeCollaborator: [
"DELETE /projects/{project_id}/collaborators/{username}"
],
update: ["PATCH /projects/{project_id}"],
updateCard: ["PATCH /projects/columns/cards/{card_id}"],
updateColumn: ["PATCH /projects/columns/{column_id}"]
},
pulls: { pulls: {
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
create: ["POST /repos/{owner}/{repo}/pulls"], create: ["POST /repos/{owner}/{repo}/pulls"],
@@ -34207,6 +34262,12 @@ const Endpoints = {
], ],
getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"],
getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], 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"], getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"],
getStatusChecksProtection: [ getStatusChecksProtection: [
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
@@ -34380,7 +34441,13 @@ const Endpoints = {
search: { search: {
code: ["GET /search/code"], code: ["GET /search/code"],
commits: ["GET /search/commits"], 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"], labels: ["GET /search/labels"],
repos: ["GET /search/repositories"], repos: ["GET /search/repositories"],
topics: ["GET /search/topics"], topics: ["GET /search/topics"],
@@ -34434,15 +34501,9 @@ const Endpoints = {
addOrUpdateMembershipForUserInOrg: [ addOrUpdateMembershipForUserInOrg: [
"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"
], ],
addOrUpdateProjectPermissionsInOrg: [
"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"
],
addOrUpdateRepoPermissionsInOrg: [ addOrUpdateRepoPermissionsInOrg: [
"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
], ],
checkPermissionsForProjectInOrg: [
"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"
],
checkPermissionsForRepoInOrg: [ checkPermissionsForRepoInOrg: [
"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
], ],
@@ -34479,14 +34540,10 @@ const Endpoints = {
listPendingInvitationsInOrg: [ listPendingInvitationsInOrg: [
"GET /orgs/{org}/teams/{team_slug}/invitations" "GET /orgs/{org}/teams/{team_slug}/invitations"
], ],
listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"],
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
removeMembershipForUserInOrg: [ removeMembershipForUserInOrg: [
"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"
], ],
removeProjectInOrg: [
"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"
],
removeRepoInOrg: [ removeRepoInOrg: [
"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
], ],
@@ -34758,7 +34815,7 @@ function legacyRestEndpointMethods(octokit) {
} }
legacyRestEndpointMethods.VERSION = VERSION$1; legacyRestEndpointMethods.VERSION = VERSION$1;
const VERSION = "21.1.1"; const VERSION = "22.0.0";
const Octokit = Octokit$1.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults( const Octokit = Octokit$1.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
{ {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long