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

Use the browser native DecompressionStream API #640

Merged
merged 7 commits into from
Jun 5, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented May 30, 2023

Unfortunately, the DOM type definitions haven't been updated yet with the stabilization of DecompressionStream, so this PR doesn't compile. But eventually it will.

We also now use zlib.inflate in NodeJS, meaning that the pako dependency is no longer necessary.

@tomaka
Copy link
Contributor Author

tomaka commented Jun 5, 2023

Tried in Firefox and Chrome. Works fine.

@tomaka tomaka added this pull request to the merge queue Jun 5, 2023
Merged via the queue into smol-dot:main with commit ec96358 Jun 5, 2023
@tomaka tomaka deleted the native-inflate branch June 5, 2023 09:04
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.

1 participant