- Drop support for node <18
- Added an option preferred encodings array #59
- Revert "Lazy-load modules from main entry point"
- Fix sorting charset, encoding, and language with extra parameters
- perf: improve
Accept
parsing speed - perf: improve
Accept-Charset
parsing speed - perf: improve
Accept-Encoding
parsing speed - perf: improve
Accept-Language
parsing speed
- Fix including type extensions in parameters in
Accept
parsing - Fix parsing
Accept
parameters with quoted equals - Fix parsing
Accept
parameters with quoted semicolons - Lazy-load modules from main entry point
- perf: delay type concatenation until needed
- perf: enable strict mode
- perf: hoist regular expressions
- perf: remove closures getting spec properties
- perf: remove a closure from media type parsing
- perf: remove property delete from media type parsing
- Fix media type parameter matching to be case-insensitive
- Fix comparing media types with quoted values
- Fix splitting media types with quoted commas
- Fix preference sorting to be stable for long acceptable lists
- Fix list return order when large accepted list
- Fix missing identity encoding when q=0 exists
- Remove dynamic building of Negotiator class
- Fix error when media type has invalid parameter
- Fix all negotiations to be case-insensitive
- Stable sort preferences of same quality according to client order
- Support Node.js 0.6
- Handle invalid provided languages
- Handle invalid provided media types
- Order by specificity when quality is the same
- Fix regression in empty header handling
- Fix behaviors when headers are not present
- Handle slashes on media params correctly
- Fix media type sorting
- Handle media types params strictly
- Use most specific matches
- Remove preferred prefix from methods