1295 Commits

Author SHA1 Message Date
Faisal Salman
7a4fe6f454 Fix #227 #237 #488 : Provide extensions - initial work 2023-03-28 10:41:59 +07:00
Faisal Salman
af65fd6960 Fix #300 : Provide enums - initial work 2023-03-28 08:36:48 +07:00
Faisal Salman
ba28d33d51 Move generated .mjs file to /src 2023-03-27 22:37:42 +07:00
Faisal Salman
82567c28ab Fix #639: Only check for Brave properties if given userAgent match the current userAgent 2023-03-26 12:46:04 +07:00
Faisal Salman
e70d09a1f8 Fix #489: ARM arch detection & create test that simulates HTTP headers sent from an Apple silicon 2023-03-25 07:21:17 +07:00
Faisal Salman
3af8e1e272 Upon creating new item, only pass regex map thats relevant with its itemType 2023-03-23 21:43:19 +07:00
Faisal Salman
172f57ffea Fix #636 - Add new browser: HeyTap | Fix #248 - Add 'Mobile' prefix for mobile version of Chrome, Firefox, Safari 2023-03-22 11:51:28 +07:00
Faisal Salman
33f02099d1 Fix #678 - Improve Yandex detection 2023-03-22 11:18:52 +07:00
Faisal Salman
33df5dc698 Fix #637 - Detect Safari on iPhone as Safari Mobile 2023-03-22 11:02:26 +07:00
Faisal Salman
49d6422ebd Mistype in iPad detection 2023-03-22 10:53:15 +07:00
Faisal Salman
a1d816ae21 Fix #519 #521 #616 - Improve iPhone & iOS detection 2023-03-20 23:37:19 +07:00
Faisal Salman
0097b211db Merge branch 'shaharmor-mobile-browsers' into develop 2023-03-20 11:08:31 +07:00
Faisal Salman
6b3fc3e0f1 Small refactor 2023-03-20 11:05:42 +07:00
Faisal Salman
08436ce4f5 Merge branch 'mobile-browsers' of https://github.com/shaharmor/ua-parser-js 2023-03-19 11:05:25 +07:00
Faisal Salman
df1a1c7bb4 Fix #624 - Detect Amazon Echo 2023-03-18 18:50:42 +07:00
Faisal Salman
31f94f3a51 Fix #441 #591 - Generate ESM version of main CJS file at build time 2023-03-18 17:41:42 +07:00
Faisal Salman
6821276669 Fix #218 #491 #517 #518 - introduce breaking changes: "Mac OS" => "macOS", "Chromium OS" => "Chrome OS" 2023-03-18 16:39:01 +07:00
Faisal Salman
41f8d76968 Remove is() & toString() prototype from getResult() data 2023-03-18 10:38:38 +07:00
Faisal Salman
c78346d3b4 Returns withClientHints() as Thenable in nodejs / non-client-hints browsers 2023-03-15 23:37:41 +07:00
Faisal Salman
f8dde65d54 Only use user-agent data by default. Must explicitly call withClientHints() to also use client-hints data 2023-03-14 23:22:26 +07:00
Faisal Salman
60d3a2fbbc Create test for client hints in browser context 2023-03-12 16:31:58 +07:00
Faisal Salman
aff5a209f8 Add new method: withClientHints() #408 #566 #588 2023-03-11 20:32:35 +07:00
Faisal Salman
5672a2e15c Expose UA-CH data in getResult() 2023-03-10 22:15:12 +07:00
Faisal Salman
3c3c03ceeb Add new feature: read Client Hints data from HTTP Headers #408 #566 #588 2023-03-08 22:42:59 +07:00
Faisal Salman
d99ff741f4 Add new feature: ability to pass req.headers object directly into UAParser 2023-02-28 17:58:46 +07:00
Faisal Salman
9ee128ae2b Fix failing CI test, update funding & license year 2023-02-28 12:26:21 +07:00
Faisal Salman
c6b4c867d5 Sponsorship content revision 2023-02-28 01:13:56 +07:00
Faisal Salman
f1449a8202 Refactor 2023-02-27 23:14:43 +07:00
Faisal Salman
18730452f2 Add new device: Apple Watch, new os: watchOS 2023-02-25 11:41:19 +07:00
Faisal Salman
5ea9f0ec16 Fix #387 #554 - Detect iPadOS 13
https://stackoverflow.com/questions/9038625/detect-if-device-is-ios
2023-02-24 14:31:21 +07:00
Faisal Salman
03b0a5afa6 Fix #498 - Detect Brave Browser by checking navigator.brave
https://github.com/brave/brave-browser/issues/10165#issuecomment-641128278
2023-02-24 13:13:03 +07:00
Faisal Salman
d03c74d6b7 Insert sponsorship content from 51degrees 2023-02-21 22:57:17 +07:00
Faisal Salman
f18516c9c8 Make sure all properties are "undefined" for is("undefined") to be true 2023-02-19 16:43:59 +07:00
Faisal Salman
746ac28f94 Readme: update is() & toString() methods explanation 2023-02-19 16:33:46 +07:00
Faisal Salman
96fb3a5ed5 Merge branch 'is-utility' 2023-02-19 09:30:07 +07:00
Faisal Salman
6c34c3d4fa Add new utility methods: is() & toString() 2023-02-18 20:46:28 +07:00
Faisal Salman
f8e5a1fb4f Fix #601 - Detect Chrome OS without version 2023-01-31 15:09:14 +07:00
Faisal Salman
c9d1ab9561 Merge branch 'develop' 2023-01-28 21:04:43 +07:00
Faisal Salman
f815ca6e9c Fix #620 - Add new Device: Kobo 2023-01-26 14:58:53 +07:00
Faisal Salman
0cbeb7a829 Rearrange the recently added smarttv detection 2023-01-26 14:08:18 +07:00
Faisal Salman
bf4fb916ca
Merge pull request #618 from garritfra/smarttv
Support for various smart tvs
2023-01-26 10:52:47 +07:00
Faisal Salman
68447d883a Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop 2023-01-26 10:28:34 +07:00
Faisal Salman
0b0c7ff617 Fix #619 - Move Sharp up to be checked before Huawei 2023-01-26 10:26:38 +07:00
Faisal Salman
5b2e80bdfd
Merge pull request #527 from jparismorgan/samsung
Add Samsung Galaxy S20 5G
2023-01-26 10:00:29 +07:00
Faisal Salman
ba0f25c19d Improve Kakao/Naver detection + add test 2023-01-26 09:36:41 +07:00
Faisal Salman
4d3048aaaa
Merge pull request #573 from KnifeLemon/patch-1
Add KakaoTalk App, KakaoStory App regex
2023-01-26 08:53:26 +07:00
Faisal Salman
97e4a89685
Merge pull request #510 from L15018105103/ie8-fix
Fix #509 add support for Internet Explorer 8
2023-01-26 08:46:37 +07:00
Faisal Salman
1a521b867f Utilize navigator.userAgentData as a fallback #588 2023-01-25 01:39:23 +07:00
Faisal Salman
5d4ca2b4c2 Fix #621 - Detect Oculus Quest Pro 2023-01-24 23:28:03 +07:00
Faisal Salman
cf093222e5 Fix #557 #612 #629 - Update the changelog 2023-01-24 00:42:40 +07:00