From c2339de79866800b3b7da632c59c5314b8e4822e Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 5 Mar 2024 14:08:49 -0500 Subject: [PATCH 01/12] test: update expected error message --- test/scenarios/errors.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scenarios/errors.test.ts b/test/scenarios/errors.test.ts index fc6dac75..d345c3a7 100644 --- a/test/scenarios/errors.test.ts +++ b/test/scenarios/errors.test.ts @@ -22,7 +22,7 @@ describe("api.github.com", () => { .catch((error) => { expect(error.message).toEqual( - `Validation Failed: {"resource":"Label","code":"invalid","field":"color"}`, + `Validation Failed: {"resource":"Label","code":"invalid","field":"color"} - http://localhost:3000/docs.github.com/k96d4icg0sn/rest/reference/issues#create-a-label`, ); expect(error.response.data.errors).toEqual([ { From 10cf79f5060d240ce4a05991a71e2b13abcf1310 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Wed, 6 Mar 2024 15:13:52 -0500 Subject: [PATCH 02/12] docs: update for ESM + recent versions of Octokit --- docs/src/pages/api/00_usage.md | 5 +- docs/src/pages/api/01_authentication.md | 6 +- docs/src/pages/api/02_previews.md | 26 -------- docs/src/pages/api/03_request_formats.md | 2 +- docs/src/pages/api/07_custom_endpoints.md | 80 ++++++----------------- docs/src/pages/api/08_plugins.md | 12 ++-- docs/src/pages/api/09_throttling.md | 4 +- docs/src/pages/api/10_retries.md | 4 +- docs/src/pages/api/12_debug.md | 9 ++- 9 files changed, 43 insertions(+), 105 deletions(-) delete mode 100644 docs/src/pages/api/02_previews.md diff --git a/docs/src/pages/api/00_usage.md b/docs/src/pages/api/00_usage.md index 9c42eefc..0b71420b 100644 --- a/docs/src/pages/api/00_usage.md +++ b/docs/src/pages/api/00_usage.md @@ -24,15 +24,14 @@ Load @octokit/rest directly from esm.shnpm install @octokit/rest ```js -const { Octokit } = require("@octokit/rest"); -// or: import { Octokit } from "@octokit/rest"; +import { Octokit } from "@octokit/rest"; ```
```js -const { Octokit } = require("@octokit/rest"); +import { Octokit } from "@octokit/rest"; ``` Now instantiate your octokit API. All options are optional, but authentication is strongly encouraged. diff --git a/docs/src/pages/api/01_authentication.md b/docs/src/pages/api/01_authentication.md index 529f227a..36c69999 100644 --- a/docs/src/pages/api/01_authentication.md +++ b/docs/src/pages/api/01_authentication.md @@ -16,7 +16,7 @@ Learn more about all official and community [authentication strategies](https:// By default, `@octokit/rest` authenticates using the [token authentication strategy](https://github.com/octokit/auth-token.js). Pass in a token using `options.auth`. It can be a personal access token, an OAuth token, an installation access token or a JSON Web Token for GitHub App authentication. The `Authorization` request header will be set according to the type of token. ```js -const { Octokit } = require("@octokit/rest"); +import { Octokit } from "@octokit/rest"; const octokit = new Octokit({ auth: "mypersonalaccesstoken123", @@ -30,8 +30,8 @@ To use a different authentication strategy, set `options.authStrategy`. Here is an example for GitHub App authentication ```js -const { Octokit } = require("@octokit/rest"); -const { createAppAuth } = require("@octokit/auth-app"); +import { Octokit } from "@octokit/rest"; +import { createAppAuth } from "@octokit/auth-app"; const appOctokit = new Octokit({ authStrategy: createAppAuth, diff --git a/docs/src/pages/api/02_previews.md b/docs/src/pages/api/02_previews.md deleted file mode 100644 index c8a52f64..00000000 --- a/docs/src/pages/api/02_previews.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: "Previews" ---- - -To enable any of [GitHub’s API Previews](https://docs.github.com/en/rest/overview/api-previews/), -pass the `previews` option to the GitHub constructor - -```js -const octokit = new Octokit({ - previews: ["mercy-preview"], -}); -``` - -Previews can also be enabled for a single request by passing the `mediaType.preview` option - -```js -const { - data: { topics }, -} = await octokit.rest.repos.get({ - owner: "octokit", - repo: "rest.js", - mediaType: { - previews: ["symmetra"], - }, -}); -``` diff --git a/docs/src/pages/api/03_request_formats.md b/docs/src/pages/api/03_request_formats.md index 230f5292..589b86f3 100644 --- a/docs/src/pages/api/03_request_formats.md +++ b/docs/src/pages/api/03_request_formats.md @@ -17,7 +17,7 @@ const { data: prDiff } = await octokit.rest.pulls.get({ }); ``` -The [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) interface can be used to abort one or more requests as and when desired. When the request is initiated, an [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) instance can be passed as an option inside the request's options object. For usage in Node, the [`abort-controller`](https://github.com/mysticatea/abort-controller) package can be used. +The [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) interface can be used to abort one or more requests as and when desired. When the request is initiated, an [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) instance can be passed as an option inside the request's options object. ```js const controller = new AbortController(); diff --git a/docs/src/pages/api/07_custom_endpoints.md b/docs/src/pages/api/07_custom_endpoints.md index 9ae94136..645cbcca 100644 --- a/docs/src/pages/api/07_custom_endpoints.md +++ b/docs/src/pages/api/07_custom_endpoints.md @@ -2,71 +2,29 @@ title: "Custom endpoint methods" --- -**Note**: `octokit.registerEndpoints()` has been deprecated. - -Instead of +You can register custom endpoint methods such as `octokit.rest.repos.get()` by extending the octokit object ```js -await octokit.registerEndpoints({ - misc: { - getRoot: { - method: "GET", - url: "/", +Object.assign(octokit.foo, { + bar: { + method: "PATCH", + url: "/repos/{owner}/{repo}/foo", + headers: { + accept: "application/vnd.github.foo-bar-preview+json", }, - }, -}); -``` - -do - -```js -Object.assign(octokit.misc, { - getRoot: octokit.request.defaults({ - method: "GET", - url: "/", - }), -}); -``` - -If you use `octokit.registerEndpoints()` in a plugin, return an object instead: - -```js -function myPlugin(octokit, options) { - return { - misc: { - octokit.request.defaults({ method: "GET", url: "/" }) - } - } -} -``` - ---- - -You can register custom endpoint methods such as `octokit.rest.repos.get()` using the `octokit.registerEndpoints(routes)` method - -```js -octokit.registerEndpoints({ - foo: { - bar: { - method: "PATCH", - url: "/repos/{owner}/{repo}/foo", - headers: { - accept: "application/vnd.github.foo-bar-preview+json", + params: { + owner: { + required: true, + type: "string", + }, + repo: { + required: true, + type: "string", }, - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - baz: { - required: true, - type: "string", - enum: ["qux", "quux", "quuz"], - }, + baz: { + required: true, + type: "string", + enum: ["qux", "quux", "quuz"], }, }, }, diff --git a/docs/src/pages/api/08_plugins.md b/docs/src/pages/api/08_plugins.md index 2b0a0b9a..3def8f00 100644 --- a/docs/src/pages/api/08_plugins.md +++ b/docs/src/pages/api/08_plugins.md @@ -6,14 +6,17 @@ You can customize and extend Octokit’s functionality using plugins ```js // index.js -const { Octokit } = require("@octokit/rest"); +import { Octokit } from "@octokit/rest"; +import myPlugin from "./lib/my-plugin.js"; +import octokitPluginExample from "octokit-plugin-example"; + const MyOctokit = Octokit.plugin( - require("./lib/my-plugin"), - require("octokit-plugin-example"), + myPlugin, + octokitPluginExample, ); // lib/my-plugin.js -module.exports = (octokit, options = { greeting: "Hello" }) => { +const plugin = (octokit, options = { greeting: "Hello" }) => { // hook into the request lifecycle octokit.hook.wrap("request", async (request, options) => { const time = Date.now(); @@ -31,6 +34,7 @@ module.exports = (octokit, options = { greeting: "Hello" }) => { helloWorld: () => console.log(`${options.greeting}, world!`), }; }; +export default plugin; ``` `.plugin` accepts a function or an array of functions. diff --git a/docs/src/pages/api/09_throttling.md b/docs/src/pages/api/09_throttling.md index b5c20dd4..2d5a8c3d 100644 --- a/docs/src/pages/api/09_throttling.md +++ b/docs/src/pages/api/09_throttling.md @@ -11,8 +11,8 @@ The `throttle.onSecondaryRateLimit` and `throttle.onRateLimit` options are requi Return `true` from these functions to automatically retry the request after `retryAfter` seconds. Return `false` or `undefined` to skip retry and throw the error. For rate limit errors, `retryAfter` defaults to seconds until `X-RateLimit-Reset`. For abuse errors, `retryAfter` defaults to the `retry-after` header but is a minimum of five seconds. ```js -const { Octokit } = require("@octokit/rest"); -const { throttling } = require("@octokit/plugin-throttling"); +import { Octokit } from "@octokit/rest"; +import { throttling } from "@octokit/plugin-throttling"; const MyOctokit = Octokit.plugin(throttling); const octokit = new MyOctokit({ diff --git a/docs/src/pages/api/10_retries.md b/docs/src/pages/api/10_retries.md index 44927a07..4398ca23 100644 --- a/docs/src/pages/api/10_retries.md +++ b/docs/src/pages/api/10_retries.md @@ -5,8 +5,8 @@ title: "Automatic retries" Many common request errors can be easily remediated by retrying the request. We recommend installing the [`@octokit/plugin-retry` plugin](https://github.com/octokit/plugin-retry.js) for Automatic retries in these cases ```js -const { Octokit } = require("@octokit/rest"); -const { retry } = require("@octokit/plugin-retry"); +import { Octokit } from "@octokit/rest"; +import { retry } from "@octokit/plugin-retry"; const MyOctokit = Octokit.plugin(retry); const octokit = new MyOctokit(); diff --git a/docs/src/pages/api/12_debug.md b/docs/src/pages/api/12_debug.md index 667d6def..76ca3c92 100644 --- a/docs/src/pages/api/12_debug.md +++ b/docs/src/pages/api/12_debug.md @@ -5,7 +5,8 @@ title: "Debug" The simplest way to receive debug information is to set the `log` client option to `console`. ```js -const octokit = require("@octokit/rest")({ +import { Octokit } from "@octokit/rest"; +const octokit = new Octokit({ log: console, }); @@ -29,8 +30,10 @@ GET / - 200 in 514ms If you like to support a configurable log level, we recommend using the [console-log-level](https://github.com/watson/console-log-level) module ```js -const octokit = require("@octokit/rest")({ - log: require("console-log-level")({ level: "info" }), +import { Octokit } from "@octokit/rest"; +import consoleLogLevel from "console-log-level"; +const octokit = new Octokit({ + log: consoleLogLevel({ level: "info" }), }); octokit.request("/"); From 5bf5fa68f3d2c064d914ad159a4ab86e29cb3468 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 17 Mar 2024 18:17:48 +0000 Subject: [PATCH 03/12] build(deps-dev): Bump follow-redirects from 1.15.4 to 1.15.6 in /docs (#415) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
Commits
  • 35a517c Release version 1.15.6 of the npm package.
  • c4f847f Drop Proxy-Authorization across hosts.
  • 8526b4a Use GitHub for disclosure.
  • b1677ce Release version 1.15.5 of the npm package.
  • d8914f7 Preserve fragment in responseUrl.
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.15.4&new-version=1.15.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/octokit/rest.js/network/alerts).
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/package-lock.json b/docs/package-lock.json index ab365ee3..76ba9b18 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -9848,9 +9848,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { @@ -28330,9 +28330,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true }, "for-each": { From 8f0efe06b4f9ec4e240ffdfc1bd8c416aca3d92b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 07:22:37 +1300 Subject: [PATCH 04/12] build(deps-dev): Bump follow-redirects from 1.15.4 to 1.15.6 (#416) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
Commits
  • 35a517c Release version 1.15.6 of the npm package.
  • c4f847f Drop Proxy-Authorization across hosts.
  • 8526b4a Use GitHub for disclosure.
  • b1677ce Release version 1.15.5 of the npm package.
  • d8914f7 Preserve fragment in responseUrl.
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.15.4&new-version=1.15.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/octokit/rest.js/network/alerts).
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d2fc30ed..d7609b6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4786,9 +4786,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { From 37333e587176e9712037bb594552f937ef21ab9e Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Mon, 18 Mar 2024 10:28:26 -0400 Subject: [PATCH 05/12] style: prettier --- docs/src/pages/api/08_plugins.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/src/pages/api/08_plugins.md b/docs/src/pages/api/08_plugins.md index 3def8f00..656f0db5 100644 --- a/docs/src/pages/api/08_plugins.md +++ b/docs/src/pages/api/08_plugins.md @@ -10,10 +10,7 @@ import { Octokit } from "@octokit/rest"; import myPlugin from "./lib/my-plugin.js"; import octokitPluginExample from "octokit-plugin-example"; -const MyOctokit = Octokit.plugin( - myPlugin, - octokitPluginExample, -); +const MyOctokit = Octokit.plugin(myPlugin, octokitPluginExample); // lib/my-plugin.js const plugin = (octokit, options = { greeting: "Hello" }) => { From 20324f690834b4dd44eaadc9bca0d2b7a0495da4 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Mon, 18 Mar 2024 10:34:48 -0400 Subject: [PATCH 06/12] test: use regex to check URL in validation error --- test/scenarios/errors.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/scenarios/errors.test.ts b/test/scenarios/errors.test.ts index d345c3a7..16713864 100644 --- a/test/scenarios/errors.test.ts +++ b/test/scenarios/errors.test.ts @@ -21,8 +21,10 @@ describe("api.github.com", () => { }) .catch((error) => { - expect(error.message).toEqual( - `Validation Failed: {"resource":"Label","code":"invalid","field":"color"} - http://localhost:3000/docs.github.com/k96d4icg0sn/rest/reference/issues#create-a-label`, + expect(error.message).toMatch( + new RegExp( + `Validation Failed: {"resource":"Label","code":"invalid","field":"color"} - http://localhost:3000/docs.github.com/[a-z0-9]{11}/rest/reference/issues#create-a-label`, + ), ); expect(error.response.data.errors).toEqual([ { From 5de6b00b32f61a6b90dc99bb1a96e91bf882f088 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Mon, 18 Mar 2024 10:47:05 -0400 Subject: [PATCH 07/12] test: turn on `verbatimModuleSyntax` --- test/scenarios/add-and-remove-repository-collaborator.test.ts | 2 +- test/scenarios/add-labels-to-issue.test.ts | 2 +- test/scenarios/branch-protection.test.ts | 2 +- test/scenarios/create-file.test.ts | 2 +- test/scenarios/create-status.test.ts | 2 +- test/scenarios/errors.test.ts | 2 +- test/scenarios/get-archive.test.ts | 2 +- test/scenarios/get-content.test.ts | 2 +- test/scenarios/get-organization.test.ts | 2 +- test/scenarios/get-repository.test.ts | 2 +- test/scenarios/labels.test.ts | 2 +- test/scenarios/lock-issue.test.ts | 2 +- test/scenarios/mark-notifications-as-read.test.ts | 2 +- test/scenarios/markdown.test.ts | 2 +- test/scenarios/paginate-issues-async-await.test.ts | 2 +- test/scenarios/paginate-issues.test.ts | 2 +- test/scenarios/project-cards.test.ts | 2 +- test/scenarios/release-assets.test.ts | 2 +- test/scenarios/rename-repository.test.ts | 2 +- test/scenarios/search-issues.test.ts | 2 +- test/tsconfig.test.json | 1 - 21 files changed, 20 insertions(+), 21 deletions(-) diff --git a/test/scenarios/add-and-remove-repository-collaborator.test.ts b/test/scenarios/add-and-remove-repository-collaborator.test.ts index adfb62b2..0f273f9d 100644 --- a/test/scenarios/add-and-remove-repository-collaborator.test.ts +++ b/test/scenarios/add-and-remove-repository-collaborator.test.ts @@ -1,4 +1,4 @@ -import { loadFixture, fixtureToInstance, OctokitType } from "../util.ts"; +import { loadFixture, fixtureToInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let githubUserA: OctokitType; diff --git a/test/scenarios/add-labels-to-issue.test.ts b/test/scenarios/add-labels-to-issue.test.ts index e01144ec..3b15959f 100644 --- a/test/scenarios/add-labels-to-issue.test.ts +++ b/test/scenarios/add-labels-to-issue.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/branch-protection.test.ts b/test/scenarios/branch-protection.test.ts index 99bc80b6..a249dbb5 100644 --- a/test/scenarios/branch-protection.test.ts +++ b/test/scenarios/branch-protection.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/create-file.test.ts b/test/scenarios/create-file.test.ts index 86fe2f85..79f968d7 100644 --- a/test/scenarios/create-file.test.ts +++ b/test/scenarios/create-file.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/create-status.test.ts b/test/scenarios/create-status.test.ts index 1819c569..b77dfc54 100644 --- a/test/scenarios/create-status.test.ts +++ b/test/scenarios/create-status.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/errors.test.ts b/test/scenarios/errors.test.ts index 16713864..ca33da85 100644 --- a/test/scenarios/errors.test.ts +++ b/test/scenarios/errors.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-archive.test.ts b/test/scenarios/get-archive.test.ts index 330643b7..4a6d6afc 100644 --- a/test/scenarios/get-archive.test.ts +++ b/test/scenarios/get-archive.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-content.test.ts b/test/scenarios/get-content.test.ts index 3bf48a08..347961c2 100644 --- a/test/scenarios/get-content.test.ts +++ b/test/scenarios/get-content.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-organization.test.ts b/test/scenarios/get-organization.test.ts index dca20de8..5fbf64d3 100644 --- a/test/scenarios/get-organization.test.ts +++ b/test/scenarios/get-organization.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/get-repository.test.ts b/test/scenarios/get-repository.test.ts index e38c878d..8e0c0573 100644 --- a/test/scenarios/get-repository.test.ts +++ b/test/scenarios/get-repository.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/labels.test.ts b/test/scenarios/labels.test.ts index bccdcff1..09cdd916 100644 --- a/test/scenarios/labels.test.ts +++ b/test/scenarios/labels.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/lock-issue.test.ts b/test/scenarios/lock-issue.test.ts index 4d9716b0..a2e67999 100644 --- a/test/scenarios/lock-issue.test.ts +++ b/test/scenarios/lock-issue.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/mark-notifications-as-read.test.ts b/test/scenarios/mark-notifications-as-read.test.ts index a94793f8..55a608c6 100644 --- a/test/scenarios/mark-notifications-as-read.test.ts +++ b/test/scenarios/mark-notifications-as-read.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/markdown.test.ts b/test/scenarios/markdown.test.ts index 378ab7b8..0161189c 100644 --- a/test/scenarios/markdown.test.ts +++ b/test/scenarios/markdown.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/paginate-issues-async-await.test.ts b/test/scenarios/paginate-issues-async-await.test.ts index 406958a2..884e099b 100644 --- a/test/scenarios/paginate-issues-async-await.test.ts +++ b/test/scenarios/paginate-issues-async-await.test.ts @@ -1,7 +1,7 @@ // this file is not run directly but instead required in paginate-issues-test.js // for Node v10 and higher only -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/paginate-issues.test.ts b/test/scenarios/paginate-issues.test.ts index 731be9ab..de869077 100644 --- a/test/scenarios/paginate-issues.test.ts +++ b/test/scenarios/paginate-issues.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; type IteratorResult = { value: { diff --git a/test/scenarios/project-cards.test.ts b/test/scenarios/project-cards.test.ts index d930f2ae..aedf7293 100644 --- a/test/scenarios/project-cards.test.ts +++ b/test/scenarios/project-cards.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/release-assets.test.ts b/test/scenarios/release-assets.test.ts index c3d93c10..48c37342 100644 --- a/test/scenarios/release-assets.test.ts +++ b/test/scenarios/release-assets.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/rename-repository.test.ts b/test/scenarios/rename-repository.test.ts index 1ff05aba..dc746b17 100644 --- a/test/scenarios/rename-repository.test.ts +++ b/test/scenarios/rename-repository.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/scenarios/search-issues.test.ts b/test/scenarios/search-issues.test.ts index 5139d2c8..d0a12c5d 100644 --- a/test/scenarios/search-issues.test.ts +++ b/test/scenarios/search-issues.test.ts @@ -1,4 +1,4 @@ -import { getInstance, OctokitType } from "../util.ts"; +import { getInstance, type OctokitType } from "../util.ts"; describe("api.github.com", () => { let octokit: OctokitType; diff --git a/test/tsconfig.test.json b/test/tsconfig.test.json index 5e8dc248..cf1f2005 100644 --- a/test/tsconfig.test.json +++ b/test/tsconfig.test.json @@ -3,7 +3,6 @@ "compilerOptions": { "emitDeclarationOnly": false, "noEmit": true, - "verbatimModuleSyntax": false, "allowImportingTsExtensions": true }, "include": ["src/**/*"] From 3538cc23ee6b7415ff09ef0ea22fd98b7b840f91 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 9 Apr 2024 20:56:22 -0400 Subject: [PATCH 08/12] build: upgrade `@octokit/fixtures-server` --- package-lock.json | 751 +++++++++++----------------------------------- 1 file changed, 182 insertions(+), 569 deletions(-) diff --git a/package-lock.json b/package-lock.json index 77e69d5f..3de98108 100644 --- a/package-lock.json +++ b/package-lock.json @@ -600,262 +600,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.0.tgz", - "integrity": "sha512-fGFDEctNh0CcSwsiRPxiaqX0P5rq+AqE0SRhYGZ4PX46Lg1FNR6oCxJghf8YgY0WQEgQuh3lErUFE4KxLeRmmw==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.0.tgz", - "integrity": "sha512-3bMAfInvByLHfJwYPJRlpTeaQA75n8C/QKpEaiS4HrFWFiJlNI0vzq/zCjBrhAYcPyVPG7Eo9dMrcQXuqmNk5g==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.0.tgz", - "integrity": "sha512-aVpnM4lURNkp0D3qPoAzSG92VXStYmoVPOgXveAUoQBWRSuQzt51yvSju29J6AHPmwY1BjH49uR29oyfH1ra8Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.0.tgz", - "integrity": "sha512-uK7wAnlRvjkCPzh8jJ+QejFyrP8ObKuR5cBIsQZ+qbMunwR8sbd8krmMbxTLSrDhiPZaJYKQAU5Y3iMDcZPhyQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.0.tgz", - "integrity": "sha512-AjEcivGAlPs3UAcJedMa9qYg9eSfU6FnGHJjT8s346HSKkrcWlYezGE8VaO2xKfvvlZkgAhyvl06OJOxiMgOYQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.0.tgz", - "integrity": "sha512-bsgTPoyYDnPv8ER0HqnJggXK6RyFy4PH4rtsId0V7Efa90u2+EifxytE9pZnsDgExgkARy24WUQGv9irVbTvIw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.0.tgz", - "integrity": "sha512-kQ7jYdlKS335mpGbMW5tEe3IrQFIok9r84EM3PXB8qBFJPSc6dpWfrtsC/y1pyrz82xfUIn5ZrnSHQQsd6jebQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.0.tgz", - "integrity": "sha512-uG8B0WSepMRsBNVXAQcHf9+Ko/Tr+XqmK7Ptel9HVmnykupXdS4J7ovSQUIi0tQGIndhbqWLaIL/qO/cWhXKyQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.0.tgz", - "integrity": "sha512-2ezuhdiZw8vuHf1HKSf4TIk80naTbP9At7sOqZmdVwvvMyuoDiZB49YZKLsLOfKIr77+I40dWpHVeY5JHpIEIg==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.0.tgz", - "integrity": "sha512-uTtyYAP5veqi2z9b6Gr0NUoNv9F/rOzI8tOD5jKcCvRUn7T60Bb+42NDBCWNhMjkQzI0qqwXkQGo1SY41G52nw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.0.tgz", - "integrity": "sha512-c88wwtfs8tTffPaoJ+SQn3y+lKtgTzyjkD8NgsyCtCmtoIC8RDL7PrJU05an/e9VuAke6eJqGkoMhJK1RY6z4w==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.0.tgz", - "integrity": "sha512-lR2rr/128/6svngnVta6JN4gxSXle/yZEZL3o4XZ6esOqhyR4wsKyfu6qXAL04S4S5CgGfG+GYZnjFd4YiG3Aw==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.0.tgz", - "integrity": "sha512-9Sycc+1uUsDnJCelDf6ZNqgZQoK1mJvFtqf2MUz4ujTxGhvCWw+4chYfDLPepMEvVL9PDwn6HrXad5yOrNzIsQ==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.0.tgz", - "integrity": "sha512-CoWSaaAXOZd+CjbUTdXIJE/t7Oz+4g90A3VBCHLbfuc5yUQU/nFDLOzQsN0cdxgXd97lYW/psIIBdjzQIwTBGw==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.0.tgz", - "integrity": "sha512-mlb1hg/eYRJUpv8h/x+4ShgoNLL8wgZ64SUr26KwglTYnwAWjkhR2GpoKftDbPOCnodA9t4Y/b68H4J9XmmPzA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.0.tgz", - "integrity": "sha512-fgf9ubb53xSnOBqyvWEY6ukBNRl1mVX1srPNu06B6mNsNK20JfH6xV6jECzrQ69/VMiTLvHMicQR/PgTOgqJUQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@esbuild/linux-x64": { "version": "0.20.0", "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.0.tgz", @@ -872,102 +616,6 @@ "node": ">=12" } }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.0.tgz", - "integrity": "sha512-lCT675rTN1v8Fo+RGrE5KjSnfY0x9Og4RN7t7lVrN3vMSjy34/+3na0q7RIfWDAj0e0rCh0OL+P88lu3Rt21MQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.0.tgz", - "integrity": "sha512-HKoUGXz/TOVXKQ+67NhxyHv+aDSZf44QpWLa3I1lLvAwGq8x1k0T+e2HHSRvxWhfJrFxaaqre1+YyzQ99KixoA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.0.tgz", - "integrity": "sha512-GDwAqgHQm1mVoPppGsoq4WJwT3vhnz/2N62CzhvApFD1eJyTroob30FPpOZabN+FgCjhG+AgcZyOPIkR8dfD7g==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.0.tgz", - "integrity": "sha512-0vYsP8aC4TvMlOQYozoksiaxjlvUcQrac+muDqj1Fxy6jh9l9CZJzj7zmh8JGfiV49cYLTorFLxg7593pGldwQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.0.tgz", - "integrity": "sha512-p98u4rIgfh4gdpV00IqknBD5pC84LCub+4a3MO+zjqvU5MVXOc3hqR2UgT2jI2nh3h8s9EQxmOsVI3tyzv1iFg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.0.tgz", - "integrity": "sha512-NgJnesu1RtWihtTtXGFMU5YSE6JyyHPMxCwBZK7a6/8d31GuSo9l0Ss7w1Jw5QnKUawG6UEehs883kcXf5fYwg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@ewoudenberg/difflib": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/@ewoudenberg/difflib/-/difflib-0.1.0.tgz", @@ -977,15 +625,6 @@ "heap": ">= 0.2.0" } }, - "node_modules/@fastify/busboy": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz", - "integrity": "sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==", - "dev": true, - "engines": { - "node": ">=14" - } - }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -1850,44 +1489,44 @@ "dev": true }, "node_modules/@octokit/auth-action": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@octokit/auth-action/-/auth-action-5.0.0.tgz", - "integrity": "sha512-tllw9B8xNwzWnCnizHmz0eT+LChUFytyMQzEtzlYBbotYz8IO9HrLzTq2p6SJMCyKFSBAGl+KTC2YVfawWoLaQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-action/-/auth-action-5.1.0.tgz", + "integrity": "sha512-37Utgi8/r7B6VnCgt0H+mIhpacmE413VfkHvPS2NXHCWe/qnBWtgOiwgPJMFHRVAnPFbLnXast7VmQVXA8TrPg==", "dev": true, "dependencies": { "@octokit/auth-token": "^5.0.0", - "@octokit/types": "^12.6.0" + "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, "node_modules/@octokit/auth-action/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", "dev": true }, "node_modules/@octokit/auth-action/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, "node_modules/@octokit/auth-app": { - "version": "7.0.0-beta.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.0.0-beta.4.tgz", - "integrity": "sha512-ma6fUCrL6CX4fFIQOZ4Req+EcA7fA5clw0SBSUkbbJ5XFU4gb8AP7XKbSFRQMWTM1g/luQG/QSxqeF8ZXzltrQ==", + "version": "7.0.0-beta.6", + "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.0.0-beta.6.tgz", + "integrity": "sha512-/cCHv0T0O/Zo9scdQECUZNXNQwNR461Bf+3Cd+mF+GYHYTQaj/mdfllyCkzHRZtVASIEhoRf17sy1/Z+22UnAA==", "dev": true, "dependencies": { - "@octokit/auth-oauth-app": "^8.0.1", + "@octokit/auth-oauth-app": "^8.0.2", "@octokit/auth-oauth-user": "^5.0.1", - "@octokit/request": "^9.0.0", - "@octokit/request-error": "^6.0.1", - "@octokit/types": "^12.0.0", + "@octokit/request": "^9.0.1", + "@octokit/request-error": "^6.0.2", + "@octokit/types": "^12.6.0", "lru-cache": "^10.0.0", "universal-github-app-jwt": "^2.0.6", "universal-user-agent": "^7.0.0" @@ -1903,17 +1542,32 @@ "dev": true }, "node_modules/@octokit/auth-app/node_modules/@octokit/request-error": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.0.2.tgz", - "integrity": "sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", + "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", "dev": true, "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, + "node_modules/@octokit/auth-app/node_modules/@octokit/request-error/node_modules/@octokit/openapi-types": { + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", + "dev": true + }, + "node_modules/@octokit/auth-app/node_modules/@octokit/request-error/node_modules/@octokit/types": { + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", + "dev": true, + "dependencies": { + "@octokit/openapi-types": "^22.0.1" + } + }, "node_modules/@octokit/auth-app/node_modules/@octokit/types": { "version": "12.6.0", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", @@ -1923,22 +1577,16 @@ "@octokit/openapi-types": "^20.0.0" } }, - "node_modules/@octokit/auth-app/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", - "dev": true - }, "node_modules/@octokit/auth-oauth-app": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.0.2.tgz", - "integrity": "sha512-2qlllE8MbaeEbZGbdcjbVsjVWALN5Z4+h36apZYYFyaazYT89eJnFmr0b5U4Y7HgLGmSC/CMZ6B0Q0Z24qqdDg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.0.tgz", + "integrity": "sha512-Y+xoI1QYlStM5wnSiOPUxEqQ/PGxNdUACceppDe74fG1+/4gb8GaSCFFckmmDVUQjeaRn4up+ewEVD1ytapXDQ==", "dev": true, "dependencies": { "@octokit/auth-oauth-device": "^7.0.0", "@octokit/auth-oauth-user": "^5.0.1", "@octokit/request": "^9.0.0", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.0" }, "engines": { @@ -1946,35 +1594,29 @@ } }, "node_modules/@octokit/auth-oauth-app/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", "dev": true }, "node_modules/@octokit/auth-oauth-app/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, - "node_modules/@octokit/auth-oauth-app/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", - "dev": true - }, "node_modules/@octokit/auth-oauth-device": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.0.1.tgz", - "integrity": "sha512-xvgklsbNS5YuOsY3pnuudKv56eHblJKZ4s+dRZmKORYUwgiB1Axm+PPiV0cZCZGKZRCiOxodN1dJvVZ74mkSRw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.0.tgz", + "integrity": "sha512-vhXVk8JGAFWMIlukwLEUfRPyWx1qQPWN1MlNzYtzoaXx9s8mxOa1+KhCkKkpl0RTlSk8pGqYwk8CGrr4s4yjoA==", "dev": true, "dependencies": { "@octokit/oauth-methods": "^5.0.0", "@octokit/request": "^9.0.0", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.0" }, "engines": { @@ -1982,36 +1624,30 @@ } }, "node_modules/@octokit/auth-oauth-device/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", "dev": true }, "node_modules/@octokit/auth-oauth-device/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, - "node_modules/@octokit/auth-oauth-device/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", - "dev": true - }, "node_modules/@octokit/auth-oauth-user": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.0.1.tgz", - "integrity": "sha512-LTbGC7PqhTDNyFwX2SJc1Qg6m8Jb5OtN0zcqC7zRQqRhBjQrFoUMYtvx0uBqNJHWQ8AIvfAU5xfTGzGRSjPA4A==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.0.tgz", + "integrity": "sha512-mnHuLeKu849/o24ysvR8uptYoyNrw7UG/tu1RHYISOEMTSGis6077elF7uwbPfs1JutrwcD0PhDyBKNr3Auf4Q==", "dev": true, "dependencies": { - "@octokit/auth-oauth-device": "^7.0.0", + "@octokit/auth-oauth-device": "^7.0.1", "@octokit/oauth-methods": "^5.0.0", - "@octokit/request": "^9.0.0", - "@octokit/types": "^12.0.0", + "@octokit/request": "^9.0.1", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.0" }, "engines": { @@ -2019,44 +1655,38 @@ } }, "node_modules/@octokit/auth-oauth-user/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", "dev": true }, "node_modules/@octokit/auth-oauth-user/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, - "node_modules/@octokit/auth-oauth-user/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", - "dev": true - }, "node_modules/@octokit/auth-token": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.0.1.tgz", - "integrity": "sha512-RTmWsLfig8SBoiSdgvCht4BXl1CHU89Co5xiQ5JF19my/sIRDFCQ1RPrmK0exgqUZuNm39C/bV8+/83+MJEjGg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.0.tgz", + "integrity": "sha512-JH+5PhVMjpbBuKlykiseCHa2uZdEd8Qm/N9Kpqncx4o/wkGF38gqVjIP2gZqfaP3nxFZPpg0FwGClKzBi6nS2g==", "engines": { "node": ">= 18" } }, "node_modules/@octokit/core": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.0.1.tgz", - "integrity": "sha512-MIpPQXu8Y8GjHwXM81JLveiV+DHJZtLMcB5nKekBGOl3iAtk0HT3i12Xl8Biybu+bCS1+k4qbuKEq5d0RxNRnQ==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz", + "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==", "dependencies": { "@octokit/auth-token": "^5.0.0", "@octokit/graphql": "^8.0.0", "@octokit/request": "^9.0.0", "@octokit/request-error": "^6.0.1", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "before-after-hook": "^3.0.2", "universal-user-agent": "^7.0.0" }, @@ -2065,40 +1695,35 @@ } }, "node_modules/@octokit/core/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" }, "node_modules/@octokit/core/node_modules/@octokit/request-error": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.0.2.tgz", - "integrity": "sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", + "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, "node_modules/@octokit/core/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.3.0.tgz", + "integrity": "sha512-L0Jd3e0FWSPNTmqtqiS61K4Qd9r9iAOCtqo1B12z/qe+KDjXvQF5FngLqSWzJ748lFfaPItjsv4+36dA4KrPVA==", "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.0" } }, - "node_modules/@octokit/core/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" - }, "node_modules/@octokit/endpoint": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.0.0.tgz", - "integrity": "sha512-emBcNDxBdC1y3+knJonS5zhUB/CG6TihubxM2U1/pG/Z1y3a4oV0Gzz3lmkCvWWQI6h3tqBAX9MgCBFp+M68Jw==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.0.tgz", + "integrity": "sha512-ogZ5uLMeGBZUzS32fNt9j+dNw3kkEn5CSw4CVkN1EvCNdFYWrQ5diQR6Hh52VrPR0oayIoYTqQFL/l8RqkV0qw==", "dependencies": { - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.2" }, "engines": { @@ -2106,27 +1731,22 @@ } }, "node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" }, "node_modules/@octokit/endpoint/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, - "node_modules/@octokit/endpoint/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" - }, "node_modules/@octokit/fixtures": { - "version": "22.0.6", - "resolved": "https://registry.npmjs.org/@octokit/fixtures/-/fixtures-22.0.6.tgz", - "integrity": "sha512-fSxpinPEC+6pIm47A3tC7Ur5gguJSIDHNVapUZMvIK5GqTauvdkr0Q5MbXmzXstlyJLWmXTK8jOlHVU1YJ0NcA==", + "version": "23.1.1", + "resolved": "https://registry.npmjs.org/@octokit/fixtures/-/fixtures-23.1.1.tgz", + "integrity": "sha512-smLMM28wXjZWzS6yKZaL/4tPstPrCDyMp4/YexYJpoIiNZ/NhE4U2vYcLbh2UKPoKXmm9Q2wljTm1Iqa2JYKew==", "dev": true, "dependencies": { "json-diff": "^1.0.0", @@ -2136,12 +1756,12 @@ } }, "node_modules/@octokit/fixtures-server": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/fixtures-server/-/fixtures-server-8.0.0.tgz", - "integrity": "sha512-m9VIHqU57jQZXArCri6YZ2mXGYzbpdF58YIZ5XjIGiJFnr4rZSzDb/LOnuSs2+pIkQoLpgD0+3GjTGj+zyarsQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@octokit/fixtures-server/-/fixtures-server-8.1.1.tgz", + "integrity": "sha512-z7840sbBx+LL+OvHy10z6EubAKz/HQO85vk8nF9Skgk3ru48T+wgT2Q75HfDVHcCFvQEPTuPKV17WsKLGkRMCg==", "dev": true, "dependencies": { - "@octokit/fixtures": "22.0.6", + "@octokit/fixtures": "23.1.1", "cachimo": "^2.0.1", "console-log-level": "^1.4.0", "cors": "^2.8.4", @@ -2156,12 +1776,12 @@ } }, "node_modules/@octokit/graphql": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.0.1.tgz", - "integrity": "sha512-lLDb6LhC1gBj2CxEDa5Xk10+H/boonhs+3Mi6jpRyetskDKNHe6crMeKmUE2efoLofMP8ruannLlCUgpTFmVzQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.0.tgz", + "integrity": "sha512-XDvj6GcUnQYgbCLXElt3vZDzNIPGvGiwxQO2XzsvfVUjebGh0E5eCD/1My9zUGSNKaGVZitVuO8LMziGmoFryg==", "dependencies": { "@octokit/request": "^9.0.0", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.0" }, "engines": { @@ -2169,36 +1789,31 @@ } }, "node_modules/@octokit/graphql/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" }, "node_modules/@octokit/graphql/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, - "node_modules/@octokit/graphql/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" - }, "node_modules/@octokit/oauth-authorization-url": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.0.1.tgz", - "integrity": "sha512-CyxA8JClqnsE5xCLTw+7eI/T/KK/vldjmTuWlqSGjJRDrPiQB1RyP2L4xTnZQJZ13hGnIlDT2Y9grgoEpFVvHw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.0.tgz", + "integrity": "sha512-Tz67AtSxOS4VfcvKPaUtFfwDpIFSkfbBz2PRh89+OtH3rz8aiXScHC6fellYKMkyG6lG3511XlqGhy4QuDgS/Q==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@octokit/oauth-methods": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.0.0.tgz", - "integrity": "sha512-atKKkzwR0ke0z0mFFTMHg8PEmoFDWa5sxdzX5b6wy8poMfAKny2dh5/KtsEbIqAWh8gfYVqNRwwUDMiw6cZ7pg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.0.tgz", + "integrity": "sha512-dy5cp3HaOEkd3MdOVQDHbEEJW/oQV0aC8gW9O7qBjV5o4ppluNgnvzOpdhjnNwgiWI/1LS68uWt6hb0s1fp6XA==", "dev": true, "dependencies": { "@octokit/oauth-authorization-url": "^7.0.0", @@ -2217,17 +1832,32 @@ "dev": true }, "node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.0.2.tgz", - "integrity": "sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", + "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", "dev": true, "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, + "node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/node_modules/@octokit/openapi-types": { + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", + "dev": true + }, + "node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/node_modules/@octokit/types": { + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", + "dev": true, + "dependencies": { + "@octokit/openapi-types": "^22.0.1" + } + }, "node_modules/@octokit/oauth-methods/node_modules/@octokit/types": { "version": "12.6.0", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", @@ -2238,9 +1868,9 @@ } }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-10.0.0.tgz", - "integrity": "sha512-G1Z67qOiFneKDJyMafHQkWnKm1kU3FfbRZLzxgsFg4dOa3pRNdABbdk+xo/oev6P88lnbt7GKdBNB6dJZuPphA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-10.1.0.tgz", + "integrity": "sha512-G8RdudUQr532C+LAOT58MznwFFu+wkJJjbTJF1xBxPr8XbzCg1NI0nYm6EPcuLWXLI3T6wzFm2fbXqDkfdC7Ow==", "dependencies": { "@octokit/types": "^12.6.0" }, @@ -2265,9 +1895,9 @@ } }, "node_modules/@octokit/plugin-request-log": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.0.0.tgz", - "integrity": "sha512-PunRpuyr4sxn22N5Qg0howIxrU1f3TQw7LAMCK5eUougC8IYLVkcgY0/vSmcDc44y/PNL8akM8OWtEsYp0Acvg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.1.0.tgz", + "integrity": "sha512-ZFJC8UnzQd+eML43k069J4RNfpePKE7q37JC8WssTRZv3Fkqi9VRGqKkOzyNJ8cIu4vU1Dnci1yFgWhS6Dw+UQ==", "engines": { "node": ">= 18" }, @@ -2303,13 +1933,13 @@ } }, "node_modules/@octokit/request": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.0.1.tgz", - "integrity": "sha512-kL+cAcbSl3dctYLuJmLfx6Iku2MXXy0jszhaEIjQNaCp4zjHXrhVAHeuaRdNvJjW9qjl3u1MJ72+OuBP0YW/pg==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.0.tgz", + "integrity": "sha512-1mDzqKSiryRKZM++MhO6WQBukWbikes6AN6UTxB5vpRnNUbPDkVfUhpSvZ3aXYEFnbcV8DZkikOnCr3pdgMD3Q==", "dependencies": { "@octokit/endpoint": "^10.0.0", "@octokit/request-error": "^6.0.1", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.1.0", "universal-user-agent": "^7.0.2" }, "engines": { @@ -2317,38 +1947,33 @@ } }, "node_modules/@octokit/request/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", + "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" }, "node_modules/@octokit/request/node_modules/@octokit/request-error": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.0.2.tgz", - "integrity": "sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", + "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, "node_modules/@octokit/request/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", + "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.0.1" } }, - "node_modules/@octokit/request/node_modules/universal-user-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" - }, "node_modules/@octokit/tsconfig": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-3.0.0.tgz", - "integrity": "sha512-tQLwgXYfBq9iUbOq26kWCzsJL6DY7qjOLzqcg5tCFQ4ob48H47iX98NudHW7S5OQ/fpSKYJhb3eQehyBNzYjfA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-3.1.0.tgz", + "integrity": "sha512-3jGTGqDnnh/MZlg/sf21J/0cghsmaSnG+ZPK+o++sQwUwgrLVtfbUi/BANHgf22SRnxhdYtOoRX90I9/cP+9BA==", "dev": true }, "node_modules/@pkgjs/parseargs": { @@ -3804,20 +3429,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -7006,9 +6617,9 @@ "dev": true }, "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -7612,13 +7223,10 @@ } }, "node_modules/undici": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.6.1.tgz", - "integrity": "sha512-J0GaEp0ztu/grIE2Uq57AbK6TRb+bWbOlxu0POCzhFKA6LKbwSAev+hDQaQcgUUA9CPs8Ky+cauzTHnQrtAQEA==", + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.11.1.tgz", + "integrity": "sha512-KyhzaLJnV1qa3BSHdj4AZ2ndqI0QWPxYzaIOio0WzcEJB9gvuysprJSLtpvc2D9mhR9jPDUk7xlJlZbH2KR5iw==", "dev": true, - "dependencies": { - "@fastify/busboy": "^2.0.0" - }, "engines": { "node": ">=18.0" } @@ -7635,6 +7243,11 @@ "integrity": "sha512-mSP8DSSQYmG3EUZwYS1kmF0MqtW8OAHoGdyeAJUO1XT42qcJZqmAMPqVsh/oQTvNKG/zT26v/fp4UZC4Due8Uw==", "dev": true }, + "node_modules/universal-user-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", + "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" + }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", @@ -7675,9 +7288,9 @@ } }, "node_modules/url-template": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/url-template/-/url-template-3.1.0.tgz", - "integrity": "sha512-vB/eHWttzhN+NZzk9FcQB2h1cSEgb7zDYyvyxPhw02LYw7YqIzO+w1AqkcKvZ51gPH8o4+nyiWve/xuQqMdJZw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/url-template/-/url-template-3.1.1.tgz", + "integrity": "sha512-4oszoaEKE/mQOtAmdMWqIRHmkxWkUZMnXFnjQ5i01CuRSK3uluxcH1MRVVVWmhlnzT1SCDfKxxficm2G37qzCA==", "dev": true, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" From f2546fa7c34877c66658db1f905d8dc0bba207dc Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 9 Apr 2024 20:57:02 -0400 Subject: [PATCH 09/12] test: update regex for error --- test/scenarios/errors.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scenarios/errors.test.ts b/test/scenarios/errors.test.ts index ca33da85..e58b9bd0 100644 --- a/test/scenarios/errors.test.ts +++ b/test/scenarios/errors.test.ts @@ -23,7 +23,7 @@ describe("api.github.com", () => { .catch((error) => { expect(error.message).toMatch( new RegExp( - `Validation Failed: {"resource":"Label","code":"invalid","field":"color"} - http://localhost:3000/docs.github.com/[a-z0-9]{11}/rest/reference/issues#create-a-label`, + `Validation Failed: {\\"resource\\":\\"Label\\",\\"code\\":\\"invalid\\",\\"field\\":\\"color\\"} - http://localhost:3000/docs.github.com/[a-z0-9]{10,11}/rest/reference/issues#create-a-label`, ), ); expect(error.response.data.errors).toEqual([ From 5ad3ed45932444fab1ebe0766e819b90907cd42c Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 16 Apr 2024 15:05:41 -0400 Subject: [PATCH 10/12] docs: add note on needed config changes for TypeScript --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7e2b0709..e872fc8c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,12 @@ octokit.rest.repos See https://octokit.github.io/rest.js for full documentation. +> [!IMPORTANT] +> As we use [conditional exports](https://nodejs.org/api/packages.html#conditional-exports), you will need to adapt your `tsconfig.json` by setting `"moduleResolution": "node16", "module": "node16"`. +> +> See the TypeScript docs on [package.json "exports"](https://www.typescriptlang.org/docs/handbook/modules/reference.html#packagejson-exports).
+> See this [helpful guide on transitioning to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) from [@sindresorhus](https://github.com/sindresorhus) + ## Contributing We would love you to contribute to `@octokit/rest`, pull requests are very welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more information. From 1b6e5829faaaefb9e4133685f719a56234a304b1 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 16 Apr 2024 15:05:50 -0400 Subject: [PATCH 11/12] fix(pkg): add a default fallback export --- scripts/build.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 396130d3..6fc2c1be 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -53,12 +53,13 @@ async function main() { { ...pkg, files: ["dist-*/**"], - main: "dist-src/index.js", types: "dist-types/index.d.ts", exports: { ".": { types: "./dist-types/index.d.ts", import: "./dist-src/index.js", + // Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint + default: "./dist-src/index.js", } }, sideEffects: false, From 5d8da1266134075568d69d9fb0fc6644b894b411 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 16 Apr 2024 15:11:54 -0400 Subject: [PATCH 12/12] fix(deps): bump Octokit deps --- package-lock.json | 316 +++++++--------------------------------------- package.json | 16 +-- 2 files changed, 56 insertions(+), 276 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3de98108..f00b566a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,16 +9,16 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/core": "^6.0.1", - "@octokit/plugin-paginate-rest": "^10.0.0", - "@octokit/plugin-request-log": "^5.0.0", - "@octokit/plugin-rest-endpoint-methods": "^11.0.1" + "@octokit/core": "^6.1.2", + "@octokit/plugin-paginate-rest": "^11.0.0", + "@octokit/plugin-request-log": "^5.1.0", + "@octokit/plugin-rest-endpoint-methods": "^13.0.0" }, "devDependencies": { - "@octokit/auth-action": "^5.0.0", - "@octokit/auth-app": "^7.0.0-beta.4", - "@octokit/fixtures-server": "^8.0.0", - "@octokit/request": "^9.0.1", + "@octokit/auth-action": "^5.1.0", + "@octokit/auth-app": "^7.0.0-beta.8", + "@octokit/fixtures-server": "^8.1.0", + "@octokit/request": "^9.1.1", "@octokit/tsconfig": "^3.0.0", "@types/jest": "^29.5.11", "@types/node": "^20.11.5", @@ -1501,32 +1501,17 @@ "node": ">= 18" } }, - "node_modules/@octokit/auth-action/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", - "dev": true - }, - "node_modules/@octokit/auth-action/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/auth-app": { - "version": "7.0.0-beta.6", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.0.0-beta.6.tgz", - "integrity": "sha512-/cCHv0T0O/Zo9scdQECUZNXNQwNR461Bf+3Cd+mF+GYHYTQaj/mdfllyCkzHRZtVASIEhoRf17sy1/Z+22UnAA==", + "version": "7.0.0-beta.8", + "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.0.0-beta.8.tgz", + "integrity": "sha512-Mic3k7fpkH5172fzD7OH3jGn7TsAkiNfhlhfE4g03Gz6FeWxpxm5lbCBKUUQ6scEdDZxCyNLmBwEBXJLUYd7PA==", "dev": true, "dependencies": { - "@octokit/auth-oauth-app": "^8.0.2", - "@octokit/auth-oauth-user": "^5.0.1", - "@octokit/request": "^9.0.1", - "@octokit/request-error": "^6.0.2", - "@octokit/types": "^12.6.0", + "@octokit/auth-oauth-app": "^8.1.0", + "@octokit/auth-oauth-user": "^5.1.0", + "@octokit/request": "^9.1.1", + "@octokit/request-error": "^6.1.1", + "@octokit/types": "^13.4.1", "lru-cache": "^10.0.0", "universal-github-app-jwt": "^2.0.6", "universal-user-agent": "^7.0.0" @@ -1535,48 +1520,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/auth-app/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", - "dev": true - }, - "node_modules/@octokit/auth-app/node_modules/@octokit/request-error": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", - "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", - "dev": true, - "dependencies": { - "@octokit/types": "^13.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/auth-app/node_modules/@octokit/request-error/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", - "dev": true - }, - "node_modules/@octokit/auth-app/node_modules/@octokit/request-error/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, - "node_modules/@octokit/auth-app/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^20.0.0" - } - }, "node_modules/@octokit/auth-oauth-app": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.0.tgz", @@ -1593,21 +1536,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/auth-oauth-app/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", - "dev": true - }, - "node_modules/@octokit/auth-oauth-app/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/auth-oauth-device": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.0.tgz", @@ -1623,21 +1551,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/auth-oauth-device/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", - "dev": true - }, - "node_modules/@octokit/auth-oauth-device/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/auth-oauth-user": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.0.tgz", @@ -1654,21 +1567,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/auth-oauth-user/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", - "dev": true - }, - "node_modules/@octokit/auth-oauth-user/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/auth-token": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.0.tgz", @@ -1694,30 +1592,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/core/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" - }, - "node_modules/@octokit/core/node_modules/@octokit/request-error": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", - "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", - "dependencies": { - "@octokit/types": "^13.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/types": { - "version": "13.3.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.3.0.tgz", - "integrity": "sha512-L0Jd3e0FWSPNTmqtqiS61K4Qd9r9iAOCtqo1B12z/qe+KDjXvQF5FngLqSWzJ748lFfaPItjsv4+36dA4KrPVA==", - "dependencies": { - "@octokit/openapi-types": "^22.0.0" - } - }, "node_modules/@octokit/endpoint": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.0.tgz", @@ -1730,19 +1604,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" - }, - "node_modules/@octokit/endpoint/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/fixtures": { "version": "23.1.1", "resolved": "https://registry.npmjs.org/@octokit/fixtures/-/fixtures-23.1.1.tgz", @@ -1788,19 +1649,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/graphql/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" - }, - "node_modules/@octokit/graphql/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/oauth-authorization-url": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.0.tgz", @@ -1811,68 +1659,31 @@ } }, "node_modules/@octokit/oauth-methods": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.0.tgz", - "integrity": "sha512-dy5cp3HaOEkd3MdOVQDHbEEJW/oQV0aC8gW9O7qBjV5o4ppluNgnvzOpdhjnNwgiWI/1LS68uWt6hb0s1fp6XA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.1.tgz", + "integrity": "sha512-9B4QQaRb6L+/qtn5PpnZ8fcD3c1euoHkmoS5rEJcbZB/k+LY/QlDtAMO7BoDmLrG0RgRsZBLf7TaLH3M4qAeXw==", "dev": true, "dependencies": { "@octokit/oauth-authorization-url": "^7.0.0", - "@octokit/request": "^9.0.0", - "@octokit/request-error": "^6.0.0", - "@octokit/types": "^12.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-methods/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", - "dev": true - }, - "node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", - "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", - "dev": true, - "dependencies": { + "@octokit/request": "^9.1.0", + "@octokit/request-error": "^6.1.0", "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, - "node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==", - "dev": true - }, - "node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, - "node_modules/@octokit/oauth-methods/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^20.0.0" - } + "node_modules/@octokit/openapi-types": { + "version": "22.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.1.0.tgz", + "integrity": "sha512-pGUdSP+eEPfZiQHNkZI0U01HLipxncisdJQB4G//OAmfeO8sqTQ9KRa0KF03TUPCziNsoXUrTg4B2Q1EX++T0Q==" }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-10.1.0.tgz", - "integrity": "sha512-G8RdudUQr532C+LAOT58MznwFFu+wkJJjbTJF1xBxPr8XbzCg1NI0nYm6EPcuLWXLI3T6wzFm2fbXqDkfdC7Ow==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.1.1.tgz", + "integrity": "sha512-joUIZu9TupD4pRXLmWShD1Ur/oxYf/bJjYcnaopmGTReNrmWwcW7DUGSrWOjoTeihnlDig+a79m8koiafc4XQw==", "dependencies": { - "@octokit/types": "^12.6.0" + "@octokit/types": "^13.4.0" }, "engines": { "node": ">= 18" @@ -1881,19 +1692,6 @@ "@octokit/core": ">=6" } }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" - }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", - "dependencies": { - "@octokit/openapi-types": "^20.0.0" - } - }, "node_modules/@octokit/plugin-request-log": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.1.0.tgz", @@ -1906,11 +1704,11 @@ } }, "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-11.0.1.tgz", - "integrity": "sha512-OcuMW0Ftkhad14vPfE0pK7uQK9qzvIZUvcMy71GZOAqlE39hvPwOUz4ylCPgr4YUVdFUc7bY8SjdcG1r8dVGDA==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.0.0.tgz", + "integrity": "sha512-n70fv4ip6j9Q9O+yWH8wZ3vwAKTucjQVZVJLoz50wVk6bF/Ke8xYji7DAd3OKTYNt+lkWwK6SGZKOKtUiJeTTw==", "dependencies": { - "@octokit/types": "^12.6.0" + "@octokit/types": "^13.4.0" }, "engines": { "node": ">= 18" @@ -1919,23 +1717,10 @@ "@octokit/core": ">=6" } }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", - "dependencies": { - "@octokit/openapi-types": "^20.0.0" - } - }, "node_modules/@octokit/request": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.0.tgz", - "integrity": "sha512-1mDzqKSiryRKZM++MhO6WQBukWbikes6AN6UTxB5vpRnNUbPDkVfUhpSvZ3aXYEFnbcV8DZkikOnCr3pdgMD3Q==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.1.tgz", + "integrity": "sha512-pyAguc0p+f+GbQho0uNetNQMmLG1e80WjkIaqqgUkihqUp0boRU6nKItXO4VWnr+nbZiLGEyy4TeKRwqaLvYgw==", "dependencies": { "@octokit/endpoint": "^10.0.0", "@octokit/request-error": "^6.0.1", @@ -1946,15 +1731,10 @@ "node": ">= 18" } }, - "node_modules/@octokit/request/node_modules/@octokit/openapi-types": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.0.1.tgz", - "integrity": "sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==" - }, - "node_modules/@octokit/request/node_modules/@octokit/request-error": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.0.tgz", - "integrity": "sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw==", + "node_modules/@octokit/request-error": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.1.tgz", + "integrity": "sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==", "dependencies": { "@octokit/types": "^13.0.0" }, @@ -1962,20 +1742,20 @@ "node": ">= 18" } }, - "node_modules/@octokit/request/node_modules/@octokit/types": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.0.tgz", - "integrity": "sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ==", - "dependencies": { - "@octokit/openapi-types": "^22.0.1" - } - }, "node_modules/@octokit/tsconfig": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-3.1.0.tgz", "integrity": "sha512-3jGTGqDnnh/MZlg/sf21J/0cghsmaSnG+ZPK+o++sQwUwgrLVtfbUi/BANHgf22SRnxhdYtOoRX90I9/cP+9BA==", "dev": true }, + "node_modules/@octokit/types": { + "version": "13.4.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.4.1.tgz", + "integrity": "sha512-Y73oOAzRBAUzR/iRAbGULzpNkX8vaxKCqEtg6K74Ff3w9f5apFnWtE/2nade7dMWWW3bS5Kkd6DJS4HF04xreg==", + "dependencies": { + "@octokit/openapi-types": "^22.1.0" + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", diff --git a/package.json b/package.json index c08e8a4f..a84cbb20 100644 --- a/package.json +++ b/package.json @@ -33,16 +33,16 @@ ], "repository": "github:octokit/rest.js", "dependencies": { - "@octokit/core": "^6.0.1", - "@octokit/plugin-paginate-rest": "^10.0.0", - "@octokit/plugin-request-log": "^5.0.0", - "@octokit/plugin-rest-endpoint-methods": "^11.0.1" + "@octokit/core": "^6.1.2", + "@octokit/plugin-paginate-rest": "^11.0.0", + "@octokit/plugin-request-log": "^5.1.0", + "@octokit/plugin-rest-endpoint-methods": "^13.0.0" }, "devDependencies": { - "@octokit/auth-action": "^5.0.0", - "@octokit/auth-app": "^7.0.0-beta.4", - "@octokit/fixtures-server": "^8.0.0", - "@octokit/request": "^9.0.1", + "@octokit/auth-action": "^5.1.0", + "@octokit/auth-app": "^7.0.0-beta.8", + "@octokit/fixtures-server": "^8.1.0", + "@octokit/request": "^9.1.1", "@octokit/tsconfig": "^3.0.0", "@types/jest": "^29.5.11", "@types/node": "^20.11.5",