Packages

universal-user-agent

7.0.3 · 12 May 2025ISC50.6M / weekRepositoryHomepagenpmAtom feed

Upgrading universal-user-agent From 1.0.0 to 7.0.3

15 releases in betweennotes for 10

2.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 1.0.0yours
  2. 2.0.0major
  3. 4 releases
  4. 3.0.0major
  5. 4.0.0major
  6. 1 release
  7. 5.0.0major
  8. 6.0.0major
  9. 1 release
  10. 7.0.0major
  11. 2 releases
  12. 7.0.3target
6+
changes to make
0
advisories fixed
1+
new
7+
fixes

Counted from 10 of 15 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking6.0.0
  • Breaking5.0.0
  • Breaking4.0.0
  • Breaking3.0.0

Release by release

  1. 7.0.3

    12 May 20251 fix
    • Fixed

      release: enable npm provenance

  2. 7.0.2

    18 Sep 20231 fix
    • Fixed

      Handle process.version set to undefined

  3. 7.0.1

    21 Sep 20221 fix
    • Fixed

      README: remove require as module is now ESM

  4. 7.0.0

    Migration needed16 Sep 20211 new
    • Breaking

      This package is now pure ESM

    • Breaking

      Node 12+ required

    • New

      ES Module

  5. 6.0.1nothing new or fixed in the note

  6. 6.0.0

    Migration needed16 Jul 20201 fix
    • Breaking

      No longer uses os-name in Node environment. The platform release version is no longer included. For example "Node.js/10.21.0 (Linux 4.15; x64)" is now `"Node.js/10.21.0 (Linux; x64)"

    • Fixed

      Use same code for all environments

  7. 5.0.0

    Migration needed21 Feb 20201 fix
    • Breaking

      getUserAgent() is no longer throwing an error if it cannot determine the user agent, it falls back to <environment undetectable> instead

    • Fixed

      Fallback to <environment undetectable> in all environments

  8. 4.0.1

    21 Feb 20201 fix
    • Fixed

      Fallback to "<environment unknown>" if navigator is undefined

1 other line we could not sort, mostly version bumps
  • travis: test in Node 12, stop testing in Node 6

    3.0.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.