1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/tests/unit_node
Nicola Bovolato 8dd6177c62
fix(ext/node): refactor http.ServerResponse into function class (#26210)
While testing, I found out that light-my-request relies on
`ServerResponse.connection`, which is deprecated, so I added that and
`socket`, the non deprecated property.

It also relies on an undocumented `_header` property, apparently for
[raw header
processing](https://github.com/fastify/light-my-request/blob/v6.1.0/lib/response.js#L180-L186).
I added it as an empty string, feel free to provide other approaches.

Fixes #19901

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-25 00:02:26 +02:00
..
_fs
crypto
internal
testdata
_test_utils.ts
assert_test.ts
assertion_error_test.ts
async_hooks_test.ts
buffer_test.ts
child_process_test.ts
cluster_test.ts
console_test.ts
dgram_test.ts
domain_test.ts
events_test.ts
fs_test.ts fix(ext/node): map ERROR_INVALID_NAME to ENOENT on windows (#26475) 2024-10-23 11:28:04 +09:00
http2_test.ts
http_test.ts fix(ext/node): refactor http.ServerResponse into function class (#26210) 2024-10-25 00:02:26 +02:00
inspector_test.ts
module_test.ts
net_test.ts
os_test.ts
path_test.ts
perf_hooks_test.ts
process_test.ts
punycode_test.ts
querystring_test.ts
readline_test.ts
repl_test.ts
stream_test.ts
string_decoder_test.ts
timers_test.ts
tls_test.ts fix(node:tls): set TLSSocket.alpnProtocol for client connections (#26476) 2024-10-23 07:47:43 +00:00
tty_test.ts
util_test.ts fix(node/util): support array formats in styleText (#26507) 2024-10-24 11:46:51 +02:00
v8_test.ts
vm_test.ts
wasi_test.ts
worker_threads_test.ts
zlib_test.ts