New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ua-parser-js

Package Overview
Dependencies
Maintainers
0
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ua-parser-js - npm Package Versions

23
9

2.0.2

Diff

Changelog

Source

Version 2.0.2

  • Fix TypeScript dependency issue
faisalman
published 2.0.1 •

Changelog

Source

Version 2.0.1

  • Add new browser: Ladybird, Daum
  • Add new device: Apple HomePod
  • Add new device vendor: HMD
  • Add new OS: Ubuntu Touch, Windows IoT
  • Improve CPU detection: ARM, x86
  • Improve device detection: Lenovo, Nokia, Nvidia, Xiaomi
    • Tablet: Google, Honor, Huawei, Infinix, Nokia, OnePlus, Xiaomi
    • Wearable: Asus, Google, LG, Motorola, OnePlus, Oppo, Samsung, Sony
    • Smart-TV: Xiaomi, unidentified vendors
    • Improve detection for unknown VR devices
    • Improve device model detection for Generic devices
  • Improve OS detection: Linux, Symbian
  • Improve TypeScript definitions for Headers
  • Improve withClientHints():
    • engine.version also get updated
    • Infer device.vendor & device.type by guessing from device.model
    • Browser naming adjustments:
      • Google Chrome => Chrome
      • Microsoft Edge => Edge
      • Android WebView => Chrome WebView
      • HeadlessChrome => Chrome Headless
  • enums submodule:
    • Add TypeScript definitions
  • extensions submodule:
    • Add new list:
      • Vehicles: BYD, Rivian, Volvo
    • Add new Fetcher: Bluesky
    • Add new Library: Apache-HttpClient, go-http-client, got, GuzzleHttp, Java-http-client, libwww-perl, lua-resty-http, Needle, OkHttp, node-fetch, PHP-SOAP, PostmanRuntime, superagent
faisalman
published 1.0.40 •

Changelog

Source

Version 0.7.40 / 1.0.40

  • Add new browser: 115, LibreWolf, Slimboat, Slimjet
  • Add new device: Advan, Cat, Energizer, IMO, Micromax, Smartfren
  • Add new engine: ArkWeb, Servo
  • Add new os: OpenHarmony
  • Improve browser detection: 2345, 360, Dragon, Iron, Maxthon
  • Recognize Honor as a separate device vendor from Huawei
  • Fix Python Request mistakenly identified as Meta Quest
faisalman
published 0.7.40 •

Changelog

Source

Version 0.7.40 / 1.0.40

  • Add new browser: 115, LibreWolf, Slimboat, Slimjet
  • Add new device: Advan, Cat, Energizer, IMO, Micromax, Smartfren
  • Add new engine: ArkWeb, Servo
  • Add new os: OpenHarmony
  • Improve browser detection: 2345, 360, Dragon, Iron, Maxthon
  • Recognize Honor as a separate device vendor from Huawei
  • Fix Python Request mistakenly identified as Meta Quest
faisalman
published 2.0.0 •

Changelog

Source

Version 2.0.0

  • ua-parser-js/extensions submodule:
    • Add new CLI: ELinks, HTTPie
    • Add new crawler: AI2Bot, aiHitBot, anthropic-ai, Diffbot, ImagesiftBot, magpie-crawler, Omgilibot, Screaming Frog SEO Spider, Seznambot, Teoma, Timpibot, VelenPublicWebCrawler, Webzio-Extended, YouBot
    • Add new email: Airmail, BlueMail, eMClient, NaverMailApp, Sparrow, Yahoo
    • Add new fetcher: cohere-ai, Vercelbot
    • Add new library: java, python-urllib, python-requests
  • ua-parser-js/helpers submodule:
    • Add new method isAIBot(): Checks if the user-agent is an AI bot
faisalman
published 2.0.0-rc.3 •

Changelog

Source

Version 2.0.0-rc.3

  • Add support for Headers object
  • Add new device: Advan, Cat, Energizer, Honor, IMO, Micromax, Smartfren
  • Add new engine: Servo
  • ua-parser-js/extensions submodule:
    • Breaking change: rename module to library
    • Add new email clients: Evolution, KMail, Kontact
    • Add new bots: 360Spider, Archive.org Bots, CCBot, DataForSeoBot, DuckAssistBot, Exabot, Google Bots, Meta Bots, MojeekBot, PerplexityBot, PetalBot, TurnitinBot, Yeti, YisouSpider
faisalman
published 2.0.0-rc.2 •

Changelog

Source

Version 2.0.0-rc.2

  • Fix incorrect import path in ESM files
  • Add new browser: 115, SlimBoat, Slimjet, LibreWolf
  • Improve browser detection: 2345, 360, Dragon, Iron, Maxthon
  • ua-parser-js/enums submodule:
    • Add Chromecast OS variants: Android/Fuchsia/Linux/SmartSpeaker
  • ua-parser-js/helpers submodule:
    • Add new method: isBot() to check if the browser is identified as a bot
faisalman
published 2.0.0-rc.1 •

Changelog

Source

Version 2.0.0-rc.1

  • Fix Python Request mistakenly identified as Meta Quest
  • Add new browser: Helio
  • Add new device: itel, Nothing, Pico, TCL
  • Add new engine: ArkWeb
  • Add new OS: OpenHarmony, Pico
  • Improve browser detection: Quark
  • Improve device detection: Xiaomi, Amazon Echo Show, Google Chromecast, Samsung Galaxy Watch
  • ua-parser-js/helpers submodule:
    • Add new method:
      • getDeviceVendor() to guess for a device vendor based on its model name
      • isElectron() to check if current window is running inside Electron
      • isFromEU() to check if current window is from an EU (European Union) country
      • isStandalonePWA() to check if current window is a standalone PWA
    • Rename isChromiumBased() to isChromeFamily()
    • Update isAppleSilicon() to also checks for WebGL renderer info
  • ua-parser-js/extensions submodule:
    • Restore Bots as a compilation of all these browser types: cli, crawler, fetcher, and library
faisalman
published 1.0.39 •

Changelog

Source

Version 0.7.39 / 1.0.39

  • Add new feature: executable command using npx ua-parser-js "[INSERT-UA-HERE]"
  • Add new browser: Helio, Pico Browser, Wolvic
  • Add new device vendor: itel, Nothing, TCL
  • Improve browser detection: ICEBrowser, Klar, QQBrowser, Quark, Rekonq, Sleipnir
  • Improve device detection: Xiaomi Pro, Amazon Echo Show, Samsung Galaxy Watch
  • Removed from browser: Viera
faisalman
published 0.7.39 •

Changelog

Source

Version 0.7.39 / 1.0.39

  • Add new feature: executable command using npx ua-parser-js "[INSERT-UA-HERE]"
  • Add new browser: Helio, Pico Browser, Wolvic
  • Add new device vendor: itel, Nothing, TCL
  • Improve browser detection: ICEBrowser, Klar, QQBrowser, Quark, Rekonq, Sleipnir
  • Improve device detection: Xiaomi Pro, Amazon Echo Show, Samsung Galaxy Watch
  • Removed from browser: Viera
23
9
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc