@jsenv/runtime-compat 1.4.26 → 1.4.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/runtime-compat",
3
- "version": "1.4.26",
3
+ "version": "1.4.27",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,13 +1,19 @@
1
- // default runtimeCompat corresponds to
2
- // "we can keep <script type="module"> intact":
3
- // so script_type_module + dynamic_import + import_meta
1
+ // The floor a browser project targets when it says nothing: high enough that
2
+ // the css jsenv and its components write is shipped as written — nesting,
3
+ // light-dark(), and the module features that keep <script type="module">,
4
+ // importmap and top-level await intact. light-dark() is the last gate to
5
+ // close, and Safari 17.5 is where it does, so it sets the line; the other
6
+ // runtimes are their releases of that same moment.
7
+ //
8
+ // Raising it further is a matter of moving that line, not of adding runtimes:
9
+ // a project needing a lower one declares "browserslist" in its package.json or
10
+ // passes runtimeCompat, and both dev and build read it.
4
11
  export const browserDefaultRuntimeCompat = {
5
- // android: "8",
6
- chrome: "64",
7
- edge: "79",
8
- firefox: "67",
9
- ios_safari: "12",
10
- opera: "51",
11
- safari: "11.3",
12
- samsung: "9.2",
12
+ chrome: "125",
13
+ edge: "125",
14
+ firefox: "126",
15
+ ios_safari: "17.5",
16
+ opera: "110",
17
+ safari: "17.5",
18
+ samsung: "25",
13
19
  };