@jsenv/test 1.4.1 → 1.5.1
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.
|
@@ -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";
|
|
@@ -927,7 +927,7 @@ const executeUsingDynamicImport = async ({
|
|
|
927
927
|
const result = {};
|
|
928
928
|
const afterImportCallbacks = [];
|
|
929
929
|
if (coverageEnabled && coverageMethodForNodeJs === "Profiler") {
|
|
930
|
-
const { filterV8Coverage } = await import("./v8_coverage.js").then(n => n.
|
|
930
|
+
const { filterV8Coverage } = await import("./v8_coverage.js").then(n => n.v8_coverage);
|
|
931
931
|
const { stopJsCoverage } = await startJsCoverage();
|
|
932
932
|
afterImportCallbacks.push(async () => {
|
|
933
933
|
const coverage = await stopJsCoverage();
|
|
@@ -964,4 +964,4 @@ const executeUsingDynamicImport = async ({
|
|
|
964
964
|
return result;
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
export { executeUsingDynamicImport
|
|
967
|
+
export { executeUsingDynamicImport, uneval };
|
package/dist/js/v8_coverage.js
CHANGED
|
@@ -499,4 +499,4 @@ const v8_coverage = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
499
499
|
filterV8Coverage
|
|
500
500
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
501
501
|
|
|
502
|
-
export { URL_META
|
|
502
|
+
export { URL_META, filterV8Coverage, v8_coverage };
|
package/dist/jsenv_test.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { chmod, stat, lstat, readdir, promises, unlink, openSync, closeSync, rmdir, readFile as readFile$1, writeFile as writeFile$1, writeFileSync as writeFileSync$1, mkdirSync, readFileSync, readdirSync, existsSync } from "node:fs";
|
|
2
|
-
import {
|
|
2
|
+
import { URL_META, filterV8Coverage } from "./js/v8_coverage.js";
|
|
3
3
|
import { pathToFileURL, fileURLToPath } from "node:url";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import { dirname } from "node:path";
|
|
@@ -6145,17 +6145,17 @@ const EXIT_CODES = {
|
|
|
6145
6145
|
};
|
|
6146
6146
|
|
|
6147
6147
|
const IMPORTMAP_NODE_LOADER_FILE_URL = new URL(
|
|
6148
|
-
"./importmap_node_loader.mjs
|
|
6148
|
+
"./importmap_node_loader.mjs",
|
|
6149
6149
|
import.meta.url,
|
|
6150
6150
|
).href;
|
|
6151
6151
|
|
|
6152
6152
|
const NO_EXPERIMENTAL_WARNING_FILE_URL = new URL(
|
|
6153
|
-
"./no_experimental_warnings.cjs
|
|
6153
|
+
"./no_experimental_warnings.cjs",
|
|
6154
6154
|
import.meta.url,
|
|
6155
6155
|
).href;
|
|
6156
6156
|
|
|
6157
6157
|
const CONTROLLABLE_CHILD_PROCESS_URL = new URL(
|
|
6158
|
-
"./controllable_child_process.mjs
|
|
6158
|
+
"./controllable_child_process.mjs",
|
|
6159
6159
|
import.meta.url,
|
|
6160
6160
|
).href;
|
|
6161
6161
|
|
|
@@ -6517,7 +6517,7 @@ const onceChildProcessEvent = (childProcess, type, callback) => {
|
|
|
6517
6517
|
// https://github.com/avajs/ava/blob/576f534b345259055c95fa0c2b33bef10847a2af/lib/worker/base.js
|
|
6518
6518
|
|
|
6519
6519
|
const CONTROLLABLE_WORKER_THREAD_URL = new URL(
|
|
6520
|
-
"./controllable_worker_thread.mjs
|
|
6520
|
+
"./controllable_worker_thread.mjs",
|
|
6521
6521
|
import.meta.url,
|
|
6522
6522
|
).href;
|
|
6523
6523
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@jsenv/abort": "4.2.4",
|
|
37
|
-
"@jsenv/ast": "5.
|
|
38
|
-
"@jsenv/filesystem": "4.2.
|
|
37
|
+
"@jsenv/ast": "5.1.1",
|
|
38
|
+
"@jsenv/filesystem": "4.2.6",
|
|
39
39
|
"@jsenv/log": "3.4.0",
|
|
40
|
-
"@jsenv/plugin-supervisor": "1.
|
|
41
|
-
"@jsenv/urls": "2.1
|
|
40
|
+
"@jsenv/plugin-supervisor": "1.3.1",
|
|
41
|
+
"@jsenv/urls": "2.2.1",
|
|
42
42
|
"@jsenv/url-meta": "8.1.0",
|
|
43
43
|
"@jsenv/uneval": "1.6.0",
|
|
44
44
|
"@jsenv/utils": "2.0.1",
|
|
45
45
|
"v8-to-istanbul": "9.1.0",
|
|
46
46
|
"istanbul-lib-coverage": "3.2.0",
|
|
47
|
-
"istanbul-lib-instrument": "
|
|
48
|
-
"istanbul-lib-report": "3.0.
|
|
49
|
-
"istanbul-reports": "3.1.
|
|
47
|
+
"istanbul-lib-instrument": "6.0.0",
|
|
48
|
+
"istanbul-lib-report": "3.0.1",
|
|
49
|
+
"istanbul-reports": "3.1.6",
|
|
50
50
|
"@paralleldrive/cuid2": "2.2.1",
|
|
51
51
|
"@c88/v8-coverage": "0.1.1",
|
|
52
52
|
"strip-ansi": "7.1.0",
|