Skip to content

Conversation

@larabr
Copy link
Collaborator

@larabr larabr commented Jan 26, 2024

The Compression Stream API is now implemented on all platforms: https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API .

Breaking change: config.deflateLevel has been dropped. The Compression Stream API does not accept a deflate level in input, and since using compression is now discouraged on security grounds, we drop the config option altogether.

@larabr larabr requested a review from twiss January 26, 2024 14:09
@larabr larabr force-pushed the v6-compression-stream-api branch from 5e9df8f to 8c2c6cf Compare January 31, 2024 15:40
If Compression Stream API is not available, fallback to fflate, also in Node.

The `config.deflateLevel` is removed as the API does not accept a deflate level
in input, and the setting is of limited importance. Plus, using compression
is discouraged on security grounds.
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