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

formidable

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formidable - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

7

lib/incoming_form.js

@@ -165,3 +165,3 @@ if (global.GENTLY) require = GENTLY.hijack(require);

if (!part.filename) {
if (part.filename === undefined) {
var value = ''

@@ -297,6 +297,3 @@ , decoder = new StringDecoder(this.encoding);

var filename = self._fileName(headerValue);
if (filename !== undefined) {
part.filename = filename || part.name;
}
part.filename = self._fileName(headerValue);
} else if (headerField == 'content-type') {

@@ -303,0 +300,0 @@ part.mime = headerValue;

{
"name": "formidable",
"version": "1.0.5",
"version": "1.0.6",
"dependencies": {},

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

module.exports['generic.http'] = [
{type: 'file', name: 'upload', filename: 'upload', fixture: 'plain.txt'},
{type: 'file', name: 'upload', filename: '', fixture: 'plain.txt'},
];

Sorry, the diff of this file is not supported yet

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