aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/helpers.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-12fix(JSC): copy string in `toJSStringValueGC` (#5067)Gravatar Ai Hoshino 1-1/+1
2023-07-11Fix crash on linux when throwing SystemError from C++Gravatar Jarred SUmner 1-0/+13
2023-07-01Use `BunString` in `SystemError` (#3485)Gravatar Jarred Sumner 1-2/+2
* Use `BunString` in SystemError * Use Bun::toStringRef when we will de-ref strings * Move `napi_create_error` to C++ to support `code` being a Symbol potentially * Update blob.zig * Make this test less flaky --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-11Support using `WTF::StringImpl` from Zig (#3279)Gravatar Jarred Sumner 1-1/+20
* Fix `make headers` * [JS parser] Fix bug with printing non-ascii import paths in ascii mode * Introduce `bun.String` * Add test for non-ascii imports & entry points * Add comment * Fix build issue * Support HTTP server * Make it print the same --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-17Fix various fetch/response/request tests (#2416)Gravatar Dylan Conway 1-0/+30
* fix most fetch tests, skip a few * fastGet, toValueGC, and invalid init * bigint unreachable, range error, log process as process * remove extra fetch_headers * remove js_type parameter, check isObject() * throw invalid mime type error, use enum literal * switch back to promise rejection * RangeError pascal case
2023-01-10attempt (unsuccessfully) to improve c++ build timeGravatar Jarred Sumner 1-10/+16
2022-10-15More forcefully clone stringsGravatar Jarred Sumner 1-3/+15
2022-08-21Add a binding for creating atomic stringsGravatar Jarred Sumner 1-0/+10
2022-06-27Fix memory issue with error messagesGravatar Jarred Sumner 1-1/+1
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+327