aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/fs.exports.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-02feat(process): add process.{stdin, stdout, stderr} support (#1495)Gravatar Derrick Farris 1-166/+242
* fix(stream): get Duplex working * feat(process): add stdin,stdout,stderr in a semi-broken state (pipes??) * test(NodeTestHelpers): fix test names * test(NodeTestHelpers): add test for createDoneDotAll done called w error * test(NodeTestHelpers): remove stray console.log * fix(stream): fix bug in Duplex, Readable * test(process.stdio): rename test * fix(process.stdio): change onData listener to onReadable * refactor(streams): add file-wide debug fn, destructure opts * fix(child_process): check isCallable on promise * fix: get stdio streams mostly working (mostly) * fix(child_process): wait until stream is drained before calling end? * fix(child_process): change to result?.then * debug(child_process,streams): add EE id tracking, add shim for stdio after handle is dead * test(child_process): fix double pipe test, temp fix for ChildProcess.kill() return val * fix(child_process): remove immediate emit of exit on kill * debug(streams): add more debug log * debug(streams): add more debug logs part 2 * feat(streams,fs): add NativeWritable, adapt fs.WriteStream and fs.ReadStream to native
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-6/+6
* 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-01fix createWriteStream (#1433)Gravatar Lawrence Chen 1-9/+35
* fix createWriteStream * remove comment
2022-10-21Implement `fs.createReadStream`, begin `fs.createWriteStream`Gravatar Jarred Sumner 1-3/+621
2022-10-05Improve stack traces in fs functionsGravatar Jarred Sumner 1-62/+57
This is a hack
2022-10-03`node:fs` implement `rm` on macOSGravatar Jarred Sumner 1-5/+8
no linux yet
2022-09-06Make the plugins a little more resilientGravatar Jarred Sumner 1-40/+39
2022-09-06Make fs extensibleGravatar Jarred Sumner 1-108/+113
2022-07-04Export fs.promisesGravatar Jarred Sumner 1-0/+72
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+236