From cfc01470b5c4afdb10c32349664d10ca5e828599 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Thu, 19 Oct 2023 23:21:33 +0700 Subject: [PATCH] Update enums --- src/enums/ua-parser-enums.js | 146 +++++++++++++++++++++++++++++++---- 1 file changed, 130 insertions(+), 16 deletions(-) diff --git a/src/enums/ua-parser-enums.js b/src/enums/ua-parser-enums.js index 8d6db207f..111e3f1a4 100644 --- a/src/enums/ua-parser-enums.js +++ b/src/enums/ua-parser-enums.js @@ -8,28 +8,137 @@ /*jshint esversion: 6 */ const Browser = Object.freeze({ + _2345_EXPLORER: '2345Explorer', + _360: '360 Browser', + ALIPAY: 'Alipay', + AMAYA: 'Amaya', ANDROID: 'Android Browser', + ARORA: 'Arora', + AVANT: 'Avant', + AVAST: 'Avast Secure Browser', + AVG: 'AVG Secure Browser', + BAIDU: 'Baidu Browser', + BASILISK: 'Basilisk', + BLAZER: 'Blazer', + BOLT: 'Bolt', + BOWSER: 'Bowser', BRAVE: 'Brave', + CAMINO: 'Camino', + CHIMERA: 'Chimera', CHROME: 'Chrome', + CHROME_HEADLESS: 'Chrome Headless', + CHROME_MOBILE: 'Mobile Chrome', + CHROME_WEBVIEW: 'Chrome WebView', CHROMIUM: 'Chromium', + COBALT: 'Cobalt', + COC_COC: 'Coc Coc', + COMODO_DRAGON: 'Comodo Dragon', + CONKEROR: 'Conkeror', + DILLO: 'Dillo', DOLPHIN: 'Dolphin', + DORIS: 'Doris', DUCKDUCKGO: 'DuckDuckGo', EDGE: 'Edge', + EPIPHANY: 'Epiphany', + FACEBOOK: 'Facebook', + FALKON: 'Falkon', + FIREBIRD: 'Firebird', FIREFOX: 'Firefox', - FOCUS: 'Focus', + FIREFOX_FOCUS: 'Firefox Focus', + FIREFOX_MOBILE: 'Mobile Firefox', + FIREFOX_REALITY: 'Firefox Reality', + FENNEC: 'Fennec', + FLOCK: 'Flock', + FLOW: 'Flow', + GO: 'Go Browser', + GOOGLE_SEARCH: 'GSA', + HEYTAP: 'HeyTap', + HUAWEI: 'Huawei Browser', + ICAB: 'iCab', + ICE: 'ICE Browser', + ICEAPE: 'IceApe', + ICECAT: 'IceCat', + ICEDRAGON: 'IceDragon', + ICEWEASEL: 'IceWeasel', IE: 'IE', + INSTAGRAM: 'Instagram', + IRIDIUM: 'Iridium', + IRON: 'Iron', + JASMINE: 'Jasmine', KONQUEROR: 'Konqueror', - MOBILE_CHROME: 'Mobile Chrome', - MOBILE_FIREFOX: 'Mobile Firefox', - MOBILE_SAFARI: 'Mobile Safari', + KAKAO: 'KakaoTalk', + KHTML: 'KHTML', + K_MELEON: 'K-Meleon', + KLAR: 'Klar', + KLARNA: 'Klarna', + KINDLE: 'Kindle', + LENOVO: 'Smart Lenovo Browser', + LIEBAO: 'LBBROWSER', + LINE: 'Line', + LINKEDIN: 'LinkedIn', + LINKS: 'Links', + LUNASCAPE: 'Lunascape', + LYNX: 'Lynx', + MAEMO: 'Maemo Browser', + MAXTHON: 'Maxthon', + MIDORI: 'Midori', + MINIMO: 'Minimo', + MIUI: 'MIUI Browser', + MOZILLA: 'Mozilla', + MOSAIC: 'Mosaic', + NAVER: 'Naver', + NETFRONT: 'NetFront', + NETSCAPE: 'Netscape', + NETSURF: 'Netsurf', + NOKIA: 'Nokia Browser', + OBIGO: 'Obigo', + OCULUS: 'Oculus Browser', + OMNIWEB: 'OmniWeb', OPERA: 'Opera', + OPERA_COAST: 'Opera Coast', + OPERA_MINI: 'Opera Mini', + OPERA_MOBI: 'Opera Mobi', + OPERA_TABLET: 'Opera Tablet', + OPERA_TOUCH: 'Opera Touch', + OVI: 'OviBrowser', PALEMOON: 'PaleMoon', + PHANTOMJS: 'PhantomJS', + PHOENIX: 'Phoenix', + POLARIS: 'Polaris', PUFFIN: 'Puffin', - QQ: 'QQ Browser', + QQ: 'QQBrowser', + QQ_LITE: 'QQBrowserLite', + QUARK: 'Quark', + QUPZILLA: 'QupZilla', + REKONQ: 'rekonq', + ROCKMELT: 'Rockmelt', SAFARI: 'Safari', + SAFARI_MOBILE: 'Mobile Safari', + SAILFISH: 'Sailfish Browser', SAMSUNG: 'Samsung Internet', - UC: 'UC Browser', + SEAMONKEY: 'SeaMonkey', + SILK: 'Silk', + SKYFIRE: 'Skyfire', + SLEIPNIR: 'Sleipnir', + SLIMBROWSER: 'SlimBrowser', + SNAPCHAT: 'Snapchat', + SOGOU_EXPLORER: 'Sogou Explorer', + SOGOU_MOBILE: 'Sogou Mobile', + SWIFTFOX: 'Swiftfox', + TESLA: 'Tesla', + TIKTOK: 'TikTok', + TIZEN: 'Tizen Browser', + UC: 'UCBrowser', + UP: 'UP.Browser', + VIERA: 'Viera', VIVALDI: 'Vivaldi', + VIVO: 'Vivo Browser', + W3M: 'w3m', + WATERFOX: 'Waterfox', + WEBKIT: 'WebKit', + WECHAT: 'WeChat', + WEIBO: 'Weibo', + WHALE: 'Whale', YANDEX: 'Yandex' // TODO : test! @@ -37,25 +146,27 @@ const Browser = Object.freeze({ const CPU = Object.freeze({ ARM : 'arm', - ARM64: 'arm64', - ARMHF: 'armhf', + ARM_64: 'arm64', + ARM_HF: 'armhf', AVR: 'avr', + AVR_32: 'avr32', IA64: 'ia64', IRIX: 'irix', - IRIX64: 'irix64', + IRIX_64: 'irix64', MIPS: 'mips', - MIPS64: 'mips64', - MOTO_68K: '68k', + MIPS_64: 'mips64', + M68K: '68k', + PA_RISC: 'pa-risc', PPC: 'ppc', SPARC: 'sparc', - SPARC64: 'sparc64', + SPARC_64: 'sparc64', X86: 'ia32', X86_64: 'amd64' }); const Device = Object.freeze({ CONSOLE: 'console', - DEKSTOP: 'desktop', + DESKTOP: 'desktop', EMBEDDED: 'embedded', MOBILE: 'mobile', SMARTTV: 'smarttv', @@ -110,6 +221,7 @@ const Vendor = Object.freeze({ SIEMENS: 'Siemens', SONY: 'Sony', SPRINT: 'Sprint', + TECHNISAT: 'TechniSAT', TECNO: 'Tecno', TESLA: 'Tesla', ULEFONE: 'Ulefone', @@ -155,14 +267,15 @@ const OS = Object.freeze({ BLACKBERRY: 'BlackBerry', CENTOS: 'CentOS', CHROME_OS: 'Chrome OS', + CHROMECAST: 'Chromecast', CONTIKI: 'Contiki', - FEDORA: 'Fedora', - FIREFOX_OS: 'Firefox OS', - FREEBSD: 'FreeBSD', DEBIAN: 'Debian', DEEPIN: 'Deepin', DRAGONFLY: 'DragonFly', ELEMENTARY_OS: 'elementary OS', + FEDORA: 'Fedora', + FIREFOX_OS: 'Firefox OS', + FREEBSD: 'FreeBSD', FUCHSIA: 'Fuchsia', GENTOO: 'Gentoo', GHOSTBSD: 'GhostBSD', @@ -221,6 +334,7 @@ const OS = Object.freeze({ WINDOWS: 'Windows', WINDOWS_MOBILE: 'Windows Mobile', WINDOWS_PHONE: 'Windows Phone', + XBOX: 'Xbox', ZENWALK: 'Zenwalk' // TODO : test!