continuous-streams
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "continuous-streams", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Special purpose Node streams", | ||
@@ -37,20 +37,20 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@types/chai": "^4.2.22", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^16.11.6", | ||
"chai": "^4.3.4", | ||
"@types/chai": "^4.3.1", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.0.1", | ||
"chai": "^4.3.6", | ||
"chai-as-promised": "^7.1.1", | ||
"coveralls": "^3.1.1", | ||
"eslint": "^8.1.0", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-plugin-import": "^2.25.2", | ||
"eslint-plugin-promise": "^5.1.1", | ||
"eslint": "^8.19.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-should-promised": "^2.0.0", | ||
"mocha": "^9.1.3", | ||
"mocha": "^10.0.0", | ||
"nyc": "^15.1.0", | ||
"sinon": "^12.0.1", | ||
"sinon": "^14.0.0", | ||
"sinon-chai": "^3.7.0", | ||
"ts-node": "^10.4.0", | ||
"typescript": "^4.4.4" | ||
"ts-node": "^10.8.2", | ||
"typescript": "^4.7.4" | ||
} | ||
} |
@@ -30,5 +30,3 @@ const { Transform } = require('stream'); | ||
const startTime = Date.now(); | ||
const dataTransformed = await timeout( | ||
this.transformData(data), this.timeoutMillis, | ||
); | ||
const dataTransformed = await timeout(this.transformData(data), this.timeoutMillis); | ||
const endTime = Date.now(); | ||
@@ -35,0 +33,0 @@ this.total += 1; |
@@ -30,5 +30,3 @@ const { Writable } = require('stream'); | ||
const startTime = Date.now(); | ||
await timeout( | ||
this.writeData(data), this.timeoutMillis, | ||
); | ||
await timeout(this.writeData(data), this.timeoutMillis); | ||
const endTime = Date.now(); | ||
@@ -35,0 +33,0 @@ this.total += 1; |
51660
1233