Skip to content
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

fix: Add previously exported types back in #326

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

felixrieseberg
Copy link
Member

We exported various types in older versions of @electron/asar that were removed without a major version bump. We use some of those types in core packages like @electron/packager.

I've used the last index.d.ts we manually crafted (https://github.com/electron/asar/blob/50b0c62e5b24c3d164687e6470b8658e09b09eea/lib/index.d.ts) and made a best effort to bridge the "breaking change gap". The types are not strictly identical but I hope that this will catch 99% of build errors people might otherwise run into.

@felixrieseberg felixrieseberg requested a review from a team as a code owner September 11, 2024 00:39
@felixrieseberg felixrieseberg merged commit baf479c into main Sep 11, 2024
4 checks passed
@felixrieseberg felixrieseberg deleted the felixr-add-types-back branch September 11, 2024 00:45
Copy link

🎉 This PR is included in version 3.2.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants