node/lib
devstone 3111ed7011
stream: handle undefined chunks correctly in decode stream
Align TextDecoderStream behavior with WPT requirements by treating
undefined chunks as errors. This change ensures that TextDecoderStream
properly handles unexpected chunk types and throws an error when
receiving undefined input.

This update addresses the failing WPT for decode stream error handling.

PR-URL: https://github.com/nodejs/node/pull/55153
Reviewed-By: Mattias Buelens <mattias@buelens.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
2024-09-30 17:54:43 +00:00
..
assert
dns dns: make promise API fully constructed from lib/internal/dns/promises 2022-06-20 19:58:45 +01:00
fs
inspector inspector: refactor inspector/promises to be more robust 2022-10-19 18:39:31 +00:00
internal stream: handle undefined chunks correctly in decode stream 2024-09-30 17:54:43 +00:00
path path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
readline lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
stream stream: add pipeline() for webstreams 2023-02-02 19:45:42 +00:00
test test_runner: do not expose internal loader 2024-08-13 15:17:50 +02:00
timers timers: document ref option for scheduler.wait 2024-09-02 06:57:02 +00:00
util util: add util/types alias module 2020-10-21 01:26:34 +02:00
_http_agent.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_client.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_common.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_incoming.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_outgoing.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_server.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_stream_duplex.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_passthrough.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_readable.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_transform.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_wrap.js
_stream_writable.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_tls_common.js tls: remove prototype primordials 2024-07-07 00:56:04 +00:00
_tls_wrap.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
assert.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
async_hooks.js lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
buffer.js buffer: fix out of range for toString 2024-09-06 17:39:24 +00:00
child_process.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
cluster.js cluster: use ObjectPrototypeHasOwnProperty 2023-05-25 16:04:19 +00:00
console.js
constants.js
crypto.js crypto: runtime deprecate crypto.fips 2024-09-25 22:31:03 +00:00
dgram.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
diagnostics_channel.js lib: add diagnostics_channel events to module loading 2024-06-20 21:25:04 -03:00
dns.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
domain.js lib: the REPL should survive deletion of Array.prototype methods 2024-09-17 15:08:43 +00:00
eslint.config_partial.mjs zlib: remove prototype primordials usage 2024-09-19 03:16:20 +00:00
events.js lib, tools: remove duplicate requires 2024-09-25 08:51:28 +00:00
fs.js src: add receiver to fast api callback methods 2024-09-28 09:46:03 +00:00
http.js http: expose websockets 2024-07-08 15:55:43 +00:00
http2.js http2: add server handshake utility 2024-01-12 16:09:48 +00:00
https.js lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
inspector.js lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
module.js module: implement flushCompileCache() 2024-09-20 19:05:07 +00:00
net.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
os.js os: use const with early return for path 2024-09-18 02:51:46 +00:00
path.js path: remove repetitive conditional operator in posix.resolve 2024-09-18 12:18:24 +00:00
perf_hooks.js lib: add trailing commas to all public core modules 2023-02-28 12:10:24 +01:00
process.js src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
punycode.js lib: runtime deprecate punycode 2023-04-03 17:47:28 +00:00
querystring.js lib: add trailing commas to all public core modules 2023-02-28 12:10:24 +01:00
readline.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
repl.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
sea.js sea: support sea.getRawAsset() 2024-02-02 15:25:34 +01:00
sqlite.js lib,src,test,doc: add node:sqlite module 2024-07-09 20:33:38 +00:00
stream.js stream: change stream to use index instead of for...of 2024-08-23 07:31:55 +00:00
string_decoder.js string_decoder: refactor encoding validation 2024-09-23 22:49:53 +00:00
sys.js lib: add note about removing node:sys module 2024-09-05 21:53:52 +02:00
test.js test_runner: add snapshot testing 2024-05-30 09:07:17 -04:00
timers.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
tls.js tls: remove prototype primordials 2024-07-07 00:56:04 +00:00
trace_events.js trace_events: use private fields instead of symbols for Tracing 2023-12-28 23:20:22 +00:00
tty.js tty: initialize winSize array with values 2024-08-11 06:32:13 +00:00
url.js lib: remove lib/internal/idna.js 2024-09-23 19:33:43 +00:00
util.js lib: add util.getCallSite() API 2024-09-04 19:47:25 +00:00
v8.js v8: move ToNamespacedPath to c++ 2024-07-04 16:19:36 +00:00
vm.js vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY 2024-08-29 09:05:03 +00:00
wasi.js wasi: make returnOnExit true by default 2023-04-11 16:35:52 -04:00
worker_threads.js worker: add postMessageToThread 2024-07-09 07:16:04 +00:00
zlib.js zlib: remove zlib.bytesRead 2024-09-28 23:46:21 +00:00