Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: felixge/node-formidable
base: v0.9.7
...
head fork: felixge/node-formidable
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on May 23, 2011
@felixge Add 1.0.2 changelog 40c475d
@felixge Fix benchmark 3579467
@felixge Fix package.json 8b8da9d
@felixge version 1.0.2 a01d5b4
@felixge Add missing piece to changelog 9c6d710
@felixge Change gitignore to please npm df41df4
Commits on Jun 08, 2011
@Jimbly Jimbly Fixed example in Readme.md to be an actual runnable node.js program. 05ad58e
Commits on Jun 09, 2011
@felixge Merge pull request #76 from Jimbly/master
Fix to example code in Readme.md
6b9ffe3
Commits on Jun 26, 2011
@gliese1337 gliese1337 Slight but definite & consistent performance boost. 0a0b150
Commits on Sep 08, 2011
@felixge Move current test suite into test/legacy 50fa2fb
@felixge Run tests using far 75c9ac8
@felixge Add fast-or-slow and new test/common.js 4d07b96
@felixge Merge branch 'fast-or-slow'
* fast-or-slow:
  Add fast-or-slow and new test/common.js
  Run tests using far
  Move current test suite into test/legacy
1dccabc
Commits on Sep 09, 2011
@felixge Add build step 6c528af
@felixge Fix gently version
Newer versions seem to cause an error
7afb650
@felixge Refactor filename parsing into own function
Will make it easier to write tests
4a0a9b1
@felixge Add fixtures for filenames with special characters d52ecd3
@felixge Add simple request recorder 93e81d4
@felixge Move new fixtures around b9876eb
@felixge Initial fixture verifier test
Seems to blow up after the first test instead of running all, got to
debug.
08111bd
@felixge Move some code around 4f20c52
@felixge Fix test case bf0ffba
Commits on Sep 10, 2011
@felixge Better filename parsing a3a3a00
@felixge Check fixture part name 2a4f45c
@felixge Validate fixture filenames
Still need to improve parsing
45271c9
@felixge Unescape quotes for webkit 149353f
@felixge Fix unicode characters in filename for FF / IE 9beddb6
@felixge Merge branch 'gh-94-filenames-with-special-characters'
* gh-94-filenames-with-special-characters:
  Fix unicode characters in filename for FF / IE
  Unescape quotes for webkit
  Validate fixture filenames
  Check fixture part name
  Better filename parsing
  Fix test case
  Move some code around
  Initial fixture verifier test
  Move new fixtures around
  Add simple request recorder
  Add fixtures for filenames with special characters
  Refactor filename parsing into own function

Fixes #58
Fixes #84
9d4885c
@felixge version 1.0.3 55634e9
@felixge 1.0.3 Release notes 0ce4e3f
@felixge Add npmignore efc904f
Commits on Sep 11, 2011
@felixge Fix npm ignore 3559b0c
Commits on Sep 15, 2011
@felixge Plattform independent upload dir detection ed48c81
@felixge Document new uploadDir detection d6b7def
@felixge Merge branch 'gh-88-plattform-independent-upload-dir'
* gh-88-plattform-independent-upload-dir:
  Document new uploadDir detection
  Plattform independent upload dir detection

