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 1.2.1 to 2.0.0

4

CHANGELOG.md
# Changelog
## v2.0.0 2017-10-06
* Use native `Promise` rather than `any-event`.
## v1.2.1 2017-10-06

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

2

lib/promise-readable.js
'use strict'
const Promise = require('any-promise')
class PromiseReadable {

@@ -6,0 +4,0 @@ constructor (stream) {

{
"name": "promise-readable",
"version": "1.2.1",
"version": "2.0.0",
"description": "Return promise for readable stream",

@@ -25,5 +25,3 @@ "main": "lib/promise-readable.js",

},
"dependencies": {
"any-promise": "^1.3.0"
},
"dependencies": {},
"devDependencies": {

@@ -30,0 +28,0 @@ "@types/node": "^8.0.32",

@@ -139,15 +139,2 @@ ## promise-readable

### Promise
This module uses [any-promise](https://www.npmjs.com/package/any-promise) and
any ES6 Promise library or polyfill is supported.
Ie. [bluebird](https://www.npmjs.com/package/bluebird) can be used as Promise
library for this module, if it is registered before.
```js
require('any-promise/register/bluebird')
const { PromiseReadable } = require('promise-readable')
```
### License

@@ -154,0 +141,0 @@

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