@jsenv/core 41.4.27 → 41.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/dist/build/build.js +1 -14
- package/dist/build/jsenv_core_packages.js +18 -12
- package/dist/start_dev_server/browserslist_index/browserslist_index.js +5805 -0
- package/dist/start_dev_server/jsenv_core_packages.js +2125 -2070
- package/dist/start_dev_server/start_dev_server.js +12 -19
- package/package.json +2 -2
- package/src/build/build.js +2 -2
- package/src/build/build_params.js +0 -13
- package/src/dev/start_dev_server.js +15 -5
- /package/dist/build/{browserslist_index/browserslist_index.js → browserslist_index_1/browserslist_index2.js} +0 -0
package/dist/build/build.js
CHANGED
|
@@ -10517,19 +10517,6 @@ const determineCategory = (buildRelativeUrl) => {
|
|
|
10517
10517
|
return "other";
|
|
10518
10518
|
};
|
|
10519
10519
|
|
|
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
|
-
};
|
|
10533
10520
|
const logsDefault = {
|
|
10534
10521
|
level: "info",
|
|
10535
10522
|
animated: true,
|
|
@@ -13258,7 +13245,7 @@ entryPoints: {
|
|
|
13258
13245
|
const entryPointDefaultParams = {
|
|
13259
13246
|
buildRelativeUrl: undefined,
|
|
13260
13247
|
mode: undefined,
|
|
13261
|
-
runtimeCompat:
|
|
13248
|
+
runtimeCompat: undefined,
|
|
13262
13249
|
plugins: [],
|
|
13263
13250
|
mappings: undefined,
|
|
13264
13251
|
assetsDirectory: undefined,
|
|
@@ -6611,18 +6611,24 @@ const startMonitoringMemoryUsage = () => {
|
|
|
6611
6611
|
return result;
|
|
6612
6612
|
};
|
|
6613
6613
|
|
|
6614
|
-
//
|
|
6615
|
-
//
|
|
6616
|
-
//
|
|
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.
|
|
6617
6624
|
const browserDefaultRuntimeCompat = {
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
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",
|
|
6626
6632
|
};
|
|
6627
6633
|
|
|
6628
6634
|
const nodeDefaultRuntimeCompat = {
|
|
@@ -7010,7 +7016,7 @@ const inferRuntimeCompatFromClosestPackage = async (
|
|
|
7010
7016
|
if (!browserslistQuery) {
|
|
7011
7017
|
return null;
|
|
7012
7018
|
}
|
|
7013
|
-
const namespace = await import("./
|
|
7019
|
+
const namespace = await import("./browserslist_index_1/browserslist_index2.js");
|
|
7014
7020
|
const browserslist = namespace.default;
|
|
7015
7021
|
const browserslistResult = browserslist(browserslistQuery);
|
|
7016
7022
|
const runtimeCompat = {};
|