node/lib/internal/webstreams
0hm☘️ 62855f3b8c
stream: making DecompressionStream spec compilent for trailing junk
Introduce `ERR_TRAILING_JUNK_AFTER_STREAM_END`
error to handle unexpected data after the end of
a compressed stream. This ensures proper error
reporting when decompressing deflate or gzip
streams with trailing junk. Added tests to
verify the behavior.

Fixes: https://github.com/nodejs/node/issues/58247
PR-URL: https://github.com/nodejs/node/pull/58316
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
2025-05-26 00:38:39 +00:00
..
adapters.js lib: fixup more incorrect ERR_INVALID_ARG_VALUE uses 2025-02-24 23:23:32 +00:00
compression.js stream: making DecompressionStream spec compilent for trailing junk 2025-05-26 00:38:39 +00:00
encoding.js
queuingstrategies.js
readablestream.js stream: fix typo in ReadableStreamBYOBReader.readIntoRequests 2025-01-13 15:11:47 +00:00
transfer.js lib: replace `createDeferredPromise` util with `Promise.withResolvers` 2024-10-19 10:13:58 +02:00
transformstream.js lib: replace `createDeferredPromise` util with `Promise.withResolvers` 2024-10-19 10:13:58 +02:00
util.js stream: commit pull-into descriptors after filling from queue 2024-12-07 03:45:13 +00:00
writablestream.js stream: fix sizeAlgorithm validation in WritableStream 2025-03-05 03:04:39 +00:00