Colin McDonnell
|
5ea8fe8c90
|
Update types (#1581)
* Fix TS types, improve child_process types
* Add prettier
* Add ArrayBuffer types
* Add namespace Bun, improve types for SharedArrayBuffer, add toStrictEqual
* Improve types, add test files for types
* Update type tests
* Fix typo
* Add stdio
* Stdio types
* Use latest setup-bun
* Update action
* Update action
* Update action
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
|
2022-12-06 18:48:02 -08:00 |
|
Dylan Conway
|
84b2cc1739
|
fix child process test
|
2022-12-06 18:15:20 -08:00 |
|
Jarred Sumner
|
ac36ea51cf
|
possibly more reliable Bun.spawn (#1547)
* wip
* wip
* Fix bug with stdin
* zig fmt
* seems to work!
* Update streams.test.js
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
2022-11-23 07:14:33 -08:00 |
|
Jarred Sumner
|
b18e4064a2
|
Make node streams faster (#1502)
* Make node streams faster
* Fix for macOS, improve performance, handle ref and unref
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
2022-11-13 19:14:44 -08:00 |
|
Jarred Sumner
|
21bf3ddaf2
|
Redo how we poll pipes (#1496)
* Fix pipe
* Handle unregistered
* Fix failing test
|
2022-11-12 18:30:12 -08:00 |
|
Derrick Farris
|
7f5022db0c
|
fix(child_process): fix execFileSync options.input (#1479)
* 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-09 18:10:29 -08:00 |
|
Colin McDonnell
|
f7f1b60444
|
Add bun-types, add typechecking, add child_process types (#1475)
* 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-09 15:40:40 -08:00 |
|
Derrick Farris
|
9ccc455f8d
|
Fix child_process tests (#1471)
* 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-08 15:33:47 -08:00 |
|
Jarred Sumner
|
5005188a13
|
Fix a couple failing tests
|
2022-11-07 15:20:47 -08:00 |
|
Derrick Farris
|
be108c0fea
|
feat(child_process): add node:child_process polyfill (#1424)
* feat(child_process): beginning of child_process, add ChildProcess and spawn base case
* fix(child_process): remove invalid single arg array syntax (thanks Copilot)
* refactor(child_process): unhack Readable.on, move stuff into node:stream
* feat(child_process): add more params for spawn, refactor, add fromWeb() to Readable
* feat(child_process): finish rest of exports (minus fork), refactor, add tests
* cleanup(streams): remove a bunch of unnecessary stuff
* cleanup(child_process): remove dead refs
* fix(child_process): fix stdio
* fix(child_process): change stdio to bunStdio
* test(child_process): uncomment timeout test
* test(child_process): fix hanging tests
* test(child_process): remove stray console.log
* test(child_process): fix cwd test for linux
* refactor(child_process): divide paths for encoded vs raw execFile stdio
* fix(child_process): fix logic for execFile slow path
|
2022-11-06 13:43:42 -08:00 |
|