You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ua-parser-js

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ua-parser-js - npm Package Versions

2345
9

2.0.4

Diff
f
faisalman
published 2.0.4 •

Changelog

Source

Version 2.0.4

  • Add new browser: Edge WebView, Edge WebView2
  • Add new device vendor: Lava, Retroid, Vizio
  • Add new OS: ArcaOS, Knoppix, Xubuntu, Windows CE, Windows RT
  • Improve device detection: Google Pixel & Pixelbook Series, HMD, Infinix, LG WebOS TV, Motorola, Nothing, OnePlus, Sony, Tecno
  • Improve OS detection: AIX, Arch, Fuchsia, Haiku, HarmonyOS, Mint, MorphOS, Solaris, Windows
  • Improve withClientHints() browser naming adjustments: Microsoft Edge WebView2 => Edge WebView2
  • Identify device that uses Firefox Reality / Wolvic as xr
  • Identify device with large screen as smarttv
  • Identify Windows CE & Windows RT as distinct OS variants
  • extensions submodule:
    • Remove lookbehind assertion to ensure regex compatibility
    • Add new crawlers: ChatGLM, Daum, iAskBot, Onespot, Qwantbot, Startpage
    • Add new emails: Apple's Mail, DaumMail, Polymail, ProtonMail, SparkDesktop, Zimbra, ZohoMail-Desktop
    • Add new fetchers: Iframely, MistralAI-User, Perplexity-User
    • Add new inApps: Discord, Evernote, Figma, Flipboard, Mattermost, Notion, Postman, Rambox, Rocket.Chat, Microsoft Teams, TikTok Lite, VS Code
    • Add new libraries: AdobeAIR, aiohttp, nutch, httpx, urllib3
  • enum submodule:
    • Fix mistakenly placed BLU categorized as browser name instead of device vendor
f
faisalman
published 2.0.3 •

Changelog

Source

Version 2.0.3

  • Add new browser: Dooble, Ecosia, LG Browser, Otter, qutebrowser, Surf
  • Add new device: BLU, Facebook Portal TV
  • Improve device detection: Archos, LG, Meta Quest
  • Remove jazzer.js fuzz test
  • Improve withClientHints():
    • Browser naming adjustments:
      • HuaweiBrowser => Huawei Browser
      • Miui Browser => MIUI Browser
      • OperaMobile => Opera Mobi
      • YaBrowser => Yandex
  • extensions submodule:
    • Add new Crawler: AdIdxBot, Linespider, LinkedInBot, OpenAI Image Downloader, SemrushBot, Yahoo! Slurp
    • Add new Fetcher: Better Uptime Bot, Google-PageRenderer, GoogleImageProxy, MicrosoftPreview, Snap URL Preview, SkypeUriPreview, TelegramBot
    • Add new Vehicles: BMW, Jeep
    • Add OS detection of WhatsApp user-agent
f
faisalman
published 2.0.2 •

Changelog

Source

Version 2.0.2

  • Fix TypeScript dependency issue
f
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
f
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
f
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
f
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
f
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
f
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
f
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
2345
9