1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/ext/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
..
benchmarks fix(runtime): use more null proto objects again (#25040) 2024-09-06 12:52:59 +02:00
ops refactor(ext/node): use concrete error types (#26419) 2024-10-24 10:45:17 -07:00
polyfills fix(ext/node): refactor http.ServerResponse into function class (#26210) 2024-10-25 00:02:26 +02:00
build.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
Cargo.toml chore: forward v2.0.2 release commit to main (#26376) 2024-10-18 03:12:49 +02:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
global.rs feat(cli): give access to process global everywhere (#25291) 2024-09-04 11:04:06 +02:00
lib.rs refactor(ext/node): use concrete error types (#26419) 2024-10-24 10:45:17 -07:00
polyfill.rs fix(ext/node): register node:wasi built-in (#25134) 2024-08-22 09:03:52 +05:30
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00

deno_node

require and other node related functionality for Deno.