aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-03-27Fix for latest zig (#2495)Gravatar Jarred Sumner 6-29/+9
* Fix for latest zig * Revert "Use PATH instead of sudo to install bun for testing (#2460)" This reverts commit 5fd406ca2ffa0cb9c1cb98140bedf0a3ba9e5022. --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-26fix https default port on http.request (#2490)Gravatar Ciro Spaciari 1-1/+1
* fix https default port on http.request * Update http.exports.js
2023-03-25[install] fix tests (#2488)Gravatar Alex Lam S.L 3-23/+33
- avoid creating spurious directories next to test scripts
2023-03-23Fixes #2462 (#2463)Gravatar Jarred Sumner 2-2/+60
2023-03-22test(undici): rm external http reqs from tests (#2459)Gravatar Derrick Farris 3-22/+208
* test(undici): rm external http reqs from tests * cleanup(http-test-server): remove finished TODOs * test(undici): fix server type, remove type:module to fix typings in test dir * test(undici): make the typings better * test(undici): fix typo
2023-03-22Use PATH instead of sudo to install bun for testing (#2460)Gravatar Josh Soref 4-4/+28
2023-03-22A couple bug fixes (#2458)Gravatar Dylan Conway 25-139/+390
* fix valid status code range * update path * highwatermark option * throw DOMException * remove extra transpiler output * more transpiler tests * comment * get index not quickly * replace with `getDirectIndex` * update abort test * throw out of range status code * promisify test fix * move stdio test instance files * working crypto tests * allow duplicate set-cookie headers * different formatting * revert, fix will be in different pr * it is called * use min buffer size * fix url tests * null origin for other protocols * remove overload * add very large file test * await * coerce to int64 * 64 * no cast * add todo blob url tests * use `tryConvertToInt52`
2023-03-22Fix types (#2453)Gravatar Colin McDonnell 76-271/+510
* WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs
2023-03-21Upgrade MimallocGravatar Jarred Sumner 1-0/+0
2023-03-21Update build-idGravatar Jarred Sumner 1-1/+1
2023-03-21Don't use function from bundler branchGravatar Jarred Sumner 1-11/+19
2023-03-21Fix possible crash with `export namespace ns { export class F {} }`Gravatar Jarred Sumner 1-5/+14
2023-03-21Update sqlite.md (#2452)Gravatar Joker_ 1-1/+1
Fix benchmark source pointing to wrong URL.
2023-03-21Fix typo (#2446)Gravatar Igor Shevchenko 1-1/+1
- fixed typo in the month name
2023-03-20docs: Buchta Docs Page (#2378)Gravatar Ján Gajdoš 2-0/+39
* Idea: Buchta Docs Page * Tweaks --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
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