-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
250 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"title": "UAParser.js", | ||
"name": "ua-parser-js", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"author": "Faisal Salman <[email protected]> (http://faisalman.com)", | ||
"description": "Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment", | ||
"keywords": [ | ||
|
@@ -18,7 +18,8 @@ | |
"ua-parser-js", | ||
"browser-detection", | ||
"device-detection", | ||
"os-detection" | ||
"os-detection", | ||
"bot-detection" | ||
], | ||
"homepage": "https://github.com/faisalman/ua-parser-js", | ||
"contributors": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/////////////////////////////////////////////// | ||
/* Enums for UAParser.js v2.0.0-beta.2 | ||
/* Enums for UAParser.js v2.0.0-beta.3 | ||
https://github.com/faisalman/ua-parser-js | ||
Author: Faisal Salman <[email protected]> | ||
AGPLv3 License */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
// Source: /src/enums/ua-parser-enums.js | ||
|
||
/////////////////////////////////////////////// | ||
/* Enums for UAParser.js v2.0.0-beta.2 | ||
/* Enums for UAParser.js v2.0.0-beta.3 | ||
https://github.com/faisalman/ua-parser-js | ||
Author: Faisal Salman <[email protected]> | ||
AGPLv3 License */ | ||
|
@@ -54,7 +54,7 @@ const Browser = Object.freeze({ | |
FENNEC: 'Fennec', | ||
FLOCK: 'Flock', | ||
FLOW: 'Flow', | ||
GO: 'Go Browser', | ||
GO: 'GoBrowser', | ||
GOOGLE_SEARCH: 'GSA', | ||
HEYTAP: 'HeyTap', | ||
HUAWEI: 'Huawei Browser', | ||
|
@@ -108,6 +108,7 @@ const Browser = Object.freeze({ | |
PALEMOON: 'PaleMoon', | ||
PHANTOMJS: 'PhantomJS', | ||
PHOENIX: 'Phoenix', | ||
PICOBROWSER: 'Pico Browser', | ||
POLARIS: 'Polaris', | ||
PUFFIN: 'Puffin', | ||
QQ: 'QQBrowser', | ||
|
@@ -132,9 +133,9 @@ const Browser = Object.freeze({ | |
TESLA: 'Tesla', | ||
TIKTOK: 'TikTok', | ||
TIZEN: 'Tizen Browser', | ||
TWITTER: 'Twitter', | ||
UC: 'UCBrowser', | ||
UP: 'UP.Browser', | ||
VIERA: 'Viera', | ||
VIVALDI: 'Vivaldi', | ||
VIVO: 'Vivo Browser', | ||
W3M: 'w3m', | ||
|
@@ -143,11 +144,21 @@ const Browser = Object.freeze({ | |
WECHAT: 'WeChat', | ||
WEIBO: 'Weibo', | ||
WHALE: 'Whale', | ||
WOLVIC: 'Wolvic', | ||
YANDEX: 'Yandex' | ||
|
||
// TODO : test! | ||
}); | ||
|
||
const BrowserType = Object.freeze({ | ||
CRAWLER: 'crawler', | ||
CLI: 'cli', | ||
EMAIL: 'email', | ||
FETCHER: 'fetcher', | ||
INAPP: 'inapp', | ||
MODULE: 'module' | ||
}); | ||
|
||
const CPU = Object.freeze({ | ||
ARM : 'arm', | ||
ARM_64: 'arm64', | ||
|
@@ -175,7 +186,8 @@ const Device = Object.freeze({ | |
MOBILE: 'mobile', | ||
SMARTTV: 'smarttv', | ||
TABLET: 'tablet', | ||
WEARABLE: 'wearable' | ||
WEARABLE: 'wearable', | ||
XR: 'xr' | ||
}); | ||
|
||
const Vendor = Object.freeze({ | ||
|
@@ -345,7 +357,8 @@ const OS = Object.freeze({ | |
}); | ||
|
||
export { | ||
Browser, | ||
Browser, | ||
BrowserType, | ||
CPU, | ||
Device, | ||
Vendor, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/////////////////////////////////////////////// | ||
/* Extensions for UAParser.js v2.0.0-beta.2 | ||
/* Extensions for UAParser.js v2.0.0-beta.3 | ||
https://github.com/faisalman/ua-parser-js | ||
Author: Faisal Salman <[email protected]> | ||
AGPLv3 License */ | ||
|
Oops, something went wrong.