Socket
Socket
Sign inDemoInstall

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 0.0.3 to 0.0.4

5

jslib/index.js

@@ -20,3 +20,6 @@ var busboy, fs;

req.busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
var buf;
buf = new Buffer(0);
file.on('data', function(data) {
buf = Buffer.concat([buf, data]);
if (options.debug) {

@@ -32,3 +35,3 @@ return console.log('Uploading %s -> %s', fieldname, filename);

name: filename,
data: file,
data: buf,
encoding: encoding,

@@ -35,0 +38,0 @@ mimetype: mimetype,

2

package.json
{
"name": "express-fileupload",
"version": "0.0.3",
"version": "0.0.4",
"author": "Richard Girges <richardgirges@gmail.com>",

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

Sorry, the diff of this file is not supported yet

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