From 42a90e804a258f7a2a767454dd4684cd288f4732 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 5 May 2024 18:30:05 +0200 Subject: [PATCH] fix(core): update --- assets/denoentry.ts | 1 + package.json | 3 ++- pnpm-lock.yaml | 5 +++-- test/assets/writabletext.txt | 5 ++++- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 5 ++++- ts/smartstream.plugins.ts | 3 ++- 7 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 assets/denoentry.ts diff --git a/assets/denoentry.ts b/assets/denoentry.ts new file mode 100644 index 0000000..379250e --- /dev/null +++ b/assets/denoentry.ts @@ -0,0 +1 @@ +console.log('Hello from deno'); diff --git a/package.json b/package.json index b957bca..2b5f4e3 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "dependencies": { "@push.rocks/lik": "^6.0.14", "@push.rocks/smartpromise": "^4.0.3", - "@push.rocks/smartrx": "^3.0.7" + "@push.rocks/smartrx": "^3.0.7", + "@push.rocks/webstream": "^1.0.8" }, "browserslist": [ "last 1 chrome versions" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 075edcb..1ca3a18 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ dependencies: '@push.rocks/smartrx': specifier: ^3.0.7 version: 3.0.7 + '@push.rocks/webstream': + specifier: ^1.0.8 + version: 1.0.8 devDependencies: '@git.zone/tsbuild': @@ -657,7 +660,6 @@ packages: resolution: {integrity: sha512-tDEFwywzq0FNzRYc9qY2dRl2pgQuZG0G2/yml2RLWZWSW+Fn1EHshnKOGHz8o77W7zvu4hTgQQX42r/JY5XHTg==} dependencies: '@push.rocks/smartpromise': 4.0.3 - dev: true /@push.rocks/smartexit@1.0.21: resolution: {integrity: sha512-F8J+EN6ffIK57YelPZ6W2yJQFO5RKGFT3mujg97lTS2nkeshXu2UMNQ5CVVn5QWyUQJFd02s+0Sv3kgzM4mhWA==} @@ -1120,7 +1122,6 @@ packages: resolution: {integrity: sha512-Z1dSQ4JNVpBw3naoVWT/mXpxDYIt+bsjb6J9GKMHsTrPRytfxo2/caoJT//uAoaA0h9pIqb1WrxpYWyW1ehWPA==} dependencies: '@push.rocks/smartenv': 5.0.12 - dev: true /@pushrocks/consolecolor@2.0.1: resolution: {integrity: sha512-iOFCHVeFZ2OywbdwSxVI4/wokkcLrXVdHLgvMmkNhJ220eeLgjNZWx3EJo3vNW3zq5ybCSCUIq0878djBxrWpw==} diff --git a/test/assets/writabletext.txt b/test/assets/writabletext.txt index b30d75f..e922c03 100644 --- a/test/assets/writabletext.txt +++ b/test/assets/writabletext.txt @@ -44,4 +44,7 @@ hi+wow hi+wow hi+wow hi+wow -hi \ No newline at end of file +hi+wow +hi+wow +hi+wow +hi+wow diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a9a1393..68676da 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartstream', - version: '3.0.34', + version: '3.0.35', description: 'simplifies access to node streams' } diff --git a/ts/index.ts b/ts/index.ts index 7f8e9ce..c0c50ed 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -2,4 +2,7 @@ export * from './smartstream.classes.smartduplex.js'; export * from './smartstream.classes.streamwrapper.js'; export * from './smartstream.classes.streamintake.js'; -export * from './smartstream.functions.js' +export * from './smartstream.functions.js'; + +import * as plugins from './smartstream.plugins.js'; +export const webstream = plugins.webstream; diff --git a/ts/smartstream.plugins.ts b/ts/smartstream.plugins.ts index c01c2e7..5424c85 100644 --- a/ts/smartstream.plugins.ts +++ b/ts/smartstream.plugins.ts @@ -7,6 +7,7 @@ export { stream }; import * as lik from '@push.rocks/lik'; import * as smartpromise from '@push.rocks/smartpromise'; import * as smartrx from '@push.rocks/smartrx'; +import * as webstream from '@push.rocks/webstream'; -export { lik, smartpromise, smartrx }; +export { lik, smartpromise, smartrx, webstream };