mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 22:52:16 +03:00
BREAKING CHANGE - Add new property to browser: type
This commit is contained in:
@@ -144,6 +144,14 @@ const Browser = Object.freeze({
|
||||
// TODO : test!
|
||||
});
|
||||
|
||||
const BrowserType = Object.freeze({
|
||||
BOT: 'bot',
|
||||
CLI: 'cli',
|
||||
EMAIL: 'email',
|
||||
INAPP: 'inapp',
|
||||
MODULE: 'module'
|
||||
});
|
||||
|
||||
const CPU = Object.freeze({
|
||||
ARM : 'arm',
|
||||
ARM_64: 'arm64',
|
||||
@@ -341,7 +349,8 @@ const OS = Object.freeze({
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
Browser,
|
||||
Browser,
|
||||
BrowserType,
|
||||
CPU,
|
||||
Device,
|
||||
Vendor,
|
||||
|
||||
Reference in New Issue
Block a user