aboutsummaryrefslogtreecommitdiff
path: root/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-25fix the encoding of `dirname`'s return value. (#3799)Gravatar Ai Hoshino 1-0/+39
2023-07-25fix some cases in the `dirname` function. (#3785)Gravatar Ai Hoshino 1-19/+86
Close: #3782
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 2-2/+38
* 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 1-0/+22
* push to next next * couple more tests * end
2023-07-24[install] fix workspace override of aliased npm dependency (#3784)Gravatar Alex Lam S.L 1-0/+106
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 2-3/+3
* 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-23Fixes #3764Gravatar Jarred Sumner 1-0/+18
2023-07-22[install] improve workspace substitution of npm dependencies (#3754)Gravatar Alex Lam S.L 2-31/+242
- respect semver ranges
2023-07-22Fixes ↵Gravatar Jarred Sumner 1-0/+53
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 1-1/+5
* fix path.format for vite * Update path.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-22Fix `writeFileSync` when the mode is greater than 0o777. (#3747)Gravatar Ai Hoshino 1-1/+6
Close: #3740
2023-07-22Fixes #3744Gravatar Jarred Sumner 1-1/+17
2023-07-22Unified event loop (#3741)Gravatar Jarred Sumner 8-0/+274
* 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 1-1/+1
* 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/+10
Close: #3738
2023-07-21fix #3716 (#3733)Gravatar Dylan Conway 1-0/+8
* 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 3-13/+11
- minor build diffs
2023-07-21clean tables before testing (#3721)Gravatar Ciro Spaciari 1-2/+10
* clean tables before testing * typo
2023-07-21string escape edgecase (#3717)bun-v0.7.0Gravatar Dylan Conway 2-6/+6
* 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-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-20Update async_hooks.node.test.tsGravatar Dylan Conway 1-1/+1
2023-07-20fix process.exit status code handling (#3714)Gravatar dave caruso 1-1/+0
2023-07-20fix directory caching with workaround (#3710)Gravatar dave caruso 2-0/+42
* ok * test
2023-07-20Update process.test.jsGravatar Dylan Conway 1-2/+2
2023-07-20Update text-decoder.test.jsGravatar Jarred Sumner 1-1/+1
2023-07-20Pass constructor arguments to TextDecoder (#3692)Gravatar Julian 1-0/+19
* 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-20fix start delay on Worker (#3707)Gravatar Ciro Spaciari 4-1/+32
* fix start delay on Worker * fmt * add delay test
2023-07-19Bump version to Bun v0.7.0Gravatar Jarred Sumner 1-1/+1
2023-07-19Support streams in response.formData() & request.formData, introduce ↵Gravatar Jarred Sumner 2-4/+173
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-0/+12
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-19Inline`bun` object from workersGravatar Jarred Sumner 1-3/+1
2023-07-19Fix browser bundled string_decoder (#3693)Gravatar dave caruso 1-0/+16
* Fix #3660 * doc fix
2023-07-19Implement `AsyncLocalStorage` (#3089)Gravatar dave caruso 4-27/+631
* 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-19update root certificates and add tls.rootCertificates (#3688)Gravatar Ciro Spaciari 1-1/+13
* implement tls.rootCertificates * add test * bump uws/usockets * bump uws + .len on certs
2023-07-19fix createDecipheriv (#3680)Gravatar Ciro Spaciari 1-0/+18
* fix createDecipheriv * fix createDecipheriv iv and password validations
2023-07-19set `did_panic` flag (#3687)Gravatar Dylan Conway 1-0/+7
2023-07-18feature(constants) add constants/node:constants module and tests(prisma) use ↵Gravatar Ciro Spaciari 8-11/+42
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 1-1/+6
2023-07-18[jest] execute lifecycle hooks on empty blocks (#3663)Gravatar Alex Lam S.L 1-11/+53
fixes #3494
2023-07-17Enable postgres prisma testGravatar Jarred Sumner 1-1/+1
2023-07-17Fix potential crash in process.dlopen()Gravatar Jarred Sumner 1-0/+10
2023-07-17[tls] General compatibility improvements (#3596)Gravatar Ciro Spaciari 2-1/+167
* wip * subjectaltname * more progress * bindings * fmt * getCert/getPeerCertificate * fix checkServerIdentity * fix checkServerIdentity * add a lot of TLSSocket functions * getEphemeralKeyInfo fix and comment * add alternative for getEphemeralKeyInfo * add get session and set session * fix isSessionReused * get back the raw data for MSSQL * fixeup * fixup getSession + tests * fix doc + fmt * getFinished/getPeerFinished * codegen * fixup * revert webkit * more fixes * ssl helper + revert test oops * asserts
2023-07-17package json `main` field extension order (#3664)Gravatar Dylan Conway 1-0/+76
2023-07-17[install] handle duplicated workspace declarations gracefully (#3662)Gravatar Alex Lam S.L 1-0/+172
fixes #3644