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

ee-formdata-reader

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-formdata-reader - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

test/post3.mime

3

lib/FormdataReader.js

@@ -170,2 +170,5 @@

}
else {
this._storeValue('undefined', part.data);
}
}

@@ -172,0 +175,0 @@ }.bind( this ) );

2

package.json
{
"name" : "ee-formdata-reader"
, "description" : "reads formdata from requests"
, "version" : "0.1.6"
, "version" : "0.1.7"
, "homepage" : "https://github.com/eventEmitter/ee-formdata-reader"

@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

@@ -30,3 +30,3 @@ # ee-formdata-reader

// storage solutions between mutliple machines. defaults to
// «ee-formdata-reader».
// an identifier provided by the «ee-machine-id» package
});

@@ -33,0 +33,0 @@

@@ -83,2 +83,15 @@

});
it('Should be able to decode post message 3', function(done){
var reader = new FormdataReader({
request: createRequest('post3.mime', 'multipart/form-data; boundary=--------------------------673022500147059248960166')
});
reader.on('end', function(){
var form = reader.getForm();
assert.equal('fb93818d01553e9fead6873b780580aefb93818d01553e9fead6873b780580aec239dddc9c7a19eef9af0052da451a8ac239dddc9c7a19eef9af0052da451a8a', calculateMessageHash(form), 'message hash is different!')
done();
});
});
});
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