Satya Rohith
2c60a4352d
wip: abort request when destroy() is invoked
...
Yoshiya Hinosawa <stibium121@gmail.com>
2024-09-26 14:20:48 +05:30
Yoshiya Hinosawa
122cefaed4
fix lint errors
2024-09-26 13:54:09 +09:00
Yoshiya Hinosawa
6301b5831c
update test cases
2024-09-26 13:24:55 +09:00
Yoshiya Hinosawa
2f9cdaa67d
fixes
2024-09-26 13:05:21 +09:00
Yoshiya Hinosawa
9c1b39ba2d
clean up debug logs
2024-09-26 12:45:33 +09:00
Yoshiya Hinosawa
be8c90de6f
fmt
2024-09-24 20:28:50 +09:00
Satya Rohith
65eb113359
wip
2024-09-24 11:40:18 +05:30
Satya Rohith
e98525c0a0
get get_data.js working
2024-09-24 11:01:56 +05:30
Satya Rohith
32614733bf
wip
2024-09-24 11:01:56 +05:30
Satya Rohith
f9c1219f7c
wip
2024-09-24 11:01:56 +05:30
Satya Rohith
95ad0faddb
wip
2024-09-24 11:01:56 +05:30
Satya Rohith
d95db75de5
fix ids
2024-09-24 11:01:56 +05:30
Satya Rohith
29fe1768a8
introduce more ops to wait for connection ready
2024-09-24 11:01:56 +05:30
Satya Rohith
821d5a5653
flush buffer once socket is ready
2024-09-24 11:01:56 +05:30
Satya Rohith
ae5d72a870
feat: use buffer, introduce flushHeaders, flushBody
2024-09-24 11:01:55 +05:30
Satya Rohith
a3363a9a6a
feat(ext/node): set on("socket") listener for write
2024-09-24 11:01:55 +05:30
Satya Rohith
2c576e8d78
feat(ext/node): fallback to net.createConnection in client
2024-09-24 11:01:55 +05:30
Satya Rohith
c883a72f27
chore(ext/node): remove old ops
2024-09-24 11:01:55 +05:30
Satya Rohith
568cd787cc
feat: op_node_http_request_with_conn
2024-09-24 11:01:55 +05:30
Divy Srivastava
bfdca5bc7a
feat(ext/crypto): import and export p521 keys ( #25789 )
...
Towards https://github.com/denoland/deno/issues/13449
2024-09-23 19:40:36 +05:30
Volker Schlecht
37cedefb4d
fix(ext/node): stub cpu_info() for OpenBSD ( #25807 )
...
Add an implementation of cpu_info() for OpenBSD, that returns a
correctly-sized array. Since Rust's libc bindings for OpenBSD do not
contain all symbols necessary for a full implementation and it is not
planned to add them, this solution at least avoids problems with code
that relies on cpu_info() purely for the size of the returned array to
derive the number of available CPUs.
This addresses https://github.com/denoland/deno/issues/25621
2024-09-23 09:08:16 +05:30
Nathan Whitaker
4b022103a1
chore: Revert child_process close ordering change ( #25781 )
...
From
https://github.com/denoland/deno/commit/18b89d948dcb849c4dc577478794c3d5fb23b59
May have caused the recent flakiness of
parallel/test-child-process-ipc-next-tick.js
2024-09-20 23:46:42 +00:00
snek
a01dce3a25
fix: cjs resolution cases ( #25739 )
...
Fixes cjs modules being loaded as esm.
2024-09-19 21:10:34 -07:00
Divy Srivastava
e97f00f6f6
fix(ext/node): support x509 certificates in createPublicKey
( #25731 )
...
Fixes https://github.com/denoland/deno/issues/25681
2024-09-19 19:12:23 +05:30
Yoshiya Hinosawa
f460188e58
fix(ext/node): don't throw error for unsupported signal binding on windows ( #25699 )
2024-09-19 12:22:01 +09:00
Luca Casonato
ab1e391e1d
feat(ext/node): add rootCertificates to node:tls ( #25707 )
...
Closes https://github.com/denoland/deno/issues/25604
Signed-off-by: Satya Rohith <me@satyarohith.com>
Co-authored-by: Satya Rohith <me@satyarohith.com>
2024-09-18 21:14:26 +02:00
David Sherret
3dd83fdbdb
Revert "feat(fmt): sort type-only named import/exports last" ( #25705 )
...
Reverts #25690
This was not an issue with the ts compiler anymore. Discussion here:
https://github.com/dprint/dprint-plugin-typescript/pull/664#issuecomment-2357000053
2024-09-18 13:54:52 +00:00
Divy Srivastava
063f427ddf
fix(ext/node): stub inspector/promises
( #25635 )
...
Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
2024-09-17 22:57:19 +05:30
David Sherret
a14e9f55b4
feat(fmt): sort type-only named import/exports last ( #25690 )
...
Closes #22583
2024-09-17 18:26:23 +01:00
David Sherret
62e952559f
refactor(permissions): split up Descriptor into Allow, Deny, and Query ( #25508 )
...
This makes the permission system more versatile.
2024-09-16 21:39:37 +01:00
Luca Casonato
81c9e0ba25
fix(ext/crypto): support md4 digest algorithm ( #25656 )
...
Fixes #25646
2024-09-16 11:04:40 +00:00
Divy Srivastava
db6fc12b9e
fix(ext/node): add vm.constants
( #25630 )
2024-09-15 08:15:28 +05:30
Divy Srivastava
4655172c0b
fix(ext/node): export process.allowedNodeEnvironmentFlags
( #25629 )
2024-09-15 08:15:19 +05:30
Divy Srivastava
ccd1ca8a8b
fix(ext/node): add stubs for node:trace_events
( #25628 )
2024-09-15 08:15:09 +05:30
snek
2c0bf6fd65
fix(ext/node): attach console stream properties ( #25617 )
...
`kBindStreamsLazy` should be called with `process` during init, but it
never was.
2024-09-13 17:28:35 -07:00
Jake Abed
d162733db2
fix(ext/node): use primordials in ext/node/polyfills/wasi.ts ( #25608 )
...
Toward #24236
2024-09-13 22:31:07 +05:30
Bartek Iwańczuk
71d5d47ca9
feat(ext/node): export 'promises' symbol from 'node:timers' ( #25589 )
2024-09-12 20:30:49 +00:00
Nathan Whitaker
18b89d948d
fix(ext/node): Implement detached option in child_process
( #25218 )
...
Fixes https://github.com/denoland/deno/issues/25193 .
2024-09-12 19:24:58 +00:00
Yoshiya Hinosawa
3f15e30062
fix(ext/node): fix Decipheriv when autoPadding disabled ( #25598 )
...
This change fixes Decipheriv behavior when autoPadding disabled and enabled.
By this change, the example given in
https://github.com/denoland/deno/issues/20924#issuecomment-2345931295
works in the same way as Node.
closes #20924
2024-09-13 01:13:56 +09:00
Bartek Iwańczuk
46d5f38a0f
fix(ext/node): export request and response clases from http2
module ( #25592 )
...
Closes https://github.com/denoland/deno/issues/20612
Closes https://github.com/denoland/deno/issues/23326
This makes `qwik` work.
2024-09-12 02:03:57 +00:00
Bartek Iwańczuk
f794781ffb
feat(ext/node): expose ES modules for _ modules ( #25588 )
...
Exposes following modules:
- `"node:_http_agent"`
- `"node:_http_common"`
- `"node:_http_outgoing"`
- `"node:_http_server"`
- `"node:_stream_duplex"`
- `"node:_stream_passthrough"`
- `"node:_stream_readable"`
- `"node:_stream_transform"`
- `"node:_stream_writable"`
- `"node:_tls_common"`
- `"node:_tls_wrap"`
2024-09-12 00:52:08 +00:00
Bartek Iwańczuk
3a3837545c
feat(ext/node): export missing symbols from domain, puncode, repl, tls ( #25585 )
2024-09-12 02:25:46 +02:00
Bartek Iwańczuk
3f6605d123
feat(ext/node): export missing constants from 'zlib' module ( #25584 )
...
That puts us at 99.5% compatibility for this module.
2024-09-12 01:12:10 +02:00
Bartek Iwańczuk
05bd547238
feat(ext/node): export more symbols from streams and timers/promises ( #25582 )
2024-09-12 01:02:50 +02:00
Yoshiya Hinosawa
aae3a6bcb4
fix(ext/node): fix Cipheriv#update(string, undefined)
( #25571 )
2024-09-11 19:24:17 +09:00
Yoshiya Hinosawa
200145a09a
fix(ext/node): avoid showing UNKNOWN
error from TCP handle ( #25550 )
2024-09-11 19:19:02 +09:00
Yoshiya Hinosawa
8bdd364dd5
fix(ext/node): add FileHandle#writeFile
( #25555 )
...
This PR adds `writeFile` methods of `FileHandle` class
https://nodejs.org/api/fs.html#filehandlewritefiledata-options
2024-09-11 11:08:40 +02:00
Jake Abed
87bc47b3bf
fix(ext/node): use primordials in ext/node/polyfills/console.ts
( #25572 )
...
Contributing toward #24236
- Swapped `Object.assign` for `ObjectAssign` primordial.
- Removed referencing TODO comment.
Please disregard if no longer desired.
2024-09-11 17:55:58 +10:00
Yoshiya Hinosawa
ef2d98fe11
fix(ext/node): validate input lengths in Cipheriv
and Decipheriv
( #25570 )
...
addresses the first part of #25279
2024-09-11 13:27:07 +09:00
Nathan Whitaker
1521adf5ed
fix(ext/node): Add missing node:fs and node:constants exports ( #25568 )
...
Just a bunch of random fs constants
2024-09-11 00:37:23 +00:00