Yoshiya Hinosawa
70e2e8f2dd
fix(ext/node): add aes-128-ecb algorithm support ( #18412 )
2023-03-25 15:42:07 +09:00
Divy Srivastava
d740a9e43d
feat(ext/node): implement crypto.createSecretKey ( #18413 )
...
This commit adds the `crypto.createSecretKey` API.
Key management: This follows the same approach as our WebCrypto
CryptoKey impl where we use WeakMap for storing key material and a
handle is passed around, such that (only internal) JS can access the key
material and we don't have to explicitly close a Rust resource.
As a result, `createHmac` now accepts a secret KeyObject.
Closes https://github.com/denoland/deno/issues/17844
2023-03-24 14:13:26 +00:00
Yoshiya Hinosawa
3d75fb2be7
fix(ext/node): make cipher/decipher transform stream ( #18408 )
2023-03-24 22:29:14 +09:00
Ryan Dahl
a3529d0232
refactor(ext/node): Use Deno.inspect ( #17960 )
...
No need for two almost identical implementations of the same thing
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
2023-03-23 10:01:07 -04:00
Bartek Iwańczuk
df614ff6e5
test: ignore flaky node:child_process tests ( #18360 )
2023-03-22 18:39:13 +00:00
Max Dahlgren
bf149d047f
test(ext/node): port _fs tests from std/node ( #18262 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-03-20 01:10:39 +09:00
Sanskar Gauchan
3b1cb8af69
test(ext/node): add querystring_test.ts and readline_test.ts ( #18256 )
2023-03-19 19:49:11 +09:00
Sanskar Gauchan
472c06b92e
test(ext/node): add _fs_access_test.ts and _fs_watch_test.ts ( #18249 )
...
part of https://github.com/denoland/deno/issues/17840
2023-03-19 19:37:00 +09:00
Yoshiya Hinosawa
5223f3d9b6
fix(ext/node): add createDecipheriv ( #18245 )
2023-03-18 21:51:28 +09:00
Bartek Iwańczuk
0bc6bf5d33
chore: add tests for node:async_hooks ( #18004 )
...
Closes https://github.com/denoland/deno/issues/17878
---------
Co-authored-by: crowlkats <crowlkats@toaxl.com>
2023-03-17 18:53:57 +01:00
Divy Srivastava
1300d6178e
fix(ext/node): resource leak in createHmac ( #18229 )
...
This commit fixes https://github.com/denoland/deno/issues/18140 .
Verified that test fails on `main`.
2023-03-16 22:25:12 +01:00
Farsen976
96bc15dfa2
fix(ext/node): implement "ascii" encoding for node:fs writeFile() ( #18097 )
2023-03-16 12:16:03 +09:00
Yoshiya Hinosawa
e80cc17dc4
fix(ext/node): add crypto.createCipheriv ( #18091 )
2023-03-14 15:59:23 +09:00
Yoshiya Hinosawa
cc8e4a00aa
test(ext/node): add tty_test and util_test ( #17868 )
2023-02-23 12:28:19 +09:00
Yoshiya Hinosawa
3ca23cb642
test(ext/node): add tls_test ( #17871 )
2023-02-23 12:27:29 +09:00
Divy Srivastava
ea7ca00c89
perf: use ops for node:crypto ciphers ( #17819 )
...
Towards #17809
2023-02-20 22:22:28 +05:30
Divy Srivastava
f8435d20b0
feat(ext/node): implement node:v8
( #17806 )
...
Closes https://github.com/denoland/deno/issues/17115
Implements `cachedDataVersionTag` and `getHeapStatistics`.
2023-02-17 18:48:09 +05:30
Bartek Iwańczuk
4c2380af5c
test: add unit tests from std/node ( #17794 )
...
Adds two test files: "cli/tests/unit_node/process_test.ts" and
"cli/tests/unit_node/child_process_test.ts"
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-02-16 14:30:14 +01:00