form-data
4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed
48 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.0.6
12 Jun 2026Escape CR, LF, and
"in field names and filenames8dff42cUpdate
@ljharb/eslint-config,auto-changelog,tapef31d21eUpdate
hasown,mime-types92ae0eb
Commits
Escape CR, LF, and
"in field names and filenames8dff42cUpdate
@ljharb/eslint-config,auto-changelog,tapef31d21eUpdate
hasown,mime-types92ae0ebUpdate
js-randomness-predictor67b0f65
4.0.5
17 Nov 2025Update
@ljharb/eslint-config,eslint5822467Set Symbol.toStringTag in the proper place
76d0dee
Commits
Update
@ljharb/eslint-config,eslint5822467Set Symbol.toStringTag in the proper place
76d0dee
4.0.4
17 Jul 20254.0.2
14 Feb 2025- Breaking
Buffer.fromandBuffer.allocrequire node 4+c499f76 Set
Symbol.toStringTagwhen available#573Set
Symbol.toStringTagwhen available#573
Merged
Set
Symbol.toStringTagwhen available#573Set
Symbol.toStringTagwhen available#573Fix (npmignore): ignore temporary build files
#532Fix (npmignore): ignore temporary build files
#532
Fixed
Set
Symbol.toStringTagwhen available#396
Commits
Merge tags v2.5.3 and v3.0.3
92613b9Use
Object.prototype.hasOwnProperty.call7fecefeUse
Object.prototype.hasOwnProperty.call6e682d4Use
Object.prototype.hasOwnProperty.calldf3c1e6Update
@types/node,browserify,coveralls,cross-spawn,eslint,formidable,in-publish,pkgfiles,pre-commit,puppeteer,request,tape,typescript8261fcbUpdate
@types/node,browserify,coveralls,cross-spawn,eslint,formidable,in-publish,pkgfiles,pre-commit,puppeteer,request,tape,typescriptfb66cb7Update
@types/node,browserify,coveralls,eslint,formidable,in-publish,phantomjs-prebuilt,pkgfiles,pre-commit,request,tape,typescript819f6b7Clean up ignores
3217b3dClean up ignores
3a9d480- Breaking
Buffer.fromandBuffer.allocrequire node 4+c499f76 Only apps should have lockfiles
b82f590Only apps should have lockfiles
b170ee2Update
combined-stream,mime-types6b1ca1dPin
requestwhich viatough-cookie^2.4 depends onpsle5df7f2Update
mime-types5a5bafeBumped version 2.5.3
9457283Pin
requestwhich viatough-cookie^2.4 depends onpsl9dbe192Merge tags v2.5.2 and v3.0.2
d53265dBumped version 2.5.2
7020dd4Downgrade
cross-spawn3fc1a9b
- 3.x
3.0.5
12 Jun 2026Escape CR, LF, and
"in field names and filenames8777e67Update
@ljharb/eslint-config,auto-changelog,eslint,tape27c61a5Update
hasown6a8a1c6
3.0.4
17 Jul 2025- Removed
Remove local commit hooks
fc42bb9 append: avoid a crash on nullish values#577Update linting config
f5e7eb0
Fixed
append: avoid a crash on nullish values#577
Commits
Update linting config
f5e7eb0Add
auto-changelogd2eb290Switch to using
cryptorandom for boundary valuesc6ced61Use
hasown1a78b5dValidate boundary type in
setBoundary()method70bbaa0Actually ensure the readme backup isn’t published
0150851- Removed
Remove local commit hooks
fc42bb9 Remove unused deps
a14d09eFix scripts to use prepublishOnly
11d9f73Fix readme capitalization
fc38b48
3.0.3
14 Feb 2025Merged
Set
Symbol.toStringTagwhen available#573
Fixed
Commits
Use
Object.prototype.hasOwnProperty.call7fecefeUpdate
@types/node,browserify,coveralls,cross-spawn,eslint,formidable,in-publish,pkgfiles,pre-commit,puppeteer,request,tape,typescript8261fcbOnly apps should have lockfiles
b82f590Pin
requestwhich viatough-cookie^2.4 depends onpsle5df7f2Update
mime-types5a5bafe
3.0.0
6 Nov 2019- 2.x
2.5.6
12 Jun 2026Escape CR, LF, and
"in field names and filenamesb620316Update
@ljharb/eslint-config,auto-changelog,eslint,tape12be578Update
js-randomness-predictor46cfd23
Commits
Escape CR, LF, and
"in field names and filenamesb620316Update
@ljharb/eslint-config,auto-changelog,eslint,tape12be578Update
js-randomness-predictor46cfd23Update
hasowne3b96ee
2.5.4
17 Jul 2025- Removed
Remove local commit hooks
be99d4e append: avoid a crash on nullish values#577Update linting config
8bf2492
Fixed
append: avoid a crash on nullish values#577
Commits
Update linting config
8bf2492Add
auto-changelogb5101adSwitch to using
cryptorandom for boundary valuesb88316cValidate boundary type in
setBoundary()method131ae5eUse
hasown97ac9c2- Removed
Remove local commit hooks
be99d4e Remove unused deps
ddbc89bFix scripts to use prepublishOnly
e351a97Remove unused script
8f23366Add missing peer dep
02ff026Fix readme capitalization
2fd5f61
2.5.3
14 Feb 2025Merged
Set
Symbol.toStringTagwhen available#573
Fixed
Commits
Use
Object.prototype.hasOwnProperty.call6e682d4Update
@types/node,browserify,coveralls,eslint,formidable,in-publish,phantomjs-prebuilt,pkgfiles,pre-commit,request,tape,typescript819f6b7Only apps should have lockfiles
b170ee2Update
combined-stream,mime-types6b1ca1dBumped version 2.5.3
9457283Pin
requestwhich viatough-cookie^2.4 depends onpsl9dbe192
2.5.2
10 Oct 20242.5.1
29 Aug 20192.5.0
4 Jul 2019Added: public methods with information and examples to readme
#429Switched windows tests from AppVeyor to Travis
#430
Merged
Added: public methods with information and examples to readme
#429Switched windows tests from AppVeyor to Travis
#430Enhance the method of path.basename, handle undefined case
#421
Commits
Added: public methods with information and examples to the readme file.
21323f3typings: Migrate TS typings
a3c0142Switched to Travis Windows from Appveyor
fc61c73Fixed: rendering of subheaders
e93ed8dUpdated deps and readme
e3d8628Bumped version to 2.5.0
905f173Fixed: filesize is not a valid option? knownLength should be used for streams
d88f912Bump notion of modern node to node8
508b626Enhance the method of path.basename
faaa68a
2.4.0
19 Jun 20192.3.3
17 Oct 20182.3.2
14 Feb 20182.1.4
9 Apr 20172.1.1
4 Oct 20162.0.0
17 Sep 2016- 1.x
1.0.1
26 Aug 20161.0.0
26 Aug 2016- 0.2.x
0.2.0
6 Dec 2014- 0.1.x
0.1.3
2 Jun 20140.1.2
3 Oct 20130.1.0
8 Jul 2013- 0.0.x
0.0.9
29 Apr 2013Custom params for form.submit() should cover most edge cases.
#22Updated Readme and version number.
#20Allow custom headers and pre-known length in parts
#17
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.