form-data
4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed
4.0.6 is the newest release of 4.x.
In short
1 breaking3 fixed13 changed1 internal
- Breaking
Buffer.fromandBuffer.allocrequire node 4+c499f76
Security
2 advisories affect 4.0.2; 4.0.6 fixes them
- Criticalform-data uses unsafe random function in form-data for choosing boundaryGHSA-fjxv-7rqg-78g4 · 21 Jul 2025Fixed in 4.0.4
- Highform-data: CRLF injection in form-data via unescaped multipart field names and filenamesGHSA-hmw2-7cc7-3qxx · 15 Jun 2026Fixed in 4.0.6
Release note
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
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.