baseline-browser-mapping 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,14 +14,22 @@ The browser versions in this module come from two different sources:
14
14
 
15
15
  MDN `browser-compat-data` is an authoritative source of information for the browsers it contains. The release dates for the Baseline core browser set and the mapping of downstream browsers to Chromium versions should be considered accurate.
16
16
 
17
- Browser mappings from useragents.io are provided on a best effort basis. They assume that browser vendors are accurately stating the Chromium version they have implemented.
17
+ > **Note**
18
+ > At present, the selection criteria for core browser versions compatible with a given feature set is: the final version of each browser prior to the cut off date for that feature set. In the case of Widely Available, this is 30 months in the past and in the case of Baseline years, this is the end of the year specified. In future, when the `web-features` repository is data complete, it should be possible to determine if earlier browser versions support the specified feature set.
18
19
 
19
- > **TODO** Add details on how downstream mappings were created and are updated once script and action are in place and tested in @tonypconway 's fork.
20
+ Browser mappings from useragents.io are provided on a best effort basis. They assume that browser vendors are accurately stating the Chromium version they have implemented. The initial set of version mappings was derived from a bulk export in November 2024. This version was iterated over with a Regex match looking for a major Chrome version and a corresponding version of the browser in question, e.g.:
20
21
 
21
- Unfortunately, useragents.io does not have "first seen" dates prior to June 2020. However, these browsers' Baseline compatibility is determined by their Chromium version, so their release dates are more informative than critical.
22
+ `Mozilla/5.0 (Linux; U; Android 10; en-US; STK-L21 Build/HUAWEISTK-L21) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.8.2.1324 Mobile Safari/537.36`
22
23
 
23
- > **Note**
24
- > At present, the selection criteria for core browser versions compatible with a given feature set is: the final version of each browser prior to the cut off date for that feature set. In the case of Widely Available, this is 30 months in the past and in the case of Baseline years, this is the end of the year specified. In future, when the `web-features` repository is data complete, it should be possible to determine if earlier browser versions support the specified feature set.
24
+ Shows UC Browse Mobile 13.8 implementing Chromium 100, and:
25
+
26
+ `Mozilla/5.0 (Linux; arm_64; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.123 YaBrowser/24.10.2.123.00 SA/3 Mobile Safari/537.36`
27
+
28
+ Shows Yandex Browser Mobile 24.10 implementing Chromium 128. The Chromium version from this string is mapped to the main Chrome version from MDN `browser-compat-data`.
29
+
30
+ > **Note** Where possible, approximate release dates have been included based on useragents.io "first seen" data. However, useragents.io does not have "first seen" dates prior to June 2020. However, these browsers' Baseline compatibility is determined by their Chromium version, so their release dates are more informative than critical.
31
+
32
+ This data is updated on a daily basis using a [script](https://github.com/web-platform-dx/web-features/tree/main/scripts/refresh-downstream.ts) triggered by a GitHub [action](https://github.com/web-platform-dx/web-features/tree/main/.github/workflows/refresh_downstream.yml). Useragents.io provides a private API for this module which exposes the last 7 days of newly seen user agents for the currently tracked browsers. If a new major version of one of the tracked browsers is encountered with a Chromium version that meets or exceeds the previous latest version of that browser, it is added to the [src/data/downstream-browsers.json](src/data/downstream-browsers.json) file with the date it was first seen by useragents.io as its release date.
25
33
 
26
34
  ## Prerequisites
27
35
 
@@ -646,6 +646,12 @@
646
646
  "engine_version": "128",
647
647
  "status": "unknown",
648
648
  "release_date": "2024-10-11"
649
+ },
650
+ "24.12": {
651
+ "engine": "Blink",
652
+ "engine_version": "130",
653
+ "status": "unknown",
654
+ "release_date": "2024-11-30"
649
655
  }
650
656
  }
651
657
  },
@@ -971,6 +977,12 @@
971
977
  "engine_version": "100",
972
978
  "status": "unknown",
973
979
  "release_date": "2024-09-26"
980
+ },
981
+ "17.2": {
982
+ "engine": "Blink",
983
+ "engine_version": "100",
984
+ "status": "unknown",
985
+ "release_date": "2024-11-29"
974
986
  }
975
987
  }
976
988
  },
@@ -1452,8 +1464,15 @@
1452
1464
  "engine_version": "109",
1453
1465
  "status": "unknown",
1454
1466
  "release_date": "2024-10-24"
1467
+ },
1468
+ "15.7": {
1469
+ "engine": "Blink",
1470
+ "engine_version": "109",
1471
+ "status": "unknown",
1472
+ "release_date": "2024-12-03"
1455
1473
  }
1456
1474
  }
1457
1475
  }
1458
- }
1476
+ },
1477
+ "lastUpdated": "2024-12-05T11:57:59.043Z"
1459
1478
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseline-browser-mapping",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "A library for obtaining browser versions with their maximum supported Baseline feature set and Widely Available status.",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"