mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
stream: add support for deflate-raw format to webstreams compression
this change makes `deflate-raw` a valid parameter for both CompressionStream and DecompressionStream constructors it makes node's implementation consistent with what modern browsers support and what specification calls for see: https://wicg.github.io/compression/#compression-stream PR-URL: https://github.com/nodejs/node/pull/50097 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
bb2dd0e90c
commit
3e14cfbbcf
3 files changed
+19
-5
No files matched your search
+10
-2
@@ -1420,9 +1420,13 @@ changes:
|
||||
|
||||
<!-- YAML
|
||||
added: v17.0.0
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/50097
|
||||
description: format now accepts `deflate-raw` value.
|
||||
-->
|
||||
|
||||
* `format` {string} One of either `'deflate'` or `'gzip'`.
|
||||
* `format` {string} One of `'deflate'`, `'deflate-raw'`, or `'gzip'`.
|
||||
|
||||
#### `compressionStream.readable`
|
||||
|
||||
@@ -1454,9 +1458,13 @@ changes:
|
||||
|
||||
<!-- YAML
|
||||
added: v17.0.0
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/50097
|
||||
description: format now accepts `deflate-raw` value.
|
||||
-->
|
||||
|
||||
* `format` {string} One of either `'deflate'` or `'gzip'`.
|
||||
* `format` {string} One of `'deflate'`, `'deflate-raw'`, or `'gzip'`.
|
||||
|
||||
#### `decompressionStream.readable`
|
||||
|
||||
|
||||
Reference in new issue
Block a user