@jsenv/core 30.2.0 → 30.3.0
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/controllable_child_process.mjs +1 -1
- package/dist/controllable_worker_thread.mjs +1 -1
- package/dist/js/execute_using_dynamic_import.js +2 -2
- package/dist/js/v8_coverage.js +4 -4
- package/dist/main.js +240 -91
- package/package.json +3 -3
- package/src/build/build.js +141 -44
- package/src/build/{inject_global_version_mappings.js → version_mappings_injection.js} +44 -33
- package/src/dev/file_service.js +12 -4
- package/src/kitchen/compat/features_compatibility.js +59 -0
- package/src/kitchen/kitchen.js +5 -1
- package/src/plugins/transpilation/as_js_classic/jsenv_plugin_as_js_classic_html.js +13 -22
- package/src/plugins/transpilation/jsenv_plugin_import_meta_resolve.js +1 -5
- package/src/plugins/transpilation/jsenv_plugin_top_level_await.js +1 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parentPort } from "node:worker_threads";
|
|
2
|
-
import {
|
|
2
|
+
import { uneval, executeUsingDynamicImport } from "./js/execute_using_dynamic_import.js";
|
|
3
3
|
import "node:fs";
|
|
4
4
|
import "node:inspector";
|
|
5
5
|
import "node:perf_hooks";
|
|
@@ -813,7 +813,7 @@ const executeUsingDynamicImport = async ({
|
|
|
813
813
|
if (coverageEnabled && coverageMethodForNodeJs === "Profiler") {
|
|
814
814
|
const {
|
|
815
815
|
filterV8Coverage
|
|
816
|
-
} = await import("./v8_coverage.js").then(
|
|
816
|
+
} = await import("./v8_coverage.js").then(n => n.v8_coverage);
|
|
817
817
|
const {
|
|
818
818
|
stopJsCoverage
|
|
819
819
|
} = await startJsCoverage();
|
|
@@ -847,4 +847,4 @@ const executeUsingDynamicImport = async ({
|
|
|
847
847
|
return result;
|
|
848
848
|
};
|
|
849
849
|
|
|
850
|
-
export { executeUsingDynamicImport
|
|
850
|
+
export { executeUsingDynamicImport, uneval };
|
package/dist/js/v8_coverage.js
CHANGED
|
@@ -469,9 +469,9 @@ const filterV8Coverage = async (v8Coverage, {
|
|
|
469
469
|
return v8CoverageFiltered;
|
|
470
470
|
};
|
|
471
471
|
|
|
472
|
-
|
|
472
|
+
const v8_coverage = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
473
473
|
__proto__: null,
|
|
474
|
-
filterV8Coverage
|
|
475
|
-
});
|
|
474
|
+
filterV8Coverage
|
|
475
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
476
476
|
|
|
477
|
-
export { URL_META
|
|
477
|
+
export { URL_META, filterV8Coverage, v8_coverage };
|