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

multer

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multer - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change log

## 1.4.1 - 2018-10-11
- Bugfix: Make sure that req.file.buffer always is a Buffer
## 1.4.0 - 2018-09-26

@@ -8,0 +12,0 @@

2

package.json
{
"name": "multer",
"description": "Middleware for handling `multipart/form-data`.",
"version": "1.4.0",
"version": "1.4.1",
"contributors": [

@@ -6,0 +6,0 @@ "Hage Yaapa <captain@hacksparrow.com> (http://www.hacksparrow.com)",

@@ -283,3 +283,3 @@ # Multer [![Build Status](https://travis-ci.org/expressjs/multer.svg?branch=master)](https://travis-ci.org/expressjs/multer) [![NPM version](https://badge.fury.io/js/multer.svg)](https://badge.fury.io/js/multer) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

// A Multer error occurred when uploading.
} else {
} else if (err) {
// An unknown error occurred when uploading.

@@ -286,0 +286,0 @@ }

@@ -6,3 +6,3 @@ var concat = require('concat-stream')

MemoryStorage.prototype._handleFile = function _handleFile (req, file, cb) {
file.stream.pipe(concat(function (data) {
file.stream.pipe(concat({ encoding: 'buffer' }, function (data) {
cb(null, {

@@ -9,0 +9,0 @@ buffer: data,

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