-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update detect-browser method for Browser Meta Data in Client Logs #71
Comments
i think they offer two different things. my suggestion before was that we could probably just do our own |
Trying a couple of things here:
|
Anyone opposed to replacing detect-browser with logging the raw user agent?
|
Hey @Jyyjy that sounds fine and good. If you didn't want to introduce a breaking change (ie. removing detect-browser) we could create an option (something like |
How about adding the user-agent field to the logs, and marking the detect-browser field as deprecated? Assuming that's what we want in a future release. If it's important to have the option for a parsed browser field, then I think ua-parser-js is better than detect-browser because it parses all user agent fields. Also, shouldn't detect-browser as it is now be a dependency, not a devDependency? It's required for the package to run. |
current method is 'detect-browser'. Adds run-time dependencies (overhead).
explore more modern fingerprinting methods as alternative:
example of such a library:
fingerprintjs
The text was updated successfully, but these errors were encountered: