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.2 to 1.5.3

2

index.js

@@ -18,3 +18,3 @@ if (!typeof Promise !== 'function') {

if (size > maxsize) {
var err = new Error(`File too large, max: ${Math.round(maxsize/1000)}kB`);
var err = new Error('File too large, max:' + Math.round(maxsize/1000) + 'kB');
err.status = 413;

@@ -21,0 +21,0 @@ reject(err);

{
"name": "as-buffer",
"version": "1.5.2",
"version": "1.5.3",
"description": "stream or anything to buffer as a Promise",

@@ -5,0 +5,0 @@ "main": "index.js",

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