Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 17, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

dmitri-gb and others added 2 commits January 17, 2025 19:16
Using both `compress` middleware and the `streamSSE` helper from `hono/streaming` doesn't work correctly -- the SSE messages are not streamed, instead they get buffered by the compression mechanism.

According to [expressjs/compression](https://github.com/expressjs/compression#server-sent-events), it should possible to compress server-sent events, if the underlying compression mechanism supports manual _flushing_. As far as I can tell though, `CompressionStream` (used by Hono's `compress` middleware) doesn't offer this functionality, so the best we can do is not compress SSE streams at all.
* perf(build): Use WebWorker when removing private fields

* Update build/remove-private-fields.ts

Co-authored-by: Shotaro Nakamura <[email protected]>

---------

Co-authored-by: Shotaro Nakamura <[email protected]>
@pull pull bot added the ⤵️ pull label Jan 17, 2025
@pull pull bot merged commit 6fd7d0b into Mu-L:main Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants