Socket
Socket
Sign inDemoInstall

multiparty

Package Overview
Dependencies
6
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.8 to 2.1.9

test/standalone/test-issue-15.js

12

CHANGELOG.md

@@ -0,1 +1,13 @@

### 2.1.9
* relax content-type detection regex. (thanks amitaibu)
### 2.1.8
* replace deprecated Buffer.write(). (thanks hueniverse)
### 2.1.7
* add repository field to package.json
### 2.1.6

@@ -2,0 +14,0 @@

2

index.js

@@ -34,3 +34,3 @@ exports.Form = Form;

var CONTENT_TYPE_RE = /^multipart\/(form-data|related);\s+boundary=(?:"([^"]+)"|([^;]+))$/i;
var CONTENT_TYPE_RE = /^multipart\/(form-data|related);\s*boundary=(?:"([^"]+)"|([^;]+))$/i;
var FILE_EXT_RE = /(\.[_\-a-zA-Z0-9]{0,16}).*/;

@@ -37,0 +37,0 @@ var LAST_BOUNDARY_SUFFIX_LEN = 4; // --\r\n

{
"name": "multiparty",
"version": "2.1.8",
"version": "2.1.9",
"description": "multipart/form-data parser which supports streaming",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc