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

express-fileupload

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-fileupload - npm Package Compare versions

Comparing version 1.1.6-alpha.1 to 1.1.6-alpha.2

6

lib/processMultipart.js

@@ -51,3 +51,3 @@ const Busboy = require('busboy');

file.on('limit', () => {
debugLog(options, `File size limit reached for ${field} -> ${name}, bytes: ${getFileSize()}`);
debugLog(options, `File size limit reached for ${fieldname} -> ${filename}, bytes: ${getFileSize()}`);
// Run user defined limit handler if it has been set.

@@ -59,3 +59,3 @@ if (isFunc(options.limitHandler)){

if (options.abortOnLimit) {
debugLog(options, `Aborting upload because of size limit ${field} -> ${name}, bytes: ${getFileSize()}`);
debugLog(options, `Aborting upload because of size limit ${fieldname} -> ${filename}, bytes: ${getFileSize()}`);
closeConnection(413, options.responseOnLimit);

@@ -88,3 +88,3 @@ cleanup();

// Debug logging for a new file upload.
debugLog(options, `New file opload ${field} -> ${name}, bytes: ${getFileSize()}`);
debugLog(options, `New file opload ${fieldname} -> ${filename}, bytes: ${getFileSize()}`);
});

@@ -91,0 +91,0 @@

{
"name": "express-fileupload",
"version": "1.1.6-alpha.1",
"version": "1.1.6-alpha.2",
"author": "Richard Girges <richardgirges@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Simple express file upload middleware that wraps around Busboy",

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