mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Add OS/2, Plan 9, AIX, QNX
This commit is contained in:
parent
8030aa33f7
commit
3fe07487cd
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"title": "UA-Parser.JS",
|
"title": "UA-Parser.JS",
|
||||||
"name": "ua-parser-js",
|
"name": "ua-parser-js",
|
||||||
"version": "0.4.7",
|
"version": "0.4.8",
|
||||||
"author": "Faisal Salman <fyzlman@gmail.com> (http://faisalman.com)",
|
"author": "Faisal Salman <fyzlman@gmail.com> (http://faisalman.com)",
|
||||||
"description": "Lightweight JavaScript-based user-agent string parser",
|
"description": "Lightweight JavaScript-based user-agent string parser",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// UA-Parser.JS v0.4.7
|
// UA-Parser.JS v0.4.8
|
||||||
// Lightweight JavaScript-based User-Agent string parser
|
// Lightweight JavaScript-based User-Agent string parser
|
||||||
// https://github.com/faisalman/ua-parser-js
|
// https://github.com/faisalman/ua-parser-js
|
||||||
//
|
//
|
||||||
@ -301,7 +301,10 @@
|
|||||||
|
|
||||||
// Other
|
// Other
|
||||||
/(haiku)\s(\w+)/i, // Haiku
|
/(haiku)\s(\w+)/i, // Haiku
|
||||||
/(macintosh|mac(?=_powerpc)|unix|minix|beos)[\/\s]?()*/i // UNIX/Minix/BeOS
|
/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i, // AIX
|
||||||
|
/(macintosh|mac(?=_powerpc)|plan\s9|minix|beos|qnx|os\/2)[\/\s]?()*/i,
|
||||||
|
// Plan9/Minix/BeOS/QNX/OS2
|
||||||
|
/(unix)\s?([\w\.]+)*/i // UNIX
|
||||||
], ['name', 'version']
|
], ['name', 'version']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user