diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index beed80a..7ba7d27 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -633,9 +633,9 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/octokit": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/octokit/-/octokit-3.1.2.tgz", - "integrity": "sha512-MG5qmrTL5y8KYwFgE1A4JWmgfQBaIETE/lOlfwNYx1QOtCQHGVxkRJmdUJltFc1HVn73d61TlMhMyNTOtMl+ng==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/octokit/-/octokit-3.2.0.tgz", + "integrity": "sha512-f25eJ/8ITwF2BdwymOjK9I5ll9Azt8UbfHE2u5ho0gVdgfpIZkUgMGbQjbvgOYGbtIAYxh7ghH3BUbZrYal1Gw==", "dependencies": { "@octokit/app": "^14.0.2", "@octokit/core": "^5.0.0", diff --git a/node_modules/octokit/README.md b/node_modules/octokit/README.md index 6b0a52b..c0a2f26 100644 --- a/node_modules/octokit/README.md +++ b/node_modules/octokit/README.md @@ -372,7 +372,7 @@ await octokit.rest.issues.create({ }); ``` -In most cases you can use the [`App`](#github-app) or [`OAuthApp`](#oauth-app) SDK which provide APIs and internal wiring to cover most usecase. +You can use the [`App`](#github-app) or [`OAuthApp`](#oauth-app) SDKs which provide APIs and internal wiring to cover most use cases. For example, to implement the above using `App` @@ -590,7 +590,7 @@ try { // your code here that sends at least one Octokit request await octokit.request("GET /"); } catch (error) { - // Octokit errors always have a `error.status` property which is the http response code nad it's instance of RequestError + // Octokit errors are instances of RequestError, so they always have an `error.status` property containing the HTTP response code. if (error instanceof RequestError) { // handle Octokit error // error.message; // Oops @@ -775,6 +775,7 @@ app.webhooks.on("issues.opened", ({ octokit, payload }) => { return octokit.rest.issues.createComment({ owner: payload.repository.owner.login, repo: payload.repository.name, + issue_number: payload.issue.number, body: "Hello, World!", }); }); diff --git a/node_modules/octokit/dist-node/index.js b/node_modules/octokit/dist-node/index.js index 50fd164..3dc3f9a 100644 --- a/node_modules/octokit/dist-node/index.js +++ b/node_modules/octokit/dist-node/index.js @@ -37,7 +37,7 @@ var import_plugin_retry = require("@octokit/plugin-retry"); var import_plugin_throttling = require("@octokit/plugin-throttling"); // pkg/dist-src/version.js -var VERSION = "3.1.2"; +var VERSION = "3.2.0"; // pkg/dist-src/octokit.js var import_request_error = require("@octokit/request-error"); diff --git a/node_modules/octokit/dist-node/index.js.map b/node_modules/octokit/dist-node/index.js.map index 034a907..0ecbfbd 100644 --- a/node_modules/octokit/dist-node/index.js.map +++ b/node_modules/octokit/dist-node/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../dist-src/index.js", "../dist-src/octokit.js", "../dist-src/version.js", "../dist-src/app.js"], - "sourcesContent": ["import { Octokit, RequestError } from \"./octokit\";\nimport { App, OAuthApp, createNodeMiddleware } from \"./app\";\nexport {\n App,\n OAuthApp,\n Octokit,\n RequestError,\n createNodeMiddleware\n};\n", "import { Octokit as OctokitCore } from \"@octokit/core\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { paginateGraphql } from \"@octokit/plugin-paginate-graphql\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { retry } from \"@octokit/plugin-retry\";\nimport { throttling } from \"@octokit/plugin-throttling\";\nimport { VERSION } from \"./version\";\nimport { RequestError } from \"@octokit/request-error\";\nconst Octokit = OctokitCore.plugin(\n restEndpointMethods,\n paginateRest,\n paginateGraphql,\n retry,\n throttling\n).defaults({\n userAgent: `octokit.js/${VERSION}`,\n throttle: {\n onRateLimit,\n onSecondaryRateLimit\n }\n});\nfunction onRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `Request quota exhausted for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nfunction onSecondaryRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `SecondaryRateLimit detected for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nexport {\n Octokit,\n RequestError\n};\n", "const VERSION = \"3.1.2\";\nexport {\n VERSION\n};\n", "import { App as DefaultApp } from \"@octokit/app\";\nimport { OAuthApp as DefaultOAuthApp } from \"@octokit/oauth-app\";\nimport { Octokit } from \"./octokit\";\nconst App = DefaultApp.defaults({ Octokit });\nconst OAuthApp = DefaultOAuthApp.defaults({ Octokit });\nimport { createNodeMiddleware } from \"@octokit/app\";\nexport {\n App,\n OAuthApp,\n createNodeMiddleware\n};\n"], + "sourcesContent": ["import { Octokit, RequestError } from \"./octokit.js\";\nimport { App, OAuthApp, createNodeMiddleware } from \"./app.js\";\nexport {\n App,\n OAuthApp,\n Octokit,\n RequestError,\n createNodeMiddleware\n};\n", "import { Octokit as OctokitCore } from \"@octokit/core\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { paginateGraphql } from \"@octokit/plugin-paginate-graphql\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { retry } from \"@octokit/plugin-retry\";\nimport { throttling } from \"@octokit/plugin-throttling\";\nimport { VERSION } from \"./version.js\";\nimport { RequestError } from \"@octokit/request-error\";\nconst Octokit = OctokitCore.plugin(\n restEndpointMethods,\n paginateRest,\n paginateGraphql,\n retry,\n throttling\n).defaults({\n userAgent: `octokit.js/${VERSION}`,\n throttle: {\n onRateLimit,\n onSecondaryRateLimit\n }\n});\nfunction onRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `Request quota exhausted for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nfunction onSecondaryRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `SecondaryRateLimit detected for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nexport {\n Octokit,\n RequestError\n};\n", "const VERSION = \"3.2.0\";\nexport {\n VERSION\n};\n", "import { App as DefaultApp } from \"@octokit/app\";\nimport { OAuthApp as DefaultOAuthApp } from \"@octokit/oauth-app\";\nimport { Octokit } from \"./octokit.js\";\nconst App = DefaultApp.defaults({ Octokit });\nconst OAuthApp = DefaultOAuthApp.defaults({ Octokit });\nimport { createNodeMiddleware } from \"@octokit/app\";\nexport {\n App,\n OAuthApp,\n createNodeMiddleware\n};\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,kBAAuC;AACvC,kCAA6B;AAC7B,qCAAgC;AAChC,0CAAoC;AACpC,0BAAsB;AACtB,+BAA2B;;;ACL3B,IAAM,UAAU;;;ADOhB,2BAA6B;AAC7B,IAAM,UAAU,YAAAA,QAAY;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,SAAS;AAAA,EACT,WAAW,cAAc,OAAO;AAAA,EAChC,UAAU;AAAA,IACR;AAAA,IACA;AAAA,EACF;AACF,CAAC;AACD,SAAS,YAAY,YAAY,SAAS,SAAS;AACjD,UAAQ,IAAI;AAAA,IACV,uCAAuC,QAAQ,MAAM,IAAI,QAAQ,GAAG;AAAA,EACtE;AACA,MAAI,QAAQ,QAAQ,eAAe,GAAG;AACpC,YAAQ,IAAI,KAAK,kBAAkB,UAAU,WAAW;AACxD,WAAO;AAAA,EACT;AACF;AACA,SAAS,qBAAqB,YAAY,SAAS,SAAS;AAC1D,UAAQ,IAAI;AAAA,IACV,2CAA2C,QAAQ,MAAM,IAAI,QAAQ,GAAG;AAAA,EAC1E;AACA,MAAI,QAAQ,QAAQ,eAAe,GAAG;AACpC,YAAQ,IAAI,KAAK,kBAAkB,UAAU,WAAW;AACxD,WAAO;AAAA,EACT;AACF;;;AEtCA,iBAAkC;AAClC,uBAA4C;AAI5C,IAAAC,cAAqC;AAFrC,IAAM,MAAM,WAAAC,IAAW,SAAS,EAAE,QAAQ,CAAC;AAC3C,IAAM,WAAW,iBAAAC,SAAgB,SAAS,EAAE,QAAQ,CAAC;", "names": ["OctokitCore", "import_app", "DefaultApp", "DefaultOAuthApp"] } diff --git a/node_modules/octokit/dist-src/app.js b/node_modules/octokit/dist-src/app.js index f08f1f7..b86ecea 100644 --- a/node_modules/octokit/dist-src/app.js +++ b/node_modules/octokit/dist-src/app.js @@ -1,6 +1,6 @@ import { App as DefaultApp } from "@octokit/app"; import { OAuthApp as DefaultOAuthApp } from "@octokit/oauth-app"; -import { Octokit } from "./octokit"; +import { Octokit } from "./octokit.js"; const App = DefaultApp.defaults({ Octokit }); const OAuthApp = DefaultOAuthApp.defaults({ Octokit }); import { createNodeMiddleware } from "@octokit/app"; diff --git a/node_modules/octokit/dist-src/index.js b/node_modules/octokit/dist-src/index.js index e3d6c25..45d03b9 100644 --- a/node_modules/octokit/dist-src/index.js +++ b/node_modules/octokit/dist-src/index.js @@ -1,5 +1,5 @@ -import { Octokit, RequestError } from "./octokit"; -import { App, OAuthApp, createNodeMiddleware } from "./app"; +import { Octokit, RequestError } from "./octokit.js"; +import { App, OAuthApp, createNodeMiddleware } from "./app.js"; export { App, OAuthApp, diff --git a/node_modules/octokit/dist-src/octokit.js b/node_modules/octokit/dist-src/octokit.js index c3577e9..c945e3c 100644 --- a/node_modules/octokit/dist-src/octokit.js +++ b/node_modules/octokit/dist-src/octokit.js @@ -4,7 +4,7 @@ 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"; +import { VERSION } from "./version.js"; import { RequestError } from "@octokit/request-error"; const Octokit = OctokitCore.plugin( restEndpointMethods, diff --git a/node_modules/octokit/dist-src/version.js b/node_modules/octokit/dist-src/version.js index b59bcf1..3bf4359 100644 --- a/node_modules/octokit/dist-src/version.js +++ b/node_modules/octokit/dist-src/version.js @@ -1,4 +1,4 @@ -const VERSION = "3.1.2"; +const VERSION = "3.2.0"; export { VERSION }; diff --git a/node_modules/octokit/dist-types/app.d.ts b/node_modules/octokit/dist-types/app.d.ts index eb13ddd..4073370 100644 --- a/node_modules/octokit/dist-types/app.d.ts +++ b/node_modules/octokit/dist-types/app.d.ts @@ -4,7 +4,7 @@ export declare const App: (new (...args: any[]) => { octokit: import("@octokit/core").Octokit & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; } & { - graphql: import("@octokit/graphql/dist-types/types").graphql & { + graphql: import("@octokit/graphql/dist-types/types.js").graphql & { paginate: ((query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -16,7 +16,7 @@ export declare const App: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; @@ -25,7 +25,7 @@ export declare const App: (new (...args: any[]) => { octokit: import("@octokit/core").Octokit & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; } & { - graphql: import("@octokit/graphql/dist-types/types").graphql & { + graphql: import("@octokit/graphql/dist-types/types.js").graphql & { paginate: ((query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -37,7 +37,7 @@ export declare const App: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; @@ -48,7 +48,7 @@ export declare const App: (new (...args: any[]) => { Octokit: typeof import("@octokit/core").Octokit & import("@octokit/core/dist-types/types.d").Constructor<{ paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; } & { - graphql: import("@octokit/graphql/dist-types/types").graphql & { + graphql: import("@octokit/graphql/dist-types/types.js").graphql & { paginate: ((query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -60,16 +60,16 @@ export declare const App: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; }>; }>; - getInstallationOctokit: import("@octokit/app/dist-types/types").GetInstallationOctokitInterface(query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -81,15 +81,15 @@ export declare const App: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; }>; - eachInstallation: import("@octokit/app/dist-types/types").EachInstallationInterface(query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -101,15 +101,15 @@ export declare const App: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; }>; - eachRepository: import("@octokit/app/dist-types/types").EachRepositoryInterface(query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -121,7 +121,7 @@ export declare const App: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; @@ -137,11 +137,11 @@ export declare const App: (new (...args: any[]) => { export type App = InstanceType; export declare const OAuthApp: (new (...args: any[]) => { type: "oauth-app"; - on: import("@octokit/oauth-app/dist-types/types").AddEventHandler<{ + on: import("@octokit/oauth-app/dist-types/types.js").AddEventHandler<{ Octokit: typeof import("@octokit/core").Octokit & import("@octokit/core/dist-types/types.d").Constructor<{ paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; } & { - graphql: import("@octokit/graphql/dist-types/types").graphql & { + graphql: import("@octokit/graphql/dist-types/types.js").graphql & { paginate: ((query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -153,7 +153,7 @@ export declare const OAuthApp: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; @@ -162,7 +162,7 @@ export declare const OAuthApp: (new (...args: any[]) => { octokit: import("@octokit/core").Octokit & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; } & { - graphql: import("@octokit/graphql/dist-types/types").graphql & { + graphql: import("@octokit/graphql/dist-types/types.js").graphql & { paginate: ((query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -174,20 +174,20 @@ export declare const OAuthApp: (new (...args: any[]) => { }; }; }; - } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { + } & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; }; - getUserOctokit: import("@octokit/oauth-app/dist-types/methods/get-user-octokit").GetUserOctokitWithStateInterface<"oauth-app">; - getWebFlowAuthorizationUrl: import("@octokit/oauth-app/dist-types/methods/get-web-flow-authorization-url").GetWebFlowAuthorizationUrlInterface<"oauth-app">; - createToken: import("@octokit/oauth-app/dist-types/methods/create-token").CreateTokenInterface<"oauth-app">; - checkToken: import("@octokit/oauth-app/dist-types/methods/check-token").CheckTokenInterface<"oauth-app">; - resetToken: import("@octokit/oauth-app/dist-types/methods/reset-token").ResetTokenInterface<"oauth-app">; - refreshToken: import("@octokit/oauth-app/dist-types/methods/refresh-token").RefreshTokenInterface; - scopeToken: import("@octokit/oauth-app/dist-types/methods/scope-token").ScopeTokenInterface; - deleteToken: import("@octokit/oauth-app/dist-types/methods/delete-token").DeleteTokenInterface; - deleteAuthorization: import("@octokit/oauth-app/dist-types/methods/delete-authorization").DeleteAuthorizationInterface; + getUserOctokit: import("@octokit/oauth-app/dist-types/methods/get-user-octokit.js").GetUserOctokitWithStateInterface<"oauth-app">; + getWebFlowAuthorizationUrl: import("@octokit/oauth-app/dist-types/methods/get-web-flow-authorization-url.js").GetWebFlowAuthorizationUrlInterface<"oauth-app">; + createToken: import("@octokit/oauth-app/dist-types/methods/create-token.js").CreateTokenInterface<"oauth-app">; + checkToken: import("@octokit/oauth-app/dist-types/methods/check-token.js").CheckTokenInterface<"oauth-app">; + resetToken: import("@octokit/oauth-app/dist-types/methods/reset-token.js").ResetTokenInterface<"oauth-app">; + refreshToken: import("@octokit/oauth-app/dist-types/methods/refresh-token.js").RefreshTokenInterface; + scopeToken: import("@octokit/oauth-app/dist-types/methods/scope-token.js").ScopeTokenInterface; + deleteToken: import("@octokit/oauth-app/dist-types/methods/delete-token.js").DeleteTokenInterface; + deleteAuthorization: import("@octokit/oauth-app/dist-types/methods/delete-authorization.js").DeleteAuthorizationInterface; }) & typeof DefaultOAuthApp; export type OAuthApp = InstanceType; export { createNodeMiddleware } from "@octokit/app"; diff --git a/node_modules/octokit/dist-types/index.d.ts b/node_modules/octokit/dist-types/index.d.ts index 98d8ba5..2c566b5 100644 --- a/node_modules/octokit/dist-types/index.d.ts +++ b/node_modules/octokit/dist-types/index.d.ts @@ -1,3 +1,3 @@ -export { Octokit, RequestError } from "./octokit"; -export type { PageInfoForward, PageInfoBackward } from "./octokit"; -export { App, OAuthApp, createNodeMiddleware } from "./app"; +export { Octokit, RequestError } from "./octokit.js"; +export type { PageInfoForward, PageInfoBackward } from "./octokit.js"; +export { App, OAuthApp, createNodeMiddleware } from "./app.js"; diff --git a/node_modules/octokit/dist-types/octokit.d.ts b/node_modules/octokit/dist-types/octokit.d.ts index 4ba6b7a..5e21943 100644 --- a/node_modules/octokit/dist-types/octokit.d.ts +++ b/node_modules/octokit/dist-types/octokit.d.ts @@ -4,7 +4,7 @@ export type { PageInfoForward, PageInfoBackward, } from "@octokit/plugin-paginat export declare const Octokit: typeof OctokitCore & import("@octokit/core/dist-types/types.d").Constructor<{ paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; } & { - graphql: import("@octokit/graphql/dist-types/types").graphql & { + graphql: import("@octokit/graphql/dist-types/types.js").graphql & { paginate: ((query: string, initialParameters?: Record | undefined) => Promise) & { iterator: (query: string, initialParameters?: Record | undefined) => { [Symbol.asyncIterator]: () => { @@ -16,7 +16,7 @@ export declare const Octokit: typeof OctokitCore & import("@octokit/core/dist-ty }; }; }; -} & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & { +} & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { retry: { retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError; }; diff --git a/node_modules/octokit/dist-types/version.d.ts b/node_modules/octokit/dist-types/version.d.ts index 31e9409..6b4f89b 100644 --- a/node_modules/octokit/dist-types/version.d.ts +++ b/node_modules/octokit/dist-types/version.d.ts @@ -1 +1 @@ -export declare const VERSION = "3.1.2"; +export declare const VERSION = "3.2.0"; diff --git a/node_modules/octokit/dist-web/index.js b/node_modules/octokit/dist-web/index.js index 3d69a49..9aabe41 100644 --- a/node_modules/octokit/dist-web/index.js +++ b/node_modules/octokit/dist-web/index.js @@ -7,7 +7,7 @@ import { retry } from "@octokit/plugin-retry"; import { throttling } from "@octokit/plugin-throttling"; // pkg/dist-src/version.js -var VERSION = "3.1.2"; +var VERSION = "3.2.0"; // pkg/dist-src/octokit.js import { RequestError } from "@octokit/request-error"; diff --git a/node_modules/octokit/dist-web/index.js.map b/node_modules/octokit/dist-web/index.js.map index ed455b0..de34f1c 100644 --- a/node_modules/octokit/dist-web/index.js.map +++ b/node_modules/octokit/dist-web/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../dist-src/octokit.js", "../dist-src/version.js", "../dist-src/app.js"], - "sourcesContent": ["import { Octokit as OctokitCore } from \"@octokit/core\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { paginateGraphql } from \"@octokit/plugin-paginate-graphql\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { retry } from \"@octokit/plugin-retry\";\nimport { throttling } from \"@octokit/plugin-throttling\";\nimport { VERSION } from \"./version\";\nimport { RequestError } from \"@octokit/request-error\";\nconst Octokit = OctokitCore.plugin(\n restEndpointMethods,\n paginateRest,\n paginateGraphql,\n retry,\n throttling\n).defaults({\n userAgent: `octokit.js/${VERSION}`,\n throttle: {\n onRateLimit,\n onSecondaryRateLimit\n }\n});\nfunction onRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `Request quota exhausted for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nfunction onSecondaryRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `SecondaryRateLimit detected for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nexport {\n Octokit,\n RequestError\n};\n", "const VERSION = \"3.1.2\";\nexport {\n VERSION\n};\n", "import { App as DefaultApp } from \"@octokit/app\";\nimport { OAuthApp as DefaultOAuthApp } from \"@octokit/oauth-app\";\nimport { Octokit } from \"./octokit\";\nconst App = DefaultApp.defaults({ Octokit });\nconst OAuthApp = DefaultOAuthApp.defaults({ Octokit });\nimport { createNodeMiddleware } from \"@octokit/app\";\nexport {\n App,\n OAuthApp,\n createNodeMiddleware\n};\n"], + "sourcesContent": ["import { Octokit as OctokitCore } from \"@octokit/core\";\nimport { paginateRest } from \"@octokit/plugin-paginate-rest\";\nimport { paginateGraphql } from \"@octokit/plugin-paginate-graphql\";\nimport { restEndpointMethods } from \"@octokit/plugin-rest-endpoint-methods\";\nimport { retry } from \"@octokit/plugin-retry\";\nimport { throttling } from \"@octokit/plugin-throttling\";\nimport { VERSION } from \"./version.js\";\nimport { RequestError } from \"@octokit/request-error\";\nconst Octokit = OctokitCore.plugin(\n restEndpointMethods,\n paginateRest,\n paginateGraphql,\n retry,\n throttling\n).defaults({\n userAgent: `octokit.js/${VERSION}`,\n throttle: {\n onRateLimit,\n onSecondaryRateLimit\n }\n});\nfunction onRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `Request quota exhausted for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nfunction onSecondaryRateLimit(retryAfter, options, octokit) {\n octokit.log.warn(\n `SecondaryRateLimit detected for request ${options.method} ${options.url}`\n );\n if (options.request.retryCount === 0) {\n octokit.log.info(`Retrying after ${retryAfter} seconds!`);\n return true;\n }\n}\nexport {\n Octokit,\n RequestError\n};\n", "const VERSION = \"3.2.0\";\nexport {\n VERSION\n};\n", "import { App as DefaultApp } from \"@octokit/app\";\nimport { OAuthApp as DefaultOAuthApp } from \"@octokit/oauth-app\";\nimport { Octokit } from \"./octokit.js\";\nconst App = DefaultApp.defaults({ Octokit });\nconst OAuthApp = DefaultOAuthApp.defaults({ Octokit });\nimport { createNodeMiddleware } from \"@octokit/app\";\nexport {\n App,\n OAuthApp,\n createNodeMiddleware\n};\n"], "mappings": ";AAAA,SAAS,WAAW,mBAAmB;AACvC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,aAAa;AACtB,SAAS,kBAAkB;;;ACL3B,IAAM,UAAU;;;ADOhB,SAAS,oBAAoB;AAC7B,IAAM,UAAU,YAAY;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,SAAS;AAAA,EACT,WAAW,cAAc,OAAO;AAAA,EAChC,UAAU;AAAA,IACR;AAAA,IACA;AAAA,EACF;AACF,CAAC;AACD,SAAS,YAAY,YAAY,SAAS,SAAS;AACjD,UAAQ,IAAI;AAAA,IACV,uCAAuC,QAAQ,MAAM,IAAI,QAAQ,GAAG;AAAA,EACtE;AACA,MAAI,QAAQ,QAAQ,eAAe,GAAG;AACpC,YAAQ,IAAI,KAAK,kBAAkB,UAAU,WAAW;AACxD,WAAO;AAAA,EACT;AACF;AACA,SAAS,qBAAqB,YAAY,SAAS,SAAS;AAC1D,UAAQ,IAAI;AAAA,IACV,2CAA2C,QAAQ,MAAM,IAAI,QAAQ,GAAG;AAAA,EAC1E;AACA,MAAI,QAAQ,QAAQ,eAAe,GAAG;AACpC,YAAQ,IAAI,KAAK,kBAAkB,UAAU,WAAW;AACxD,WAAO;AAAA,EACT;AACF;;;AEtCA,SAAS,OAAO,kBAAkB;AAClC,SAAS,YAAY,uBAAuB;AAI5C,SAAS,4BAA4B;AAFrC,IAAM,MAAM,WAAW,SAAS,EAAE,QAAQ,CAAC;AAC3C,IAAM,WAAW,gBAAgB,SAAS,EAAE,QAAQ,CAAC;", "names": [] } diff --git a/node_modules/octokit/package.json b/node_modules/octokit/package.json index a9d52d6..501450d 100644 --- a/node_modules/octokit/package.json +++ b/node_modules/octokit/package.json @@ -1,6 +1,6 @@ { "name": "octokit", - "version": "3.1.2", + "version": "3.2.0", "description": "The all-batteries-included GitHub SDK for Browsers, Node.js, and Deno", "keywords": [ "github", @@ -27,13 +27,13 @@ "@octokit/tsconfig": "^2.0.0", "@types/jest": "^29.0.0", "@types/node": "^20.0.0", - "esbuild": "^0.19.0", + "esbuild": "^0.20.0", "fetch-mock": "npm:@gr2m/fetch-mock@^9.11.0-pull-request-644.1", "glob": "^10.2.4", "jest": "^29.0.0", "mockdate": "^3.0.5", - "prettier": "3.1.0", - "semantic-release": "^22.0.0", + "prettier": "3.2.5", + "semantic-release": "^23.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0", "ts-jest": "^29.0.0", "typescript": "^5.0.0" @@ -41,6 +41,9 @@ "engines": { "node": ">= 18" }, + "publishConfig": { + "provenance": true + }, "files": [ "dist-*/**", "bin/**"