Library version
2.0.10
Describe the bug
Apple Safari 26.5 on macOS 26.5 (Apple MacBook Pro M3) does not detect CPU architecture (undefined instead of arm64) and OS version is incorrect (10.15.7 instead of 26.5):
{
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15",
"browser": {
"name": "Safari",
"version": "26.5",
"major": "26"
},
"cpu": {},
"device": {
"model": "Macintosh",
"vendor": "Apple"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "macOS",
"version": "10.15.7"
}
}
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://uaparser.dev/' using Safari browser v26.5
- Go to 'Demo' section
Expected behavior
{
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15",
"browser": {
"name": "Safari",
"version": "26.5",
"major": "26"
},
"cpu": {
"architecture": "arm64",
},
"device": {
"model": "Macintosh",
"vendor": "Apple"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "macOS",
"version": "26.5.0"
}
}
Desktop (please complete the following information):
- OS: macOS
- Browser: Safari v26.5
- Version: 26.5
Additional info:
Google Chrome or Microsoft Edge works as expected.
Library version
2.0.10
Describe the bug
Apple Safari 26.5 on macOS 26.5 (Apple MacBook Pro M3) does not detect CPU architecture (undefined instead of arm64) and OS version is incorrect (10.15.7 instead of 26.5):
{
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15",
"browser": {
"name": "Safari",
"version": "26.5",
"major": "26"
},
"cpu": {},
"device": {
"model": "Macintosh",
"vendor": "Apple"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "macOS",
"version": "10.15.7"
}
}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
{
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15",
"browser": {
"name": "Safari",
"version": "26.5",
"major": "26"
},
"cpu": {
"architecture": "arm64",
},
"device": {
"model": "Macintosh",
"vendor": "Apple"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "macOS",
"version": "26.5.0"
}
}
Desktop (please complete the following information):
Additional info:
Google Chrome or Microsoft Edge works as expected.