Fixes #88
0e5ae7c
@felixge version 1.0.4 6b65348
@felixge Add 1.0.4 changelog 18257ef
Commits on Sep 16, 2011
@felixge Explain unexpected end errors better 2fde202
@felixge Remove http recording left overs from fixtures de9f379
@felixge Support file uploads with filename=""
The new FormData API in Firefox does not support supplying this info yet.
d7cfc25
@felixge Add missing test for filenames c5877d3
@felixge version 1.0.5 b2e64e3
@felixge Add 1.0.5 changelog 039f73c
Commits on Sep 19, 2011
@jasondavies jasondavies Fix typos. 1b708e5
Commits on Sep 21, 2011
@felixge Do not give a default filename when filename=""
That's because filename="" is also set when there is an empty file
input field, not just when using mozilla's incomplete FormData APIs.
d7dbc45
@felixge version 1.0.6 ee807d5
@felixge 1.0.6 changelog and note on 1.0.5 4721055
@felixge Merge pull request #95 from jasondavies/typos
Fix typos.
f1e17b2
Commits on Nov 04, 2011
@felixge Rename funky file
Seems to break this package on windows
7586954
@felixge 1.0.7 ba23a96
Commits on Nov 11, 2011
@felixge Add travis build info 7f9b819
Commits on Nov 28, 2011
@felixge Switch to urun for running tests f78a3b6
@felixge Remove fast-or-slow test framework
utest ftw!
b440d1f
@felixge Strip harmful characters when keepExtensions: true
This fixes an issue where a file may be named 'image.jpg?width=200',
and formidable assumed the extension to be '.jpg?width=200' when
using the keepExtensionis: true mode.
e81f96c
@felixge Fix failing legacy test, add new test 1fa9cf7
@felixge Add nerd badge of honor
[ci skip]
d99fe8f
@felixge 1.0.8 686ae7d
@felixge Update changelog a37292d
Commits on Dec 04, 2011
@tojocky tojocky Add possibility to parse application/octet-stream
Signed-off-by: Ion Lupascu <ionlupascu@gmail.com>
c6ee456
@tojocky tojocky when emit file set name as constant 'file' 507fed8
@tojocky tojocky add mime to file type for octet-stream content-type c33cbd7
Commits on Dec 24, 2011
@psugihara psugihara switched 'sys' to 'util' in example e39ad65
Commits on Dec 29, 2011
@felixge Merge pull request #118 from ptrsghr/master
Fixed warning in README example
75c26b1
Commits on Dec 30, 2011
@bcherry bcherry skip leading cr/lf 6715425
Commits on Jan 13, 2012
@Perelandric Perelandric Fix for github's reformatting of #### to use all caps.
Replaced with simple bold text using __ markdown since the double underscore isn't used anywhere else in the document.
92c2a19
Commits on Jan 20, 2012
@felixge Merge pull request #124 from goob/patch-1
Fix for github's reformatting of #### to use all caps.
67f34a1
Commits on Jan 26, 2012
Chris Scribner Merge remote-tracking branch 'tojocky/master' c71de10
Chris Scribner Test for application/octet-stream content type 2c009ef
Commits on Jan 27, 2012
@felixge Improve gitignore for npm 890f033
@scriby scriby Fix issues with octet parser & test
* Treat server.listen as async
* Fix an issue where the file is emitted before it is completely written
19219c8
Commits on Feb 16, 2012
@tim-kos tim-kos emit progress when content length header parsed 68b4f79
@felixge Merge branch 'emit_progress_when_header_parsed'
Closes #133
4d115db
@felixge Add v1.0.9 changelog fc67626
@felixge 1.0.9 7fd5c52
Commits on Feb 18, 2012
@Math- Math- Add definition parameters to "IncomingForm" as an argument. d7bec26
Commits on Feb 19, 2012
@Math- Math- Update lib/incoming_form.js 0711937
Commits on Feb 22, 2012
@Math- Math- Update implementation of the parameters definition. fecf825
Commits on Feb 29, 2012
@felixge Specify branch for travis badge f6ae2a8
Commits on Mar 18, 2012
@rkusa rkusa path adjustment according to eb4468b 16fcae7
Commits on Jun 03, 2012
@felixge Fix typo in test leading to global leak.
Fixes #146 (reported by Timo Rößner)
820f735
@mattrobenolt mattrobenolt parts should be a proper Stream so they can be piped or do anything o…
…ther streams are expected to do
d755b42
@felixge Fix legacy test 711e8a6
@felixge 1.0.10 bcaa95d
@felixge Merge pull request #135 from Math-/master
Add definition parameters to "IncomingForm" as an argument.
3cf2817
Commits on Jun 04, 2012
@sreuter sreuter Added option to calculate checksums for incoming files d2497a4
@sreuter sreuter added missing semicolon 7b04a90
@sreuter sreuter moved hash creation to avoid delete call / mutating the passed option…
…s object.
cb02915
@sreuter sreuter Added test. f47e9da
@sreuter sreuter set this.hash to null by default 5daf897
@sreuter sreuter added note to README.md on howto access file checksum/hash c331714
@felixge Merge #148 - hash support
Closes #148
c6ad572
@felixge 1.0.11 dd8dd7a
Commits on Jul 06, 2012
@bengourley bengourley More lookup paths for tmp directory (and tests) 1c30cc2
Commits on Jul 07, 2012
@bengourley bengourley Update docs 7b6bbe5
Commits on Jul 08, 2012
@felixge Merge pull request #156 from bengourley/master
Look for more potential tmp dir locations
9ca2b4d
Commits on Jul 13, 2012
@OrangeDog OrangeDog de-linting 31c2c3f
@OrangeDog OrangeDog clean-up open filehandles and files on error 5665535
@felixge Merge pull request #157 from OrangeDog/master
Filehandle leak on error
a3d7402
Commits on Oct 10, 2012
@mikefrey mikefrey implemented json parser 544e7ec
@mikefrey mikefrey Fixed issue where would throw when an error occurs 39eab43
@mikefrey mikefrey added json post example 04f451c
Commits on Oct 12, 2012
@svnlto svnlto fixing scope issue fcdbbb6
@svnlto svnlto Merge pull request #176 from svnlto/master
fixing scope issue in incoming_forms
9c42c75
@andrewrk andrewrk fix benchmark script e4165f8
@andrewrk andrewrk add LICENSE. closes #142 0aed016
@andrewrk andrewrk add git repo to package.json. closes #173 9fac475
@andrewrk andrewrk use os.tmpDir() to get tmp dir. closes #172 d9ecb9b
@andrewrk andrewrk add 0.8 and 0.9 to travis ci be9cc27
@andrewrk andrewrk drop support for 0.4 and 0.6 77a30ff
@andrewrk andrewrk remove Makefile 707e7a0
@svnlto svnlto adding description and bugs property 5f409d3
@svnlto svnlto adding homepage property ef7316e
@svnlto svnlto Merge pull request #120 from bcherry/multipart-leading-crlf
Ignore leading CR/LF characters in multipart body
b44d5a4
@andrewrk andrewrk add test to cover #46 d04ab43
@svnlto svnlto moving changelog for readability 1489a51
@svnlto svnlto Merge pull request #129 from scriby/master
Test for pull request #113
0ef8ddb
@svnlto svnlto tweaking docs 32d8f62
@svnlto svnlto oups, more tweaks 06daa2d
@svnlto svnlto sticking to standards f22d206
@svnlto svnlto clarifying docs 5d0e11c
@svnlto svnlto rolling back minor doc change 5ed5434
@svnlto svnlto doc change
focus dude, focus...
530a134
Commits on Oct 13, 2012
@andrewrk andrewrk move TODO to github issues b6521f7
@andrewrk andrewrk update a test to avoid deprecated API 696b576
@andrewrk andrewrk (breaks backward compatibility) remove deprecated file.length 48fb66e
@andrewrk andrewrk (breaks backward compatibility) remove deprecated file.filename 9313043
@andrewrk andrewrk (breaks backwards compatilbility) remove deprecated file.mime d7bc634
@andrewrk andrewrk remove code for compatibility with old version of node 1173718
Commits on Oct 17, 2012
@tj tj add File#toJSON()
void of ._writeStream
1dd3767
Commits on Oct 26, 2012
@andreazevedo andreazevedo Added syntax highlighting to improve readability
Added syntax highlighting to improve readability
8fab1e1
@svnlto svnlto Merge pull request #185 from andreazevedo/patch-1
Added syntax highlighting to README to improve readability
887cb04
Commits on Oct 31, 2012
@tj tj add File#toJSON() tests and docs 4b5a7b9
Commits on Nov 01, 2012
@svnlto svnlto Merge pull request #184 from visionmedia/patch-1
add File#toJSON()
799c7a4
Commits on Nov 22, 2012
@elmerbulthuis elmerbulthuis add base64 test ff82435
@elmerbulthuis elmerbulthuis adds a convenient tool for building base64 requests 61d6d30
@elmerbulthuis elmerbulthuis adds more tests for base64 encoding 754bdbe
@elmerbulthuis elmerbulthuis support for base64 transfer-encoding d69e153
@svnlto svnlto Merge pull request #187 from elmerbulthuis/base64encoding
Base64encoding
fe06607
Commits on Nov 30, 2012
@mikefrey mikefrey implemented json parser 0df5469
@mikefrey mikefrey Fixed issue where would throw when an error occurs 78011d7
@mikefrey mikefrey added json post example 7036dbd
@mikefrey mikefrey merged with upstream master e625909
@carlos8f carlos8f add test for JSON parser 2ed95a4
@carlos8f carlos8f avoid JSON parsing exceptions 36b80b4
@mikefrey mikefrey Merge pull request #1 from carlos8f/json_parser_2
Add test and avoid parse exception
9bbfe66
Commits on Dec 07, 2012
@svnlto svnlto removing unnecessary require call 4f2c5ad
Commits on Jan 15, 2013
@svnlto svnlto Merge pull request #174 from mikefrey/master
Added application/json support
ea9c0dd
Commits on Jan 16, 2013
@svnlto svnlto not running tests on unstable node.js versions for now adf0568
Commits on Jan 20, 2013
@egirshov egirshov ignore preamble
Skip preamble until the starting boundary.
This also handles extra CRLF added to the starting
boundary by some clients.
a06f68f
@egirshov egirshov test cases on preamble handling 3f934ab
Commits on Jan 21, 2013
@svnlto svnlto Merge pull request #189 from egirshov/preamble
Ignore preamble in multipart body
2e7876a
Commits on Jan 22, 2013
@egirshov egirshov tolerate incorrect last boundary a09e777
Commits on Jan 31, 2013
@svnlto svnlto Merge pull request #190 from egirshov/missing-hyphens
tolerate incorrect last boundary
7f52318
Commits on Feb 03, 2013
@egirshov egirshov restore support for 7bit/8bit transfer-encoding
7bit/8bit are essentially the same as binary, meaning no encoding is performed.
39abd48
@egirshov egirshov error handling improvements
- do not throw, emit 'error' event instead,
- do not emit 'end' after 'error'.
8a4108d
@egirshov egirshov test case on transfer-encoding
Rename existing directory 'base64' to 'encoding' and add more test cases.
f853a54
Commits on Feb 04, 2013
egirshov Merge pull request #192 from egirshov/transfer-encoding
Content-transfer-encoding fixes
74ac115
Commits on Feb 06, 2013
@jesperp jesperp Update lib/incoming_form.js
bug with content-disposition when name comes after filename. This is due to regex for name matches "filename" too..
62c45ea
@egirshov egirshov add a test case on #163 7648a17
Commits on Feb 07, 2013
@svnlto svnlto Merge pull request #193 from egirshov/issue-163
Test case for #163
5980a64
Commits on Feb 10, 2013
@egirshov egirshov support for empty requests
In case of empty POST request, just emit 'end' rather than
complaing on possible missing Content-Type header
6563263
@egirshov egirshov test cases on empty post requests 271ff33
@egirshov egirshov attach callback before parsing headers
In case callback function is given to form.parse(), it should be
attached to formidable events prior to writeHeaders()
Update test-incoming-from.js test case accordingly.
7daec05
@svnlto svnlto Merge pull request #194 from egirshov/master
Handle empty requests
4e93f7a
Commits on Feb 17, 2013
@egirshov egirshov emit error on aborted connection
Emit 'error' if connection is closed before request received fully.
Adjust test-fixtures to postpone socket.close().

