npm / negotiator
negotiator
What changed in negotiator 1, from its official release notes, upgrade guides and advisories. Also covers @types/negotiator. Sources checked 2026-10-27.
1 breaking1 new APIs and options1 performance1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initnegotiator 14 changes
Breaking changes 1
Node versions below 18 are no longer supported.
New APIs and options 1
Adds an option for a preferred encodings array.
Performance 1
Accepts parsing uses content-type and is up to 2x faster for parsing headers.
Fixes and other changes 1
The Node.js engine requirement was fixed.