Erik Dunteman
a722a21fe7
massive progress
2024-06-28 18:17:32 -07:00
Erik Dunteman
34cd762581
working WIP
2024-06-27 22:40:26 -07:00
Jarred Sumner
d5e3ea0ab7
Make node:v8 getHeapStatistics more plausible ( #12139 )
2024-06-25 00:17:51 -07:00
Ciro Spaciari
422c17d76c
fix(http) mark completed true ( #11926 )
2024-06-17 15:09:20 -07:00
Jarred Sumner
c44d489ed0
Support NODE_TLS_REJECT_UNAUTHORIZED=0 at runtime and implement BUN_CONFIG_VERBOSE_FETCH ( #11833 )
2024-06-13 04:30:15 -07:00
Meghan Denny
ba5dd63eb6
allow node:fs.promises.{read,write,append}File to accept a FileHandle ( #11800 )
2024-06-12 18:26:15 -07:00
Ludvig Hozman
ee30e8660c
feat(https/fetch): Support custom ca/cert/key in fetch ( #11322 )
...
Co-authored-by: Liz3 (Yann HN) <accs@liz3.net >
2024-06-11 10:36:32 -03:00
Jarred Sumner
1b8a72e724
Fixes #11703 ( #11776 )
2024-06-11 03:52:40 -07:00
Meghan Denny
c6187e3e3a
correct node:crypto.randomInt behavior and accept a callback ( #11505 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 18:24:26 -07:00
Jarred Sumner
6a756bf979
Implement blob: URLs in fetch, import, and Worker ( #11537 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-05 18:49:03 -07:00
Jarred Sumner
fd55cdae34
Try deflaking child process test again ( #11496 )
2024-05-31 04:17:59 -07:00
Jarred Sumner
9693fc9183
Deflake child process test ( #11488 )
2024-05-30 21:05:57 -07:00
Jarred Sumner
323011980c
Add fuzzer-like test of methods ( #11436 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-05-30 15:12:29 -07:00
Jarred Sumner
45d0c1432b
rewrite timers for setTimeout, setInterval, setImmediate ( #11419 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-30 02:11:12 -07:00
Georgijs
370db08891
Replace Streams.Readable with a JS implementation ( #11332 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-28 18:49:59 -07:00
Jonny Burger
15603ab596
Lift http.createServer maxRequestBodySize ( #11426 )
2024-05-28 15:13:46 -07:00
Jarred Sumner
1041655ff6
Implement addAbortListener and getMaxListeners in node:events ( #11392 )
2024-05-28 15:13:27 -07:00
Jarred Sumner
12bb5d03a2
Always propagate error in EventEmitter ( #11210 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-05-22 16:39:42 -07:00
Eigil Sagafos
ce8474b2a1
Update http2 NotImplementedErrors to report issue 8823 ( #11277 )
2024-05-22 14:03:43 -07:00
Jarred Sumner
c03b35ecfc
Fix node:dns error code issue impacting MongoDB ( #11235 )
2024-05-21 14:41:00 -07:00
Gaurish Sethia
c66e290801
Alias util.debug to util.debuglog ( #11189 )
2024-05-21 10:45:14 -07:00
Jarred Sumner
6d87c965bf
Fixes #10170 ( #11209 )
2024-05-20 21:30:44 -07:00
Meghan Denny
d35ea63e6d
node:http: convert Agent from class to function ( #11130 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-16 23:33:34 -07:00
Meghan Denny
5caca9cd48
add .bytes() method to various readables ( #11104 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-05-16 19:10:50 -07:00
Meghan Denny
86bcc49bef
node:http: allow setting response.statusCode and statusMessage [v2] ( #11082 )
2024-05-15 00:27:55 -07:00
Meghan Denny
1e6fa76637
rework node:net.connect arg parsing ( #10970 )
2024-05-14 17:20:19 -07:00
Meghan Denny
8528e9c670
make node:fs.ReadableStream and node:stream.NativeReadable constructor functions ( #10943 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-09 17:18:43 -07:00
Meghan Denny
1589a1230d
Revert "Align arguments of connect() in node:tls and node:net to Node ( #10854 )" ( #10908 )
2024-05-07 20:33:42 -07:00
Georgijs
d4db29c164
Fix fd offset handling in ReadStream ( #10883 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-07 16:05:48 -07:00
Henrik Storck
6217d78567
fix: Align arguments of connect() in node:tls and node:net to Node ( #10870 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-05-07 15:03:38 -07:00
Meghan Denny
4970ffc3a4
node:http: add agent getter to ClientRequest ( #10878 )
2024-05-06 23:05:43 -07:00
Meghan Denny
1da810adc1
node:zlib: Brotli ( #10722 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-06 22:00:04 -07:00
dave caruso
f9be0bef45
add [Symbol.dispose] in some bun apis ( #10818 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-06 19:49:23 -07:00
Georgijs
7bfcc2c9e3
support onread in net ( #10753 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-04 20:35:28 -07:00
Ashcon Partovi
541744e583
Improve node:inspector stubs ( #10807 )
2024-05-03 19:44:30 -07:00
Georgijs
ec6110e7e3
allow connecting a socket again after its connection was closed ( #10781 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-02 20:36:58 -07:00
Ciro Spaciari
79c7abe595
fix(server) handle ignored body and node:http destroy ( #10268 )
2024-05-01 16:18:35 -07:00
Meghan Denny
adc631c9ef
fix node:http events regression and add another test ( #10566 )
2024-04-27 00:53:51 -07:00
dave caruso
a52dd7853d
final steps to getting dd-trace to work ( #10568 )
2024-04-27 00:07:44 -07:00
Meghan Denny
8280defc30
node:http: preserve this value for onListen callback ( #10533 )
2024-04-26 18:42:29 -07:00
Ashcon Partovi
589f941aea
UDP support ( #7271 )
...
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
2024-04-26 15:25:24 -07:00
Meghan Denny
181d6a0a83
node:net: stub out [get|set]DefaultAutoSelectFamily[AttemptTimeout] ( #10529 )
2024-04-26 14:35:34 -07:00
dave caruso
7502c9b391
fix: never create more than one stdin tty ( #10528 )
2024-04-25 19:20:37 -07:00
dave caruso
006575a0f1
watcher: major refactor to use Maybe types for better error reporting ( #10492 )
2024-04-25 18:44:11 -07:00
Georgijs
78aef2d894
fix some child_process tests ( #10521 )
2024-04-25 16:02:19 -07:00
Meghan Denny
a64554bba6
node:http.request should emit events in the right order ( #10447 )
...
* node:http.request should emit events in the right order
* Apply formatting changes
* remove runOnNextTick alias
* make private event a symbol
* clean test
* fix regressions and add more tests
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-25 00:07:54 -07:00
dave caruso
e792bbdf5f
fix: overriding self.postMessage should not impact worker_threads.parentPort ( #10496 )
...
* fix a bug in worker
* remove old
2024-04-24 22:14:37 -07:00
Meghan Denny
d789eb34c9
remove unnecessary use of ReflectApply ( #10482 )
2024-04-24 15:30:15 -07:00
Meghan Denny
2abe6e7c3f
node:child_process: allow passing stdin,stdout,stderr to spawn ( #10451 )
...
* node:child_process: allow passing stdin,stdout,stderr to spawn
* this doesnt actually need to be limited to 0,1,2
* Apply formatting changes
* fix stream guards
* undo process internals change
* wrap check in function for better clarity
* lazy load node:fs more
---------
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-04-23 17:03:11 -07:00
Jarred Sumner
0989f1a575
Add comment
2024-04-23 16:42:45 -07:00