bestiejs / platform.js

A platform detection library.
https://mths.be/platform
MIT License
3.22k stars 408 forks source link

unparsed firefox 58 user agent #150

Closed thewizarodofoz closed 4 years ago

thewizarodofoz commented 6 years ago

Given this user agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 TO-Browser/TOB7.58.0.109_04

platform.detect yields:

{
  "description": "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 TO-Browser/TOB7.58.0.109_04",
  "layout": "Gecko",
  "manufacturer": null,
  "name": null,
  "prerelease": null,
  "product": null,
  "ua": "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 TO-Browser/TOB7.58.0.109_04",
  "version": null,
  "os": {
    "architecture": 64,
    "family": "Windows",
    "version": "10"
  }
}

According to other parsers it is FireFox version 58.