Comparing version 0.0.10 to 0.0.11
@@ -194,2 +194,3 @@ // TODO: | ||
finished = true; | ||
checkFinished(); | ||
}); | ||
@@ -196,0 +197,0 @@ } |
{ "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'); | ||
}); |
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
657895
5136