aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-28Fixes #3868Gravatar Jarred Sumner 1-2/+3
Fixes #3868 Fixes #849
2023-07-28Fix assertion failure and possible infinite loop when printing as yarn lock ↵Gravatar Jarred Sumner 2-3/+16
files
2023-07-28Mark broken test as todoGravatar Jarred Sumner 2-1/+5
2023-07-28fix types and add message channel/port gc testGravatar Dylan Conway 2-62/+18
2023-07-28`MessageChannel` and `MessagePort` (#3860)Gravatar Dylan Conway 57-247/+3752
* copy and format * copy * copy * cleanup * some tests * spellcheck * add types * don't lock getting contextId * array buffer test
2023-07-28mark tests as todoGravatar Jarred Sumner 2-81/+75
2023-07-28add fork to child_process (#3851)Gravatar Vlad Sirenko 7-19/+446
* add fork to child_process * fix export * add test to child_process method `fork` * fmt fork * remove only from test
2023-07-28feat(bun/test): Impl. expect().pass() & expect().fail() (#3843)Gravatar Tiramify (A.K. Daniel) 6-5/+212
* Impl. pass & fail * fix * fix 2 * smol
2023-07-28fix the chunk boundary (`node:stream:createReadStream`) (#3853)Gravatar Ai Hoshino 3-8/+90
* fix the slice boundary. Close: #3668 * Add more boundary test case. * fix end is 0.
2023-07-28Support file: URLs in `fetch` (#3858)Gravatar Jarred Sumner 6-183/+281
* Support file: URLs in `fetch` * Update url.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-28fix(tls) exposes native canonicalizeIP and fix rootCertificates (#3866)Gravatar Ciro Spaciari 7-29/+125
* exposes native canonicalizeIP * remove unintended duplicate * add tests * add tests for debug builds * add rootCertificates test and fix len * just randomize test ids on prisma * remove work around and bump usockets with the actual fix * fix case * bump uws
2023-07-28Fixes #3795 (#3856)Gravatar Jarred Sumner 11-6/+140
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-28Add todoGravatar Jarred Sumner 2-0/+8
cc @cirospaciari
2023-07-28Update pull_request_template.mdGravatar Jarred Sumner 1-1/+1
2023-07-28Update pull_request_template.mdGravatar Jarred Sumner 1-11/+16
2023-07-27Fix bug with // @bun annotation in main thread (#3855)Gravatar Jarred Sumner 4-2/+53
* Uncomment test * Fix bug with // @bun + async transpiler --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-27Add `Bun.isMainThread`Gravatar Jarred Sumner 7-3/+48
2023-07-27Uncomment testGravatar Jarred Sumner 1-1/+1
2023-07-27Resolve watch directories outside main thread + async iterator and symlink ↵Gravatar Ciro Spaciari 8-197/+523
fixes (#3846) * linux working pending tests with FSEvents * add more tests, fix async iterator * remove unnecessary check * fix macos symlink on directories * remove indirection layer * todos * fixes and some permission test * fix opsie and make prisma test more reliable * rebase with main * add comptime check for macOS * oops * oops2 * fix symlinks cascade on FSEvents * use JSC.WorkPool * use withResolver, createFIFO and fix close event on async iterator * remove unused events --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-07-27Update pull_request_template.mdGravatar Jarred Sumner 1-1/+1
2023-07-27Update pull_request_template.mdGravatar Jarred Sumner 1-1/+1
2023-07-27Update pull_request_template.mdGravatar Jarred Sumner 1-1/+1
2023-07-27Update pull_request_template.mdGravatar Jarred Sumner 1-2/+2
2023-07-27Update pull_request_template.mdGravatar Jarred Sumner 1-0/+4
2023-07-27Update pull_request_template.mdGravatar Jarred Sumner 1-5/+11
2023-07-27Create pull_request_template.mdGravatar Jarred Sumner 1-0/+47
2023-07-27Make readFile() async (#3850)Gravatar Jarred Sumner 9-175/+340
* less leaky * async readfile * Update types.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-27Fix hot reloading in canary (#3848)Gravatar Jarred Sumner 4-5/+29
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-27Outdated copyGravatar Jarred Sumner 1-2/+2
2023-07-27Use putDirectIndex instead of initializeIndex (#3839)Gravatar Jarred Sumner 1-6/+6
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-27Remove no longer needed flag from benchmark documentation (#3845)Gravatar Luigi Pinca 1-1/+1
`Deno.serve()` was stabilized in version 1.35.0.
2023-07-27Make readdir() async, fix crash in large directory trees (#3838)Gravatar Jarred Sumner 10-232/+461
* Fix unsafe GC behavior on large arrays returned by fs * Fix crash in large arrays of strings * async readdir * Add tests for large number of files returned by readdir * Move this down * Fix encoding edgecase in path.join * Async stat & lstat * add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-27Remove lstat call in fs.watch (#3836)Gravatar Jarred Sumner 1-23/+19
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-26Enable `Promise.withResolvers()`Gravatar Jarred Sumner 2-1/+31
https://github.com/tc39/proposal-promise-with-resolvers Thanks @dcrousso
2023-07-26Start time performance improvements to build tools (#3797)Gravatar Jarred Sumner 13-357/+862
* Make os.cpus() faster on Linux * Fix crash See https://github.com/ziglang/zig/issues/16540 * Handle watcher_count == 0 * Add assertion * Clean up lifetimes of fs watcher a little * :scissors: * Use `errdefer` * Make the error better * Make os.cpus() more lazy * Please don't translate-c on the entire C standard library * immediately closing works correctly is still bug * ops * fmt+fixeup * add back verbose * free instead of destroy * remove destroy option for watcher tasks * flush verbose and add debug log * fixup files * use log for debug --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: cirospaciari <ciro.spaciari@gmail.com>
2023-07-26[fetch] Ignore invalid Content-Encoding header (#3834)Gravatar Jarred Sumner 1-2/+0
Fixes #3802 Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-26Fix broken anchorsGravatar Colin McDonnell 9-9/+14
2023-07-26Update macro-test.test.tsGravatar Jarred Sumner 1-6/+6
2023-07-26Disable concurrent transpiler in macrosGravatar Jarred Sumner 3-1/+12
2023-07-26fix decorator and declare (#3828)Gravatar Dylan Conway 3-1/+31
* return the prop if there are decorators * test and comment
2023-07-26Don't hoist bun plugin in concurrent transpilerGravatar Jarred Sumner 1-1/+2
2023-07-26Concurrent Transpiler (#3816)Gravatar Jarred Sumner 8-24/+569
* Concurrent Transpiler * Fix bug with some improts and add jsc alias * Some comments * Fix crash * Update module_loader.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-26[install] handle `workspace:[alias@]range` (#3819)Gravatar Alex Lam S.L 2-1/+141
2023-07-26Add files (#3826)Gravatar Colin McDonnell 90-0/+2246
2023-07-25Fix typoGravatar Colin McDonnell 1-3/+17
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