@jsenv/core 39.13.1 → 39.13.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/jsenv_core.js
CHANGED
|
@@ -2717,12 +2717,18 @@ const applyMatching = (pattern, string) => {
|
|
|
2717
2717
|
}
|
|
2718
2718
|
};
|
|
2719
2719
|
const matchOne = () => {
|
|
2720
|
-
// pattern consumed
|
|
2721
|
-
if (remainingPattern === ""
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2720
|
+
// pattern consumed
|
|
2721
|
+
if (remainingPattern === "") {
|
|
2722
|
+
if (remainingString === "") {
|
|
2723
|
+
return true; // string fully matched pattern
|
|
2724
|
+
}
|
|
2725
|
+
if (remainingString[0] === "?") {
|
|
2726
|
+
// match search params
|
|
2727
|
+
consumeRemainingString();
|
|
2728
|
+
|
|
2729
|
+
return true;
|
|
2730
|
+
}
|
|
2731
|
+
// if remainingString
|
|
2726
2732
|
return false; // fails because string longer than expect
|
|
2727
2733
|
}
|
|
2728
2734
|
// -- from this point pattern is not consumed --
|
|
@@ -19409,6 +19415,11 @@ return {
|
|
|
19409
19415
|
/*
|
|
19410
19416
|
* NICE TO HAVE:
|
|
19411
19417
|
*
|
|
19418
|
+
* - when clicking the server root directory from the root directory
|
|
19419
|
+
* we should see "/..." in the url bar
|
|
19420
|
+
* instead we ses "@fs/"
|
|
19421
|
+
* everything still works but that would be cleaner
|
|
19422
|
+
*
|
|
19412
19423
|
* - when visiting urls outside server root directory the UI is messed up
|
|
19413
19424
|
*
|
|
19414
19425
|
* Let's say I visit file outside the server root directory that is in 404
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "39.13.
|
|
3
|
+
"version": "39.13.2",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -70,20 +70,20 @@
|
|
|
70
70
|
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
|
|
71
71
|
"@jsenv/abort": "4.3.0",
|
|
72
72
|
"@jsenv/ast": "6.5.0",
|
|
73
|
-
"@jsenv/filesystem": "4.13.
|
|
73
|
+
"@jsenv/filesystem": "4.13.3",
|
|
74
74
|
"@jsenv/humanize": "1.2.8",
|
|
75
75
|
"@jsenv/importmap": "1.2.1",
|
|
76
76
|
"@jsenv/integrity": "0.0.2",
|
|
77
77
|
"@jsenv/js-module-fallback": "1.3.57",
|
|
78
78
|
"@jsenv/node-esm-resolution": "1.0.6",
|
|
79
|
-
"@jsenv/plugin-bundling": "2.7.
|
|
79
|
+
"@jsenv/plugin-bundling": "2.7.25",
|
|
80
80
|
"@jsenv/plugin-minification": "1.5.13",
|
|
81
81
|
"@jsenv/plugin-supervisor": "1.6.4",
|
|
82
82
|
"@jsenv/plugin-transpilation": "1.4.93",
|
|
83
83
|
"@jsenv/runtime-compat": "1.3.1",
|
|
84
|
-
"@jsenv/server": "15.5.
|
|
84
|
+
"@jsenv/server": "15.5.1",
|
|
85
85
|
"@jsenv/sourcemap": "1.2.30",
|
|
86
|
-
"@jsenv/url-meta": "8.5.
|
|
86
|
+
"@jsenv/url-meta": "8.5.3",
|
|
87
87
|
"@jsenv/urls": "2.6.0",
|
|
88
88
|
"@jsenv/utils": "2.1.2",
|
|
89
89
|
"string-width": "7.2.0"
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* NICE TO HAVE:
|
|
3
3
|
*
|
|
4
|
+
* - when clicking the server root directory from the root directory
|
|
5
|
+
* we should see "/..." in the url bar
|
|
6
|
+
* instead we ses "@fs/"
|
|
7
|
+
* everything still works but that would be cleaner
|
|
8
|
+
*
|
|
4
9
|
* - when visiting urls outside server root directory the UI is messed up
|
|
5
10
|
*
|
|
6
11
|
* Let's say I visit file outside the server root directory that is in 404
|