865 Commits

Author SHA1 Message Date
Dean Shi
5cf5663ea6
Merge pull request #6 from amplitude/AMP-53050-upgrade-ua-parser
Merge from origin ua-parser-js
2022-05-20 09:39:45 -07:00
Dean Shi
8ee5b01fbc
fix test 2022-05-19 16:20:32 -07:00
Dean Shi
8f4d2d273d
Merge remote-tracking branch 'upstream/master' 2022-05-19 16:00:40 -07:00
Faisal Salman
6e39c8a553
Merge pull request #568 from jparismorgan/browser100
Add tests for Chrome, Firefox, and Edge browsers with major version 100
2022-02-25 20:41:18 +07:00
Faisal Salman
3d4ec6ef3b
Merge pull request #525 from jparismorgan/Huawei
Add Huawei models
2022-02-25 20:37:01 +07:00
Paris Morgan
f02a431000 v100 tests 2022-02-17 12:01:10 -08:00
Paris Morgan
b6bddd8c09 pr feedback 2022-02-17 11:39:01 -08:00
Faisal Salman
a29213960c Fix #561 - Increase UA_MAX_LENGTH to 275 2022-01-28 22:16:51 +07:00
Faisal Salman
f761a89ab2 Fix #562 - Xiaomi Mi CC9 2022-01-13 00:35:56 +07:00
Faisal Salman
7ddb2575bd Fix #533: Detect Sony BRAVIA as SmartTV 2021-12-18 15:13:19 +07:00
Faisal Salman
23ad60ea68 Fix #559: Sony Xperia 1 III misidentified as Acer tablet 2021-12-18 01:31:40 +07:00
Kevin Pagtakhan
724e541735
Merge pull request #4 from amplitude/v0.7.26
v0.7.26
2021-11-29 16:53:14 -08:00
Kevin Pagtakhan
8e900df4cf v0.7.26 2021-11-29 15:23:07 -08:00
Marc Porciuncula
59cc613fc2
fix: remove for-in loop to prevent errors when Array has additional enumerable properties (#3) 2021-11-23 16:26:39 -08:00
Faisal Salman
97f3368ef0 Bump version 0.7.31 0.7.31 2021-10-27 14:00:19 +07:00
Faisal Salman
b86860e850
Merge pull request #546 from hansott/master
 Use AST to verify whether regexes are safe
2021-10-27 06:27:06 +07:00
Faisal Salman
157af1e2f2
Merge pull request #547 from sunny-mwx/patch-1
Fix enumerize loop to only check its own properties
2021-10-26 17:51:31 +07:00
Faisal Salman
b4cfe1b624
Merge pull request #535 from shimar/fix/534-oppo-reno5-a
Enable to detect OPPO Reno5 A correctly.
2021-10-26 17:25:47 +07:00
Faisal Salman
95fea1cb26
Merge pull request #543 from catboy1006/master
feat: require the use of `===` and `!==`
2021-10-26 17:24:11 +07:00
Hans Ott
30648cef1d Use AST to verify whether regexes are safe 2021-10-26 11:36:19 +02:00
sunny-mwx
10c978eca5
Update ua-parser.js 2021-10-26 17:35:34 +08:00
chenhui9279
fbd2c6853c feat: require the use of === and !== 2021-10-25 16:44:54 +08:00
Faisal Salman
29d5e43342 Securing the 1.x version (issue #536) 1.0.1 2021-10-22 23:25:44 +07:00
Faisal Salman
051aa5d284 Securing the 0.8.x version (issue #536) 0.8.1 2021-10-22 23:23:12 +07:00
Faisal Salman
139fbc321a Securing the 0.7.x version (issue #536) 0.7.30 2021-10-22 23:14:37 +07:00
Ryohei Shima
191fed9127 Enable to detect OPPO Reno5 A correctly. 2021-10-22 12:23:36 +09:00
Faisal Salman
8fe448fddf
Merge pull request #528 from jparismorgan/oculus
Add Oculus Quest and Oculus Quest 2, as well as another test for Oculus Browser
2021-10-06 11:14:42 +07:00
Paris Morgan
343d584f8f change to single line regex 2021-10-04 09:06:00 -07:00
Faisal Salman
ef54fd35d6
Merge pull request #526 from jparismorgan/sony
Add Sony Xperia 1ii
2021-09-24 00:22:42 +07:00
Paris Morgan
79535f5d61 cleanup 2021-09-21 15:40:47 -07:00
Paris Morgan
ee743946e8 cleanup 2021-09-21 15:40:04 -07:00
Paris Morgan
f57bd9523d Oculus devices 2021-09-21 15:31:02 -07:00
Paris Morgan
ffc03acd64 Add different oculus browser 2021-09-21 12:31:16 -07:00
Paris Morgan
b542df155a Sony Xperia 1ii 2021-09-21 11:01:28 -07:00
Paris Morgan
15aa73de40 Add Huawei models 2021-09-21 09:15:49 -07:00
Faisal Salman
336ce2b950 Improve regex efficiency when trimming long ua string
https://blog.stevenlevithan.com/archives/faster-trim-javascript
2021-09-17 23:24:42 +07:00
Faisal Salman
20a428c351
Merge pull request #523 from zidingz/patch-1
Create SECURITY.md
2021-09-16 23:09:07 +07:00
Ziding Zhang
47c310e203
Create SECURITY.md
A simple instruction for security researchers.
2021-09-16 16:11:51 +01:00
qingzhuozhen
5c745ccec1
Merge pull request #2 from amplitude/library-upgrade
Update library fork to latest
2021-09-07 14:12:20 -07:00
Qingzhuo Zhen
c8f4341419 upgrade build 2021-09-07 14:01:03 -07:00
Qingzhuo Zhen
adbac2be28 feat: read detail model for iphone, ipod, ipad if the model information exist 2021-09-07 12:16:23 -07:00
Qingzhuo Zhen
8e14332430 fix test 2021-09-01 18:09:23 -07:00
Qingzhuo Zhen
311e398d01 upgrade and resolve conflict 2021-09-01 17:32:26 -07:00
Faisal Salman
299283c436 Fix #506 - add test for Huawei ART-L29 2021-07-22 20:31:35 +07:00
Faisal Salman
39e8d4af03 Fix #500 Sharp devices misjudged as Huawei devices 2021-06-15 12:49:19 +07:00
Faisal Salman
03c915277a Add new OS: Android-x86, Deepin, elementary OS, GhostBSD, Linspire, Manjaro, Sabayon
User-Agent source: whatismybrowser.com
2021-04-24 23:07:18 +07:00
Faisal Salman
1e7b6d2e8b Improve device detection: LG Android TV 2021-04-24 21:50:18 +07:00
Faisal Salman
e5e13adc81 Improve CPU detection for ARM64 2021-04-24 21:15:16 +07:00
Faisal Salman
837042a3e8 Improve device detection: Huawei, Xiaomi, Realme, LG, OnePlus, ASUS, ZTE, Fairphone 2021-04-22 07:00:28 +07:00
Faisal Salman
7b3aa9fc15 ES3 compat-fix: remove trailing comma 2021-04-18 14:10:56 +07:00