Skip to content

Fix importing zlib for commonjs modules#31

Merged
isaacs merged 1 commit intoisaacs:mainfrom
Goodwine:patch-1
Mar 31, 2025
Merged

Fix importing zlib for commonjs modules#31
isaacs merged 1 commit intoisaacs:mainfrom
Goodwine:patch-1

Conversation

@Goodwine
Copy link
Copy Markdown
Contributor

@Goodwine Goodwine commented Aug 7, 2024

@itchyny
Copy link
Copy Markdown

itchyny commented Aug 9, 2024

I support this change. Currently, TypeScript users depending on this module have to enable the option allowSyntheticDefaultImports on.
Reproduction: https://gist.github.com/itchyny/2f4f5d9f7383d44367f5931de8ded659

@isaacs isaacs closed this in 65ba5a0 Mar 31, 2025
@isaacs isaacs merged commit 65ba5a0 into isaacs:main Mar 31, 2025
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.

3 participants