aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-11-09Fix crash when an exception occurs in open()Gravatar Jarred Sumner 1-6/+15
2022-11-09Clone all the stringsGravatar Jarred Sumner 1-7/+7
2022-11-09Clone the textGravatar Jarred Sumner 1-1/+1
2022-11-09Remove bun:wrap from stack tracesGravatar Jarred Sumner 1-0/+32
2022-11-09Add another logGravatar Jarred Sumner 1-1/+3
2022-11-09Fix broken stacktracesGravatar Jarred Sumner 2-9/+10
2022-11-09fix(child_process): fix execFileSync options.input (#1479)Gravatar Derrick Farris 1-37/+30
* fix(child_process): fix execFileSync options.input * fix(child_process): debug err, check for Uint8Array too * fix(child_process): fix ArrayBufferIsView call * test(child_process): fix missing toString() call on test result * refactor(child_process): change options.input to input to getter calls
2022-11-09remove thisGravatar Jarred Sumner 1-49/+0
wrong approach
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 65-833/+1949
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-11-09Fix #1354Gravatar Jarred Sumner 5-15/+44
2022-11-09Support TypeScript `satisfies`Gravatar Jarred Sumner 1-1/+2
Credit: @magic-akari, almost identical diff in https://github.com/evanw/esbuild/pull/2509/files#diff-ccc0bde7223236d93490b727b272f15765a2674be12a4c310b83b9555bef8816
2022-11-09FixupGravatar Jarred Sumner 1-12/+16
2022-11-09Update response.zigGravatar Jarred Sumner 1-3/+2
2022-11-09Re-enable workaround for 127.0.0.01Gravatar Jarred Sumner 3-8/+17
2022-11-09Error.captureStackTrace implementation (#1476)Gravatar Dylan Conway 11-0/+1276
* capture stack trace formatting, tests * fix callsite methods, stack formatting or undefined * isNative, tests for callsite methods * Update src/bun.js/bindings/ZigGlobalObject.cpp * Update src/bun.js/bindings/ZigGlobalObject.cpp * template and macros for visitchildren * static strings, handle infinity and clamp stacktracelimit Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2022-11-09[libarchive][bun install] Fix file permissions not always being passed ↵Gravatar Jarred Sumner 2-2/+12
correctly in bun install Fixes #1092
2022-11-08[bun install] Support `bin` with `bun link`Gravatar Jarred Sumner 1-0/+122
2022-11-08Update bindings.cppGravatar Jarred Sumner 1-0/+1
2022-11-08Fixes #1426Gravatar Jarred Sumner 1-1/+4
2022-11-08Fix incorrectly reporting URL sizes to GC in some casesGravatar Jarred Sumner 1-1/+11
2022-11-08Guard against closing the same pid twiceGravatar Jarred Sumner 1-3/+10
2022-11-08Only perform this check on macOSGravatar Jarred Sumner 1-8/+14
2022-11-08Fixes #1320Gravatar Jarred Sumner 1-1/+2
Tests pass now on linux
2022-11-08handle undefined betterGravatar Jarred Sumner 1-7/+7
2022-11-08Fix `Buffer.from(text, "base64")` and `Buffer.toString("base64")`Gravatar Jarred Sumner 10-1025/+486
2022-11-08Fix child_process tests (#1471)Gravatar Derrick Farris 1-4/+15
* test(child_process): fix broken tests, add our-assert pkg for testing * test(child_process): replace console.log with debug() * test(child_process): rename our-assert -> node-test-helpers, use Bun.peek for subproc.exited
2022-11-08Fix #1473Gravatar Jarred Sumner 1-1/+1
2022-11-0820% faster TextDecoder on small inputsGravatar Jarred Sumner 6-4442/+3963
2022-11-08Allow read_only packages to check the cacheGravatar Jarred Sumner 1-25/+74
2022-11-08Default enable optional dependencies for remote packagesGravatar Jarred Sumner 1-1/+1
2022-11-08Fix error messageGravatar Jarred Sumner 1-1/+1
2022-11-08Install optional dependencies for auto-installGravatar Jarred Sumner 1-12/+27
2022-11-08Update crypto.jsGravatar Jarred Sumner 1-1/+0
2022-11-08Stack allocate arguments to make it actually threadsafeGravatar Jarred Sumner 2-2/+2
2022-11-08Add missing exportsGravatar Jarred Sumner 1-0/+3
2022-11-08Fix Buffer.slice and Buffer.subarrayGravatar Jarred Sumner 3-49/+33
2022-11-07castGravatar Jarred Sumner 1-1/+1
2022-11-07Fix newline normalizationGravatar Jarred Sumner 1-5/+6
credit: @Validark
2022-11-07Credit: @ValidarkGravatar Jarred Sumner 1-1/+1
2022-11-07Add more tags to be usable with typeof (#1258)Gravatar Niles Salter 1-2/+2
2022-11-07Remove improper coercion of environment variables (#1256)Gravatar Niles Salter 1-156/+1
2022-11-07Update ZigGlobalObject.cppGravatar Jarred Sumner 1-2/+3
2022-11-07Return a rejected promise if there was an errorGravatar Jarred Sumner 1-0/+3
2022-11-07Visit all the fieldsGravatar Jarred Sumner 2-79/+111
2022-11-07clean up some reliability issues with automatic installGravatar Jarred Sumner 4-27/+56
2022-11-07Handle threadsafety issueGravatar Jarred Sumner 1-3/+3
2022-11-07[JS Parser] Do not perform the visit pass if the parse pass had "tolerable" ↵Gravatar Jarred Sumner 1-0/+15
errors
2022-11-07Maybe fix bug with onExit callback?Gravatar Jarred Sumner 3-37/+21
2022-11-07Fix missing error in `process.nextTick` and `queueMicrotask`Gravatar Jarred Sumner 3-43/+137
2022-11-07[bun:test] Rejected promises should cause tests to failGravatar Jarred Sumner 1-0/+9