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

Finish errant ESM upgrade #144

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Finish errant ESM upgrade #144

merged 2 commits into from
Jun 25, 2024

Conversation

audiodude
Copy link
Member

The ESM conversion was only partially complete in #136. The PR #141 updated it to use the right import syntax.

This PR further updates the index.js file to use the right export syntax for ESM.

Additionally, we add a "dist" test that imports from the finished dist/ folder. This ensures that everything is "hooked up" properly and that all the symbols can be properly imported.

This PR should be released immediately as 3.2.3, because the exports are broken in 3.2.2. (And maybe the changelog should reflect that 3.2.1 and 3.2.2 are faulty).

Sorry!

@audiodude audiodude changed the title Whole file esm Finish errant ESM upgrade Jun 25, 2024
@audiodude audiodude requested a review from kelson42 June 25, 2024 05:48
@kelson42
Copy link
Contributor

@audiodude Please go ahead with merge and release if you want

@audiodude
Copy link
Member Author

@kelson42 I don't have permission without review

@kelson42 kelson42 merged commit 88e8b77 into main Jun 25, 2024
16 checks passed
@kelson42 kelson42 deleted the whole-file-esm branch June 25, 2024 10:06
@kelson42 kelson42 added this to the 3.2.3 milestone Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants