Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

promise-readable

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-readable - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

CHANGELOG.md
# Changelog
## v2.1.0 2017-10-10
* Typescript: PromiseReadable<TReadable extends Readable>.
## v2.0.0 2017-10-06

@@ -4,0 +8,0 @@

8

lib/promise-readable.d.ts
/// <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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc