Socket
Socket
Sign inDemoInstall

busboy

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

busboy - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

1

lib/types/multipart.js

@@ -194,2 +194,3 @@ // TODO:

finished = true;
checkFinished();
});

@@ -196,0 +197,0 @@ }

2

package.json
{ "name": "busboy",
"version": "0.0.10",
"version": "0.0.11",
"author": "Brian White <mscdex@mscdex.net>",

@@ -4,0 +4,0 @@ "description": "A streaming parser for HTML form data for node.js",

@@ -45,2 +45,26 @@ var Multipart = require('../lib/types/multipart'),

},
{ source: [
['------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
'Content-Disposition: form-data; name="cont"',
'',
'some random content',
'------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
'Content-Disposition: form-data; name="pass"',
'',
'some random pass',
'------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
'Content-Disposition: form-data; name="bit"',
'',
'2',
'------WebKitFormBoundaryTB2MiQ36fnSJlrhY--'
].join('\r\n')
],
boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY',
expected: [
['field', 'cont', 'some random content', false, false],
['field', 'pass', 'some random pass', false, false],
['field', 'bit', '2', false, false]
],
what: 'Fields only'
},
];

@@ -110,4 +134,3 @@

process.on('exit', function() {
assert(t === tests.length,
makeMsg('Only ran ' + t + '/' + tests.length + ' tests'));
assert(t === tests.length, 'Only ran ' + t + '/' + tests.length + ' tests');
});
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