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