Meghan Denny
d531e86634
node:dns: match expected .code on lookup() error ( #19294 )
2025-04-25 23:34:13 -07:00
Dylan Conway
ddfc8555f7
crypto: fix test-crypto-random.js ( #18044 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-03-11 18:21:20 -07:00
190n
efabdcbe1f
Start fixing bugs discovered by Node.js's Node-API tests ( #14501 )
...
Co-authored-by: Kai Tamkun <kai@tamkun.io >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: 190n <190n@users.noreply.github.com >
2025-02-26 22:11:42 -08:00
Meghan Denny
d862966631
node: test-buffer-write.js ( #17450 )
2025-02-22 00:24:44 -08:00
Jarred Sumner
1b271fd45e
Avoid creating temporary strings when throwing errors ( #17179 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-02-20 12:09:27 -08:00
Jarred Sumner
7242c1b670
Implement X509Certificate in node:crypto ( #16173 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: dylan-conway <35280289+dylan-conway@users.noreply.github.com >
2025-01-17 05:24:45 -08:00
Kai Tamkun
9bca80c1a2
DNS fixes ( #15864 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-08 21:53:03 -08:00
Meghan Denny
53318c8b13
ci: run re-enable node tests on all platforms ( #15572 )
2024-12-09 19:08:30 -08:00
Meghan Denny
709cd95c30
test: use isWindows from harness ( #14577 )
2024-10-14 21:19:09 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Ciro Spaciari
74d5b93ffc
fix(dns.resolveSrv) ( #13478 )
2024-08-22 15:36:22 -07:00
Jarred Sumner
4d03105614
Make dns tests use promises instead of done ( #11347 )
...
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-05-28 17:30:52 -07:00
Meghan Denny
aa3aa888d5
ci: windows: fix dns.getServers test ( #11309 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-25 01:43:13 -07:00
Dylan Conway
d3fdb17321
add jest.setTimeout to bun test ( #10687 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-05-23 20:24:54 -07:00
Jarred Sumner
c03b35ecfc
Fix node:dns error code issue impacting MongoDB ( #11235 )
2024-05-21 14:41:00 -07:00
Jarred Sumner
609ef6a8ad
Fix DNS lookup not draining microtasks ( #10561 )
2024-04-26 18:42:18 -07:00
Ciro Spaciari
83863c27b4
fix(windows) fix some test failures ( #9417 )
...
* fix ReadFile and fix isEligible for sendfile on windows
* give it a little more time
* actually test tls property
* Update src/bun.js/webcore/blob/ReadFile.zig
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
* getServers test on windows
* retry
* check comptime first on isEligible
* wip body-stream
* oopsie
* opsie 2
* revert this
* test
---------
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-16 05:47:33 -07:00
Meghan Denny
141140ef7c
windows: pass more tests ( #8938 )
...
* windows: implement bun.isWritable
* windows: pass test/cli/run/as-node.test.ts
C:\Users\dave\AppData\Local\Temp\bun-node-a2ae984c3\node.exe is a hardlink on windows so it will not resolve to C:\bun\build\bun-debug.exe
skip the first param since that is not the behavior this test is supposed to be testing
* windows: pass test/js/node/dns/node-dns.test.js
* windows: pass test/js/node/process/process.test.js
* windows: pass test/js/web/streams/streams.test.js
* windows: pass test/js/workerd/html-rewriter.test.js
Closes #8459
* windows: fix node:util.inspect
* windows: these pass now
* windows: pass test/js/node/stream/node-stream.test.js
* disable http sendfile on windows
* use url.origin here
* more sendfile removal
* windows: pass test/js/web/websocket/websocket.test.js
* test/js/deno/performance/performance.test.ts is flaky, come back to it
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-19 10:23:31 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
Anton Golub
732650d6a4
fix: provide nodejs compat for dns methods wrapped with util.promisify ( #6748 )
...
* fix: add nodejs compat for dns methods wrapping with util.promisify
* fix: use single symbol for util.promisify.custom
* style: linting
2023-10-30 23:54:48 -07:00
Jarred Sumner
d7062eb367
[node:dns] Fix unnecessary array creation + prettier
2023-10-13 17:57:43 -07:00
João Alisson
851dc9aadc
fix(node): dns lookup deprecated behavior ( #6391 )
...
Co-authored-by: alisson <alisson@Ubuntu.myguest.virtualbox.org >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-10-13 17:52:57 -07:00
Ai Hoshino
7319142fd8
feat(node:dns): implement dns.lookupService ( #5613 )
...
* feat(node:dns): implement dns.lookupService
Close : #4347
* fix flags
* add `getSockaddr`
* fix sockaddr size
* flaky test
2023-09-20 18:43:08 -07:00
Ai Hoshino
03d9bcd440
fix(node:dns): fix the crash. ( #5200 )
2023-09-13 17:43:10 -07:00
Dylan Conway
a3166457d3
Update node-dns.test.js
2023-09-12 16:50:11 -07:00
Ai Hoshino
c53372c9f3
feat(node:dns): implement dns.reverse. ( #4332 )
...
* feat(node:dns): implement `dns.reverse`.
Close : #4299
* fix dns reverse for ipv6
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-08-28 20:10:33 -07:00
Ai Hoshino
ecdf2ffa6c
feat: impl dns.getServers ( #3982 )
...
* feat: impl `dns.getServers`
Close : #3981
* check return value of `ares_inet_ntop`
2023-08-06 06:16:54 -07:00
dave caruso
0cee640199
export resolve6 from dns/promises ( #3450 )
2023-06-28 17:45:18 -07:00
Jarred Sumner
a73a4d1e0b
Fix test failure due to cloudflare changing dns ttl
2023-05-31 23:19:32 -07:00
Ciro Spaciari
9c166a1bdf
add support for { all: true } option on dns.lookup ( #2846 )
2023-05-11 02:30:20 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00