aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-25fix the encoding of `dirname`'s return value. (#3799)Gravatar Ai Hoshino 2-1/+40
2023-07-25Make this other name betterGravatar Jarred Sumner 1-1/+1
2023-07-25Make this name betterGravatar Jarred Sumner 1-1/+1
2023-07-25fix some cases in the `dirname` function. (#3785)Gravatar Ai Hoshino 2-21/+169
Close: #3782
2023-07-24Trace printing at runtimeGravatar Jarred Sumner 1-0/+3
2023-07-24Trace module resolutionGravatar Jarred Sumner 1-0/+3
2023-07-24test gardeningGravatar Jarred Sumner 2-2/+2
2023-07-24Merge import.meta.require and require to be the same thing (#3732)Gravatar dave caruso 17-289/+233
* Merge import.meta.require and require to be the same thing * support `require` and BunPlugin (runtime plugin) * plugins * unused code * revert launch.json
2023-07-24Make this test less flakyGravatar Jarred Sumner 2-3/+6
2023-07-24Less flakyGravatar Jarred Sumner 1-4/+4
2023-07-24Skip testGravatar Jarred Sumner 1-0/+3
2023-07-24slow test is allowed to be slowGravatar Jarred Sumner 1-1/+1
2023-07-24fix rope string push (#3796)Gravatar Dylan Conway 2-1/+25
* push to next next * couple more tests * end
2023-07-24move this to troubleshootingGravatar Jarred Sumner 2-8/+8
2023-07-24[install] fix workspace override of aliased npm dependency (#3784)Gravatar Alex Lam S.L 2-21/+132
2023-07-24bun:sqlite gets 10% faster (#3780)Gravatar Jarred Sumner 1-73/+126
* bun:sqlite gets 10% faster ❯ bun-debug bun.js # After [0.03ms] ".env" cpu: Apple M1 Max runtime: bun 0.7.1_debug (arm64-darwin) benchmark time (avg) (min … max) p75 p99 p995 ------------------------------------------------------------------- ----------------------------- SELECT * FROM "Order" 13.65 ms/iter (12.79 ms … 15.41 ms) 13.69 ms 15.41 ms 15.41 ms SELECT * FROM "Product" 31.02 µs/iter (27.08 µs … 1.33 ms) 30.33 µs 42.33 µs 45.25 µs SELECT * FROM "OrderDetail" 140.2 ms/iter (127.97 ms … 172.31 ms) 144.02 ms 172.31 ms 172.31 ms bun/bench/sqlite on  jarred/faster-sqlite took 5s ❯ bun bun.js # Before [0.52ms] ".env" cpu: Apple M1 Max runtime: bun 0.7.1 (arm64-darwin) benchmark time (avg) (min … max) p75 p99 p995 ------------------------------------------------------------------- ----------------------------- SELECT * FROM "Order" 15.44 ms/iter (14.36 ms … 17.94 ms) 15.59 ms 17.94 ms 17.94 ms SELECT * FROM "Product" 36.89 µs/iter (31.54 µs … 3.18 ms) 37.25 µs 49.75 µs 54.88 µs SELECT * FROM "OrderDetail" 156.63 ms/iter (151.68 ms … 175.93 ms) 157.63 ms 175.93 ms 175.93 ms * Handle empty just incase * GCDeferral scope is unnecessary * Make this code more careful --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-24Update install method orderGravatar Colin McDonnell 1-4/+4
2023-07-23Upgrade WebKit (#3777)Gravatar Jarred Sumner 39-633/+516
* 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-23more tests for #3754 (#3774)Gravatar Alex Lam S.L 1-0/+110
2023-07-23Fix bugs with connecting to localhost (#3758)Gravatar Jarred Sumner 7-38/+71
* 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 2-0/+24
2023-07-23Update nodejs-apis.md (#3762)Gravatar Alexander Trefz 1-2/+2
`structuredClone` is implemented as of v0.7
2023-07-22Update `development.md` (#3718)Gravatar Artur Androsovych 1-0/+33
* Update `development.md` * Update `development.md`
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 5-93/+415
- respect semver ranges
2023-07-22ref() before creating the JSPromiseGravatar Jarred Sumner 1-9/+14
2023-07-22Make `zig build obj` fail a little later when src/runtime.out.js or ↵Gravatar Jarred Sumner 1-37/+27
src/fallback/out.js doesn't exist
2023-07-22bump!Gravatar Jarred Sumner 1-1/+1
2023-07-22Fixes ↵Gravatar Jarred Sumner 2-6/+61
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 9-9/+166
* 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 2-4/+9
Close: #3740
2023-07-22Fixes #3744Gravatar Jarred Sumner 2-16/+142
2023-07-22Unified event loop (#3741)Gravatar Jarred Sumner 36-71/+530
* 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 8-63/+321
* 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 2-0/+11
Close: #3738
2023-07-21fix #3716 (#3733)Gravatar Dylan Conway 2-6/+25
* 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 5-15/+13
- minor build diffs
2023-07-21clean tables before testing (#3721)Gravatar Ciro Spaciari 1-2/+10
* clean tables before testing * typo
2023-07-21Typo in loaders.md (#3728)Gravatar Vaughan Rouesnel 1-1/+1
2023-07-21string escape edgecase (#3717)bun-v0.7.0Gravatar Dylan Conway 4-8/+22
* 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 flaky testGravatar Jarred Sumner 1-3/+2
@paperdave we must always use `bunEnv` in the `env` to ensure that the color settings and other stuff doesn't cause bun to produce extraneous stdout input when using console.log Additionally, the console.log was left in (which is okay)
2023-07-20BumpGravatar Jarred Sumner 2-1/+1
2023-07-20BumpGravatar Jarred Sumner 5-6/+4
2023-07-20Update async_hooks.node.test.tsGravatar Dylan Conway 1-1/+1
2023-07-20bumpGravatar Jarred Sumner 2-3/+3
2023-07-20fix process.exit status code handling (#3714)Gravatar dave caruso 9-597/+620