Packages

negotiator

1.1.0 · 20 Aug 2026MIT298.1M / weekRepositoryHomepagenpmAtom feed

Upgrading negotiator From 0.2.5 to 0.6.4

23 releases in betweennotes for 11

Other targets from 0.2.5Clears its advisory0.6.1Latest1.1.0
  1. 0.2.5yours
  2. 3 releases
  3. 0.3.0major
  4. 0.4.0major
  5. 9 releases
  6. 0.5.0major
  7. 3 releases
  8. 0.6.0major
  9. 3 releases
  10. 0.6.4target
2+
changes to make
1
advisory fixed
10+
new
12+
fixes

Counted from 11 of 23 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking0.6.0
  • breaking0.6.0

Security

Fixes 1 advisory affecting 0.2.5

Release by release

  1. 0.6.4

    19 Oct 20241 new
    • new

      Added an option preferred encodings array (#59) 8f58d74

  2. 0.6.3nothing new or fixed in the note

  3. 0.6.2

    30 Apr 20191 fix
    • fixed

      Fix sorting charset, encoding, and language with extra parameters

  4. 0.6.1

    3 May 20164 new
    • new

      Improve Accept parsing speed

    • new

      Improve Accept-Charset parsing speed

    • new

      Improve Accept-Encoding parsing speed

    • new

      Improve Accept-Language parsing speed

  5. 0.6.0

    Migration needed30 Sep 20154 new · 3 fixes
    • breaking

      Remove closures getting spec properties

    • breaking

      Remove property delete from media type parsing

    • new

      Delay type concatenation until needed

    • new

      Enable strict mode

  6. 0.5.3

    11 May 20151 fix
    • fixed

      Fix media type parameter matching to be case-insensitive

  7. 0.5.2

    7 May 20152 fixes
    • fixed

      Fix comparing media types with quoted values

    • fixed

      Fix splitting media types with quoted commas

  8. 0.5.1

    15 Feb 20151 fix
    • fixed

      Fix preference sorting to be stable for long acceptable lists

5 other lines we could not sort, mostly version bumps
  • Replace deprecated String.prototype.substr() d3c7697

    0.6.4
  • Revert "Lazy-load modules from main entry point"

    0.6.3
  • Lazy-load modules from main entry point

    0.6.0
  • Remove dynamic building of Negotiator class

    0.5.0
  • Stable sort preferences of same quality according to client order

    0.4.8