Remove the dependency on node:stream

After investigating #625 (closed), it became clear that requiring a Stream implementation compatible with the native Node.js one is an overkill, considering that it is used only by one component - the Output Buffer implementation - and that this component only uses one single method of the stream implementation - namely write.

Forcing every single bundle to include some polyfill for just one straightforward method is definitely not desirable. Let's improve developers quality of life by reducing the perimeter of the required interface to its strict minimum: a write method that accepts a string as input, and returns void, and a pipe one so that the streaming capabilities remain untouched.

Edited May 29, 2025 by Eric MORAND
Assignee Loading
Time tracking Loading