device-detector-js
device-detector-js copied to clipboard
A precise user agent parser and device detector written in TypeScript
Version parse result incorrect, when the Minor_Version_Number is 0. Like picture below: Expect: ![detector bug 2](https://user-images.githubusercontent.com/1563970/182991302-b686c9a7-63bc-4095-bf4b-b67508995aec.png)
Hi, Are there any plans to make an upgrade to support Device Detector 6? I have tried to update fixtures only but tests return about 12k errors.
Tested on : https://lx3rzx16x9.codesandbox.io/
It's would be a great move to update this lib to the latest version of matomo-org/device-detector (v4.3.1). This should fix issues: - #129 (v4.3.1) - #114 (v4.1.0) - #109 (v4.1.0)...
⚠️ Missing/incorrect detections should be reported at https://github.com/matomo-org/device-detector/issues instead of this repo. Or not ? https://github.com/matomo-org/device-detector/issues/6896 Tested with demo link : https://lx3rzx16x9.codesandbox.io/
⚠️ Missing/incorrect detections should be reported at https://github.com/matomo-org/device-detector/issues instead of this repo. For example this user-agent Mozilla/5.0 (Linux; Android 10; Chromecast Build/QTS1.210311.008; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.120 Mobile...
Discussion: https://github.com/etienne-martin/device-detector-js/issues/50 Evaluate the use of [debug](https://www.npmjs.com/package/debug) to implement debug logs. Cases with try/catch: https://github.com/etienne-martin/device-detector-js/blob/51d226fa453df1906772d80e1fb6c68b074904b0/src/parsers/client/browser.ts#L103 https://github.com/etienne-martin/device-detector-js/blob/53ebe70e4180f2d2d0cd54efcc7197837023b07f/src/utils/user-agent.ts#L24
DeviceDetector is declared with `export = DeviceDetector;` and no default export is specified. Our project was configured without 'allowSyntheticDefaultImports'. With this configuration: 1. an IDE like webstorm will automatically import...