@vitest/runner 3.1.2 → 3.1.3
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/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -178,8 +178,8 @@ function resolveDeps(fixtures, depSet = new Set(), pendingFixtures = []) {
|
|
178
178
|
}
|
179
179
|
function getUsedProps(fn) {
|
180
180
|
let fnString = fn.toString();
|
181
|
-
if (/__async\(this, (?:null|arguments|\[[_0-9, ]*\]), function\*/.test(fnString)) {
|
182
|
-
fnString = fnString.split(
|
181
|
+
if (/__async\((?:this|null), (?:null|arguments|\[[_0-9, ]*\]), function\*/.test(fnString)) {
|
182
|
+
fnString = fnString.split(/__async\((?:this|null),/)[1];
|
183
183
|
}
|
184
184
|
const match = fnString.match(/[^(]*\(([^)]*)/);
|
185
185
|
if (!match) {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/runner",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.1.
|
4
|
+
"version": "3.1.3",
|
5
5
|
"description": "Vitest test runner",
|
6
6
|
"license": "MIT",
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
],
|
40
40
|
"dependencies": {
|
41
41
|
"pathe": "^2.0.3",
|
42
|
-
"@vitest/utils": "3.1.
|
42
|
+
"@vitest/utils": "3.1.3"
|
43
43
|
},
|
44
44
|
"scripts": {
|
45
45
|
"build": "rimraf dist && rollup -c",
|