Skip to content

Commit

Permalink
Pr device info88 (#135)
Browse files Browse the repository at this point in the history
* feat: set next version 2.0.12
* Detect new brands: HeadWolf, Great Asia, Zamolxe, ZoomSmart and Detect devices for exist brands (matomo-org#7349)
feat(device) detect new brand HeadWolf: HPad2
feat(device) detect brand UMIDIGI: A13 Pro 5G (MP03), A13 Pro Max 5G (MP04), G1 (MP08)
feat(device) detect brand Xiaomi: Redmi Note 11R 5G (22095RA98C)
feat(device) detect brand Vivo: Y01A (V2166)
feat(device) detect brand Lava: Iris 88 Go, Iris 88 Lite
feat(device) detect brand Iris: IS6 Plus, IS3 Plus
feat(device) detect brand iVooMi: i2 Lite, i2
feat(device) detect brand Hisense: Hi 1 Pro
feat(device) detect brand Ulefone: Note 6
feat(device) detect brand CUBOT: Note 9
feat(device) detect brand NOGA: NOGAPAD 7G
feat(device) detect brand Digma: Optima Prime 4 3G (TT7174PG), Optima Prime 3 3G (TS7131MG)
feat(device) detect new brand Great Asia: E101GCM
feat(device) detect new brand Zamolxe: ZXT-10HL323S, ZXT-10FL323G-PRO
feat(device) detect new brand ZoomSmart: LT600T
feat(device) detect brand Zebra: MC2200, MC93
feat(device) detect brand Konrow: Sky 55
feat(device) detect brand ZTE: Blade A711 (N939Sc)
feat(device) detect brand Yu: Yureka Black
feat(device) detect brand BMXC: M863
feat(device) detect brand Lenovo: Tab V7 (PB-6505Y)
feat(device) detect brand Technopc: UltraPad UP10S36LA
feat(device) detect brand REGAL: TAB 10.1
feat(device) detect brand Redway: 7 Pro

* chore: update device and client indexes
* chore: update readme
  • Loading branch information
sanchezzzhak authored Feb 14, 2023
1 parent 55c0c27 commit 61c23d6
Show file tree
Hide file tree
Showing 9 changed files with 1,284 additions and 229 deletions.
408 changes: 207 additions & 201 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-device-detector",
"version": "2.0.11",
"version": "2.0.12",
"description": "Nodejs device detector (port matomo-org/device-detector)",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions parser/device/brand-short.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ module.exports = {
'GR': 'Gradiente',
'GP': 'Grape',
'G6': 'Gree',
'GRA': 'Great Asia',
'3G': 'Greentel',
'GF': 'Gretel',
'82': 'Gresso',
Expand All @@ -520,6 +521,7 @@ module.exports = {
'HQ': 'HERO',
'ZH': 'Hezire',
'HEX': 'HexaByte',
'HEW': 'HeadWolf',
'HL': 'Hi-Level',
'3H': 'Hi',
'HIB': 'Hiberg',
Expand Down Expand Up @@ -1543,6 +1545,7 @@ module.exports = {
'YX': 'Yxtel',
'0Z': 'Zatec',
'2Z': 'Zaith',
'ZAM': 'Zamolxe',
'ZEA': 'Zealot',
'PZ': 'Zebra',
'ZE': 'Zeemi',
Expand All @@ -1559,6 +1562,7 @@ module.exports = {
'ZO': 'Zonda',
'ZW': 'Zonko',
'ZP': 'Zopo',
'ZOO': 'ZoomSmart',
'ZT': 'ZTE',
'ZU': 'Zuum',
'ZY': 'Zync',
Expand Down
99 changes: 99 additions & 0 deletions regexes/device-index-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,10 @@ vormor-x5-pro:
- Vormor
smart_slim_plus:
- ATOL
mc2200:
- Zebra
mc93:
- Zebra
sm-f721u:
- Samsung
note 13p:
Expand Down Expand Up @@ -951,6 +955,8 @@ redmi note 11t pro:
- Xiaomi
redmi note 9 4g:
- Xiaomi
22095ra98c:
- Xiaomi
gi-626:
- altron
5039d_ru:
Expand Down Expand Up @@ -32404,6 +32410,67 @@ sm-a236u1:
- Samsung
miwang m2s:
- MIWANG
ihunt note ultra:
- iHunt
mp03:
- UMIDIGI
mp04:
- UMIDIGI
mp08:
- UMIDIGI
v2166:
- Vivo
itel s11x:
- iTel
itel s11xb:
- iTel
is6plus:
- Iris
is3plus:
- Iris
iris88_lite:
- Lava
iris88_go:
- Lava
iris88s:
- Lava
iris88:
- Lava
iris65:
- Lava
iris42:
- Lava
iris 50 pro:
- Lava
iris 31:
- Lava
i2_lite:
- iVooMi
i2:
- iVooMi
hisense hi 1 pro:
- Hisense
note 6:
- Ulefone
note 9:
- CUBOT
lt600t:
- ZoomSmart
- Sony
primo f10:
- Walton
primo nf5:
- Walton
sky55_eea:
- Konrow
zte n939sc:
- ZTE
yu yureka black:
- Yu
nokia c5 endi:
- Nokia
nokia c2 tennen:
- Nokia
y9plus:
- Doogee
doro 8030/8031/8028:
Expand Down Expand Up @@ -48016,6 +48083,38 @@ v tab z1 a:
- Vestel
rubenstab_t11:
- Frunsi
hpad2:
- HeadWolf
sm-x205c:
- Samsung
nogapad 7g:
- NOGA
optima prime 4 3g tt7174pg:
- Digma
optima_prime_3_3g_ts7131mg:
- Digma
m40air_row:
- Teclast
pritom_m10:
- Pritom
m863-eea:
- BMXC
pb-6505y:
- Lenovo
zxt-10hl323s:
- Zamolxe
zxt-10fl323g-pro:
- Zamolxe
ultrapad_up10.s36la:
- Technopc
regal tab 10.1:
- REGAL
redway7_pro:
- Redway
lifetab e1080x:
- Medion
e101gcm:
- Great Asia
senkatel_t1009:
- Senkatel
senkatel_t7011:
Expand Down
118 changes: 91 additions & 27 deletions regexes/device/mobiles.yml

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions tests/fixtures/devices/peripheral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -966,3 +966,39 @@
model: Smart Slim Plus
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; MC2200) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.92
engine: Blink
engine_version: 96.0.4664.92
device:
type: peripheral
brand: Zebra
model: MC2200
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; MC93) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.78 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 102.0.5005.78
engine: Blink
engine_version: 102.0.5005.78
device:
type: peripheral
brand: Zebra
model: MC93
os_family: Android
browser_family: Chrome
18 changes: 18 additions & 0 deletions tests/fixtures/devices/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -753,3 +753,21 @@
model: Redmi Note 9
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; Android 12; 22095RA98C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 109.0.0.0
engine: Blink
engine_version: 109.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 11R 5G
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 61c23d6

Please sign in to comment.