Commit Graph

7155 Commits

Author SHA1 Message Date
Kai Tamkun
b8205e0b70 There isn't actually a _socket parameter to dgram sockets' error handlers 2024-12-31 15:44:58 -08:00
Kai Tamkun
52002a1088 No more NAPTR in resolveAny 2024-12-31 15:44:58 -08:00
Kai Tamkun
18fee6090c Isolate promisified Resolver objects 2024-12-31 15:44:58 -08:00
Kai Tamkun
0b509dbf89 Simplify some Zig again 2024-12-31 15:44:58 -08:00
Kai Tamkun
aa61b7bd1d Some dns.ts fixes 2024-12-31 15:44:58 -08:00
Kai Tamkun
bdf1db838a Simplify some Zig 2024-12-31 15:44:58 -08:00
Kai Tamkun
26f99caac3 Remove a comment that's not quite true anymore 2024-12-31 15:44:58 -08:00
Kai Tamkun
7997556699 Glorious promises 2024-12-31 15:44:58 -08:00
Kai Tamkun
1c12cbb561 CAA record support 2024-12-31 15:44:58 -08:00
Kai Tamkun
bcfa11d4e6 Implement resolveAny via horrible callback hell 2024-12-31 15:44:58 -08:00
Kai Tamkun
de67a6fa9e Isolated resolution 2024-12-31 15:44:58 -08:00
Kai Tamkun
614a6abdff Initial work on dns.Resolver isolation 2024-12-31 15:44:58 -08:00
Kai Tamkun
2bdf9d63e6 Better DNS error objects 2024-12-31 15:44:58 -08:00
Kai Tamkun
22fa28f102 Better DNS lookup 2024-12-31 15:44:58 -08:00
Kai Tamkun
8215e18a1a Expose AI_ALL, AI_ADDRCONFIG and AI_V4MAPPED from netdb.h under dns 2024-12-31 15:44:58 -08:00
Kai Tamkun
e052252c63 Add an argument to ERR_INVALID_IP_ADDRESS 2024-12-31 15:44:58 -08:00
Kai Tamkun
ed7d361b4c Special case for falsey hostnames in dns.lookup 2024-12-31 15:44:58 -08:00
Kai Tamkun
18d3bda19a Add dns.setServers 2024-12-31 15:44:55 -08:00
Don Isaac
bd1c5e9876 feat: add JSObject constructors (#15742)
Co-authored-by: Don Isaac <don@bun.sh>
2024-12-12 22:04:19 -08:00
Jarred Sumner
f64ca29c0e Fix symbols test. Bump Webkit. (#15741) 2024-12-12 20:53:02 -08:00
Dylan Conway
8b3b1442fd bun.lock workspace sorting and comma bugfix (#15739) 2024-12-12 19:33:44 -08:00
Dylan Conway
e146734596 bun.lock fixes (#15724) 2024-12-12 16:45:26 -08:00
Dylan Conway
71af1950fb bump webkit (#15328)
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Ben Grant <ben@bun.sh>
Co-authored-by: Meghan Denny <meghan@bun.sh>
Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
2024-12-12 03:21:56 -08:00
Jarred Sumner
7991be86a3 Fix build 2024-12-12 02:18:25 -08:00
Jarred Sumner
2bdf33cac8 Remove silly hack 2024-12-12 01:42:03 -08:00
pfg
1b5cb891c8 More passing console tests (#15676)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-12-12 01:37:10 -08:00
dave caruso
79dc13ca79 pass all string decoder tests (#15723)
Co-authored-by: paperdave <paperdave@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-12-12 01:35:08 -08:00
Jarred Sumner
2ccdf0122c Fix edgecase with socketpair() impacting shell and spawn (#15725) 2024-12-12 01:23:40 -08:00
Zack Radisic
fddc28d608 CSS moar fixes (#15719) 2024-12-11 21:45:41 -08:00
Zack Radisic
113b62be82 Native plugin follow up (#15632)
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-12-11 17:51:21 -08:00
pfg
2e0f229722 test(events): 66% -> 94% (#15716) 2024-12-11 17:43:19 -08:00
pfg
0e8f075191 Pass node querystring tests (#15695) 2024-12-11 17:39:46 -08:00
Dylan Conway
b55ca429c7 Implement text-based lockfile (#15705) 2024-12-11 05:05:49 -08:00
Don Isaac
78445c543e refactor: set default for name in ErrorCode.ts (#15699)
Co-authored-by: Don Isaac <don@bun.sh>
2024-12-11 01:07:57 -08:00
Meghan Denny
81bc01d477 fix test-event-emitter-method-names.js on windows (#15692) 2024-12-10 16:33:57 -08:00
Don Isaac
2d5ea4993f fix(codegen): better error messages for internals using module.exports (#15687) 2024-12-10 15:10:21 -08:00
dave caruso
b39632c921 feat: new binding generator (#15638) 2024-12-10 12:43:17 -08:00
Jarred Sumner
38325aa41c Introduce env option in Bun.build() and bun build to let you inject FOO_PUBLIC_*-style env vars (#15678) 2024-12-10 01:09:46 -08:00
Jarred Sumner
969bab3848 [build images] 2024-12-10 00:54:04 -08:00
Meghan Denny
68780faee2 fix windows build 2024-12-09 22:30:44 -08:00
Jarred Sumner
0bbc18fd19 Fix rare crash in bun install (#15651) 2024-12-09 20:59:29 -08:00
Meghan Denny
53318c8b13 ci: run re-enable node tests on all platforms (#15572) 2024-12-09 19:08:30 -08:00
github-actions[bot]
2c1dea818c deps: update sqlite to 3.470.200 (#15652)
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com>
2024-12-08 02:16:41 -08:00
Kai Tamkun
cc125b475f Fix missing "readable" events (#15629) 2024-12-06 23:59:47 -08:00
Don Isaac
cbbf88f3a6 refactor: remove unused main_api.zig file (#15635)
Co-authored-by: Don Isaac <don@bun.sh>
2024-12-06 21:01:25 -08:00
Don Isaac
8064a55a48 test(bake): fix double free (#15634)
Co-authored-by: Don Isaac <don@bun.sh>
2024-12-06 20:06:26 -08:00
Ciro Spaciari
c1eba5886f fix(net) signal should destroy the connection and propagate the error properly (#15624) 2024-12-06 16:10:33 -08:00
Ciro Spaciari
fcca2cc398 fix(fetch) fix redirect + Connection: close (#15623) 2024-12-06 15:06:11 -08:00
Jarred Sumner
b453360dff Fixes #15480 (#15611) 2024-12-05 21:15:21 -08:00
pfg
1476e4c958 implement toThrowErrorMatchingSnapshot, toThrowErrorMatchingInlineSnapshot (#15607) 2024-12-05 19:07:18 -08:00