Lewis

Results 139 comments of Lewis

OK, one last comment on this because actually, we cannot just embed from node_modules either, and we *will* need to copy still as of right now. This is because the...

**Actually, because this is a top-level `readFile()`, and not a function, Bun actually *could* automatically embed the file...** It's genuinely an import side effect that can be inlined. `() =>...

😕 give them a few days king you can compile and distribute with the workaround for now: https://github.com/oven-sh/bun/issues/13522#issuecomment-2311173485

@octet-stream That works perfectly as a shim for Vercel's AI SDK, thank you and great job.

@charnould Super sorry. Override it for the global context, `globalThis.TextDecoderStream`. #### `shim.ts` ```ts /// globalThis.TextDecoderStream = class { #handle: TextDecoder #transform = new TransformStream({ transform: (chunk, controller) => { const...

> Can we add the TS implementations to https://github.com/oven-sh/bun/blob/main/src/js/node/stream.web.ts#L16-L17 ? They are not written in Zig, but still very useful for us. @Jarred-Sumner, I DM'd you on Twitter about this....

If it just used columns instead of rows it would be all good.

@athrael-soju: Should be fixed by #637. I tested on fresh deploy. Great job Jeremy.

@jeremyphilemon - just a heads up, this issue can be closed, I rudely opened a duplicate.