@jsenv/core 29.8.1 → 29.8.2
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/main.js +6 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -18458,7 +18458,12 @@ const applyPackageSpecifierResolution = (specifier, resolutionContext) => {
|
|
|
18458
18458
|
if (browserFieldResolution) {
|
|
18459
18459
|
return browserFieldResolution;
|
|
18460
18460
|
}
|
|
18461
|
-
|
|
18461
|
+
const packageResolution = applyPackageResolve(specifier, resolutionContext);
|
|
18462
|
+
const search = new URL(specifier, "file://").search;
|
|
18463
|
+
if (search) {
|
|
18464
|
+
packageResolution.url = `${packageResolution.url}${search}`;
|
|
18465
|
+
}
|
|
18466
|
+
return packageResolution;
|
|
18462
18467
|
}
|
|
18463
18468
|
};
|
|
18464
18469
|
const applyBrowserFieldResolution = (specifier, resolutionContext) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "29.8.
|
|
3
|
+
"version": "29.8.2",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@jsenv/importmap": "1.2.1",
|
|
74
74
|
"@jsenv/integrity": "0.0.1",
|
|
75
75
|
"@jsenv/log": "3.3.1",
|
|
76
|
-
"@jsenv/node-esm-resolution": "0.
|
|
76
|
+
"@jsenv/node-esm-resolution": "1.0.0",
|
|
77
77
|
"@jsenv/server": "14.1.10",
|
|
78
78
|
"@jsenv/sourcemap": "1.0.7",
|
|
79
79
|
"@jsenv/uneval": "1.6.0",
|