Socket
Socket
Sign inDemoInstall

formidable

Package Overview
Dependencies
0
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.0.10

6

lib/incoming_form.js

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

StringDecoder = require('string_decoder').StringDecoder,
EventEmitter = require('events').EventEmitter;
EventEmitter = require('events').EventEmitter,
Stream = require('stream').Stream;

@@ -271,3 +272,4 @@ function IncomingForm() {

parser.onPartBegin = function() {
part = new EventEmitter();
part = new Stream();
part.readable = true;
part.headers = {};

@@ -274,0 +276,0 @@ part.name = null;

{
"name": "formidable",
"version": "1.0.9",
"version": "1.0.10",
"dependencies": {},

@@ -21,3 +21,4 @@ "devDependencies": {

"node": "*"
}
}
},
"optionalDependencies": {}
}

@@ -5,2 +5,3 @@ var common = require('../common');

EventEmitterStub = GENTLY.stub('events', 'EventEmitter'),
StreamStub = GENTLY.stub('stream', 'Stream'),
FileStub = GENTLY.stub('./file');

@@ -418,3 +419,3 @@

var PART;
gently.expect(EventEmitterStub, 'new', function() {
gently.expect(StreamStub, 'new', function() {
PART = this;

@@ -461,3 +462,3 @@ });

var PART;
gently.expect(EventEmitterStub, 'new', function() {
gently.expect(StreamStub, 'new', function() {
PART = this;

@@ -464,0 +465,0 @@ });

@@ -7,3 +7,3 @@ var common = require('../common');

var from;
var form;
test('IncomingForm', {

@@ -10,0 +10,0 @@ before: function() {

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