universal-user-agent
7.0.3 · 12 May 2025ISC50.6M / weekRepositoryHomepagenpmAtom feed
16 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 7.x · latest line
7.0.3
12 May 2025release: enable npm provenance
7.0.2
18 Sep 2023Handle
process.versionset toundefined
7.0.1
21 Sep 2022README: remove
requireas module is now ESM
7.0.0
16 Sep 2021- Breaking
This package is now pure ESM
- Breaking
Node 12+ required
ES Module
- 6.x
6.0.1
4 Nov 2023Handle
process.versionset toundefined
6.0.0
16 Jul 2020- 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)" Use same code for all environments
- 5.x
5.0.0
21 Feb 2020- Breaking
getUserAgent()is no longer throwing an error if it cannot determine the user agent, it falls back to<environment undetectable>instead Fallback to
<environment undetectable>in all environments
- 4.x
4.0.1
21 Feb 2020Fallback to
"<environment unknown>"ifnavigatoris undefined
4.0.0
3 Sep 2019- Breaking
Before
Name export
Bug Fixes
Name export
Breaking changes
- Breaking
Before
const getUserAgent = require("universal-user-agent")Now
const { getUserAgent } = require("universal-user-agent")- 3.x
3.0.0
12 Jul 2019- Breaking
travis: Official support for Node 6 removed. It might still work, but is no longer tested
travis: test in Node 12, stop testing in Node 6
- 2.x
2.1.0
8 May 2019Reading the note…
2.0.3
10 Jan 2019Reading the note…
2.0.2
20 Nov 2018Reading the note…
2.0.1
19 Sep 2018Reading the note…
2.0.0
19 Sep 2018Reading the note…
- 1.x
1.0.0
17 Sep 2018Reading the note…
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.