1194 Commits

Author SHA1 Message Date
Faisal Salman
5328642e18 Update version to 2.0.0-beta.3 2.0.0-beta.3 2024-06-08 01:17:52 +07:00
Faisal Salman
bdcd927304 Update test for extensions 2024-06-08 00:27:28 +07:00
Faisal Salman
db3423a76c BREAKING - Remove bot type, divide as crawler / fetcher
Add new crawler: Baiduspider, DuckDuckBot, & Sogou Web Spider
Add new fetcher: Mastodon, Pinterestbot, Redditbot, LinkedInBot, Discordbot, Telegrambot, Twitterbot, Snapchat Bot, WhatsApp
2024-06-08 00:06:27 +07:00
Faisal Salman
173325faa1 Add some well-known bot user-agents: Applebot, Amazonbot, Bytespider, Claudebot, Yandexbot 2024-06-06 22:36:15 +07:00
Faisal Salman
5190905df8 Clean up & few changes related to browser.type 2024-06-06 21:52:16 +07:00
Faisal Salman
0a46ac396a Fix #718 - Extension param now accept multiple extensions 2024-06-06 20:25:43 +07:00
Faisal Salman
f7810dbfcf Add new browsers: Wolvic & Pico Browser 2024-06-06 14:32:59 +07:00
Faisal Salman
0543b87c02 BREAKING CHANGE: AR/VR devices moved to new device type: xr 2024-06-05 15:49:07 +07:00
Faisal Salman
39590f112d BREAKING CHANGE - Add new property to browser: type 2024-06-02 23:04:25 +07:00
Faisal Salman
1a22c6951f Update all package references in /test to use current working directories 2024-06-02 22:39:33 +07:00
Faisal Salman
8991d34e56 Update formFactor -> formFactors, in accordance to the latest change in client hints spec 2024-06-02 21:56:36 +07:00
Faisal Salman
1a2ef00509 Improve browser detection for QQBrowser 2024-06-02 15:49:27 +07:00
Faisal Salman
12c2c2e48a Improve browser detection for Rekonq 2024-06-02 15:35:33 +07:00
Faisal Salman
85bf7076d3 Improve browser detection for ICEBrowser 2024-06-02 15:32:41 +07:00
Faisal Salman
1fa3d02594 Remove Viera from list of browsers 2024-06-02 15:20:50 +07:00
Faisal Salman
4cd867a36e Improve browser detection for Klar
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#klar_for_android
2024-06-02 15:14:42 +07:00
Faisal Salman
6b6fcc68f5 Improve browser detection for Sleipnir 2024-06-02 15:10:37 +07:00
Faisal Salman
760e85bbe7 Update test for some missing browsers:
Blazer, Comodo Dragon, Conkeror, Go Browser, Iron, Jasmine, Links, NetSurf, OviBrowser, Quark, Rekonq, w3m
2024-06-02 15:03:27 +07:00
Faisal Salman
5a8ce35054 Insert spaces to command line output for readability 2024-06-02 10:38:24 +07:00
Faisal Salman
150d3c6b4a Add new feature: parse user-agent in CLI using npx ua-parser-js "[INSERT-UA-HERE]" and print the result in JSON format 2024-06-01 17:59:58 +07:00
Faisal Salman
e87c794fd9 Fix #730 - Improve browser detection: DuckDuckGo 2024-05-23 18:14:23 +07:00
Faisal Salman
d0db40c290 Fix #722 - Add new browser name: Twitter 2024-05-17 23:02:01 +07:00
Faisal Salman
8dce4cc514 Fix #721 - Improve detection: recognize OPPO Pad as tablet 2024-05-17 22:39:11 +07:00
Dai Jie
a43d659577
Fix #710: Add type to IBrowser (#711) 2024-03-19 21:32:43 +07:00
Faisal Salman
b29a9a7ffb Fix #708 - Improve detection for Quest 3 2024-02-28 10:19:30 +07:00
Faisal Salman
4d950db145 Update version to 2.0.0-beta.2 2.0.0-beta.2 2024-01-28 22:34:46 +07:00
Faisal Salman
b5b5475ab4 Add new helper method: isFrozenUA() to match with frozen user-agent pattern 2024-01-25 12:21:17 +07:00
Faisal Salman
7c22bc587f Fix #703 - Improve TS module resolution --revert 2024-01-25 11:30:10 +07:00
Faisal Salman
d6d8ac7cb4 Fix #692 - Improve TS module resolution (#702) 2024-01-24 09:56:23 +07:00
Beat YT
54c633aac5
Update ua-parser.js (#696)
Fixed Xbox Detection for Chrome-Based Edge
2024-01-24 09:24:38 +07:00
Faisal Salman
9c5d6ee70e Fix Edge detection in ua-ch: "Microsoft Edge" -> "Edge" 2024-01-18 11:29:46 +07:00
Faisal Salman
b5c62b0c82 Fix #635 - ua-ch: prioritize more specific brand name regardless the order 2024-01-10 17:16:26 +07:00
Faisal Salman
0c49d75074 Fix #697 - Add new browser: Opera GX - https://www.opera.com/gx 2023-12-29 20:59:44 +07:00
Faisal Salman
09904a0a47 Fix undefined brandName when reading a field list that has no version 2023-12-20 22:28:23 +07:00
Faisal Salman
3622b614a7 Fix d.ts Record for extensions as Partial 2023-11-30 11:50:44 +07:00
Faisal Salman
e4f2463849 Create declaration file .d.ts for extensions submodule 2023-11-30 11:27:54 +07:00
dependabot[bot]
fdbeabbaed
Bump axios from 1.3.6 to 1.6.1 (#689)
Bumps [axios](https://github.com/axios/axios) from 1.3.6 to 1.6.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.3.6...v1.6.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 10:47:35 +07:00
dependabot[bot]
2046fe5209
Bump @babel/traverse from 7.15.4 to 7.23.2 (#684)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.15.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 10:46:31 +07:00
Faisal Salman
5173a5442f Update readme for clarity over license options 2023-11-23 12:03:53 +07:00
Faisal Salman
106d882fba Create test for helpers 2023-11-10 10:10:38 +07:00
Faisal Salman
7abc8b9ecc Add new helper method isChromiumBased() to check whether the current browser is a Chromium-based browser 2023-11-09 13:50:04 +07:00
Faisal Salman
7ad3e3b451 Internal refactor: new helper methods to check for string & window 2023-11-09 13:50:04 +07:00
Danila Rodichkin
26f7e7d59e
Add "types" inside "exports" of package.json, fix ./helpers import typo (#688) 2023-11-06 14:05:06 +07:00
Faisal Salman
f8f71c65d4 Add new helpers submodule 2023-10-24 11:17:32 +07:00
Faisal Salman
17f0c1e1cd Improve browser detection: WeChat 2023-10-24 00:09:53 +07:00
Faisal Salman
9cc274fb6f Improve browser detection: unified name for Baidu 2023-10-24 00:00:38 +07:00
Faisal Salman
f56073bb3e Improve browser detection: remove unnecessary extra space in "Avant " 2023-10-23 23:33:04 +07:00
Faisal Salman
5c10e2b107 Improve browser detection: rename "Samsung Browser" to "Samsung Internet" https://developer.samsung.com/internet/user-agent-string-format.html 2023-10-23 23:32:35 +07:00
Faisal Salman
46ff3df974 Update readme 2023-10-19 23:22:31 +07:00
Faisal Salman
cfc01470b5 Update enums 2023-10-19 23:21:33 +07:00