Compare commits

...

2 Commits

Author SHA1 Message Date
41eed6423d 2.0.3 2022-06-07 18:32:08 +02:00
0e067004a4 fix(core): update 2022-06-07 18:32:08 +02:00
4 changed files with 7 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartstream",
"version": "2.0.2",
"version": "2.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartstream",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",
"dependencies": {
"@pushrocks/smartpromise": "^3.1.7",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartstream",
"version": "2.0.2",
"version": "2.0.3",
"private": false,
"description": "simplifies access to node streams",
"main": "dist_ts/index.js",

View File

@ -1,4 +1,4 @@
import fs from 'fs';
import * as smartfile from '@pushrocks/smartfile';
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartstream from '../ts/smartstream.classes.streamwrapper.js';
@ -6,8 +6,8 @@ import * as smartstream from '../ts/smartstream.classes.streamwrapper.js';
let testSmartstream: smartstream.StreamWrapper;
tap.test('should combine a stream', async () => {
testSmartstream = new smartstream.StreamWrapper([
fs.createReadStream('./test/assets/test.md'),
fs.createWriteStream('./test/assets/testCopy.md'),
smartfile.fsStream.createReadStream('./test/assets/test.md'),
smartfile.fsStream.createWriteStream('./test/assets/testCopy.md'),
]);
await testSmartstream.run();
});

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartstream',
version: '2.0.2',
version: '2.0.3',
description: 'simplifies access to node streams'
}