Skip to content

[Snyk] Upgrade ua-parser-js from 1.0.40 to 2.0.4 #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Jul 18, 2025

snyk-top-banner

Snyk has created this PR to upgrade ua-parser-js from 1.0.40 to 2.0.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 14 versions ahead of your current version.

  • The recommended version was released 24 days ago.

Release notes
Package name: ua-parser-js
  • 2.0.4 - 2025-06-24

    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
    • enums submodule:
      • Fix mistakenly placed BLU categorized as browser name instead of device vendor
  • 2.0.3 - 2025-03-14

    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
  • 2.0.2 - 2025-02-09

    Version 2.0.2

    • Fix TypeScript dependency issue
  • 2.0.1 - 2025-02-04

    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
  • 2.0.0 - 2024-11-18
  • 2.0.0-rc.3 - 2024-11-13
  • 2.0.0-rc.2 - 2024-11-08
  • 2.0.0-rc.1 - 2024-10-29
  • 2.0.0-beta.3 - 2024-06-07
  • 2.0.0-beta.2 - 2024-02-01
  • 2.0.0-beta.1 - 2023-10-05
  • 2.0.0-alpha.3 - 2023-08-17
  • 2.0.0-alpha.2 - 2023-04-03
  • 2.0.0-alpha.1 - 2023-03-29
  • 1.0.40 - 2024-12-21

    Bump v1.0.40 (mirror of v0.7.40)

from ua-parser-js GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Chores:

  • Bump ua-parser-js from ^1.0.37 to ^2.0.4

Snyk has created this PR to upgrade ua-parser-js from 1.0.40 to 2.0.4.

See this package in npm:
ua-parser-js

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/1f70a521-74c0-475a-b838-6a8c28a57d7a?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Jul 18, 2025

Reviewer's Guide

This PR performs a major version upgrade of the ua-parser-js dependency, updating its version requirement in package.json to align with the latest 2.0.4 release.

File-Level Changes

Change Details Files
Upgrade ua-parser-js to major version 2.x
  • Update dependency version specifier from ^1.0.37 to ^2.0.4 in package.json
consumer/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants