Faisal Salman
|
f57f8fa1a7
|
Update enums & extensions
|
2023-09-30 14:10:53 +07:00 |
|
Faisal Salman
|
aa76da90d9
|
Fix #651 - Improve device detection: Xiaomi Redmi
|
2023-09-18 00:31:46 +07:00 |
|
Faisal Salman
|
817c5835ef
|
Add new device vendor: Ulefone
https://ulefone.com/
https://www.gsmarena.com/ulefone-phones-124.php
|
2023-09-18 00:11:46 +07:00 |
|
Faisal Salman
|
6ea6936632
|
Improve device detection: Realme
|
2023-09-18 00:09:51 +07:00 |
|
Faisal Salman
|
647e115a1e
|
[ua-helpers] Fix type error
|
2023-09-04 22:41:44 +07:00 |
|
Faisal Salman
|
807dcdbded
|
Add eslint to devDependencies to support latest ES version
|
2023-08-30 12:56:59 +07:00 |
|
Faisal Salman
|
1522691426
|
[ua-client-hints] Refactor UAClientHints
|
2023-08-27 10:53:26 +07:00 |
|
Faisal Salman
|
3f105fe93b
|
[helpers] split helpers into 2 new packages: user-agent-helpers & client-hints-helpers
|
2023-08-23 14:53:34 +07:00 |
|
Faisal Salman
|
129657673b
|
[helpers] Add new method: UACHParser() , parse client-hints HTTP headers into its JS API equivalent
|
2023-08-22 23:58:04 +07:00 |
|
Faisal Salman
|
3dd4b60ee9
|
[helpers] Add new method: unfreezeUA() , construct new unfreezed user-agent string using real data from client hints
|
2023-08-22 01:16:09 +07:00 |
|
Faisal Salman
|
2046b77ede
|
Improve device.type detection using client hints "form-factor" data
|
2023-08-20 13:59:44 +07:00 |
|
Faisal Salman
|
6e26e38247
|
[extension] Add Axios, jsdom, Scrapy. Also fixes #627 #156 #217 #227
Axios: `axios/VERSION`
https://www.zenrows.com/blog/axios-user-agent#what-is-axios-user-agent
JSDOM: `Mozilla/5.0 (${process.platform || "unknown OS"}) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/${jsdomVersion}`
https://github.com/jsdom/jsdom
Scrapy: `Scrapy/VERSION (+https://scrapy.org)`
https://docs.scrapy.org/en/master/topics/settings.html
|
2023-08-15 11:46:31 +07:00 |
|
Runar Heggset
|
f76d8983ca
|
Fix Amazon Fire TV device detection
|
2023-08-15 11:46:31 +07:00 |
|
Faisal Salman
|
22eae9f70c
|
[extensions] Add GPTBot to Bots
|
2023-08-07 21:39:21 +07:00 |
|
JBYoshi
|
153831d2ed
|
Add Snapchat user agent.
|
2023-07-30 09:11:19 +07:00 |
|
Faisal Salman
|
072a82b87b
|
Add a new submodule: ua-parser-helpers with a method: isFrozenUA() to match a string with a frozen user-agent pattern
|
2023-05-27 20:53:45 +07:00 |
|
Faisal Salman
|
15d17e97a1
|
Add some tests; Add new devices: Infinix, Tecno; Improve detection: Xiaomi POCO
Source: https://www.useragents.me
|
2023-05-06 21:21:21 +07:00 |
|
Faisal Salman
|
102dc51683
|
Update fuzzing test
|
2023-04-28 06:43:17 +07:00 |
|
Faisal Salman
|
3d5c70457e
|
Fuzz testing using Jazzer.js
|
2023-04-27 09:34:49 +07:00 |
|
Faisal Salman
|
4c77c5ef21
|
Revive the extensive list of MediaPlayers regexes by @leofiore as an Extension
(Original commit reference: 3fa1fe9f704d716e8f57dea46bccc5724da7b952)
|
2023-04-24 14:58:08 +07:00 |
|
Faisal Salman
|
9102871dea
|
Rearrange the structure of src folders
|
2023-04-21 09:47:51 +07:00 |
|
Faisal Salman
|
29fb85658a
|
Fix #643 - Improve iOS detection + detect Slack (&Slackbot)
|
2023-04-15 01:08:46 +07:00 |
|
Faisal Salman
|
35c2b91534
|
Fix: accept empty string as input
|
2023-04-15 00:01:49 +07:00 |
|
Faisal Salman
|
16b416d9ea
|
Move feature detection into its own method: withFeatureCheck
|
2023-04-09 07:40:21 +07:00 |
|
Faisal Salman
|
05747dba37
|
Install @playwright/test to perform test in real browser
|
2023-04-08 09:33:17 +07:00 |
|
Faisal Salman
|
625ece73e2
|
Rearrange test files & config
|
2023-04-08 07:12:18 +07:00 |
|
Faisal Salman
|
e01663b48f
|
Rearrange internal class & remove old Safari map
|
2023-04-08 04:40:59 +07:00 |
|
Faisal Salman
|
30de983043
|
Alpha release of v2.0
|
2023-03-29 10:44:37 +07:00 |
|
Faisal Salman
|
894512c72f
|
Move some low-usage devices to extension as ExtraDevices
|
2023-03-29 10:14:20 +07:00 |
|
Faisal Salman
|
4af26c7a5e
|
Add new browser: TikTok
User-agent example:
- https://user-agents.net/s/o2A0qRAZIN
- https://explore.whatismybrowser.com/useragents/parse/241240920-android-webview-android-jny-l22-blink
|
2023-03-29 05:58:44 +07:00 |
|
Faisal Salman
|
a6c85d0148
|
Add new engine: LibWeb + Add new OS: SerenityOS
|
2023-03-29 04:52:26 +07:00 |
|
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
|
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
|
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
|
a1d816ae21
|
Fix #519 #521 #616 - Improve iPhone & iOS detection
|
2023-03-20 23:37:19 +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
|
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
|
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 |
|