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

as-buffer

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-buffer - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

4

index.js

@@ -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) => {

9

package.json
{
"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"
}
}
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