Commit Graph

1326 Commits

Author SHA1 Message Date
Faisal Salman
38301f8803 Add new device vendor: Anbernic - https://anbernic.com/ 2025-11-06 13:42:23 +07:00
Faisal Salman
e5648826b9 [cli] Update to use extensions when parsing string input 2025-11-06 12:36:26 +07:00
Faisal Salman
a558cc1a5b [extensions][bot-detection] Add new bot: Amazon Nova Act 2025-11-03 13:11:35 +07:00
Faisal Salman
cb9b50a81a Fix import path 2025-10-27 12:50:52 +07:00
Faisal Salman
042c57cc10 [bot-detection] Add new method: isAIAssistant() to check whether user-agent is an AI assistant 2025-10-25 16:42:36 +07:00
Faisal Salman
232fb321f1 [test] Add tests for the new submodules 2025-10-25 10:28:48 +07:00
Faisal Salman
a3a7a5e377 Break some methods in helpers as new submodules: bot-detection, browser-detection, device-detection
`isAIBot()` & `isBot()` => `bot-detection`
`isChromeFamily()`, `isElectron()`, `isFromEU()`, & `isStandalonePWA()` => `browser-detection`
`getDeviceVendor()` & `isAppleSilicon()` => `device-detection`
2025-10-25 09:51:42 +07:00
Faisal Salman
2d8c8fa142 Fix #809 - Detect OpenAI's Atlas browser
https://openai.com/index/introducing-chatgpt-atlas/
2025-10-24 22:59:48 +07:00
Faisal Salman
d84ba1888b Update image link in README 2025-10-13 20:38:26 +07:00
Faisal Salman
061cf0e90f Bump version 2.0.6 2.0.6 2025-10-10 10:00:44 +07:00
Faisal Salman
2882014f0e Add new inApp browser: Bing 2025-10-09 11:34:03 +07:00
Faisal Salman
3eea0643c5 Add new device vendor: Wiko - https://world.wikomobile.com/ 2025-10-08 21:51:36 +07:00
Faisal Salman
5f1ed83225 [chore] Update CLI import & unit test 2025-10-08 13:14:29 +07:00
Faisal Salman
5349bb52ed Improve device detection: BlackBerry, Huawei, Xiaomi 2025-10-08 11:12:29 +07:00
Faisal Salman
9ba4d2b207 Add new device vendor: Hisense - https://global.hisense.com/ 2025-10-06 22:16:01 +07:00
Faisal Salman
4c935c0139 Improve device detection: Nokia 2025-10-06 22:07:35 +07:00
Sébastien Règne
ae7b5e15e5 chore: Replace Undici by native Headers (#805) 2025-10-06 20:59:29 +07:00
Faisal Salman
44165a6e01 Improve CPU detection: 68k 2025-10-06 11:59:55 +07:00
Faisal Salman
fc5125042c Improve browser detection: Mozilla, Pale Moon 2025-10-06 11:59:39 +07:00
Faisal Salman
4e6259ad7f [feat] Add new CLI feature: processing batch user-agent data from file and output as JSON 2025-10-06 11:12:14 +07:00
Faisal Salman
b3bc89c463 [fix] setUA(): remove trailing space from user-agent string 2025-10-05 21:03:27 +07:00
Faisal Salman
5749302c47 [chore] Rename constants 2025-10-05 13:55:18 +07:00
Faisal Salman
6565d24567 Improve OS detection: iOS 26 2025-10-05 13:53:43 +07:00
Faisal Salman
b3281b7c12 [extensions] Add new crawler: Qwantbot-news, SurdotlyBot, Swiftbot 2025-10-01 12:19:46 +07:00
Faisal Salman
bd6bb216bd [extensions] Add new fetcher: Discordbot, KeybaseBot, Slackbot, Slackbot-LinkExpanding, Slack-ImgProxy, Twitterbot 2025-10-01 11:25:26 +07:00
Faisal Salman
e7e7aaad4c Add new browser: Qwant 2025-10-01 11:11:39 +07:00
Faisal Salman
95d2b151a3 Improve OS detection: iOS 2025-09-30 19:37:13 +07:00
Faisal Salman
737cdd4d40 Improve device detection: iPad 2025-09-29 13:02:37 +07:00
Faisal Salman
74064b0cac Add featured sponsors in README 2025-09-27 20:20:51 +07:00
Faisal Salman
3ea5721e86 Bump version 2.0.5 2.0.5 2025-09-05 21:43:09 +07:00
Faisal Salman
a4342b01d4 [test] Utilize enum in test cases 2025-09-04 20:59:48 +07:00
Faisal Salman
31bf36c36d [enums] enum names should be singular 2025-09-04 20:58:10 +07:00
Faisal Salman
9bef871e41 [helpers] Update isAIBot() list using Crawlers enum 2025-09-02 22:00:02 +07:00
Faisal Salman
b1d9dcafcd [test] Move UA-CH test data into its own file 2025-09-01 23:13:00 +07:00
Faisal Salman
146f182533 [extensions] Improve bot detection for ByteDance, Google, SB Intuitions, Webzio 2025-08-31 20:04:49 +07:00
Faisal Salman
ce242a362f [extensions][enums] Improve detection for Yandex bots 2025-08-30 17:01:05 +07:00
Faisal Salman
2078b1ec92 [enums] Clean up enum imports & create build script 2025-08-29 17:53:09 +07:00
Faisal Salman
7dcbb8def3 [enums] Enum for CPU architecture should be CPUArch rather than CPUName 2025-08-28 11:14:21 +07:00
Faisal Salman
f810a6d1d9 Fix type mistake 2025-08-27 14:57:09 +07:00
Faisal Salman
0e05332609 [enums] Add enums for extensions submodule 2025-08-27 12:14:56 +07:00
Faisal Salman
48a1f34c28 [enums] Rename & mark as deprecated: Browser->BrowserName, CPU->CPUName, Device->DeviceType, Vendor->DeviceVendor, Engine->EngineName, OS->OSName 2025-08-27 12:13:06 +07:00
Faisal Salman
fb1ed5cf6b Only check for direct properties from the headers object 2025-08-26 22:35:46 +07:00
Faisal Salman
3e65196b57 Normalize all headers into lowercase 2025-08-26 00:18:53 +07:00
Faisal Salman
4e421e72fe Main d.ts: replace hardcoded type def with enum values 2025-08-23 21:14:12 +07:00
Faisal Salman
98cf19c8c5 Main d.ts export type UAParserHeaders 2025-08-23 19:06:07 +07:00
Faisal Salman
c9badeb345 [extensions] Add new crawlers: Algolia, Baidu, BLEXBot, Botify, Freespoke, Marginalia, MSNBot, OnCrawl, SeekportBot, Siteimprove, TwinAgent, YepBot, ZumBot 2025-08-21 21:40:50 +07:00
Faisal Salman
9003fe5724 [extensions] Add new bots: Algolia Crawler, contxbot, HubSpot Page Fetcher, Kagibot 2025-08-15 20:42:41 +07:00
Faisal Salman
975c4860f4 [extensions][helpers] Add some new AI bots: Bravebot, Cotoyogi, FirecrawlAgent, HuggingFace-Bot, Kangaroo Bot, PanguBot, Replicate-Bot, RunPod-Bot, Together-Bot, xAI-Bot 2025-08-14 20:42:17 +07:00
Faisal Salman
647b6232bd [extensions][helpers] Add some bots from Vercel: v0bot, vercel-favicon-bot, vercel-screenshot-bot, vercelflags, verceltracing 2025-08-14 19:34:14 +07:00
Faisal Salman
95485f7b5d [extensions][helpers] Add new bots: cohere-training-data-crawler, Gemini-Deep-Research, kakaotalk-scrap, TikTokSpider 2025-08-11 13:14:45 +07:00