-
Notifications
You must be signed in to change notification settings - Fork 316
[BUG]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in #667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in #667
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with |
Please share reproducible code example |
That specific error message suggest you are not using ESM. Please see the usage section in the README: |
Hi, I have the same issue.
Octokit.js: v6.0.1 I already use ESM to import the Octokit class: |
Are you using typescript at all? In typescript just because you are importing using ESM imports doesn't mean you are using ESM |
If anyone is experiencing this issue, please give a small reproducible example in a separate repo. Include the Also don't forget to specify the environment (Browser/Node/Deno as well as the version) It would be very helpful in diagnosing this issue and helping out users. You may also want to read up on ESM packages, https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c |
Anyone found a workaround for this, i'm also experiencing same issue |
@iamnotstatic Please read my comment above. |
@wolfy1339 https://github.com/Darker935/MdgWa-TEST Run with |
@Darker935 Also, you are still using CJS in your example which explains some of the errors |
Downgrading to |
I understand that downgrading has solved the issue, I really wish to diagnose and fix this issue for users |
Okay, this was my initial config
tsconfig
|
You are using CJS and not ESM. You will need to use dynamic imports or upgrade to ESM
|
Alright thanks @wolfy1339 |
@wolfy1339 I'm getting the same error and others, setting to ESM or "node16" in tsconfig
Results in:
With:
Case package.json type = "module":
Without package.json type = "module":
With:
Results in:
My default tsconfig.json file:
I'm using "@octokit/core": "^6.0.1" and Node v18.17.0
|
You can use dynamic imports, upgrade your code to ESM, or stick with v5 Option 1: async function main() {
const { Octokit } = await import('@octokit/core');
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
}
main(); Option 2: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Option 3:
The error in question in this issue is people that their code is CJS and are importing an ESM module. There is also bugs with At this point, there is nothing actionable on our part. This is user error |
@wolfy1339 I don't think this should've been closed out. The resolution would be to add to all octokit ".": {
"default": "path/to/entry.js"
} So many packages I've seen in the wild omit |
From how I interpret the documentation, Do you have an explanation as to why thus isn't the case? |
@wolfy1339 I've seen this happen in @JoaoScheleder @iamnotstatic @IchanZX1 @clementhemidy "exports": {
".": {
"types": "./dist-types/index.d.ts",
- "import": "./dist-src/index.js"
+ "import": "./dist-src/index.js",
+ "default": "./dist-src/index.js"
}
}, |
@jeremy-daley-kr
And it did help, but i was still getting an error. Important what helped me was switching from nodemon and ts-node to tsx.
|
* fix(pkg): add a `default` fallback export See octokit/core.js#665 octokit/core.js#667 * docs(README): add note on needed config changes for TypeScript
* fix(pkg): add a default fallback See octokit/core.js#665 octokit/core.js#667 * docs: add note on needed config changes for TypeScript
* fix(pkg): add a `default` fallback export See octokit/core.js#665 octokit/core.js#667 * docs: add note on needed config changes for TypeScript
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@octokit/plugin-paginate-rest](https://togithub.com/octokit/plugin-paginate-rest.js) | [`11.1.0` -> `11.1.1`](https://renovatebot.com/diffs/npm/@octokit%2fplugin-paginate-rest/11.1.0/11.1.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>octokit/plugin-paginate-rest.js (@​octokit/plugin-paginate-rest)</summary> ### [`v11.1.1`](https://togithub.com/octokit/plugin-paginate-rest.js/releases/tag/v11.1.1) [Compare Source](https://togithub.com/octokit/plugin-paginate-rest.js/compare/v11.1.0...v11.1.1) ##### Bug Fixes - **pkg:** add default fallback and types export ([#​612](https://togithub.com/octokit/plugin-paginate-rest.js/issues/612)) ([069235f](https://togithub.com/octokit/plugin-paginate-rest.js/commit/069235f45a8b49f2bccdc9cc561ec7375d225eec)), closes [ocotkit/core.js#665](https://togithub.com/ocotkit/core.js/issues/665) [octokit/core.js#667](https://togithub.com/octokit/core.js/issues/667) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/earthly/actions-setup). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJub24tbWFqb3IiLCJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@octokit/request-error](https://togithub.com/octokit/request-error.js) | [`^6.0.0` -> `^6.1.1`](https://renovatebot.com/diffs/npm/@octokit%2frequest-error/6.0.2/6.1.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [octokit](https://togithub.com/octokit/octokit.js) | [`3.1.2` -> `3.2.0`](https://renovatebot.com/diffs/npm/octokit/3.1.2/3.2.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>octokit/request-error.js (@​octokit/request-error)</summary> ### [`v6.1.1`](https://togithub.com/octokit/request-error.js/releases/tag/v6.1.1) [Compare Source](https://togithub.com/octokit/request-error.js/compare/v6.1.0...v6.1.1) ##### Bug Fixes - **pkg:** add `default` fallback and `types` export ([#​419](https://togithub.com/octokit/request-error.js/issues/419)) ([a1ab11e](https://togithub.com/octokit/request-error.js/commit/a1ab11e3d9bcc065bb0f5cb1c307d295aef85505)), closes [octokit/core.js#665](https://togithub.com/octokit/core.js/issues/665) [octokit/core.js#667](https://togithub.com/octokit/core.js/issues/667) ### [`v6.1.0`](https://togithub.com/octokit/request-error.js/releases/tag/v6.1.0) [Compare Source](https://togithub.com/octokit/request-error.js/compare/v6.0.3...v6.1.0) ##### Features - **security:** Add provenance ([#​416](https://togithub.com/octokit/request-error.js/issues/416)) ([2836ddb](https://togithub.com/octokit/request-error.js/commit/2836ddb477c1b9fc0310679017776d0ff8a009c6)) ### [`v6.0.3`](https://togithub.com/octokit/request-error.js/releases/tag/v6.0.3) [Compare Source](https://togithub.com/octokit/request-error.js/compare/v6.0.2...v6.0.3) ##### Bug Fixes - **deps:** update dependency [@​octokit/types](https://togithub.com/octokit/types) to v13 ([352b655](https://togithub.com/octokit/request-error.js/commit/352b655b176d76c9c03649babaafd063227c3785)) </details> <details> <summary>octokit/octokit.js (octokit)</summary> ### [`v3.2.0`](https://togithub.com/octokit/octokit.js/releases/tag/v3.2.0) [Compare Source](https://togithub.com/octokit/octokit.js/compare/v3.1.2...v3.2.0) ##### Features - **security:** Add provenance ([#​2653](https://togithub.com/octokit/octokit.js/issues/2653)) ([a90799a](https://togithub.com/octokit/octokit.js/commit/a90799a69cb0a62f9103b395c3f26627f0402755)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/create-typescript-app). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Is it CJS? I'm getting My tsconfig:
|
Nope it is not CJS. You haven't defined your file as an ESM module. Either use the |
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@octokit/openapi-types](https://redirect.github.com/octokit/openapi-types.ts) ([source](https://redirect.github.com/octokit/openapi-types.ts/tree/HEAD/packages/openapi-types)) | [`^24.0.0` -> `^25.0.0`](https://renovatebot.com/diffs/npm/@octokit%2fopenapi-types/24.2.0/25.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@octokit/plugin-paginate-rest](https://redirect.github.com/octokit/plugin-paginate-rest.js) | [`^11.0.0` -> `^12.0.0`](https://renovatebot.com/diffs/npm/@octokit%2fplugin-paginate-rest/11.0.0/12.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@octokit/plugin-throttling](https://redirect.github.com/octokit/plugin-throttling.js) | [`^9.0.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/@octokit%2fplugin-throttling/9.0.3/10.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>octokit/openapi-types.ts (@​octokit/openapi-types)</summary> ### [`v25.0.0`](https://redirect.github.com/octokit/openapi-types.ts/releases/tag/v25.0.0) [Compare Source](https://redirect.github.com/octokit/openapi-types.ts/compare/v24.2.0...v25.0.0) ##### Features - new `/orgs/{org}/campaigns`, `/orgs/{org}/campaigns/{campaign_number}` endpoints, remove Copilot usage endpoints, description updates ([#​461](https://redirect.github.com/octokit/openapi-types.ts/issues/461)) ([f27d1a2](https://redirect.github.com/octokit/openapi-types.ts/commit/f27d1a26acd9ff348e44436a02493fe05a5dd530)) ##### BREAKING CHANGES - Remove Copilot usage endpoints </details> <details> <summary>octokit/plugin-paginate-rest.js (@​octokit/plugin-paginate-rest)</summary> ### [`v12.0.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v12.0.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.6.0...v12.0.0) ##### Features - add new org campaigns endpoints and remove deprecated endpoints ([#​671](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/671)) ([65d3d50](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/65d3d50d26998c9c308379681ed50a9127bf9d16)) ##### BREAKING CHANGES - remove deprecated copilot usage endpoints ### [`v11.6.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.6.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.5.0...v11.6.0) ##### Features - new `/orgs/{org}/issue-types`, `/orgs/{org}/issue-types/{issue_type_id}` enpoints ([#​666](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/666)) ([1f44b54](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/1f44b5469b31ddec9621000e6e1aee63c71ea8bf)) ### [`v11.5.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.5.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.4.3...v11.5.0) ##### Features - new `GET /orgs/{org}/actions/hosted-runners`, `GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners`, `GET /orgs/{org}/rulesets/{ruleset_id}/history`, `GET /orgs/{org}/settings/network-configurations`, `GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history` endpoints ([#​649](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/649)) ([ef30a05](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/ef30a0561b51dd7db704b2aabd61e06ce4a5315c)) ### [`v11.4.3`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.4.3) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.4.2...v11.4.3) ##### Bug Fixes - **types:** correct pagination return type for data which is an array ([#​662](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/662)) ([9a51aad](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/9a51aad17248ac30250344171f7e3a41ffa3c2c5)), closes [#​661](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/661) ### [`v11.4.2`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.4.2) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.4.1...v11.4.2) ##### Bug Fixes - **types:** add back the pagination keys ([#​653](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/653)) ([8b8c500](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/8b8c500a2523329b3ba8adfa258a8def66ddb12e)), closes [#​652](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/652) ### [`v11.4.1`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.4.1) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.4.0...v11.4.1) ##### Bug Fixes - mitigate ReDos issues & linting issues ([#​659](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/659)) ([7d1fade](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/7d1fade7d42500129af04af327c0915a12253f71)), fixes [#​657](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/657) ### [`v11.4.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.4.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.3.6...v11.4.0) ##### Features - new action runner groups endpoints, new code scanning alerts autofix endpoints, new sub-issues endpoints, new private registries enpoints, new code security endpoints, various description updates ([#​646](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/646)) ([a73883f](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/a73883fe1e82e2cae7ba83468327dd0e75303a39)) ### [`v11.3.6`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.3.6) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.3.5...v11.3.6) ##### Bug Fixes - **types:** bump `@octokit/types` to improve Deno compatibility ([#​642](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/642)) ([acb6a6e](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/acb6a6e0bf02cdd14b79c89658a566490f504b9a)) ### [`v11.3.5`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.3.5) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.3.4...v11.3.5) ##### Bug Fixes - **types:** improve type extraction for namespaced responses and correct async iterator types ([#​637](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/637)) ([e95444d](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/e95444ded3d4ae1263f0f209d2d48c4e86404bf9)) ### [`v11.3.4`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.3.4) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.3.3...v11.3.4) ##### Bug Fixes - **deps:** bump `@octokit/types` ([#​636](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/636)) ([b2dc51c](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/b2dc51c62df35c525c199d031a5340f2ab4dc32e)) ### [`v11.3.3`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.3.3) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.3.1...v11.3.3) This is the same release as [v11.3.0](https://redirect.github.com/octokit/plugin-paginate-rest.js/tree/v11.3.0) ##### Bug Fixes - empty commit to trigger release ([#​623](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/623)) ([36b40b3](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/36b40b3f7a4808543abbe23a0daec840001c91e5)), closes [#​622](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/622) ### [`v11.3.1`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.3.1) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.3.0...v11.3.1) <h1>**Special release to backport newer REST API to CJS users**</h1> ##### Reverts - Revert "feat: package is now ESM ([#​596](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/596))" ([64ba6f4](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/64ba6f4c43709992cc36c0eb9da1ad6d6e998608)), closes [#​596](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/596) - Revert "fix(pkg): add default fallback and types export ([#​612](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/612))" ([27a8552](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/27a855290a61de36055e662fa19ef42f62f0e2ac)), closes [#​612](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/612) - Revert "docs(README): update examples to use ESM ([#​611](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/611))" ([1389b71](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/1389b71b577557ca7eb6261ddee244f5e2530a48)), closes [#​611](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/611) ### [`v11.3.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.3.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.2.0...v11.3.0) ##### Features - Copilot usage endpoints for Enterprise ([#​613](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/613)) ([8e79d82](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/8e79d826d8844cde937457c95e346eebc127f8f3)) ### [`v11.2.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.2.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.1.1...v11.2.0) ##### Features - updates [@​octokit/types](https://redirect.github.com/octokit/types) to v13.4.1 ([#​609](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/609)) ([5a201a7](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/5a201a751febebd72dd2706bb73ed8e608d307fa)) ### [`v11.1.1`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.1.1) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.1.0...v11.1.1) ##### Bug Fixes - **pkg:** add default fallback and types export ([#​612](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/612)) ([069235f](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/069235f45a8b49f2bccdc9cc561ec7375d225eec)), closes [ocotkit/core.js#665](https://redirect.github.com/ocotkit/core.js/issues/665) [octokit/core.js#667](https://redirect.github.com/octokit/core.js/issues/667) ### [`v11.1.0`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.1.0) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.0.1...v11.1.0) ##### Features - Updates [@​octokit/types](https://redirect.github.com/octokit/types) to v13.4.0 ([#​606](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/606)) ([02d6110](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/02d6110c9c6eef619ef840409eddef1e16e98e70)) ### [`v11.0.1`](https://redirect.github.com/octokit/plugin-paginate-rest.js/releases/tag/v11.0.1) [Compare Source](https://redirect.github.com/octokit/plugin-paginate-rest.js/compare/v11.0.0...v11.0.1) ##### Bug Fixes - **deps:** bump `@octokit/types` ([#​605](https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/605)) ([f97c080](https://redirect.github.com/octokit/plugin-paginate-rest.js/commit/f97c080f924eb5d01398172d694c5444230ee517)) </details> <details> <summary>octokit/plugin-throttling.js (@​octokit/plugin-throttling)</summary> ### [`v10.0.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.6.1...v10.0.0) ##### Features - new org campaign endpoints, remove deprecated Copilot usage endpoints ([#​784](https://redirect.github.com/octokit/plugin-throttling.js/issues/784)) ([0520476](https://redirect.github.com/octokit/plugin-throttling.js/commit/05204760238ea99bf549a46d72ed768081835daf)) ##### BREAKING CHANGES - remove deprecated Copilot usage endpoints ### [`v9.6.1`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.6.1) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.6.0...v9.6.1) ##### Bug Fixes - don't deadlock on 10+ concurrent requests needing auth ([#​779](https://redirect.github.com/octokit/plugin-throttling.js/issues/779)) ([54f107e](https://redirect.github.com/octokit/plugin-throttling.js/commit/54f107ef425268d29d88008c4b08fae3a17c11fb)) ### [`v9.6.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.6.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.5.0...v9.6.0) ##### Features - new `/orgs/{org}/issue-types`, `/orgs/{org}/issue-types/{issue_type_id}` enpoints ([#​778](https://redirect.github.com/octokit/plugin-throttling.js/issues/778)) ([b879eb9](https://redirect.github.com/octokit/plugin-throttling.js/commit/b879eb91fa1e8877632f3513cbb5a08bba26498f)) ### [`v9.5.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.5.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.4.0...v9.5.0) ##### Features - new `/enterprises/{enterprise}/actions/hosted-runners`, `/orgs/{org}/actions/hosted-runners`, `/orgs/{org}/settings/network-configurations`, `/orgs/{org}/rulesets/{ruleset_id}/history`,`/repos/{owner}/{repo}/rulesets/{ruleset_id}/history` endpoints ([#​777](https://redirect.github.com/octokit/plugin-throttling.js/issues/777)) ([52d925e](https://redirect.github.com/octokit/plugin-throttling.js/commit/52d925ead6f6484faeb7d8f9dc0ab386f84460ba)) ### [`v9.4.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.4.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.3.3...v9.4.0) ##### Features - new action runner groups endpoints, new code scanning alerts autofix endpoints, new sub-issues endpoints, new private registries enpoints, new code security endpoints ([#​762](https://redirect.github.com/octokit/plugin-throttling.js/issues/762)) ([2dab79a](https://redirect.github.com/octokit/plugin-throttling.js/commit/2dab79accd7c72b5fe428c5ca62e45cc9a7ff4b0)) ### [`v9.3.3`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.3.3) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.3.2...v9.3.3) ##### Bug Fixes - **deps:** bump Octokit deps to fix Deno compat ([#​761](https://redirect.github.com/octokit/plugin-throttling.js/issues/761)) ([553f0b4](https://redirect.github.com/octokit/plugin-throttling.js/commit/553f0b409e5ca7663c0c4bb9812bee7aab0ff0c0)) ### [`v9.3.2`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.3.2) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.3.1...v9.3.2) ##### Bug Fixes - handle 429 status code when being throttled ([#​740](https://redirect.github.com/octokit/plugin-throttling.js/issues/740)) ([128ecb6](https://redirect.github.com/octokit/plugin-throttling.js/commit/128ecb6b7c252789906300b29b0f98dd874b27cd)) ### [`v9.3.1`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.3.1) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.3.0...v9.3.1) ##### Bug Fixes - only import Octokit as type ([#​721](https://redirect.github.com/octokit/plugin-throttling.js/issues/721)) ([e3727b4](https://redirect.github.com/octokit/plugin-throttling.js/commit/e3727b487fbd524d47987417af231088062db94f)) ### [`v9.3.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.3.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.2.1...v9.3.0) ##### Features - Copilot usage endpoints ([#​697](https://redirect.github.com/octokit/plugin-throttling.js/issues/697)) ([f11e11d](https://redirect.github.com/octokit/plugin-throttling.js/commit/f11e11d5d35c505bcc11ca3aa32a8c3c5dde5ae3)) ### [`v9.2.1`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.2.1) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.2.0...v9.2.1) ##### Bug Fixes - **pkg:** add a `default` fallback export ([#​695](https://redirect.github.com/octokit/plugin-throttling.js/issues/695)) ([0f404fb](https://redirect.github.com/octokit/plugin-throttling.js/commit/0f404fbd252558c8c86a62c8488157bcc82b32b0)) ### [`v9.2.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.2.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.1.0...v9.2.0) ##### Features - routes changed from repository_id to nwo and enterprise groups now includes the enterprise in route ([#​684](https://redirect.github.com/octokit/plugin-throttling.js/issues/684)) ([734bcba](https://redirect.github.com/octokit/plugin-throttling.js/commit/734bcba56f14d90110f504a3bd2753c2033cc730)) ### [`v9.1.0`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.1.0) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.0.4...v9.1.0) ##### Features - **security:** Add provenance ([#​689](https://redirect.github.com/octokit/plugin-throttling.js/issues/689)) ([7eb48d5](https://redirect.github.com/octokit/plugin-throttling.js/commit/7eb48d50595022635a47f4df3f2a3a001407fa4f)) ### [`v9.0.4`](https://redirect.github.com/octokit/plugin-throttling.js/releases/tag/v9.0.4) [Compare Source](https://redirect.github.com/octokit/plugin-throttling.js/compare/v9.0.3...v9.0.4) ##### Bug Fixes - **deps:** update dependency [@​octokit/types](https://redirect.github.com/octokit/types) to v13 ([8cc6eb9](https://redirect.github.com/octokit/plugin-throttling.js/commit/8cc6eb903b85ee56dd59124416919d4c707329e7)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/gr2m/github-project). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
What happened?
How To fix?
Versions
Octokit.js v6.0.1, Node v18.19.1
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: