@jsenv/test 3.7.8 → 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 +2 -1
- package/package.json +4 -4
package/dist/jsenv_test.js
CHANGED
|
@@ -4564,7 +4564,7 @@ const mainLegacyResolvers = {
|
|
|
4564
4564
|
};
|
|
4565
4565
|
},
|
|
4566
4566
|
node: ({ packageJson, conditions }) => {
|
|
4567
|
-
if (conditions.includes("import")) {
|
|
4567
|
+
if (conditions.includes("import") && !conditions.includes("require")) {
|
|
4568
4568
|
if (typeof packageJson.module === "string") {
|
|
4569
4569
|
return { type: "field:module", isMain: true, path: packageJson.module };
|
|
4570
4570
|
}
|
|
@@ -4578,6 +4578,7 @@ const mainLegacyResolvers = {
|
|
|
4578
4578
|
return null;
|
|
4579
4579
|
},
|
|
4580
4580
|
};
|
|
4581
|
+
mainLegacyResolvers.require = mainLegacyResolvers.node;
|
|
4581
4582
|
|
|
4582
4583
|
const comparePatternKeys = (keyA, keyB) => {
|
|
4583
4584
|
if (!keyA.endsWith("/") && !keyA.includes("*")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/jsenv/core",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@c88/v8-coverage": "0.1.1",
|
|
38
|
-
"@jsenv/ast": "6.7.
|
|
39
|
-
"@jsenv/plugin-supervisor": "1.7.
|
|
40
|
-
"@jsenv/sourcemap": "1.3.
|
|
38
|
+
"@jsenv/ast": "6.7.8",
|
|
39
|
+
"@jsenv/plugin-supervisor": "1.7.5",
|
|
40
|
+
"@jsenv/sourcemap": "1.3.10",
|
|
41
41
|
"he": "1.2.0",
|
|
42
42
|
"istanbul-lib-coverage": "3.2.2",
|
|
43
43
|
"istanbul-lib-instrument": "6.0.3",
|