add standalone test case on connection aborted
b7da610
Commits on Feb 18, 2013
@svnlto svnlto Merge pull request #195 from egirshov/master
Emit error on aborted connection
c261318
Commits on Feb 20, 2013
@egirshov egirshov Update changelog 7333ce2
Commits on Feb 21, 2013
@svnlto svnlto Merge pull request #197 from egirshov/master
Changelog for 1.0.12
2528192
@svnlto svnlto bumping version f102c78
@svnlto svnlto Update package.json
currently on runs reliably on versions below 0.9
d297ebf
Commits on Feb 22, 2013
@egirshov egirshov Merge pull request #198 from svnlto/master
setting engine version to something below 0.9
30fda5b
Commits on Feb 23, 2013
@svnlto svnlto Merge pull request #140 from rkusa/master
path adjustment according to eb4468b in /index.js
05b33cd
Commits on Feb 24, 2013
@egirshov egirshov adjust test case to work with node 0.9.x 8caeb5c
Commits on Feb 25, 2013
@svnlto svnlto Merge pull request #199 from egirshov/master
Fix test case
4111462
Commits on Mar 04, 2013
@OrangeDog OrangeDog Add ability to control maxKeys in the querystring parser.
As of 8a98c2f1d81cabb6594dc388789d60d2f3f67c09 the Node querystring parser
will only extract 1000 parameters by default. This change puts the default
back to unlimited (to retain the original formidable behaviour) while allowing
it to be set via the `maxFields` option.

