Jarred Sumner
6ebad50543
Introduce ahead of time bundling for HTML imports with bun build ( #20265 )
...
Co-authored-by: Jarred-Sumner <709451+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-06-10 21:26:00 -07:00
Dylan Conway
a0819e9d02
fix more node:timers tests ( #19432 )
...
Co-authored-by: 190n <ben@bun.sh >
2025-05-02 20:50:02 -07:00
chloe caruso
3349c995b5
no usingnamespace, organize jsc namespace, enable -fincremental ( #19122 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-04-22 16:34:15 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
be77711a4e
delete usingnamespace in bindings generator ( #19020 )
2025-04-15 12:14:47 -07:00
chloe caruso
b5cbf16cb8
module pr 2 ( #18266 )
2025-03-20 00:45:44 -07:00
Meghan Denny
04703bd3cc
zig: catch JSValue.toZigString/getZigString thrown exceptions ( #17508 )
2025-02-21 22:55:03 -08:00
Meghan Denny
2d441d868b
zig: make throw use JSError ( #15444 )
2024-12-02 14:19:18 -08:00
Meghan Denny
663f00b62b
zig: make throwOutOfMemory use JSError ( #15413 )
2024-11-26 12:58:43 -08:00
Meghan Denny
0e3e33072b
zig: rename CallFrame.arguments to .arguments_old to free up decl name ( #15296 )
2024-11-20 16:18:56 -08:00
Meghan Denny
2810f39802
zig: make all JS constructors use JSError ( #15146 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-11-14 16:36:01 -08:00
Meghan Denny
fdd8d35845
allow zig js host functions to return JSError ( #15120 )
2024-11-13 21:11:56 -08:00
Meghan Denny
6f60523e6c
" -> ' (#14776 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-23 19:21:36 -07:00
Meghan Denny
54a225953b
use bun.String.static instead of ZigString when immediately converting to JSValue ( #14169 )
2024-10-02 13:02:48 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
Jarred Sumner
7f3e6f23f6
Refactor ZigString -> toJS ( #12242 )
2024-06-29 00:21:42 -07:00
Jarred Sumner
40fcf25e01
Fixes "column must be greater than or equal to 0" error ( #11211 )
2024-05-21 11:19:18 -07:00
dave caruso
6b549ee592
fix: random improvements to bun.String ( #7695 )
...
* make bun.String.createUninitialized harder to mess up
* remove toJSConst
* Update src/bun.js/bindings/BunString.cpp
* ok
* aaaaaaaa
* fix ucs2 encoding oopsies
* a
* [autofix.ci] apply automated fixes
* fix baseline build
* hello
* remove commented code
* aaa
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-20 19:18:32 -08:00
dave caruso
369e3022e4
chore: upgrade zig to 0.12.0-dev.1828+225fe6ddb ( #7671 )
...
* chore: upgrade zig to 0.12.0-dev.1828+225fe6ddb
* open as iterable
* fix building identifier cache
* fix windows build
* fix linux build
* fix linux build
2023-12-16 00:14:15 -08:00
dave caruso
9787ea91f2
fix(node): always use .RunCommand when binary is named node ( #7615 )
...
* make the cli act more like node when the binary is named node
* mmmmmmmmmmm review comments
* whatever
* fix test
* am stupid am stupid
* sure
2023-12-13 21:43:05 -08:00
Jarred Sumner
bca1bcf29c
import errors have code set to ERR_MODULE_NOT_FOUND and require errors have code set to MODULE_NOT_FOUND ( #4244 )
...
* ResolveMessage
* Fix it
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-21 21:11:27 -07:00
Dylan Conway
2fe6a965af
implement fetching data urls ( #4000 )
...
* fetch data urls
* `byteSlice`
* deinit slice
* allocate `mime_type` string if needed
* `content_type_allocated` and uncomment tests
* `str_`
* createAtom and slice decode result
2023-08-07 20:15:53 -07:00
Jarred Sumner
25447426f1
Make BuildError and ResolveError use C++ instead of JSC C API
...
Fixes memory leak with private data never being cleared
Fixes a case where a ResolveError could actually be a BuildError
2023-05-17 18:51:50 -07:00