Socket
Socket
Sign inDemoInstall

formidable

Package Overview
Dependencies
Maintainers
5
Versions
78
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.2.2 to 1.2.3

index.js

0

lib/file.js

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

@@ -155,2 +155,6 @@ if (global.GENTLY) require = GENTLY.hijack(require);

}
if (typeof this._parser.write !== 'function') {
this._error(new Error('did not expect data'));
return;
}

@@ -303,3 +307,5 @@ this.bytesReceived += buffer.length;

this.openedFiles.forEach(function(file) {
file._writeStream.destroy();
file._writeStream
.on('error', function() {})
.destroy();
setTimeout(fs.unlink, 0, file.path, function(error) { });

@@ -306,0 +312,0 @@ });

var IncomingForm = require('./incoming_form').IncomingForm;
IncomingForm.IncomingForm = IncomingForm;
module.exports = IncomingForm;

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

@@ -0,0 +0,0 @@ var Buffer = require('buffer').Buffer,

@@ -0,0 +0,0 @@ var EventEmitter = require('events').EventEmitter

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

31

package.json
{
"name": "formidable",
"description": "A node.js module for parsing form data, especially file uploads.",
"homepage": "https://github.com/node-formidable/formidable",
"funding": "https://ko-fi.com/tunnckoCore/commissions",
"repository": "node-formidable/formidable",
"homepage": "https://github.com/felixge/node-formidable",
"license": "MIT",
"version": "1.2.2",
"version": "1.2.3",
"devDependencies": {

@@ -17,11 +15,28 @@ "gently": "^0.8.0",

},
"directories": {
"lib": "./lib"
},
"files": [
"lib",
"benchmark-2020-01-29_xeon-x3440.png"
"Readme.md",
"LICENSE",
"index.js",
"lib"
],
"main": "./lib/index.js",
"publishConfig": {
"access": "public",
"tag": "1.x"
},
"main": "./lib/index",
"scripts": {
"test": "node test/run.js",
"clean": "rm test/tmp/*"
}
},
"repository": {
"type": "git",
"url": "git://github.com/felixge/node-formidable.git"
},
"bugs": {
"url": "http://github.com/felixge/node-formidable/issues"
},
"optionalDependencies": {}
}

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