At the moment this option only affects the QuerystringParser, but could be
extended to apply to all the parsers for which it makes sense.
4048c8f
Commits on Mar 07, 2013
@OrangeDog OrangeDog Change the default to 1000, to match the new Node behaviour. 852ab9f
@svnlto svnlto Merge pull request #201 from OrangeDog/qslimit
Add ability to control maxKeys in the querystring parser.
55caee5
Commits on Mar 12, 2013
@svnlto svnlto [minor] bumping build node versions 2bea6eb
@svnlto svnlto [fix] according to travis v0.10 needs to go quoted 3055c02
Commits on Mar 14, 2013
@egirshov egirshov additional fix for empty requests 0b675be
@svnlto svnlto Merge pull request #203 from egirshov/fix-66
additional fix for empty requests
1605db0
Commits on Mar 16, 2013
@svnlto svnlto only update hash if update method exists b566459
@svnlto svnlto [fix] engine version
to support v0.9 and v0.10
d33b281
@svnlto svnlto Merge pull request #202 from svnlto/master
bumping travis node versions again
b286f06
@svnlto svnlto Merge pull request #205 from svnlto/version
[fix] engine version
1db140e
@svnlto svnlto Changelog for 1.0.13 83d2137
@egirshov egirshov Merge pull request #206 from svnlto/master
Changelog for 1.0.13
75f1a79
@svnlto svnlto 1.0.13 f7afcac
@svnlto svnlto Merge pull request #207 from svnlto/master
Bumping package version
33be78a
Commits on Mar 18, 2013
@svnlto svnlto Update Readme.md c49aaaa
@egirshov egirshov Merge pull request #208 from svnlto/master
Missing Changelog entry
19ed926
Commits on Mar 26, 2013
@btrask btrask Add failing hash tests. c409a27
@egirshov egirshov enable hash calculation again 3733c2c
@svnlto svnlto Merge pull request #211 from egirshov/pr-120
Fix hash calculation
64ed147
Commits on Apr 04, 2013
@andrewrk andrewrk link to multiparty fork d9b3230
Commits on Apr 05, 2013
@andrewrk andrewrk update multiparty description 33b1ee7
Commits on Apr 17, 2013
@felixge Revert link to multiparty fork
This reverts:

