form-data
4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed
0.2.0 is the newest release of 0.0.x.
In short
14 new5 fixed25 changed4 internal
Security
2 advisories affect 0.0.9; 2.5.6 fixes them
- Criticalform-data uses unsafe random function in form-data for choosing boundaryGHSA-fjxv-7rqg-78g4 · 21 Jul 2025Fixed in 2.5.4
- Highform-data: CRLF injection in form-data via unescaped multipart field names and filenamesGHSA-hmw2-7cc7-3qxx · 15 Jun 2026Fixed in 2.5.6
Release note
Merged
Custom params for form.submit() should cover most edge cases.
#22Updated Readme and version number.
#20Allow custom headers and pre-known length in parts
#17Bumped version number.
#12Bumped version number.
#8Added support for https destination, http-response and mikeal's request streams.
#7Updated git url.
#6Version bump.
#5Changes to support custom content-type and getLengthSync.
#4Make .submit(url) use host from url, not 'localhost'
#2Make package.json JSON
#1
Fixed
Add MIT license
#14
Commits
Spring cleaning.
850ba1bAdded custom request params to form.submit(). Made tests more stable.
de3502fBasic form (no files) working
6ffdc34Got initial test to pass
9a59d08Implement initial getLength
9060c91Make getLength work with file streams
6f6b1e9Implemented a simplistic submit() function
41e9cc1Added test for custom headers and content-length in parts (felixge/node-form-data/17)
b16d14eFixed code styling.
5847424Added custom filename and content-type options to support identity-less streams.
adf8b4aInitial Readme and package.json
8c744e5Allow append() to completely override header and boundary
3fb2ad4Syntax highlighting
ab3a6a5Updated Readme.md
de8f441Added examples to Readme file.
c406ac9Pass options.knownLength to set length at beginning, w/o waiting for async size calculation
e2ac039Bumped version. Updated readme.
4581140Test runner
1707ebbAdded .npmignore, bumped version.
2e033e0FormData.prototype.append takes and passes along options (for header)
b519203Make package.json JSON
bf1b58dAdd dependencies to package.json
7413d0bAdd convenient submit() interface
55855e4Fix content type
08b6ae3Combatting travis rvm calls.
409adfdTrying workarounds for formidable - 0.6 "love".
25782a3Change whitespace to conform with felixge's style guide
9fa34f4Add async to deps
b7d1a6bBumped version.
fa36c1bUpdated .gitignore
de567bdDon't rely on resume() being called by pipe
1deae47One more wrong content type
28f166dBeing simply dumb.
b614db8
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.