@jsenv/core 30.0.3 → 30.0.4
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/js/v8_coverage.js +5 -5
- package/package.json +5 -5
package/dist/js/v8_coverage.js
CHANGED
|
@@ -47,12 +47,12 @@ const resolveAssociations = (associations, baseUrl) => {
|
|
|
47
47
|
return associationsResolved;
|
|
48
48
|
};
|
|
49
49
|
const normalizeUrlPattern = (urlPattern, baseUrl) => {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
try {
|
|
51
|
+
return String(new URL(urlPattern, baseUrl));
|
|
52
|
+
} catch (e) {
|
|
53
|
+
// it's not really an url, no need to perform url resolution nor encoding
|
|
54
|
+
return urlPattern;
|
|
53
55
|
}
|
|
54
|
-
|
|
55
|
-
return String(new URL(urlPattern, baseUrl));
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
const asFlatAssociations = associations => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "30.0.
|
|
3
|
+
"version": "30.0.4",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -69,16 +69,16 @@
|
|
|
69
69
|
"@jsenv/abort": "4.2.4",
|
|
70
70
|
"@jsenv/ast": "1.4.8",
|
|
71
71
|
"@jsenv/babel-plugins": "1.1.0",
|
|
72
|
-
"@jsenv/plugin-bundling": "1.0.
|
|
73
|
-
"@jsenv/filesystem": "4.1.
|
|
72
|
+
"@jsenv/plugin-bundling": "1.0.2",
|
|
73
|
+
"@jsenv/filesystem": "4.1.9",
|
|
74
74
|
"@jsenv/importmap": "1.2.1",
|
|
75
75
|
"@jsenv/integrity": "0.0.1",
|
|
76
76
|
"@jsenv/log": "3.3.2",
|
|
77
77
|
"@jsenv/node-esm-resolution": "1.0.1",
|
|
78
|
-
"@jsenv/server": "14.1.
|
|
78
|
+
"@jsenv/server": "14.1.13",
|
|
79
79
|
"@jsenv/sourcemap": "1.0.8",
|
|
80
80
|
"@jsenv/uneval": "1.6.0",
|
|
81
|
-
"@jsenv/url-meta": "7.0.
|
|
81
|
+
"@jsenv/url-meta": "7.0.2",
|
|
82
82
|
"@jsenv/urls": "1.2.8",
|
|
83
83
|
"@jsenv/utils": "2.0.1",
|
|
84
84
|
"construct-style-sheets-polyfill": "3.1.0",
|