aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-03-20Add test-d files for eventemitterGravatar Colin McDonnell 2-0/+19
2023-03-20Make event emitter type-safe (#2414)Gravatar Gaurish Sethia 1-21/+35
* Add filePath property on MatchedRoute * Fix #1880 #851 * Fix #1972 as well * FMC * Bump querystring-es3 * fix querystring status * Fix typos in docs * Make event-emitter by default type-safe * Remove Makefile.save * Resolve merge conflict * Tweaks --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-03-20docs: update moduleResolution to bundler (#2429)Gravatar John Reilly 5-17/+24
* docs: update moduleResolution to bundler * docs: bundler as well * Updates --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-03-20"bun-create" example "postinstall"→"preinstall" (#2441)Gravatar jq170727 1-1/+1
"postinstall" is listed twice in the example for the "bun-create" section of package.json. Based on the context and content of the echo commands I believe the intent is that the first "postinstall" should be "preinstall". This change corrects this.
2023-03-20Support directories in ZSH run completions (#2425)Gravatar Jackson Kearl 1-17/+4
* Support scripts in dirs in zsh run completions * add back wasm support
2023-03-20Fix example for "bun pm ls" (#2440)Gravatar jq170727 1-0/+1
2023-03-20Update install.mdbun-v0.5.8Gravatar Jarred Sumner 1-2/+2
2023-03-20Implement simple `workspaces` glob support in bun install (#2435)Gravatar Jarred Sumner 5-219/+410
* [bun install] Implement `packages/*`-style globs * Fix incorrect assertion * :nail_care: * remove extraneous console.log * Fix pointer to stack memory * Add a test with a scoped package name from a glob workspace * Fixup --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-19Finish the upgradeGravatar Jarred Sumner 1-12/+10
2023-03-19remove `addLog`, remove `--prominent-compile-errors`Gravatar Dylan Conway 2-34/+14
2023-03-19Fix bug with scoped aliased dependencies in bun install on macOSGravatar Jarred Sumner 3-3/+16
2023-03-19remove unnecessary check (#2432)Gravatar Ciro Spaciari 1-3/+0
2023-03-19add some extra abort checks into streams (#2430)Gravatar Ciro Spaciari 1-3/+9
* add some checks to avoid UAF * avoid multiple calls to finalize if endFromJS is called more than once * fix no-op comment * mark as requested_end on abort * remove requested_end from abort
2023-03-19Reduce number of module scopes createdGravatar Jarred Sumner 5-9/+13
2023-03-19[bun test] Implement `--rerun-each` flag to run each test N timesGravatar Jarred Sumner 2-38/+64
2023-03-19Prevent undefined memory accessGravatar Jarred Sumner 1-1/+1
2023-03-19Remove -gGravatar Jarred Sumner 1-2/+2
2023-03-19Set -O2 and -fno-rttiGravatar Jarred Sumner 1-2/+2
2023-03-19Remove usages of port numbers in testsGravatar Jarred Sumner 6-246/+269
2023-03-19Several bug fixes (#2427)Gravatar Jarred Sumner 24-251/+635
* Fix test * Fix segfault when unexpected type is passed in `expect().toThrow` * Fix issues with request constructor * Don't bother cloning headers when its empty * woops * more tests * fix incorrect test * Make the fetch error messages better * Update response.zig * Fix test that failed on macOS * Fix test * Remove extra hash table lookups * Support running dummy registry directly cc @alexlamsl * Update test * Update test * fixup * Workaround crash in test runner * Fixup test * Fixup test * Update os.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-180 length body is a null streamGravatar Jarred Sumner 1-2/+3
2023-03-18Hanging abort testGravatar Jarred Sumner 1-1/+3
2023-03-18Make this test more thoroughGravatar Jarred Sumner 1-2/+12
2023-03-18Update UWSGravatar Jarred Sumner 1-0/+0
cc @cirospaciari
2023-03-18Fix out of bounds accessGravatar Jarred Sumner 1-19/+9
Repro'd in Buffer tests
2023-03-18Always clear timers in node test harnessGravatar Jarred Sumner 1-12/+30
2023-03-18[node:net] Fix issue with `listen` callback firing before it's listeningGravatar Jarred Sumner 1-1/+10
2023-03-18Make node-net tests less flakyGravatar Jarred Sumner 1-6/+10
2023-03-18[fetch] Make the default body value `null` when unspecifiedGravatar Jarred Sumner 4-15/+58
This is better aligned with the fetch spec
2023-03-18Fix crash when rendering error page and the server or network is slowGravatar Jarred Sumner 1-0/+1
2023-03-18docs: Use correct url in the 'Issues' link in README header (#2420)Gravatar Kamil Ogórek 1-1/+1
2023-03-18:nail_care:Gravatar Dylan Conway 1-2/+2
2023-03-18Fix several bugs (#2418)Gravatar Dylan Conway 7-16/+93
* utf16 codepoint with replacement character * Fix test failure with `TextEncoder("ascii')` * Add missing type * Fix Response.prototype.bodyUsed and Request.prototype.bodyUsed * Fix bug with scrypt error not clearing * Update server.zig * oopsie
2023-03-17Fix various fetch/response/request tests (#2416)Gravatar Dylan Conway 20-156/+428
* 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-03-17Feat(test): add toMatch (#2404)Gravatar zhiyuan 8-8/+155
2023-03-16Remove old Docker workflowGravatar Ashcon Partovi 1-47/+0
2023-03-16Remove test DockerfileGravatar Ashcon Partovi 1-4/+0
2023-03-16Organize Dockerfiles for official statusGravatar Ashcon Partovi 10-55/+287
2023-03-15remove trailing commaGravatar Dylan Conway 1-4/+4
2023-03-15Fix socket tests with connection errors (#2403)Gravatar Dylan Conway 2-1/+11
* release pending activity with connection error handler * unref poll_ref
2023-03-15Rename `expectObjectTypeCount` to `expectMaxObjectTypeCount`Gravatar Jarred Sumner 4-13/+28
2023-03-15feat(expect): update toBeInstanceOf (#2396)Gravatar zhiyuan 7-27/+49
* feat: update instanceof binding * fix: according to PR comments
2023-03-15Make the test work in any timezoneGravatar Jarred Sumner 1-9/+9
2023-03-15Fixes #2399Gravatar Jarred Sumner 3-12/+38
2023-03-15fix gc-related flaky test failures (#2402)Gravatar Alex Lam S.L 9-100/+96
2023-03-15Remove nested tests from harnessGravatar Ashcon Partovi 1-89/+27
2023-03-15Improve reliability of generated testsGravatar Ashcon Partovi 27-821/+921
2023-03-15:white_check_mark: some test matchersGravatar Jarred Sumner 1-2/+2
2023-03-15fix `gc` import from harnessGravatar Dylan Conway 2-13/+3
2023-03-15Case sensitiveGravatar Jarred Sumner 1-5/+4