This PR improves the detection of Quark browser. Currently, the library may not accurately identify Quark browser user agents. This change adds specific regex patterns for Quark browser and updates the browser detection logic to handle Quark user agents correctly. This improvement is necessary to ensure accurate browser identification for users.
Test
Added a new test case in the test/specs/browser-all.json file specifically for Quark browser:
Ran the full test suite to ensure that the new Quark browser detection works correctly and doesn't introduce any regressions in existing functionality.
Manually tested the parser with various Quark browser user agent strings to confirm accurate detection.
Verified that the parser correctly identifies the Quark browser name, full version, and major version as specified in the test case.
Impact
This PR does not introduce any breaking changes. Existing users of UAParser.js should not need to make any changes to their code. The improvement simply enhances the library's ability to detect Quark browsers accurately.
Hi @lj0812 thanks for the PR, can you remove the build result files from the commit, and only include the relevant source files for a clear diff: ua-parser.js & browser-all.json
Prerequisites
Type of Change
Description
This PR improves the detection of Quark browser. Currently, the library may not accurately identify Quark browser user agents. This change adds specific regex patterns for Quark browser and updates the browser detection logic to handle Quark user agents correctly. This improvement is necessary to ensure accurate browser identification for users.
Test
test/specs/browser-all.json
file specifically for Quark browser:Impact
This PR does not introduce any breaking changes. Existing users of UAParser.js should not need to make any changes to their code. The improvement simply enhances the library's ability to detect Quark browsers accurately.
Other Info
N/A