promise-readable
Advanced tools
Comparing version 1.2.1 to 2.0.0
# Changelog | ||
## v2.0.0 2017-10-06 | ||
* Use native `Promise` rather than `any-event`. | ||
## v1.2.1 2017-10-06 | ||
@@ -4,0 +8,0 @@ |
'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 @@ |
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
0
14743
215
144
- Removedany-promise@^1.3.0
- Removedany-promise@1.3.0(transitive)