Comparing version 1.4.3 to 1.4.4
@@ -84,2 +84,3 @@ var is = require('type-is') | ||
busboy.on('field', function (fieldname, value, fieldnameTruncated, valueTruncated) { | ||
if (fieldname == null) return abortWithCode('MISSING_FIELD_NAME') | ||
if (fieldnameTruncated) return abortWithCode('LIMIT_FIELD_KEY') | ||
@@ -86,0 +87,0 @@ if (valueTruncated) return abortWithCode('LIMIT_FIELD_VALUE', fieldname) |
@@ -10,3 +10,4 @@ var util = require('util') | ||
LIMIT_FIELD_COUNT: 'Too many fields', | ||
LIMIT_UNEXPECTED_FILE: 'Unexpected field' | ||
LIMIT_UNEXPECTED_FILE: 'Unexpected field', | ||
MISSING_FIELD_NAME: 'Field name missing' | ||
} | ||
@@ -13,0 +14,0 @@ |
{ | ||
"name": "multer", | ||
"description": "Middleware for handling `multipart/form-data`.", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ "Hage Yaapa <captain@hacksparrow.com> (http://www.hacksparrow.com)", |
@@ -12,6 +12,8 @@ # 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) | ||
- [Español](https://github.com/expressjs/multer/blob/master/doc/README-es.md) (Spanish) | ||
- [简体中文](https://github.com/expressjs/multer/blob/master/doc/README-zh-cn.md) (Chinese) | ||
- [한국어](https://github.com/expressjs/multer/blob/master/doc/README-ko.md) (Korean) | ||
- [Русский язык](https://github.com/expressjs/multer/blob/master/doc/README-ru.md) (Russian) | ||
- [Português](https://github.com/expressjs/multer/blob/master/doc/README-pt-br.md) (Português Brazil) | ||
- [Việt Nam](https://github.com/expressjs/multer/blob/master/doc/README-vi.md) (Vietnam) | ||
- [Português](https://github.com/expressjs/multer/blob/master/doc/README-pt-br.md) (Portuguese Brazil) | ||
@@ -18,0 +20,0 @@ ## Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27853
416
334