@jsenv/runtime-compat 1.4.26 → 1.4.28

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.28",
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
  };
@@ -65,6 +65,7 @@ export const featuresCompatMap = {
65
65
  samsung: "15",
66
66
  firefox: "108",
67
67
  safari: "16.4",
68
+ ios_safari: "16.4",
68
69
  },
69
70
  import_type_json: {
70
71
  chrome: "123",
@@ -91,6 +92,7 @@ export const featuresCompatMap = {
91
92
  safari: "4",
92
93
  ios_safari: "5",
93
94
  android: "4.4",
95
+ samsung: "4",
94
96
  },
95
97
  // https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker#browser_compatibility
96
98
  worker_type_module: {
@@ -108,6 +110,7 @@ export const featuresCompatMap = {
108
110
  opera: "27",
109
111
  ios_safari: "11.3",
110
112
  android: "12.12",
113
+ samsung: "4",
111
114
  },
112
115
  service_worker_type_module: {
113
116
  chrome: "80",
@@ -160,6 +163,7 @@ export const featuresCompatMap = {
160
163
  ios_safari: "9",
161
164
  android: "4",
162
165
  node: "4",
166
+ samsung: "4",
163
167
  },
164
168
  arrow_function: {
165
169
  chrome: "47",