1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -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 feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
crypto fix(ext/node): timingSafeEqual account for AB byteOffset (#26292) 2024-10-16 14:27:28 +05:30
internal chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
testdata fix(ext/crypto): support md4 digest algorithm (#25656) 2024-09-16 11:04:40 +00:00
_test_utils.ts test: remove usage of --unstable flag (#25549) 2024-09-10 11:28:59 +00:00
assert_test.ts fix(node/assert): throws not checking error instance (#24466) 2024-07-08 21:28:39 +02:00
assertion_error_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
async_hooks_test.ts fix: add test ensuring als works across dynamic import (#25593) 2024-09-12 05:42:26 +00:00
buffer_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
child_process_test.ts fix(child_process): map node --no-warnings flag to --quiet (#26288) 2024-10-16 18:25:25 +00:00
cluster_test.ts fix(node/cluster): improve stubs to make log4js work (#25146) 2024-08-26 11:19:58 +02:00
console_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
dgram_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
domain_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
events_test.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
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 BREAKING(ext/net): improved error code accuracy (#25383) 2024-09-27 14:07:20 +00:00
http_test.ts fix(ext/node): refactor http.ServerResponse into function class (#26210) 2024-10-25 00:02:26 +02:00
inspector_test.ts fix(node/inspector): Session constructor should not throw (#25041) 2024-08-14 13:34:24 +00:00
module_test.ts feat(check): turn on useUnknownInCatchVariables (#25465) 2024-09-05 15:22:31 +02:00
net_test.ts feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
os_test.ts feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
path_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
perf_hooks_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
process_test.ts fix: don't warn on ignored signals on windows (#26332) 2024-10-16 19:58:11 -07:00
punycode_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
querystring_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
readline_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
repl_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
stream_test.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
string_decoder_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
timers_test.ts fix(node/timers/promises): add scheduler APIs (#24802) 2024-07-31 12:00:01 +02:00
tls_test.ts fix(node:tls): set TLSSocket.alpnProtocol for client connections (#26476) 2024-10-23 07:47:43 +00:00
tty_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
util_test.ts fix(node/util): support array formats in styleText (#26507) 2024-10-24 11:46:51 +02:00
v8_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
vm_test.ts feat: vm rewrite (#24596) 2024-08-06 12:52:53 +00:00
wasi_test.ts fix(ext/node): register node:wasi built-in (#25134) 2024-08-22 09:03:52 +05:30
worker_threads_test.ts fix(node): fix worker_threads issues blocking Angular support (#26024) 2024-10-04 09:26:32 -07:00
zlib_test.ts fix(ext/node): createBrotliCompress params (#24984) 2024-08-11 14:26:30 +05:30