-
Notifications
You must be signed in to change notification settings - Fork 32
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]: CJS/ESM related TS issues #650
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 labeled with |
See octokit/types.ts#650. Signed-off-by: Austin Ziegler <[email protected]>
See octokit/types.ts#650. Signed-off-by: Austin Ziegler <[email protected]>
ATTW is a good resource for validating types and that also seems to indicate that https://arethetypeswrong.github.io/?p=@octokit/[email protected] |
Could be related: https://github.com/octokit/types.ts/pull/610/files#r1773781702 |
It is a type only package after all, ESM vs CJS it doesn't matter. Please note that it is not advised to depend on I do know about ATTW. I will have a patch to fix these issues ASAP |
Yeah, I do not depend on this package directly, but I compile my dependencies that do (using Thanks for the prompt response and PR! |
🎉 This issue has been resolved in version 13.6.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@Maxim-Mazurok thanks for reporting this and thanks @wolfy1339 for the PR. @Maxim-Mazurok now we need Renovate to wait to do its job and merge all the subsequent PRs. As soon as everything is published, let us know if it solves your issue. |
They are using the previous version of the Octokit libraries that is still CJS. They won't get a new version from these updates. Refreshing their lockfiles should fix this issue |
What happened?
Hello, I don't skip libcheck in my TSC, and started getting these errors since that latest update (13.6.0):
It was working fine on 13.5.0 before
See for details: Maxim-Mazurok/google-api-typings-generator#1079 and https://github.com/Maxim-Mazurok/google-api-typings-generator/actions/runs/11089432725/job/30810552166?pr=1079#step:5:1
Versions
@octokit/types: 13.6.0 (all worked fine with 13.5.0)
@octokit/core: 5.2.0
@octokit/graphql: 7.1.0
@octokit/plugin-paginate-rest: 11.3.1
@octokit/plugin-rest-endpoint-methods: 13.2.2
@octokit/request: 8.4.0
@octokit/request-error: 5.1.0
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: