First upload version 0.0.1

This commit is contained in:
Neyra
2026-02-05 15:27:49 +08:00
commit 8e9b7201ed
4182 changed files with 593136 additions and 0 deletions

11
node_modules/octokit/dist-src/app.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import { App as DefaultApp } from "@octokit/app";
import { OAuthApp as DefaultOAuthApp } from "@octokit/oauth-app";
import { Octokit } from "./octokit.js";
const App = DefaultApp.defaults({ Octokit });
const OAuthApp = DefaultOAuthApp.defaults({ Octokit });
import { createNodeMiddleware } from "@octokit/app";
export {
App,
OAuthApp,
createNodeMiddleware
};

9
node_modules/octokit/dist-src/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
import { Octokit, RequestError } from "./octokit.js";
import { App, OAuthApp, createNodeMiddleware } from "./app.js";
export {
App,
OAuthApp,
Octokit,
RequestError,
createNodeMiddleware
};

45
node_modules/octokit/dist-src/octokit.js generated vendored Normal file
View File

@@ -0,0 +1,45 @@
import { Octokit as OctokitCore } from "@octokit/core";
import { paginateRest } from "@octokit/plugin-paginate-rest";
import { paginateGraphQL } from "@octokit/plugin-paginate-graphql";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
import { retry } from "@octokit/plugin-retry";
import { throttling } from "@octokit/plugin-throttling";
import { VERSION } from "./version.js";
import { RequestError } from "@octokit/request-error";
const Octokit = OctokitCore.plugin(
restEndpointMethods,
paginateRest,
paginateGraphQL,
retry,
throttling
).defaults({
userAgent: `octokit.js/${VERSION}`,
throttle: {
onRateLimit,
onSecondaryRateLimit
}
});
/* v8 ignore next no need to test internals of the throttle plugin -- @preserve */
function onRateLimit(retryAfter, options, octokit) {
octokit.log.warn(
`Request quota exhausted for request ${options.method} ${options.url}`
);
if (options.request.retryCount === 0) {
octokit.log.info(`Retrying after ${retryAfter} seconds!`);
return true;
}
}
/* v8 ignore next no need to test internals of the throttle plugin -- @preserve */
function onSecondaryRateLimit(retryAfter, options, octokit) {
octokit.log.warn(
`SecondaryRateLimit detected for request ${options.method} ${options.url}`
);
if (options.request.retryCount === 0) {
octokit.log.info(`Retrying after ${retryAfter} seconds!`);
return true;
}
}
export {
Octokit,
RequestError
};

4
node_modules/octokit/dist-src/version.js generated vendored Normal file
View File

@@ -0,0 +1,4 @@
const VERSION = "5.0.5";
export {
VERSION
};