serve-static
2.2.1 · 15 Dec 2025MIT202.2M / weekRepositoryHomepagenpmAtom feed
Upgrading serve-static From 1.7.1 to 2.2.1
36 releases in betweennotes for 35
Counted from 35 of 36 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking1.10.0
Security
Fixes 2 advisories affecting 1.7.1
- Open Redirect in serve-staticlow · GHSA-c3x7-gjmx-r2ff
- serve-static vulnerable to template injection that can lead to XSSlow · GHSA-cm22-4g7w-348p
- 1.7.2
Fix potential open redirect when mounted at root
Release by release
- new
Remove
HISTORY.mdfrom tarball content
- new
1.14.0 – 2.2.011 releases, nothing new or fixed; 1 without a note
- fixed
Fix incorrect end tag in redirects
- fixed
- fixed
Fix regression when
rootis incorrectly set to a file
- fixed
1.11.2 – 1.13.09 releases, nothing new or fixed in the notes
- fixed
Fix redirect error when
req.urlcontains raw non-URL characters
- fixed
1.10.1 – 1.11.04 releases, nothing new or fixed in the notes
- breaking
Remove argument reassignment
- new
Add
fallthroughoption - new
Enable strict mode
- fixed
Fix reading options from options prototype
- breaking
13 other lines we could not sort, mostly version bumps
- 2.2.0
Refactor HISTORY.md header update to use String.prototype.repeat
- 2.2.0
Conditionally set headers (if not already set) in redirect response
- 2.2.0
Revert "feat: conditionally set headers (if not already set) in redirect response (#190)"
- 2.2.0
Release 2.2.0
- 2.1.0
Remove link renderization in html while redirecting (#173)
- 2.1.0
Update dev deps
- 2.1.0
Update prod deps for v2
- 2.1.0
Release 2.0
- 1.16.2
encodeurl@~2.0.0
- 1.14.1
Set stricter CSP header in redirect response
60 internal lines (docs, tests, tooling) left out.