Update checked-in dependencies

This commit is contained in:
github-actions[bot]
2025-04-21 18:01:41 +00:00
parent c9f0d30a86
commit 95d52b7807
647 changed files with 498055 additions and 3880 deletions

View File

@@ -1,4 +1,4 @@
const VERSION = "6.1.4";
const VERSION = "6.1.5";
export {
VERSION
};

View File

@@ -41,4 +41,9 @@ export type Hooks = {
Error: unknown;
};
};
export type StrictOmit<T, K extends keyof T> = {
[P in keyof T as P extends K ? never : P]: T[P];
} & {
[parameter: string]: unknown;
};
export {};

View File

@@ -1 +1 @@
export declare const VERSION = "6.1.4";
export declare const VERSION = "6.1.5";

View File

@@ -1,6 +1,6 @@
{
"name": "@octokit/core",
"version": "6.1.4",
"version": "6.1.5",
"publishConfig": {
"access": "public",
"provenance": true
@@ -19,10 +19,10 @@
"license": "MIT",
"dependencies": {
"@octokit/auth-token": "^5.0.0",
"@octokit/graphql": "^8.1.2",
"@octokit/request": "^9.2.1",
"@octokit/request-error": "^6.1.7",
"@octokit/types": "^13.6.2",
"@octokit/graphql": "^8.2.2",
"@octokit/request": "^9.2.3",
"@octokit/request-error": "^6.1.8",
"@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2",
"universal-user-agent": "^7.0.0"
},
@@ -39,10 +39,10 @@
"esbuild": "^0.25.0",
"fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.4.2",
"prettier": "3.5.3",
"proxy": "^2.0.0",
"semantic-release": "^24.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0",
"undici": "^6.0.0",
"vitest": "^3.0.5"

View File

@@ -1,4 +1,4 @@
const VERSION = "8.2.1";
const VERSION = "8.2.2";
export {
VERSION
};

View File

@@ -1 +1 @@
export declare const VERSION = "8.2.1";
export declare const VERSION = "8.2.2";

View File

@@ -1,6 +1,6 @@
{
"name": "@octokit/graphql",
"version": "8.2.1",
"version": "8.2.2",
"publishConfig": {
"access": "public",
"provenance": true
@@ -17,20 +17,19 @@
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/request": "^9.2.2",
"@octokit/types": "^13.8.0",
"@octokit/request": "^9.2.3",
"@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0"
},
"devDependencies": {
"@octokit/tsconfig": "^4.0.0",
"@types/fetch-mock": "^7.2.5",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.25.0",
"fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.4.2",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.3.0",
"vitest": "^3.0.0"
},

View File

@@ -132,8 +132,10 @@ var paginatingEndpoints = [
"GET /notifications",
"GET /organizations",
"GET /orgs/{org}/actions/cache/usage-by-repository",
"GET /orgs/{org}/actions/hosted-runners",
"GET /orgs/{org}/actions/permissions/repositories",
"GET /orgs/{org}/actions/runner-groups",
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners",
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories",
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners",
"GET /orgs/{org}/actions/runners",
@@ -143,6 +145,7 @@ var paginatingEndpoints = [
"GET /orgs/{org}/actions/variables/{name}/repositories",
"GET /orgs/{org}/attestations/{subject_digest}",
"GET /orgs/{org}/blocks",
"GET /orgs/{org}/campaigns",
"GET /orgs/{org}/code-scanning/alerts",
"GET /orgs/{org}/code-security/configurations",
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories",
@@ -151,7 +154,6 @@ var paginatingEndpoints = [
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories",
"GET /orgs/{org}/copilot/billing/seats",
"GET /orgs/{org}/copilot/metrics",
"GET /orgs/{org}/copilot/usage",
"GET /orgs/{org}/dependabot/alerts",
"GET /orgs/{org}/dependabot/secrets",
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories",
@@ -186,10 +188,11 @@ var paginatingEndpoints = [
"GET /orgs/{org}/repos",
"GET /orgs/{org}/rulesets",
"GET /orgs/{org}/rulesets/rule-suites",
"GET /orgs/{org}/rulesets/{ruleset_id}/history",
"GET /orgs/{org}/secret-scanning/alerts",
"GET /orgs/{org}/security-advisories",
"GET /orgs/{org}/settings/network-configurations",
"GET /orgs/{org}/team/{team_slug}/copilot/metrics",
"GET /orgs/{org}/team/{team_slug}/copilot/usage",
"GET /orgs/{org}/teams",
"GET /orgs/{org}/teams/{team_slug}/discussions",
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
@@ -284,6 +287,7 @@ var paginatingEndpoints = [
"GET /repos/{owner}/{repo}/rules/branches/{branch}",
"GET /repos/{owner}/{repo}/rulesets",
"GET /repos/{owner}/{repo}/rulesets/rule-suites",
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history",
"GET /repos/{owner}/{repo}/secret-scanning/alerts",
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations",
"GET /repos/{owner}/{repo}/security-advisories",

File diff suppressed because one or more lines are too long

View File

@@ -28,8 +28,10 @@ const paginatingEndpoints = [
"GET /notifications",
"GET /organizations",
"GET /orgs/{org}/actions/cache/usage-by-repository",
"GET /orgs/{org}/actions/hosted-runners",
"GET /orgs/{org}/actions/permissions/repositories",
"GET /orgs/{org}/actions/runner-groups",
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners",
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories",
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners",
"GET /orgs/{org}/actions/runners",
@@ -39,6 +41,7 @@ const paginatingEndpoints = [
"GET /orgs/{org}/actions/variables/{name}/repositories",
"GET /orgs/{org}/attestations/{subject_digest}",
"GET /orgs/{org}/blocks",
"GET /orgs/{org}/campaigns",
"GET /orgs/{org}/code-scanning/alerts",
"GET /orgs/{org}/code-security/configurations",
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories",
@@ -47,7 +50,6 @@ const paginatingEndpoints = [
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories",
"GET /orgs/{org}/copilot/billing/seats",
"GET /orgs/{org}/copilot/metrics",
"GET /orgs/{org}/copilot/usage",
"GET /orgs/{org}/dependabot/alerts",
"GET /orgs/{org}/dependabot/secrets",
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories",
@@ -82,10 +84,11 @@ const paginatingEndpoints = [
"GET /orgs/{org}/repos",
"GET /orgs/{org}/rulesets",
"GET /orgs/{org}/rulesets/rule-suites",
"GET /orgs/{org}/rulesets/{ruleset_id}/history",
"GET /orgs/{org}/secret-scanning/alerts",
"GET /orgs/{org}/security-advisories",
"GET /orgs/{org}/settings/network-configurations",
"GET /orgs/{org}/team/{team_slug}/copilot/metrics",
"GET /orgs/{org}/team/{team_slug}/copilot/usage",
"GET /orgs/{org}/teams",
"GET /orgs/{org}/teams/{team_slug}/discussions",
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
@@ -180,6 +183,7 @@ const paginatingEndpoints = [
"GET /repos/{owner}/{repo}/rules/branches/{branch}",
"GET /repos/{owner}/{repo}/rulesets",
"GET /repos/{owner}/{repo}/rulesets/rule-suites",
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history",
"GET /repos/{owner}/{repo}/secret-scanning/alerts",
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations",
"GET /repos/{owner}/{repo}/security-advisories",

View File

@@ -1,4 +1,4 @@
const VERSION = "11.4.2";
const VERSION = "12.0.0";
export {
VERSION
};

View File

@@ -207,6 +207,15 @@ export interface PaginatingEndpoints {
data: Endpoints["GET /orgs/{org}/actions/cache/usage-by-repository"]["response"]["data"]["repository_cache_usages"];
};
};
/**
* @see https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization
*/
"GET /orgs/{org}/actions/hosted-runners": {
parameters: Endpoints["GET /orgs/{org}/actions/hosted-runners"]["parameters"];
response: Endpoints["GET /orgs/{org}/actions/hosted-runners"]["response"] & {
data: Endpoints["GET /orgs/{org}/actions/hosted-runners"]["response"]["data"]["runners"];
};
};
/**
* @see https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization
*/
@@ -225,6 +234,15 @@ export interface PaginatingEndpoints {
data: Endpoints["GET /orgs/{org}/actions/runner-groups"]["response"]["data"]["runner_groups"];
};
};
/**
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization
*/
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners": {
parameters: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"]["parameters"];
response: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"]["response"] & {
data: Endpoints["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"]["response"]["data"]["runners"];
};
};
/**
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
*/
@@ -304,6 +322,13 @@ export interface PaginatingEndpoints {
parameters: Endpoints["GET /orgs/{org}/blocks"]["parameters"];
response: Endpoints["GET /orgs/{org}/blocks"]["response"];
};
/**
* @see https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization
*/
"GET /orgs/{org}/campaigns": {
parameters: Endpoints["GET /orgs/{org}/campaigns"]["parameters"];
response: Endpoints["GET /orgs/{org}/campaigns"]["response"];
};
/**
* @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
*/
@@ -368,13 +393,6 @@ export interface PaginatingEndpoints {
parameters: Endpoints["GET /orgs/{org}/copilot/metrics"]["parameters"];
response: Endpoints["GET /orgs/{org}/copilot/metrics"]["response"];
};
/**
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members
*/
"GET /orgs/{org}/copilot/usage": {
parameters: Endpoints["GET /orgs/{org}/copilot/usage"]["parameters"];
response: Endpoints["GET /orgs/{org}/copilot/usage"]["response"];
};
/**
* @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
*/
@@ -623,6 +641,13 @@ export interface PaginatingEndpoints {
parameters: Endpoints["GET /orgs/{org}/rulesets/rule-suites"]["parameters"];
response: Endpoints["GET /orgs/{org}/rulesets/rule-suites"]["response"];
};
/**
* @see https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history
*/
"GET /orgs/{org}/rulesets/{ruleset_id}/history": {
parameters: Endpoints["GET /orgs/{org}/rulesets/{ruleset_id}/history"]["parameters"];
response: Endpoints["GET /orgs/{org}/rulesets/{ruleset_id}/history"]["response"];
};
/**
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
*/
@@ -637,6 +662,15 @@ export interface PaginatingEndpoints {
parameters: Endpoints["GET /orgs/{org}/security-advisories"]["parameters"];
response: Endpoints["GET /orgs/{org}/security-advisories"]["response"];
};
/**
* @see https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization
*/
"GET /orgs/{org}/settings/network-configurations": {
parameters: Endpoints["GET /orgs/{org}/settings/network-configurations"]["parameters"];
response: Endpoints["GET /orgs/{org}/settings/network-configurations"]["response"] & {
data: Endpoints["GET /orgs/{org}/settings/network-configurations"]["response"]["data"]["network_configurations"];
};
};
/**
* @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
*/
@@ -644,13 +678,6 @@ export interface PaginatingEndpoints {
parameters: Endpoints["GET /orgs/{org}/team/{team_slug}/copilot/metrics"]["parameters"];
response: Endpoints["GET /orgs/{org}/team/{team_slug}/copilot/metrics"]["response"];
};
/**
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
*/
"GET /orgs/{org}/team/{team_slug}/copilot/usage": {
parameters: Endpoints["GET /orgs/{org}/team/{team_slug}/copilot/usage"]["parameters"];
response: Endpoints["GET /orgs/{org}/team/{team_slug}/copilot/usage"]["response"];
};
/**
* @see https://docs.github.com/rest/teams/teams#list-teams
*/
@@ -1363,6 +1390,13 @@ export interface PaginatingEndpoints {
parameters: Endpoints["GET /repos/{owner}/{repo}/rulesets/rule-suites"]["parameters"];
response: Endpoints["GET /repos/{owner}/{repo}/rulesets/rule-suites"]["response"];
};
/**
* @see https://docs.github.com/rest/repos/rules#get-repository-ruleset-history
*/
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history": {
parameters: Endpoints["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"]["parameters"];
response: Endpoints["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"]["response"];
};
/**
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository
*/

View File

@@ -3,11 +3,12 @@ import type * as OctokitTypes from "@octokit/types";
export type { EndpointOptions, RequestInterface, OctokitResponse, RequestParameters, Route, } from "@octokit/types";
export type { PaginatingEndpoints } from "./generated/paginating-endpoints.js";
import type { PaginatingEndpoints } from "./generated/paginating-endpoints.js";
type PaginationMetadataKeys = "repository_selection" | "total_count" | "incomplete_results";
type KnownKeys<T> = Extract<{
[K in keyof T]: string extends K ? never : number extends K ? never : K;
} extends {
[_ in keyof T]: infer U;
} ? U : never, Exclude<keyof T, "repository_selection" | "total_count" | "incomplete_results">>;
} ? U : never, Exclude<keyof T, PaginationMetadataKeys>>;
type KeysMatching<T, V> = {
[K in keyof T]: T[K] extends V ? K : never;
}[keyof T];
@@ -19,9 +20,9 @@ type GetResultsType<T> = T extends {
} ? T["data"][KnownKeysMatching<T["data"], any[]>] : never;
type GetPaginationKeys<T> = T extends {
data: any[];
} ? T : T extends {
} ? {} : T extends {
data: object;
} ? Pick<T["data"], Extract<keyof T["data"], "repository_selection" | "total_count" | "incomplete_results">> : never;
} ? Pick<T["data"], Extract<keyof T["data"], PaginationMetadataKeys>> : never;
type NormalizeResponse<T> = Omit<T, "data"> & {
data: GetResultsType<T> & GetPaginationKeys<T>;
};

View File

@@ -1 +1 @@
export declare const VERSION = "11.4.2";
export declare const VERSION = "12.0.0";

View File

@@ -5,7 +5,7 @@
"provenance": true
},
"type": "module",
"version": "11.4.2",
"version": "12.0.0",
"description": "Octokit plugin to paginate REST API endpoint responses",
"repository": "github:octokit/plugin-paginate-rest.js",
"keywords": [
@@ -16,14 +16,14 @@
],
"license": "MIT",
"dependencies": {
"@octokit/types": "^13.7.0"
"@octokit/types": "^14.0.0"
},
"peerDependencies": {
"@octokit/core": ">=6"
},
"devDependencies": {
"@octokit/core": "^6.1.3",
"@octokit/plugin-rest-endpoint-methods": "^13.3.0",
"@octokit/core": "^6.1.5",
"@octokit/plugin-rest-endpoint-methods": "^14.0.0",
"@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0",
@@ -32,8 +32,8 @@
"github-openapi-graphql-query": "^4.0.0",
"glob": "^11.0.0",
"npm-run-all2": "^7.0.0",
"prettier": "3.5.1",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0",
"vitest": "^3.0.0"
},