aboutsummaryrefslogtreecommitdiff
path: root/test/js/third_party (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-24Use noEmitGravatar Colin McDonnell 1-2/+1
2023-08-23Bunch of streams fixes (#4251)Gravatar Jarred Sumner 1-195/+0
* Update WebKit * Don't do async hooks things when async hooks are not enabled * Smarter scheduling of event loop tasks with the http server * less exciting approach * Bump WebKit * Another approach * Fix body-stream tests * Fixes #1886 * Fix UAF in fetch body streaming * Missing from commit * Fix leak * Fix the other leak * Fix test * Fix crash * missing duperef * Make this code clearer * Ignore empty chunks * Fixes #3969 * Delete flaky test * Update bun-linux-build.yml * Fix memory issue * fix result body, and .done status before the last callback, dont touch headers after sent once * refactor HTTPClientResult * less flasky corrupted test * oops * fix mutex invalid state * fix onProgressUpdate deinit/unlock * fix onProgressUpdate deinit/unlock * oops * remove verbose * fix posible null use * avoid http null * metadata can still be used onReject after toResponse * dont leak task.http * fix flask tests * less flask close tests --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: cirospaciari <ciro.spaciari@gmail.com>
2023-08-23Fix more types. (#4273)Gravatar xxxhussein 1-0/+2
2023-08-21fix fsevents and stub for qwikcity (#4247)Gravatar dave caruso 3-36/+0
* fix test * ok * cm * EE * remove the hack we didnt need
2023-08-21Implement `napi_ref_threadsafe_function` (#4156)Gravatar dave caruso 3-0/+36
* Implement napi_ref_threadsafe_function * work on this * i hate event loops * little better * clean
2023-08-19Fix crash impacting sharp & resvg (#4221)Gravatar Jarred Sumner 1-11/+20
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-08-19Fixes #172 (#4220)Gravatar Jarred Sumner 2-0/+59
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-08-16Fix prisma linux generation (#4150)Gravatar Ciro Spaciari 6-11/+28
* check * fmt + fix * fmt * ops * add more targets * more targets * oops * update bun lock and prisma * manually add openssl * targets on sqlite
2023-08-12Fix worker event loop ref/unref + leak (#4114)Gravatar dave caruso 1-2/+0
* make more tests pass * worker changes * fix some bugs * remove this * progress * uh * okay * remove console log * a * comment assert for later * mergable state * remove test * remove test
2023-08-01Fix some flaky tests (#3919)Gravatar Ciro Spaciari 1-2/+3
* fix some flask tests * fix condition on prisma test * oops
2023-07-28fix(tls) exposes native canonicalizeIP and fix rootCertificates (#3866)Gravatar Ciro Spaciari 1-2/+1
* 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-27Resolve watch directories outside main thread + async iterator and symlink ↵Gravatar Ciro Spaciari 1-1/+1
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-22Unified event loop (#3741)Gravatar Jarred Sumner 6-0/+273
* 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-21clean tables before testing (#3721)Gravatar Ciro Spaciari 1-2/+10
* clean tables before testing * typo
2023-07-20fix start delay on Worker (#3707)Gravatar Ciro Spaciari 3-0/+30
* 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-18feature(constants) add constants/node:constants module and tests(prisma) use ↵Gravatar Ciro Spaciari 6-9/+40
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-17Enable postgres prisma testGravatar Jarred Sumner 1-1/+1
2023-07-07Update types, partially fix `typecheck` (#3551)Gravatar Colin McDonnell 1-0/+1
* Update types * Remove caret
2023-07-04use sengrid account on nodemailer test (#3517)bun-v0.6.13Gravatar Ciro Spaciari 2-14/+15
2023-07-04[tls] fix servername (#3513)Gravatar Ciro Spaciari 2-0/+64
* fix servername * add postgres tls tests * update test packages * add basic CRUD test
2023-07-04bumpGravatar Jarred Sumner 1-1/+1
2023-07-03Fix napi bugGravatar Jarred Sumner 1-1/+1
2023-07-03[tls] add socket parameter, setServername and ALPNprotocols support (#3457)Gravatar Ciro Spaciari 3-0/+44
* add socket parameter support * refactor #socket * add test and more fixs * some fixes * bump uws * handlers fix * more fixes * fix node net and node tls tests * fix duplicate port * fix deinit on CallbackJobs * cleanup * add setImmediate repro * add test to setImmediate * this is necessary? * fix prependOnce on native listener * try to findout the error on nodemailer CI * show error message * Update bun.lockb * prettier * Use exact versions of packages * add alpnProtocol support * update * emit error when connect fails on net.Socket * format * fix _write and cleanup * fixup * fix connect, add alpn test * fix socket.io * add socket parameter to TLSSocket * add TLSSocket socket first parameter * fixup and _start * remove flask tests * fmt --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-01Use exact versions in testsGravatar Jarred Sumner 4-8/+7
2023-06-26webpack test and add empty `prototype` prop to module (#3421)Gravatar Dylan Conway 4-0/+48
2023-06-18Update esbuild-test.jsGravatar Jarred Sumner 1-1/+50
2023-06-18Make the esbuild integration test more thoroughGravatar Jarred Sumner 1-2/+2
2023-06-18Fix a bunch of bugs (#3352)Gravatar Jarred Sumner 3-0/+22
* Fix a bunch of bugs * undo that one * Fix crash in readdir() * woops * woops * Add comment * :scissors: * Make `readlink()` and `realpath` use much less memory * Update BunString.cpp * woopsie * Unnecessary * Don't commit these --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-03[tests] prisma tests (#3197)Gravatar Ciro Spaciari 7-0/+3797
2023-05-28Add query string to express integration testGravatar Jarred Sumner 1-1/+5
2023-05-22Skip more testsGravatar Jarred Sumner 1-1/+2
2023-05-21Skip hanging testsGravatar Jarred Sumner 7-6/+13
2023-05-21[internal] Fix potential missing callbacks in AbortSignalGravatar Jarred Sumner 1-208/+0
2023-05-21fix(tls.connect) fix SNI on tls sockets and also servername (mongodb) (#2934)Gravatar Ciro Spaciari 8-47/+43
* fixes SNI on tls sockets and also servername * 💅 * 💅 * add support for https and wss * fix bun types * support Bun.file on ca, key and cert * 💅 * add setTimeout (makes fastify run) * fix httpVersion * fix WebSocketServer and add listen event * fix ws exports and http listening * fix default import * bump uws * add nodebuffer compatibility * fix drain and allow more passing tests to run * fix enqueud messages * default to arraybuffer * fix constructor binaryType * fmt * fixup * skip some tests * skip more * skip fault tests * reuse encoder instance * fix handshake WS Client * temporary revert handshake fix * fix handshake * disable all socket.io test temp * fixup * add back socket.io tests * use node_fs to read cert, ca and key on server.zig * throw the error returned by NodeFS * 💅
2023-05-16feat(WebSocketServer) WebSocketServer wrapper + socket.io initial support ↵Gravatar Ciro Spaciari 16-0/+5154
(#2880) * WebSocketServer wrapper + socket.io initial support * fix up backpressure * fix up backpressure * fix http address * add socket.io tests * add closing tests * add connection state recovery tests for socket.io * add handshake test * add middeware tests for socket.io * added socket.io socket middleware tests * add more socket.io test comment/skip hang tests * add pending package for tests * add server attachment servers for socket.io * add utility-methods tests for socket.io * rename * rename * add messaging-many socket.io tests * add namespaces tests to socket.io * skip some tests * fmt * add packages to general package.json
2023-04-04Dylan/fix some failing tests (#2544)Gravatar Jarred Sumner 2-13/+0
* handle `umask()` invalid arguments * move `bktree-fast` to test root, fix postinstall * fix fs test * could be baseline * handle different timezones * accidentally deleted tests * fix hang in `AbortSignal.timeout` * bring abort tests back * Revert "bring abort tests back" This reverts commit 0ff2ad5bf408694ac719b8ba0a38b16070e10201. * bunx node-gyp * bun x * fix typecheck * test * Update inspect.test.js --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2023-03-28More bug fixes (#2486)Gravatar Jarred Sumner 1-4/+1
* readline_promises test fix * fix `escapeHTML` for baseline builds * fs test fixes, use `tmpdir()` * add paths for `resolve.test.js` * isError with toString symbol and error prototype * comment about `toString` * skip async macro transform * test cleanup, skip stack format test * readline undo and redo fix * capture error from readline keypress * Update tcp-server.test.ts * use `removefileat` for recursive rmdir * use strong for `signal.reason` * initialize `m_flags` * directory with file fs test * recursive option * import expect * could be less than * move abort signal tests to another process * fix typecheck --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2023-03-22Fix types (#2453)Gravatar Colin McDonnell 2-1/+5
* 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-15Fix broken import path in testGravatar Jarred Sumner 2-2955/+0
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 16-0/+3338