Skip to content

Commit c0803e9

Browse files
committed
work
1 parent cc791b3 commit c0803e9

13 files changed

Lines changed: 8105 additions & 2168 deletions

File tree

File renamed without changes.

dist/build/build.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10517,19 +10517,6 @@ const determineCategory = (buildRelativeUrl) => {
1051710517
return "other";
1051810518
};
1051910519

10520-
// default runtimeCompat corresponds to
10521-
// "we can keep <script type="module"> intact":
10522-
// so script_type_module + dynamic_import + import_meta
10523-
const defaultRuntimeCompat = {
10524-
// android: "8",
10525-
chrome: "64",
10526-
edge: "79",
10527-
firefox: "67",
10528-
ios: "12",
10529-
opera: "51",
10530-
safari: "11.3",
10531-
samsung: "9.2",
10532-
};
1053310520
const logsDefault = {
1053410521
level: "info",
1053510522
animated: true,
@@ -13258,7 +13245,7 @@ entryPoints: {
1325813245
const entryPointDefaultParams = {
1325913246
buildRelativeUrl: undefined,
1326013247
mode: undefined,
13261-
runtimeCompat: defaultRuntimeCompat,
13248+
runtimeCompat: undefined,
1326213249
plugins: [],
1326313250
mappings: undefined,
1326413251
assetsDirectory: undefined,

dist/build/jsenv_core_packages.js

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6611,18 +6611,24 @@ const startMonitoringMemoryUsage = () => {
66116611
return result;
66126612
};
66136613

6614-
// default runtimeCompat corresponds to
6615-
// "we can keep <script type="module"> intact":
6616-
// so script_type_module + dynamic_import + import_meta
6614+
// The floor a browser project targets when it says nothing: high enough that
6615+
// the css jsenv and its components write is shipped as written — nesting,
6616+
// light-dark(), and the module features that keep <script type="module">,
6617+
// importmap and top-level await intact. light-dark() is the last gate to
6618+
// close, and Safari 17.5 is where it does, so it sets the line; the other
6619+
// runtimes are their releases of that same moment.
6620+
//
6621+
// Raising it further is a matter of moving that line, not of adding runtimes:
6622+
// a project needing a lower one declares "browserslist" in its package.json or
6623+
// passes runtimeCompat, and both dev and build read it.
66176624
const browserDefaultRuntimeCompat = {
6618-
// android: "8",
6619-
chrome: "64",
6620-
edge: "79",
6621-
firefox: "67",
6622-
ios_safari: "12",
6623-
opera: "51",
6624-
safari: "11.3",
6625-
samsung: "9.2",
6625+
chrome: "125",
6626+
edge: "125",
6627+
firefox: "126",
6628+
ios_safari: "17.5",
6629+
opera: "110",
6630+
safari: "17.5",
6631+
samsung: "25",
66266632
};
66276633

66286634
const nodeDefaultRuntimeCompat = {
@@ -7010,7 +7016,7 @@ const inferRuntimeCompatFromClosestPackage = async (
70107016
if (!browserslistQuery) {
70117017
return null;
70127018
}
7013-
const namespace = await import("./browserslist_index/browserslist_index.js");
7019+
const namespace = await import("./browserslist_index_1/browserslist_index2.js");
70147020
const browserslist = namespace.default;
70157021
const browserslistResult = browserslist(browserslistQuery);
70167022
const runtimeCompat = {};

dist/start_dev_server/browserslist_index/browserslist_index.js

Lines changed: 5805 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)