aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-24inline import errors only for bun builddylan/fix-error-inliningGravatar Dylan Conway 1-3/+3
2023-07-23Upgrade WebKit (#3777)Gravatar Jarred Sumner 31-604/+487
* Upgrade to latest WebKit * Upgrade WebKit * hm * Fix failing tests * Delete utf8-encoding-fixture.bin.cmp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-23Fix bugs with connecting to localhost (#3758)Gravatar Jarred Sumner 5-35/+68
* Fix bugs with connecting to localhost * Update uws * More logs * Allow not setting a hostname * Make server.hostname & server.protocol faster * Fixup * normalize listening host * Fix test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-23Raise redirect limit in bundlerGravatar Jarred Sumner 1-1/+1
2023-07-23Fixes #3764Gravatar Jarred Sumner 1-0/+6
2023-07-22Explicitly ref/unref blobs before extracting the value (#3755)Gravatar Jarred Sumner 1-0/+36
* Explicitly ref/unref blobs before extracting the value * :scissors: --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-22in Bun.write(), defer creating the Promise until we're just about to ↵Gravatar Jarred Sumner 1-4/+6
schedule the task
2023-07-22[install] improve workspace substitution of npm dependencies (#3754)Gravatar Alex Lam S.L 3-62/+173
- respect semver ranges
2023-07-22ref() before creating the JSPromiseGravatar Jarred Sumner 1-9/+14
2023-07-22bump!Gravatar Jarred Sumner 1-1/+1
2023-07-22Fixes ↵Gravatar Jarred Sumner 1-6/+8
https://discord.com/channels/876711213126520882/1131175053409656833/1131175053409656833 @tr1ckydev this fixes the issue you ran into, see the diff for an example usage of a Bun.plugin that makes a network request on import.
2023-07-22fix path.format for `vite build` (#3734)Gravatar dave caruso 8-8/+161
* fix path.format for vite * Update path.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-22Fixes #3753Gravatar Jarred Sumner 1-2/+4
2023-07-22Fix `writeFileSync` when the mode is greater than 0o777. (#3747)Gravatar Ai Hoshino 1-3/+3
Close: #3740
2023-07-22Fixes #3744Gravatar Jarred Sumner 1-15/+125
2023-07-22Unified event loop (#3741)Gravatar Jarred Sumner 20-42/+227
* Unified event loop * Update WebKit, add test for es-module-lexer * Update README.md * Use async wasm * Explicitly set whether concurrenttask should be deinit'd * Update package.json --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-21Use WebKit's URL parser in fetch() and `bun install` (#3730)Gravatar Jarred Sumner 7-62/+320
* Use WebKit's URL parser in fetch() and `bun install` * Allocate less memory * Fix test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-21handle `latin1` in `Bun__encoding__toString`. (#3739)Gravatar Ai Hoshino 1-0/+1
Close: #3738
2023-07-21fix #3716 (#3733)Gravatar Dylan Conway 1-6/+17
* don't break on comments for process env variables * break for `\r` and `\n` * don't parse process env vars
2023-07-22improve test (#3731)Gravatar Alex Lam S.L 2-2/+2
- minor build diffs
2023-07-21string escape edgecase (#3717)bun-v0.7.0Gravatar Dylan Conway 2-2/+16
* fix edgecase when joining rope strings with backtick * bonus bugfix in ts decorator * Update transpiler.test.js * Fix test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-07-21fix `isFIFO` (#3715)Gravatar Dylan Conway 2-5/+5
* check poll ref flags * Update WebCoreJSBuiltins.cpp
2023-07-20fix process.exit status code handling (#3714)Gravatar dave caruso 8-596/+620
2023-07-20Fix builtins again (#3713)Gravatar dave caruso 2-7/+7
2023-07-20fix directory caching with workaround (#3710)Gravatar dave caruso 1-1/+4
* ok * test
2023-07-20fix process.binding (#3711)Gravatar dave caruso 2-14/+13
2023-07-20Pass constructor arguments to TextDecoder (#3692)Gravatar Julian 1-15/+50
* Make TextDecoder constructor use options parameter The constructor now actually sets TextDecoder properties using the options parameter. * Defer decoder allocation to end of constructor * Verify types of TextDecoder options * TextDecoder throw TypeError on failure * Tidying
2023-07-20`resolveRopeIfNeeded` (#3708)Gravatar Dylan Conway 1-0/+1
2023-07-20set `_preload_modules` to empty array (#3709)Gravatar Dylan Conway 2-2/+2
2023-07-20fix start delay on Worker (#3707)Gravatar Ciro Spaciari 2-2/+14
* fix start delay on Worker * fmt * add delay test
2023-07-19Bump version to Bun v0.7.0Gravatar Jarred Sumner 3-3/+3
2023-07-19Support streams in response.formData() & request.formData, introduce ↵Gravatar Jarred Sumner 20-48/+191
Bun.readableStreamToFormData() (#3697) * codegen * FormData.from * Fixes #3225 * Introduce `Bun.readableStreamToFormData` * Update bun.d.ts * Add examples * add --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-19Fixes #3670 (#3698)Gravatar Jarred Sumner 1-4/+17
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-19Inline`bun` object from workersGravatar Jarred Sumner 1-13/+9
2023-07-19Fix vite (#3694)Gravatar dave caruso 5-9/+352
* Fix ServerWebSocket.readyState * Add create_hash_table to our repo * Fix #3216
2023-07-19Fix browser bundled string_decoder (#3693)Gravatar dave caruso 1-2/+1
* Fix #3660 * doc fix
2023-07-19Implement `AsyncLocalStorage` (#3089)Gravatar dave caruso 48-3607/+4179
* work to get async local storage working. * a * a * everything but queueMicrotask * sdfghj * . * finish * tests * test * ok * done * im so stupid * Upgrade WebKit * refactor * refactor * changes requested * oops * cool * fix runInAsyncScope
2023-07-19Fix make headersGravatar Jarred Sumner 1-2/+3
2023-07-19update root certificates and add tls.rootCertificates (#3688)Gravatar Ciro Spaciari 4-3/+28
* implement tls.rootCertificates * add test * bump uws/usockets * bump uws + .len on certs
2023-07-19fix createDecipheriv (#3680)Gravatar Ciro Spaciari 2-12/+56
* fix createDecipheriv * fix createDecipheriv iv and password validations
2023-07-19fix #3681 (#3690)Gravatar dave caruso 2-13/+23
2023-07-19set `did_panic` flag (#3687)Gravatar Dylan Conway 2-1/+6
2023-07-19move constants module to cpp (#3683)Gravatar Ciro Spaciari 8-480/+273
2023-07-19fix `make headers`Gravatar Dylan Conway 1-7/+15
2023-07-20Better error for workspace dependency not found (#3678)Gravatar Jarred Sumner 2-21/+85
2023-07-18Fix crash in postMessage that repro'd after ~100,000 messagesGravatar Jarred Sumner 6-21/+57
2023-07-18more progress on fixing gc issueGravatar Jarred Sumner 6-61/+162
2023-07-18add padding bytesGravatar Dylan Conway 1-1/+1
2023-07-18feature(constants) add constants/node:constants module and tests(prisma) use ↵Gravatar Ciro Spaciari 4-1/+483
prima 5.0.0 + use same connection for postgres, add prisma mssql (disabled for now) (#3672) * use prima 5.0.0 + use same connection for postgres * change mongodb test URL * constants module + mssql prisma test (disabled)
2023-07-18patch checkServerIdentity (#3671)Gravatar Ciro Spaciari 2-2/+3