form-data
4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed
Upgrading form-data From 3.0.0 to 3.0.5
5 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking3.0.4
Security
Fixes 2 advisories affecting 3.0.0
- form-data uses unsafe random function in form-data for choosing boundarycritical · GHSA-fjxv-7rqg-78g4
- form-data: CRLF injection in form-data via unescaped multipart field names and filenameshigh · GHSA-hmw2-7cc7-3qxx
Release by release
3.0.5nothing new or fixed in the note
15 other lines we could not sort, mostly version bumps
- 3.0.5
Escape CR, LF, and
"in field names and filenames8777e67 - 3.0.5
Update
@ljharb/eslint-config,auto-changelog,eslint,tape27c61a5 - 3.0.5
Update
hasown6a8a1c6 - 3.0.4
Update linting config
f5e7eb0 - 3.0.4
Switch to using
cryptorandom for boundary valuesc6ced61 - 3.0.4
Use
hasown1a78b5d - 3.0.4
Validate boundary type in
setBoundary()method70bbaa0 - 3.0.4
Actually ensure the readme backup isn’t published
0150851 - 3.0.4
Remove unused deps
a14d09e - 3.0.3
Use
Object.prototype.hasOwnProperty.call7fecefe
4 internal lines (docs, tests, tooling) left out.
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.