aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-28Fix `ReadableStream.pipeTo`Gravatar Jarred Sumner 2-3/+3
2022-12-28log object string correctly (#1674)Gravatar Alex Lam S.L 2-14/+13
use `Symbol.toStringTag` of the object or that of its `.prototype` fixes #1584
2022-12-28Fix build issue on latest zigGravatar Jarred Sumner 2-4/+4
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 51-2065/+4776
* @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-27emit `206 Partial Content` only for partial response (#1670)Gravatar Alex Lam S.L 1-1/+1
fixes #1668
2022-12-23Disable optimizationGravatar Jarred Sumner 1-61/+62
2022-12-22pass callback to super _construct if possibleGravatar Dylan Conway 1-1/+5
2022-12-22fix createReadStream hangGravatar Dylan Conway 1-1/+1
highWaterMark test not working correctly but this prevents createReadStream from hanging
2022-12-21Fix throwGravatar Jarred Sumner 1-1/+1
2022-12-21fix jest hooks in bun-test (#1639)Gravatar Ethan Burrell 1-2/+3
* fix(jest) fix broken jest hooks * add tests
2022-12-20Update ZigGlobalObject.cppGravatar Jarred Sumner 1-3/+3
2022-12-20typoGravatar Jarred Sumner 1-3/+3
2022-12-20[web] Support multiple arguments in `setTimeout`, `setInterval`, and ↵Gravatar Jarred Sumner 5-10/+139
`setImmediate`
2022-12-19New subcommand: `bunx` (#1634)Gravatar Jarred Sumner 1-4/+1
* Implement `bunx` * copy cleanup Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-19[Bun.write] Slightly better handling for older linux kernels that lack ↵Gravatar Jarred Sumner 1-2/+2
io_uring support If io_uring is unsupported, we do the writes synchronously even if they're huge
2022-12-18Regenerate builtinsGravatar Jarred Sumner 1-4/+27
2022-12-17bug compatible with `stdin.on("readable")` (#1626)Gravatar Alex Lam S.L 1-3/+26
2022-12-17Upgrade WebKitGravatar Jarred Sumner 1-0/+0
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 60-2563/+3
* 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-17Regenerate builtinsGravatar Jarred Sumner 1-7/+2
2022-12-17Update WebKitGravatar Jarred Sumner 1-0/+0
2022-12-17Use Bun.deepEqual in `assert` moduleGravatar Jarred Sumner 1-1504/+41
2022-12-17Use `Buffer.isBuffer` and node:util/types in `util` moduleGravatar Jarred Sumner 2-1/+651
2022-12-17Implement `node:util/types`Gravatar Jarred Sumner 6-0/+378
Fixes #1617
2022-12-17Add `strict` option to Bun.deepEqualsGravatar Jarred Sumner 1-5/+12
2022-12-16add tests for `process.stdin` (#1621)Gravatar Alex Lam S.L 1-1/+1
2022-12-16[napi] Implement `napi_create_bigint_words`Gravatar Jarred Sumner 1-0/+30
warning: not tested
2022-12-15[js parser] Fix bug where `const {resolve} = require` throws "require is not ↵Gravatar Jarred Sumner 1-1/+1
defined"
2022-12-15[node:process] Implement `process.argv0`, `process.execPath`Gravatar Jarred Sumner 5-5/+61
Fixes https://github.com/oven-sh/bun/issues/1599
2022-12-15[node:process] Implement `process.abort()`Gravatar Jarred Sumner 1-0/+9
2022-12-15[bun run] Include signal code on errorGravatar Jarred Sumner 1-38/+4
2022-12-15[process.stdin] Support reading from process.stdin in the same tickGravatar Jarred Sumner 2-5/+35
2022-12-15fix(stream): make Readable.read work w/o _construct implemented (#1613)Gravatar Derrick Farris 3-19/+12
* fix(stream): put Readable._readableState.constructed default in spec (true, not false) * cleanup(readable): remove unnecessary _construct methods * test(stream): add test for Readable w/o _construct method
2022-12-13[bun:jsc] Introduce `profile` functionGravatar Jarred Sumner 2-0/+54
2022-12-13Fix crash in `startSamplingProfiler`Gravatar Jarred Sumner 1-5/+3
2022-12-13Avoid creating closureGravatar Jarred Sumner 2-55/+53
2022-12-13make `process.stdin` work under TTY (#1611)Gravatar Alex Lam S.L 1-49/+35
- workarounds for #1607 & #1608 fixes #1604
2022-12-13Don't call debug streams getter when not in debugGravatar Jarred Sumner 1-93/+115
2022-12-13Fix bug where importing a binary file throws a SyntaxError. Instead, return ↵Gravatar Jarred Sumner 1-1/+19
the public path for that file
2022-12-13fix UBGravatar Jarred Sumner 1-1/+1
2022-12-13[crypto] Implement `scryptSync`Gravatar Jarred Sumner 2-9/+226
Fixes https://github.com/oven-sh/bun/issues/1228
2022-12-12some bugs make you feel like a 🤡Gravatar Jarred Sumner 1-1/+1
2022-12-12[crypto] Implement crypto.timingSafeEqualGravatar Jarred Sumner 6-1/+104
This uses BoringSSL's memcmp function Fixes https://github.com/oven-sh/bun/issues/1308
2022-12-12fix(stream): Fix Readable.pipe() (#1606)Gravatar Derrick Farris 1-10/+14
* fix(stream): fix some debug logs that were breaking .pipe * fix(stream): another debug fix * test(stream): add test for .pipe
2022-12-12markbinding for utf8 length from utf16leGravatar Dylan Conway 1-0/+3
2022-12-11[Transpiler] Implement `minifyWhitespace` optionGravatar Jarred Sumner 1-0/+8
2022-12-11[internal] Change HashMap implementation for storing symbolsGravatar Jarred Sumner 7-6/+2
2022-12-11Update WebKitGravatar Jarred Sumner 6-4/+25
cc @cirospaciari you will need to re-download the precompiled WebKit build from the releases page https://github.com/oven-sh/WebKit/releases/tag/dec11 because there is one small WebKit API change. LMK if you have any trouble with that
2022-12-11Add _readGravatar Jarred Sumner 2-5/+35
2022-12-10Regenerate builtinsGravatar Jarred Sumner 1-2/+2