mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
FIX: new wechat desktop's unsafe regex
This commit is contained in:
parent
cd1bfd87c5
commit
1cfe34f517
@ -282,7 +282,7 @@
|
|||||||
/(comodo_dragon)\/([\w\.]+)/i // Comodo Dragon
|
/(comodo_dragon)\/([\w\.]+)/i // Comodo Dragon
|
||||||
], [[NAME, /_/g, ' '], VERSION], [
|
], [[NAME, /_/g, ' '], VERSION], [
|
||||||
|
|
||||||
/((?:windowswechat)? qbcore)\/([\w\.]+)(?:.+windowswechat)?/i, // WeChat Desktop for Windows Built-in Browser
|
/((?:windowswechat)? qbcore)\/([\w\.]+).*(?:windowswechat)?/i, // WeChat Desktop for Windows Built-in Browser
|
||||||
], [[NAME, 'WeChat(Win) Desktop'], VERSION], [
|
], [[NAME, 'WeChat(Win) Desktop'], VERSION], [
|
||||||
|
|
||||||
/(micromessenger)\/([\w\.]+)/i // WeChat
|
/(micromessenger)\/([\w\.]+)/i // WeChat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user