mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Fix #430 Playstation 5
This commit is contained in:
parent
e402a6a55c
commit
d1ba5f5914
@ -488,7 +488,7 @@
|
|||||||
/android.+;\s(shield)\sbuild/i // Nvidia
|
/android.+;\s(shield)\sbuild/i // Nvidia
|
||||||
], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [
|
], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [
|
||||||
|
|
||||||
/(playstation\s[34portablevi]+)/i // Playstation
|
/(playstation\s[345portablevi]+)/i // Playstation
|
||||||
], [MODEL, [VENDOR, 'Sony'], [TYPE, CONSOLE]], [
|
], [MODEL, [VENDOR, 'Sony'], [TYPE, CONSOLE]], [
|
||||||
|
|
||||||
/(sprint\s(\w+))/i // Sprint Phones
|
/(sprint\s(\w+))/i // Sprint Phones
|
||||||
@ -761,7 +761,7 @@
|
|||||||
], [VERSION, [NAME, 'Chromecast']], [
|
], [VERSION, [NAME, 'Chromecast']], [
|
||||||
|
|
||||||
// Console
|
// Console
|
||||||
/(nintendo|playstation)\s([wids34portablevuch]+)/i, // Nintendo/Playstation
|
/(nintendo|playstation)\s([wids345portablevuch]+)/i, // Nintendo/Playstation
|
||||||
|
|
||||||
// GNU/Linux based
|
// GNU/Linux based
|
||||||
/(mint)[\/\s\(]?(\w*)/i, // Mint
|
/(mint)[\/\s\(]?(\w*)/i, // Mint
|
||||||
|
@ -774,6 +774,15 @@
|
|||||||
"type": "console"
|
"type": "console"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"desc": "PlayStation 5",
|
||||||
|
"ua": "Mozilla/5.0 (Playstation; Playstation 5/1.05) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15",
|
||||||
|
"expect": {
|
||||||
|
"vendor": "Sony",
|
||||||
|
"model": "Playstation 5",
|
||||||
|
"type": "console"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"desc": "Nintendo Switch",
|
"desc": "Nintendo Switch",
|
||||||
"ua": "Mozilla/5.0 (Nintendo Switch; WifiWebAuthApplet) AppleWebKit/606.4 (KHTML, like Gecko) NF/6.0.1.15.4 NintendoBrowser/5.1.0.20393",
|
"ua": "Mozilla/5.0 (Nintendo Switch; WifiWebAuthApplet) AppleWebKit/606.4 (KHTML, like Gecko) NF/6.0.1.15.4 NintendoBrowser/5.1.0.20393",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user