Commit Graph

7073 Commits

Author SHA1 Message Date
Meghan Denny
89a92bf66b zig: JSValue: make .get and .toSliceOrNull use JSError (#15270) 2024-11-21 11:56:24 -08:00
Meghan Denny
37b4dc9a58 bindings: make throwInvalidArgumentTypeValue print the value like the real ERR_INVALID_ARG_TYPE (#14804) 2024-11-21 11:56:24 -08:00
Meghan Denny
43bd25d2f4 bunjs: print received value when Bun.write is passed a bad argument (#14805) 2024-11-21 11:56:24 -08:00
Meghan Denny
6c46fbda0b zig: make throwError use JSError (#15267) 2024-11-21 11:56:24 -08:00
Meghan Denny
815761beca zig: remove noop JSGlobalObject.ptr() (#15268) 2024-11-21 11:56:23 -08:00
Meghan Denny
f82dd21816 zig: make throwNotEnoughArguments use JSError (#15266) 2024-11-21 11:56:23 -08:00
Meghan Denny
4feb300b3b zig: align getTruthy to use JSError (#15199) 2024-11-21 11:56:23 -08:00
Ashcon Partovi
1212cb3efa ci: Expand automated build images to Debian, Ubuntu, and Amazon Linux (#15250) 2024-11-21 11:56:23 -08:00
Meghan Denny
8489f3d3ac Revert "fix(tls) fix type matching" (#15243) 2024-11-21 11:56:23 -08:00
Kai Tamkun
c562d6f627 Call Bun__onExit + std.os.windows.kernel32.ExitProcess to exit on Windows (#15237)
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2024-11-21 11:56:23 -08:00
Jarred Sumner
87f044c014 Implement junit test reporter (#15205)
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>
2024-11-21 11:56:23 -08:00
Jarred Sumner
0bc7cf3649 [Bun.sql] Support TLS (#15217)
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
2024-11-21 11:56:23 -08:00
pfg
3fcf232ae5 Fix setTimeout with node:util.promisify (#15230) 2024-11-21 11:56:23 -08:00
Ciro Spaciari
bc648ab555 fix(tls) fix type matching (#15224) 2024-11-21 11:56:23 -08:00
Zack Radisic
e94fdbdc10 Fix bundler crash with onLoad plugins on copy-file loaders used on entrypoints (#15231) 2024-11-21 11:56:23 -08:00
Jarred Sumner
2def4ab3a1 Support Headers & URLSearchParams in expect().toEqual() (#15195)
Co-authored-by: Meghan Denny <meghan@bun.sh>
2024-11-21 11:56:23 -08:00
Dennis Dudek
32ee2130a9 Fixed Responses to OPTIONS Requests ignore Body (#15108) 2024-11-21 11:56:22 -08:00
Jarred Sumner
f141ecc06c Fixes #15177 (#15180) 2024-11-21 11:56:22 -08:00
Dylan Conway
106fc30c62 fix auto-install on windows when symlinks aren't available (#15182) 2024-11-21 11:56:22 -08:00
Meghan Denny
6ee27ab8cb zig: align fromJS methods to using JSError (#15165) 2024-11-21 11:56:22 -08:00
Ashcon Partovi
e2eb791c30 ci: musl builds (#15154)
Co-authored-by: Electroid <Electroid@users.noreply.github.com>
Co-authored-by: Meghan Denny <meghan@bun.sh>
2024-11-21 11:56:22 -08:00
Meghan Denny
c2330b3826 musl: fix 'bun upgrade' (#15178) 2024-11-21 11:56:22 -08:00
Jarred Sumner
8df0f460f4 Try linker script (#15158) 2024-11-21 11:56:22 -08:00
ippsav
8ad91e8b10 Fix node:net not handling path in listen (#15162)
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
2024-11-21 11:56:22 -08:00
Meghan Denny
1bc2d45950 node:https: fix prototype chain of Agent (#15160)
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
2024-11-21 11:56:22 -08:00
Meghan Denny
7da115f073 zig: make all JS constructors use JSError (#15146)
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
2024-11-21 11:56:09 -08:00
Michael H
11da00dccc fix vscode debugger (#14995) 2024-11-21 11:56:09 -08:00
Jarred Sumner
e4d0b133ee Shrink Bun's binary by 3.5 MB (#15121) 2024-11-21 11:56:09 -08:00
pfg
a734bf31de Remove assertion in js printer triggering for unicode comments (#15143) 2024-11-21 11:56:09 -08:00
Meghan Denny
140131ebb8 allow zig js host functions to return JSError (#15120) 2024-11-21 11:56:09 -08:00
dave caruso
9ba4b0f349 bake: csr, streaming ssr, serve integration, safer jsvalue functions, &more (#14900)
Co-authored-by: paperdave <paperdave@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-11-21 11:56:09 -08:00
Meghan Denny
250e5cc2c6 cpp: Bun::toStringRef: return dead when exception has been thrown (#15127)
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
2024-11-21 11:56:09 -08:00
Meghan Denny
5550a006e5 zig: remove JSValue.isEmpty (#15128) 2024-11-21 11:56:09 -08:00
Meghan Denny
85da3d48cb rid nearly all use of ExceptionRef in zig (#15100)
Co-authored-by: nektro <nektro@users.noreply.github.com>
2024-11-21 11:56:09 -08:00
ippsav
161bb764f0 Pass missing signal code for child_process.spawnSync (#15137) 2024-11-21 11:56:09 -08:00
Dylan Conway
61ae03662c #15059 follow-up (#15118) 2024-11-21 11:56:09 -08:00
Ciro Spaciari
cc708ae7d5 fix(bundler) fix pretty path resolution (#15119) 2024-11-21 11:56:09 -08:00
Ciro Spaciari
c503caa619 fix(socket) Support named pipes on Windows using forward slashes (#15112) 2024-11-21 11:56:09 -08:00
Meghan Denny
405456f2a1 musl patches [v4] (#15066) 2024-11-21 11:56:09 -08:00
Ciro Spaciari
b629430aaa fix behavior when destroyed or pending and cork/uncork and ready event so we can match node.js (#15096) 2024-11-12 09:19:35 -08:00
snwy
027fbfa350 Merge branch 'main' into snoglobe/streams_compat 2024-11-11 15:52:28 -08:00
snwy
95c191b28e revert revert revert 2024-11-11 15:26:17 -08:00
Jarred Sumner
2b9abc20da Use linux syscall interface more in I/O (#15067) 2024-11-11 14:47:04 -08:00
Jarred Sumner
d713001e35 Fixes #14982 2024-11-11 14:40:11 -08:00
Jarred Sumner
b49f6d143e Postgres client - more progress (#15086) 2024-11-11 14:40:02 -08:00
snwy
172f8563cd apply fix everywhere 2024-11-11 14:39:46 -08:00
pfg
4cf9851747 Bump runtime transpiler cache version for #15009 (#15094) 2024-11-11 14:38:17 -08:00
snwy
e08063eddb ... oops again 2024-11-11 14:16:17 -08:00
pfg
56f7c8887b Fix unicode imports, unicode-escaped variable names, and printClauseAlias not working for utf-8 (#15009) 2024-11-11 13:27:42 -08:00
Jarred Sumner
781a392baa Add micro-optimization to fs.readFile (#15076) 2024-11-11 10:35:17 -08:00