33b1ee7.
d9b3230.

Using commit bits to advertise a fork without seeking community
approval isn't a nice move.
55363c9
Commits on Apr 24, 2013
@tim-smart tim-smart Test for immediate `data` events
Tests if `writeHeaders` is called before `write` in `IncomingForm#parse` when
request data is emitted immediately (rather than later).

Signed-off-by: Tim Smart <tim@fostle.com>
b617932
@tim-smart tim-smart Re-arrange IncomingForm#parse
Setup the parser and callback listeners before the request object is listened
to. This ensures we are ready to receive data before the `data` listeners are
registered.

Signed-off-by: Tim Smart <tim@fostle.com>
8d61eca
Commits on May 02, 2013
@tim-smart tim-smart Add changelog entries for v1.0.14
Signed-off-by: Tim Smart <tim@fostle.com>
3fab15e
@tim-smart tim-smart v1.0.14
Signed-off-by: Tim Smart <tim@fostle.com>
ba7b3ef
Commits on May 04, 2013
@btrask btrask Add failing (on Node 0.10) tests for file size. caa98f3
@tim-smart tim-smart Revert "Add failing (on Node 0.10) tests for file size."
This reverts commit caa98f3.

Failing in travis CI
afa2eb4
Commits on May 05, 2013
@tim-smart tim-smart Depreciate Node 0.9 and add 0.11 in .travis.yml
0.9 is irrelevant now, as 0.11 is now the current Node development version.

