![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
browserslist-ua-parser
Advanced tools
Parse User-Agent into browserslist's compatible format
This is User-Agent parser, but unlike others, it only returns browser name and version in browserslist's format. This helps you create Custom Usage Data.
with npm
npm install browserslist-ua-parser
with yarn
yarn add browserslist-ua-parser
with pnpm
pnpm add browserslist-ua-parser
import { parseUA } from 'browserslist-ua-parser'
parseUA('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36')
// { browser: 'chrome', version: '108' }
This library categorized the browsers based on their layout engine instead of their real browser's name,
like all browsers on iOS will return ios_saf
(Because all browsers in iOS use Webkit), or
Browsers based on Chromium, such as MiuiBrowser
will return chrome
.
This because this library intentionally used for detecting features using Browserslist, and that is how Browserslist work.
Chrome Android will be parsed as chrome
instead of and_chr
. This because Browserslist only work with last version on mobile browser (see this comment). This also applied to Firefox.
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Unknown package
We found that browserslist-ua-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.