formidable
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -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); |
{ | ||
"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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
899
1
2
39564
344