-
Notifications
You must be signed in to change notification settings - Fork 140
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
Microsoft Vista os not parsed correctly #120
Comments
This is because of an upstream change: ua-parser/uap-core#286 @3rd-Eden Would you be willing to approve a PR that removes adding minor and patch values that are |
The changes in the regexps were intentional so it seems useragent needs to update its logic. I wonder how to best handle that. If a browser represents the OS as, for example, macOS 10.13.0 then the Shouldn't useragent stop filling in non-provided fields with zeros? This would invalidate the following test: Lines 72 to 85 in c92567b
This issue is a blocker for Karma as I understand. |
@3rd-Eden could you weigh in if such a change would be accepted? |
Ping @3rd-Eden |
I see that current output of:
is:
OperatingSystem { family: 'Windows', major: 'Vista', minor: '0', patch: '0' }
Some time ago it was:
OperatingSystem { family: 'Windows Vista', major: '0', minor: '0', patch: '0' }
This cause errors in karma build:
https://ci.appveyor.com/project/dignifiedquire/karma/build/1628/job/1a6b81i60l6wh52f
After some investigation I found that it seems to be related with this commit:
0e28927
The text was updated successfully, but these errors were encountered: