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

Add brotliCompressSync #6152

Closed
Gusb3ll opened this issue Sep 28, 2023 · 2 comments
Closed

Add brotliCompressSync #6152

Gusb3ll opened this issue Sep 28, 2023 · 2 comments
Labels
enhancement New feature or request node.js Compatibility with Node.js APIs

Comments

@Gusb3ll
Copy link

Gusb3ll commented Sep 28, 2023

What is the problem this feature would solve?

Right now if you try to import the brotliCompressSync function from node:zlib we will get

Import named 'brotliCompressSync' not found in module 'node:zlib'

What is the feature you are proposing to solve the problem?

To add more support for the compression algorithm aside from the current gzip and deflate that have been already implemented

What alternatives have you considered?

No response

@Gusb3ll Gusb3ll added the enhancement New feature or request label Sep 28, 2023
@Electroid Electroid added the node.js Compatibility with Node.js APIs label Sep 28, 2023
@thienandangthanh
Copy link

This feature is implemented in #10722 to fix #267

@Jarred-Sumner
Copy link
Collaborator

This will release in Bun v1.1.8, which ships May 8th (tomorrow).

To get it early:

bun upgrade --canary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request node.js Compatibility with Node.js APIs
Projects
None yet
Development

No branches or pull requests

4 participants