promise-readable
Advanced tools
Comparing version 2.0.0 to 2.1.0
# Changelog | ||
## v2.1.0 2017-10-10 | ||
* Typescript: PromiseReadable<TReadable extends Readable>. | ||
## v2.0.0 2017-10-06 | ||
@@ -4,0 +8,0 @@ |
/// <reference types="node" /> | ||
export declare class PromiseReadable<TReadable extends NodeJS.ReadableStream> { | ||
import { Readable } from 'stream' | ||
export declare class PromiseReadable<TReadable extends Readable> { | ||
readonly stream: TReadable | ||
@@ -11,5 +13,3 @@ | ||
once (event: 'close'): Promise<void> | ||
once (event: 'end'): Promise<void> | ||
once (event: 'error'): Promise<void> | ||
once (event: 'close' | 'end' | 'error'): Promise<void> | ||
once (event: 'open'): Promise<number> | ||
@@ -16,0 +16,0 @@ } |
{ | ||
"name": "promise-readable", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Return promise for readable stream", | ||
@@ -27,3 +27,3 @@ "main": "lib/promise-readable.js", | ||
"devDependencies": { | ||
"@types/node": "^8.0.32", | ||
"@types/node": "^8.0.34", | ||
"chai": "^4.1.2", | ||
@@ -30,0 +30,0 @@ "chai-as-promised": "^7.1.1", |
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"removeComments": false, | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"strict": true, | ||
"target": "ES2017", | ||
"typeRoots" : [ | ||
"./lib", | ||
"./node_modules/@types" | ||
] | ||
"target": "ES2017" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14781
212