Signed-off-by: Tim Smart <tim@fostle.com>
2c6e12c
Commits on May 10, 2013
@mcandre mcandre clearing away JSHint warnings c1b4680
@svnlto svnlto Merge pull request #219 from mcandre/master
Clearing away JSHint warnings
c17b41e
Commits on May 11, 2013
@mkdynamic mkdynamic for octet streams, open file after fileBegin, to allow renaming path ec10476
Commits on May 15, 2013
@felixge Merge pull request #220 from mkdynamic/patch-1
for octet streams, open file after fileBegin, to allow renaming path
f1f139c
Commits on May 16, 2013
@jonathanong jonathanong ignore unnecessary files when consuming as an npm package 854cefb
@kapouer kapouer Typo unintialized → uninitialized f30e726
@egirshov egirshov Merge pull request #223 from kapouer/master
Typo unintialized → uninitialized (with fixed test)
5e5817d
@felixge Merge pull request #221 from jonathanong/patch-1
ignore unnecessary files when consuming as an npm package
dda6abd
Commits on May 18, 2013
@egirshov egirshov parse empty form data
Fixes #162
In this case there is a single delimiter which is both starting
and ending boundary.
d8b60b2
@svnlto svnlto Merge pull request #224 from egirshov/issue-162
parse empty form data
92e0854
Commits on May 29, 2013
@egirshov egirshov do not pause request on error 7e57a38
Commits on May 31, 2013
@egirshov egirshov Merge pull request #228 from egirshov/issue-69
do not pause request on error
5ea7c13
Commits on Jun 11, 2013
@vilcans vilcans Support upper case in file extensions. a36d2cb
@felixge Merge pull request #234 from vilcans/master
Support upper case in file extensions
2c18638
Commits on Jul 18, 2013
@mashihua mashihua Update incoming_form.js
According to the document, it support hash options.
921a676
@felixge Merge pull request #242 from mashihua/patch-2
Support hash algorithm
46b56d2
Commits on Jul 19, 2013
@egirshov egirshov skip empty buffers
This is a workaround for a #5715 in joyent/node
f172eac
@egirshov egirshov Merge pull request #244 from egirshov/issue-243
Fix #243: skip empty buffers
b268727
Commits on Nov 27, 2013
@simak-alexandr simak-alexandr Update incoming_form.js
Important! Fixed running files handles for octet-stream parser.
1b5d1cb
Commits on Nov 28, 2013
@svnlto svnlto Merge pull request #259 from simak-alexandr/patch-1
Update incoming_form.js
78e1e90
Commits on Dec 14, 2013
@swr swr Typo in Readme.md - an changed to and cb496f9
Commits on Dec 15, 2013
@felixge Merge pull request #265 from swr/master
Typo in Readme.md - an changed to and
7d351ac
Commits on Dec 16, 2013
@headwinds headwinds added note about how it is integrated with Express 0656065
Commits on Dec 17, 2013
@felixge Merge pull request #266 from headwinds/expressNote
added note about how it is integrated with Express
d7ad9f4
Commits on Jan 05, 2014
@CydGy CydGy maxFields defaults
The default maxFields is 1000.
https://github.com/felixge/node-formidable/blob/master/lib/incoming_form.js#L25
But the README tell us 0

Yours
3586fc8
Commits on Jan 06, 2014
@felixge Merge pull request #268 from CydGy/master
maxFields defaults
037fe42
Commits on Jan 14, 2014
@felixge Fix docs for form.uploadDir fc6b332
Commits on Feb 14, 2014
@kethinov kethinov Off-by-default support for HTML multiple attribute in form.parse file…
…s argument
2287887
@kethinov kethinov better adherence to the project's existing coding conventions dfeeadb
Commits on Mar 04, 2014
@felixge Merge pull request #272 from kethinov/master
Off-by-default support for HTML5 multiple attribute in form.parse files argument
d12299b
Commits on Mar 12, 2014
@mdionisio mdionisio [ADD] manage unlink fail 754b370
Commits on Mar 14, 2014
@felixge Merge pull request #275 from mdionisio/master
manage unlink fail
f107226
Commits on Jun 17, 2014
@felixge 1.0.15 5bf869a
Commits on Sep 09, 2014
Jimb Esser Change upload temporary file path generation to use crypto.randomByte…
…s().

This should resolve an issue when using the Node cluster module, and two workers get forked with the same random seed, and the two processes' upload paths collide.
This also resolves the (somewhat confused) complaints of #247.
4cf6b7e
Commits on Oct 15, 2014
@dlau dlau Clarify event call order in abort case
see #310

Documentation doesn't seem clear about when events are called.
9786f80
@felixge Merge pull request #311 from dlau/patch-1
Clarify event call order in abort case
302a7af
Commits on Nov 07, 2014
@iliakan iliakan Fix incorrect description of maxFieldsSize fbc6416
@felixge Merge pull request #312 from iliakan/patch-1
Fix incorrect description of maxFieldsSize
ac89c44
Commits on Nov 10, 2014
@jedahan jedahan fix deprecated Buffer.write call for node 0.11.x f4a3e08
@jedahan jedahan remove unnecessary specification of encoding f811118
Commits on Dec 18, 2014
@felixge Merge pull request #301 from Jimbly/better_random
Change upload temporary file path generation to use crypto.randomBytes()
34fd04d
@felixge 1.0.16 44c686a
Commits on Jan 18, 2015
@felixge Merge pull request #313 from jedahan/master
fix deprecated Buffer.write call for node 0.11.x
cf2ca5b
@felixge 1.0.17 3f32e64
Commits on Feb 22, 2015
@gabeio gabeio fixed incorrect documentation header/paragraph 5aac3f7
Commits on Feb 23, 2015
@felixge Merge pull request #327 from gabeio/patch-2
fixed incorrect documentation header/paragraph
b7ef166