@jsenv/test 3.5.39 → 3.5.40
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 +12 -6
- package/package.json +5 -5
package/dist/js/v8_coverage.js
CHANGED
|
@@ -82,12 +82,18 @@ const applyMatching = (pattern, string) => {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
const matchOne = () => {
|
|
85
|
-
// pattern consumed
|
|
86
|
-
if (remainingPattern === ""
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
// pattern consumed
|
|
86
|
+
if (remainingPattern === "") {
|
|
87
|
+
if (remainingString === "") {
|
|
88
|
+
return true; // string fully matched pattern
|
|
89
|
+
}
|
|
90
|
+
if (remainingString[0] === "?") {
|
|
91
|
+
// match search params
|
|
92
|
+
consumeRemainingString();
|
|
93
|
+
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
// if remainingString
|
|
91
97
|
return false; // fails because string longer than expect
|
|
92
98
|
}
|
|
93
99
|
// -- from this point pattern is not consumed --
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.40",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@c88/v8-coverage": "0.1.1",
|
|
39
39
|
"@jsenv/abort": "4.3.0",
|
|
40
40
|
"@jsenv/ast": "6.5.0",
|
|
41
|
-
"@jsenv/exception": "1.1.
|
|
42
|
-
"@jsenv/filesystem": "4.13.
|
|
43
|
-
"@jsenv/github-check-run": "0.2.
|
|
41
|
+
"@jsenv/exception": "1.1.4",
|
|
42
|
+
"@jsenv/filesystem": "4.13.3",
|
|
43
|
+
"@jsenv/github-check-run": "0.2.10",
|
|
44
44
|
"@jsenv/node-esm-resolution": "1.0.6",
|
|
45
45
|
"@jsenv/humanize": "1.2.8",
|
|
46
46
|
"@jsenv/plugin-supervisor": "1.6.4",
|
|
47
47
|
"@jsenv/sourcemap": "1.2.30",
|
|
48
|
-
"@jsenv/url-meta": "8.5.
|
|
48
|
+
"@jsenv/url-meta": "8.5.3",
|
|
49
49
|
"@jsenv/urls": "2.6.0",
|
|
50
50
|
"@jsenv/utils": "2.1.2",
|
|
51
51
|
"he": "1.2.0",
|