Comparing version 1.5.0 to 1.5.1
@@ -0,1 +1,5 @@ | ||
if (!typeof Promise !== 'function') { | ||
global.Promise = require('es6-promise'); | ||
} | ||
module.exports = (s, _maxsize) => | ||
@@ -2,0 +6,0 @@ new Promise((resolve, reject) => { |
{ | ||
"name": "as-buffer", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "stream or anything to buffer as a Promise", | ||
@@ -23,5 +23,2 @@ "main": "index.js", | ||
"homepage": "https://github.com/caub/as-buffer#readme", | ||
"engines": { | ||
"node": ">=4.8.6" | ||
}, | ||
"devDependencies": { | ||
@@ -31,3 +28,5 @@ "codecov": "^3.0.0", | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"es6-promise": "^4.1.1" | ||
} | ||
} |
2426
30
1
+ Addedes6-promise@^4.1.1
+ Addedes6-promise@4.2.8(transitive)