@jsenv/test 3.7.7 → 3.7.9
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/jsenv_test.js +6 -2
- package/package.json +34 -34
package/dist/jsenv_test.js
CHANGED
|
@@ -2038,7 +2038,10 @@ const comparePathnames = (leftPathame, rightPathname) => {
|
|
|
2038
2038
|
const rightPart = rightPartArray[i];
|
|
2039
2039
|
i++;
|
|
2040
2040
|
// local comparison comes first
|
|
2041
|
-
const comparison = leftPart.localeCompare(rightPart
|
|
2041
|
+
const comparison = leftPart.localeCompare(rightPart, undefined, {
|
|
2042
|
+
numeric: true,
|
|
2043
|
+
sensitivity: "base",
|
|
2044
|
+
});
|
|
2042
2045
|
if (comparison !== 0) {
|
|
2043
2046
|
return comparison;
|
|
2044
2047
|
}
|
|
@@ -4561,7 +4564,7 @@ const mainLegacyResolvers = {
|
|
|
4561
4564
|
};
|
|
4562
4565
|
},
|
|
4563
4566
|
node: ({ packageJson, conditions }) => {
|
|
4564
|
-
if (conditions.includes("import")) {
|
|
4567
|
+
if (conditions.includes("import") && !conditions.includes("require")) {
|
|
4565
4568
|
if (typeof packageJson.module === "string") {
|
|
4566
4569
|
return { type: "field:module", isMain: true, path: packageJson.module };
|
|
4567
4570
|
}
|
|
@@ -4575,6 +4578,7 @@ const mainLegacyResolvers = {
|
|
|
4575
4578
|
return null;
|
|
4576
4579
|
},
|
|
4577
4580
|
};
|
|
4581
|
+
mainLegacyResolvers.require = mainLegacyResolvers.node;
|
|
4578
4582
|
|
|
4579
4583
|
const comparePatternKeys = (keyA, keyB) => {
|
|
4580
4584
|
if (!keyA.endsWith("/") && !keyA.includes("*")) {
|
package/package.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "3.7.
|
|
4
|
-
"license": "MIT",
|
|
3
|
+
"version": "3.7.9",
|
|
5
4
|
"repository": {
|
|
6
5
|
"type": "git",
|
|
7
6
|
"url": "https://github.com/jsenv/core",
|
|
8
7
|
"directory": "packages/related/test"
|
|
9
8
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"./src/runtime_node/node_child_process_controlled.mjs",
|
|
12
|
+
"./src/runtime_node/node_worker_thread_controlled.mjs",
|
|
13
|
+
"./dist/js/node_child_process_controlled.mjs",
|
|
14
|
+
"./dist/js/node_worker_thread_controlled.mjs",
|
|
15
|
+
"./dist/jsenv_test_node_modules.js",
|
|
16
|
+
"./dist/jsenv_test.js"
|
|
17
|
+
],
|
|
16
18
|
"type": "module",
|
|
17
19
|
"exports": {
|
|
18
20
|
".": {
|
|
@@ -27,27 +29,15 @@
|
|
|
27
29
|
"/dist/",
|
|
28
30
|
"/src/"
|
|
29
31
|
],
|
|
30
|
-
"sideEffects": [
|
|
31
|
-
"./src/runtime_node/node_child_process_controlled.mjs",
|
|
32
|
-
"./src/runtime_node/node_worker_thread_controlled.mjs",
|
|
33
|
-
"./dist/js/node_child_process_controlled.mjs",
|
|
34
|
-
"./dist/js/node_worker_thread_controlled.mjs",
|
|
35
|
-
"./dist/jsenv_test_node_modules.js",
|
|
36
|
-
"./dist/jsenv_test.js"
|
|
37
|
-
],
|
|
38
32
|
"scripts": {
|
|
39
33
|
"build": "node --conditions=dev:jsenv ./scripts/build.mjs",
|
|
40
34
|
"prepublishOnly": "npm run build"
|
|
41
35
|
},
|
|
42
|
-
"optionalDependencies": {
|
|
43
|
-
"playwright": "1.x",
|
|
44
|
-
"playwright-core": "1.x"
|
|
45
|
-
},
|
|
46
36
|
"dependencies": {
|
|
47
37
|
"@c88/v8-coverage": "0.1.1",
|
|
48
|
-
"@jsenv/ast": "6.7.
|
|
49
|
-
"@jsenv/plugin-supervisor": "1.7.
|
|
50
|
-
"@jsenv/sourcemap": "1.3.
|
|
38
|
+
"@jsenv/ast": "6.7.8",
|
|
39
|
+
"@jsenv/plugin-supervisor": "1.7.5",
|
|
40
|
+
"@jsenv/sourcemap": "1.3.10",
|
|
51
41
|
"he": "1.2.0",
|
|
52
42
|
"istanbul-lib-coverage": "3.2.2",
|
|
53
43
|
"istanbul-lib-instrument": "6.0.3",
|
|
@@ -57,26 +47,36 @@
|
|
|
57
47
|
"v8-to-istanbul": "9.3.0"
|
|
58
48
|
},
|
|
59
49
|
"devDependencies": {
|
|
50
|
+
"@jsenv/abort": "../../tooling/abort",
|
|
60
51
|
"@jsenv/assert": "../tooling/assert",
|
|
61
|
-
"@jsenv/snapshot": "../tooling/snapshot",
|
|
62
|
-
"@jsenv/terminal-recorder": "../tooling/terminal-recorder",
|
|
63
|
-
"@jsenv/server": "../backend/server",
|
|
64
52
|
"@jsenv/core": "../../",
|
|
65
|
-
"@jsenv/os-metrics": "../../tooling/os-metrics",
|
|
66
|
-
"@jsenv/importmap": "../../tooling/importmap",
|
|
67
|
-
"@jsenv/plugin-explorer": "../plugin-explorer",
|
|
68
|
-
"@jsenv/test": "./",
|
|
69
|
-
"@jsenv/abort": "../../tooling/abort",
|
|
70
53
|
"@jsenv/exception": "../../backend/exception",
|
|
71
54
|
"@jsenv/filesystem": "../../backend/filesystem",
|
|
72
55
|
"@jsenv/github-check-run": "../../tooling/github-check-run",
|
|
56
|
+
"@jsenv/humanize": "../../tooling/humanize",
|
|
57
|
+
"@jsenv/importmap": "../../tooling/importmap",
|
|
73
58
|
"@jsenv/node-esm-resolution": "../../tooling/node-esm-resolution",
|
|
59
|
+
"@jsenv/os-metrics": "../../tooling/os-metrics",
|
|
60
|
+
"@jsenv/plugin-explorer": "../plugin-explorer",
|
|
61
|
+
"@jsenv/server": "../backend/server",
|
|
62
|
+
"@jsenv/snapshot": "../tooling/snapshot",
|
|
63
|
+
"@jsenv/terminal-recorder": "../tooling/terminal-recorder",
|
|
64
|
+
"@jsenv/test": "./",
|
|
74
65
|
"@jsenv/url-meta": "../../tooling/url-meta",
|
|
75
66
|
"@jsenv/urls": "../../tooling/urls",
|
|
76
67
|
"@jsenv/utils": "../../tooling/utils",
|
|
77
|
-
"
|
|
68
|
+
"prettier": "3.5.3",
|
|
78
69
|
"strip-ansi": "7.1.0",
|
|
79
|
-
"supports-color": "10.0.0"
|
|
80
|
-
|
|
70
|
+
"supports-color": "10.0.0"
|
|
71
|
+
},
|
|
72
|
+
"optionalDependencies": {
|
|
73
|
+
"playwright": "1.x",
|
|
74
|
+
"playwright-core": "1.x"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=20.11.0"
|
|
78
|
+
},
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
81
|
}
|
|
82
82
|
}
|