feat(smartstream): bump dependencies, update build/publish config, refactor tests, and overhaul documentation

This commit is contained in:
2026-02-28 08:48:58 +00:00
parent 3d13cb76f6
commit 9b9b1be62b
15 changed files with 5720 additions and 1756 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartstream',
version: '3.2.5',
version: '3.3.0',
description: 'A library to simplify the creation and manipulation of Node.js streams, providing utilities for handling transform, duplex, and readable/writable streams effectively in TypeScript.'
}

View File

@@ -9,7 +9,7 @@ export {
const smartenvInstance = new smartenv.Smartenv();
await smartenvInstance.getSafeNodeModule<typeof import('stream/web')>('stream/web', async (moduleArg) => {
globalThis.ReadableStream = moduleArg.ReadableStream;
globalThis.WritableStream = moduleArg.WritableStream;
globalThis.TransformStream = moduleArg.TransformStream;
globalThis.ReadableStream = moduleArg.ReadableStream as any;
globalThis.WritableStream = moduleArg.WritableStream as any;
globalThis.TransformStream = moduleArg.TransformStream as any;
})

3
ts_web/tspublish.json Normal file
View File

@@ -0,0 +1,3 @@
{
"order": 0
}