Casey Grimes
bab55a28df
feat(email): expand email client detection & add Outlook edition helper ( #819 )
...
* feat(email): significantly expanded email client detection to support 40+ new user agents, including Alpine, Canary Mail, FairEmail, ProtonMail Bridge, Tutanota, and The Bat!
feat(helpers): added getOutlookEdition() utility to interpret raw version strings into specific Outlook editions (e.g., distinguishing Outlook 2016 MSI vs. Click-to-Run/365).
chore(enums): added comprehensive BrowserName.Email enums for all newly supported clients.
chore(types): added TypeScript definitions for the new getOutlookEdition helper.
test(email): added comprehensive test suite covering 60+ email client user agent strings.
test(helpers): added unit tests for getOutlookEdition covering Windows (MSI/C2R) and Mac variants.
* chore: Some small updates for business logic around K-9, Yahoo Mail, Outlook
* test: Edgecase alignment and fixes
chore(deps): npm vulnerability fix in package-lock.json
chore: Updated dist builds
* Revert accidentally-removed additional code and comments
* Correct comment syntax in ua-parser-extensions.js
Fix comment formatting and clean up code.
* chore: build fix
2026-01-12 11:34:59 +07:00
Faisal Salman
96e3518e2e
Fix #812 - Add support for chaining withClientHints() & withFeatureCheck()
2025-11-28 14:51:22 +07:00
Faisal Salman
cb9b50a81a
Fix import path
2025-10-27 12:50:52 +07:00
Faisal Salman
232fb321f1
[test] Add tests for the new submodules
2025-10-25 10:28:48 +07:00
Faisal Salman
061cf0e90f
Bump version 2.0.6
2025-10-10 10:00:44 +07:00
Faisal Salman
5f1ed83225
[chore] Update CLI import & unit test
2025-10-08 13:14:29 +07:00
Sébastien Règne
ae7b5e15e5
chore: Replace Undici by native Headers ( #805 )
2025-10-06 20:59:29 +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
a4342b01d4
[test] Utilize enum in test cases
2025-09-04 20:59:48 +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
2078b1ec92
[enums] Clean up enum imports & create build script
2025-08-29 17:53:09 +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
Harlan Brawer
9e6dff6dc3
replace node fetch types with undici
2025-08-09 23:38:52 +07:00
Aidan Nulman
ecbc0336b6
Fix #797 : Iterate over brands as an array ( #798 )
2025-08-01 18:34:36 +07:00
Faisal Salman
29677bcd3d
Add new browser: Edge WebView, Edge WebView2
2025-05-21 11:12:37 +07:00
Faisal Salman
466a8b26be
Improve device detection: OnePlus
2025-05-12 21:10:55 +07:00
Faisal Salman
f93cb043f5
Improve device detection for Meta Quest
2025-03-11 18:07:46 +07:00
Faisal Salman
f7f64a31ea
[extensions] Detect OS from WhatsApp user agent
2025-03-11 17:50:36 +07:00
Faisal Salman
367eae4c85
[extensions] Add new Vehicles: BMW, Jeep Wagooner
2025-03-07 10:15:47 +07:00
Faisal Salman
8a05328ce0
[extensions] Improve inapp browser detection: Slack, Yahoo! Japan
2025-03-06 21:03:29 +07:00
Faisal Salman
d8057bcd8a
Browser naming adjustments for Client Hints:
...
- `HuaweiBrowser` => `Huawei Browser`,
- `Miui Browser` => `MIUI Browser`,
- `OperaMobile` => `Opera Mobi`,
- `YaBrowser` => `Yandex`
2025-02-21 21:14:54 +07:00
Faisal Salman
837d319630
[extensions][helpers] Update Semrush bot variants
2025-02-20 21:53:49 +07:00
Faisal Salman
3ca23193dd
Improve OS detection: fix Linux arch mistakenly detected as version
2024-12-23 22:58:05 +07:00
Faisal Salman
d024fe2006
[extensions] Fix #770 - Add new fetcher bot: Bluesky
2024-12-03 21:48:01 +07:00
Faisal Salman
259cd1422b
[test] Move all client hints-related tests into a separate file
2024-11-30 19:52:41 +07:00
Faisal Salman
aed89f0b41
Fix #660 - Infer device vendor & type from sec-ch-ua-model
2024-11-30 19:26:41 +07:00
Faisal Salman
dbd24a579f
Browser naming adjustments for Client Hints:
...
- `Google Chrome` => `Chrome`
- `Microsoft Edge` => `Edge`
- `Android WebView` => `Chrome WebView`
- `HeadlessChrome` => `Chrome Headless`
2024-11-30 13:16:53 +07:00
Faisal Salman
1a057b4be2
Reorganize test files & directories
2024-11-28 23:24:19 +07:00