universal-user-agent
7.0.3 · 12 May 2025ISC50.6M / weekRepositoryHomepagenpmAtom feed
Upgrading universal-user-agent From 2.0.3 to 7.0.3
11 releases in betweennotes for 10
- 6+
- changes to make
- 0
- advisories fixed
- 1+
- new
- 7+
- fixes
Counted from 10 of 11 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
- Fixed
release: enable npm provenance
- Fixed
- Fixed
Handle
process.versionset toundefined
- Fixed
- Fixed
README: remove
requireas module is now ESM
- Fixed
- Breaking
This package is now pure ESM
- Breaking
Node 12+ required
- New
ES Module
- Breaking
6.0.1nothing new or fixed in the note
- 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
- Breaking
- 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
- Breaking
- Fixed
Fallback to
"<environment unknown>"ifnavigatoris undefined
- Fixed
1 other line we could not sort, mostly version bumps
- 3.0.0
travis: test in Node 12, stop testing in Node 6
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.