npm / serve
serve
What changed in serve 12 to 14, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
4 breaking1 security2 new APIs and options1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initserve 143 changes
Breaking changes 2
The core library is now an ES Module, affecting how developers consume it.
Support for Node.js 12 is dropped because it reached end of life.
Security 1
Updated serve-handler to fix ReDoS vulnerabilities.
serve 131 changes
Breaking changes 1
The default port changes from 5000 to 3000.
serve 124 changes
Breaking changes 1
Updating clipboardy to v2.3.0 drops support for Node 8.
New APIs and options 2
Adds a flag for disabling port switching.
The help command output now includes the
-pport flag.
Fixes and other changes 1
Fixes an undefined local network address.