aboutsummaryrefslogtreecommitdiff
path: root/src/deps (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-26Implement all pending resolve methods in DNS (#1903)Gravatar Ciro Spaciari 2-16/+473
* initial steps to create generic resolve * add soa * add naptr * add naptr * add mx and fix naptr * add resolve caa * fix Caa test * fix toJS from caa * add resolveNs * add resolvePtr * fix resolvePtr test * add resolveCname * add resolve rrtype options (still missing ANY) * fix Naptr * fix drainPendingCares
2023-01-26Upgrade MimallocGravatar Jarred Sumner 1-0/+0
2023-01-23Update uwsGravatar Jarred Sumner 1-0/+0
2023-01-23fix(Buffer) Fix arguments in buffer.write, fix size returned from ↵Gravatar Ciro Spaciari 1-0/+0
buffer.write for utf16, fix size calc for base64, fix calc for hex byte size (#1881) * fix buffer write when more than 2 args are passed * fix encoding parameter * better buffer write tests * fix ucs2/utf8 len return * fix base64 size in Buffer write * fix hex encoding size * actual fix base64 * actual fix base64 * fix segfault * add fill parameter in Buffer.alloc * use createUnitialized when alloc have fill parameter, use RETURN_IF_EXCEPTION when static casting * fix utf16le, ucs2 copying in Buffer write
2023-01-22fix unrefOnNextTickGravatar Jarred Sumner 1-0/+6
2023-01-22feat(dns) resolveSrv (#1870)Gravatar Ciro Spaciari 2-2/+248
* initial steps * in-progress resolveSrv support * fix memory leak and ZigGlobalObject * promise.resolve + fix priority and weight mistake * fix node dns export * little better test * add poll_ref to keep alive loop in callback for resolveSrv and lookup * add test for error case in resolveSrc * fix Bun.dns.resolveSrv type
2023-01-21Update uwsGravatar Jarred Sumner 1-0/+0
2023-01-17feat(cli): Support `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` #1440 (#1814)Gravatar Ciro Spaciari 1-3/+11
* WIP: http_proxy implemented, first steps for https_proxy #1440 * add HTTP_PROXY support to upgrade_command and WIP: tunneling * WIP async handshake, stuck on WANT_READ, try to defer + check * create and upgrade with proxy working, TLS and non-TLS to proxy TLS working * bun install/upgrade/create working with http(s)_proxy #1440 * add NO_PROXY support #1440 * remove commented code and add TODO * fix getHttpProxy no_proxy * fix formatting * refactor catch and getHttpProxy, fix empty strngs in env for proxy * allow optimization for handleResponseBody
2023-01-16Fix some reliability issues with net.connect and Bun.connect on macOSGravatar Jarred Sumner 1-0/+0
2023-01-12Fix https websocketsGravatar Jarred Sumner 1-0/+12
2023-01-12Upgrade uSocketsGravatar Jarred Sumner 4-2/+32
2023-01-12missingGravatar Jarred Sumner 1-3/+3
2023-01-07Update uwsGravatar Jarred Sumner 1-0/+0
2023-01-07Change errorGravatar Jarred SUmner 1-1/+1
2023-01-07Return ENOTFOUND instead of ENOTERRORGravatar Jarred SUmner 1-1/+1
2023-01-07Implement DNS module (#1691)Gravatar Jarred Sumner 2-0/+687
* Boilerplate for DNS stuff * Add c-ares * lookup * make * Implement dns.lookup * Create c-ares * wip * normalize * repro * Revert "repro" This reverts commit 8b93e0c295b335b8882a9601da47720348549beb. * Implement macOS `getaddrinfo_async_start` * embiggen * Update string_immutable.zig * Update Makefile * alright * Update .gitignore * Add types * more ccache * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update bun.d.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-29Introduce `Bun.CryptoHasher`Gravatar Jarred Sumner 1-2/+15
2022-12-28Expose the rest of RIPEMD160Gravatar Jarred Sumner 1-0/+25
2022-12-28Use BoringSSL with patches from ElectronGravatar Jarred Sumner 8-1/+366
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 10-383/+386
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 1-0/+0
* Update .gitmodules * Delete oniguruma * Delete Oniguruma * Make this test less flaky * :scissors: Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-13[crypto] Implement `scryptSync`Gravatar Jarred Sumner 1-1/+28
Fixes https://github.com/oven-sh/bun/issues/1228
2022-12-01Fix timers keeping process alive unnecessarilyGravatar Jarred Sumner 1-0/+9
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 5-12/+13
2022-11-26Update mimallocGravatar Jarred Sumner 1-0/+0
2022-11-25Update zlibGravatar Jarred Sumner 1-0/+0
2022-11-20[fetch] Add optimization for chunked encodingGravatar Jarred Sumner 1-1/+5
2022-11-19Update to Mimalloc v2.0.7Gravatar Jarred Sumner 1-0/+0
2022-11-11Remove with `git rm`Gravatar Jarred Sumner 1-0/+0
2022-11-11ReactivateGravatar Jarred Sumner 1-0/+0
2022-11-11Delete .keepGravatar Jarred Sumner 1-0/+0
2022-11-11Create .keepGravatar Jarred Sumner 1-0/+0
2022-11-11Delete libbacktraceGravatar Jarred Sumner 1-0/+0
2022-11-11Replace `libbacktrace` with `WTFGetBacktrace`Gravatar Jarred Sumner 1-148/+0
2022-11-09Fix #1354Gravatar Jarred Sumner 1-0/+2
2022-10-30Updating libuwebsockets C API (#1423)Gravatar Ciro Spaciari 3-1007/+1435
2022-10-25TCP & TLS Socket API (#1374)Gravatar Jarred Sumner 1-26/+120
* TCP Socket API * Wip * Add snippet for StringDecoder * Rename `close` to `stop`, replace `close` with `end` * Add a tcp echo server test * Some docs * Update README.md * Fix build * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-10-19Fix calling `ws.publish` inside `close` when other clients are connectedGravatar Jarred Sumner 1-5/+11
This fixes https://github.com/oven-sh/bun/issues/1357
2022-10-18Fix typo in datetime.zig (#1310)Gravatar Ikko Ashimine 1-1/+1
containg -> contain
2022-10-18Update uwsGravatar Jarred Sumner 1-0/+0
2022-10-18Update uwsGravatar Jarred Sumner 1-0/+0
2022-10-18Update uwsGravatar Jarred Sumner 1-0/+0
2022-10-18build faiiluresGravatar Jarred Sumner 2-6/+6
2022-10-18Update uwsGravatar Jarred Sumner 1-0/+0
2022-10-17add oniguruma for regex with variable length lookbehinds (#1329)Gravatar Dylan Conway 1-0/+0
* added pcre2 submodule * pcre2 regex boilerplate * tests for pcre2 regex * flag validation, getters, construct and compile mostly working * string escaping for source and toString(), exec, more tests * flag sorting, match, matchAll, search, split, replace * remove lib link * add destructor to PCRE2RegExp * header include * removed ternary * switched to oniguruma for regex library * revert sql changes * fix indices flag, add tests * revert settings * working error messages * more tests for lastIndex, fix logic for compile and lastIndex * move oniguruma lib to deps out dir
2022-10-17Updates to UWSGravatar Jarred Sumner 1-2/+3
2022-10-17Implement `error` and `binaryType`Gravatar Jarred Sumner 1-5/+5
2022-10-16Update uwsGravatar Jarred Sumner 1-0/+0
2022-10-16Set `Date` headerGravatar Jarred Sumner 1-0/+0
2022-10-16Make more sure we know what the types we are sending areGravatar Jarred Sumner 1-5/+5