diff options
author | 2023-02-14 17:54:50 -0600 | |
---|---|---|
committer | 2023-02-14 15:54:50 -0800 | |
commit | a80981c9662bc439871ca2197a908632c82491d9 (patch) | |
tree | 064202a6a68ec233b2226c1e6ef95abadd50a7bd /src/bun.js/builtins/cpp | |
parent | 6e1a52691a370058e97ddb84c8f7c49e5bbf1e7e (diff) | |
download | bun-a80981c9662bc439871ca2197a908632c82491d9.tar.gz bun-a80981c9662bc439871ca2197a908632c82491d9.tar.zst bun-a80981c9662bc439871ca2197a908632c82491d9.zip |
[WIP] fix(node:fs): export `fs.ReadStream` and `fs.WriteStream` (#1798)
* fix(node:fs): export fs.WriteStream and fs.ReadStream
* test(node:fs): add tests for fs.ReadStream and fs.WriteStream
* test(node:fs): prevent opening fd w/o closing
* fix(node:fs): hack ESM export for fs streams to keep lazy loading
* fix(node:fs): = -> ===, fix hasInstance comparison
* test(node:fs): add test that actually checks that re-exported streams work
* fix(fs): eagerly load our slow lazy fns (thanks esm)
* fix(fs): employ @alexlamsl 's constructor w/o new trick on Read/WriteStream
Diffstat (limited to 'src/bun.js/builtins/cpp')
0 files changed, 0 insertions, 0 deletions