From 867a6d303285cdffd060e6bb4b0e97de73925cfe Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 17 May 2023 01:20:32 +0200 Subject: refactor(node): reimplement http client (#19122) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit reimplements most of "node:http" client APIs using "ext/fetch". There is some duplicated code and two removed Node compat tests that will be fixed in follow up PRs. --------- Co-authored-by: Bartek IwaƄczuk --- ext/node/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/node/Cargo.toml') diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 00d36107f..9e74c1708 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -18,6 +18,7 @@ aes.workspace = true cbc.workspace = true data-encoding = "2.3.3" deno_core.workspace = true +deno_fetch.workspace = true deno_fs.workspace = true deno_media_type.workspace = true deno_npm.workspace = true @@ -46,6 +47,7 @@ path-clean = "=0.1.0" pbkdf2 = "0.12.1" rand.workspace = true regex.workspace = true +reqwest.workspace = true ring.workspace = true ripemd = "0.1.3" rsa.workspace = true -- cgit v1.2.3