Skip to content

Commit

Permalink
fix: extend User Agent client hints platform version windows 11 mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
fape authored and nielsbasjes committed Sep 19, 2024
1 parent 6f120f0 commit b00997a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ private static final class OSFields implements Serializable {
WINDOWS_VERSION_MAPPING.put("14", new OSFields("Windows NT", "11", "11", "Windows 11", "Windows 11"));
WINDOWS_VERSION_MAPPING.put("15", new OSFields("Windows NT", "11", "11", "Windows 11", "Windows 11"));
WINDOWS_VERSION_MAPPING.put("16", new OSFields("Windows NT", "11", "11", "Windows 11", "Windows 11"));
WINDOWS_VERSION_MAPPING.put("17", new OSFields("Windows NT", "11", "11", "Windows 11", "Windows 11"));
WINDOWS_VERSION_MAPPING.put("18", new OSFields("Windows NT", "11", "11", "Windows 11", "Windows 11"));
WINDOWS_VERSION_MAPPING.put("19", new OSFields("Windows NT", "11", "11", "Windows 11", "Windows 11"));
}

public MutableUserAgent merge(AnalyzerConfigHolder config, MutableUserAgent userAgent, ClientHints clientHints) {
Expand Down

0 comments on commit b00997a

Please sign in to comment.