jellyfin-vue icon indicating copy to clipboard operation
jellyfin-vue copied to clipboard

Use ua-parser-js to detect current platform

Open ThibaultNocchi opened this issue 3 years ago • 1 comments

We could use this plugin to detect which platform we are on and improve the profile detection for instance

https://www.npmjs.com/package/ua-parser-js

ThibaultNocchi avatar Sep 29 '21 10:09 ThibaultNocchi

If we use this everyone should note the existence of a recently found malware in specific versions. Popular NPM Library Hijacked to Install Password Stealers and Minters.

If someone were to use the version malicious version in this GH comment it might be an issue.

I scanned the package-lock.json and currently this project is using 0.7.28 so it doesn't look like an issue and a fix has been published so if anyone runs a npm i now it shouldn't be an issue either.

edrohler avatar Oct 25 '21 13:10 edrohler