ava 6.2.0 → 6.3.0
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/lib/api.js +2 -3
- package/lib/worker/base.js +1 -1
- package/package.json +22 -21
package/lib/api.js
CHANGED
|
@@ -218,9 +218,8 @@ export default class Api extends Emittery {
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
runStatus.on('stateChange', record => {
|
|
221
|
-
if (record.testFile && !timedOutWorkerFiles.has(record.testFile)) {
|
|
222
|
-
// Debounce the timer whenever there is activity from workers that
|
|
223
|
-
// haven't already timed out.
|
|
221
|
+
if (record.testFile && !timedOutWorkerFiles.has(record.testFile) && record.type !== 'worker-stderr' && record.type !== 'worker-stdout') {
|
|
222
|
+
// Debounce the timer whenever there is test-related activity from workers that haven't already timed out.
|
|
224
223
|
timeoutTrigger.debounce();
|
|
225
224
|
}
|
|
226
225
|
|
package/lib/worker/base.js
CHANGED
|
@@ -58,7 +58,7 @@ const run = async options => {
|
|
|
58
58
|
|
|
59
59
|
if (options.chalkOptions.level > 0) {
|
|
60
60
|
const {stdout, stderr} = process;
|
|
61
|
-
|
|
61
|
+
globalThis.console = Object.assign(globalThis.console, new console.Console({stdout, stderr, colorMode: true}));
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
let checkSelectedByLineNumbers;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ava",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"description": "Node.js test runner that lets you develop with confidence.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "avajs/ava",
|
|
@@ -83,39 +83,39 @@
|
|
|
83
83
|
"typescript"
|
|
84
84
|
],
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@vercel/nft": "^0.
|
|
87
|
-
"acorn": "^8.
|
|
86
|
+
"@vercel/nft": "^0.29.2",
|
|
87
|
+
"acorn": "^8.14.1",
|
|
88
88
|
"acorn-walk": "^8.3.4",
|
|
89
89
|
"ansi-styles": "^6.2.1",
|
|
90
90
|
"arrgv": "^1.0.2",
|
|
91
91
|
"arrify": "^3.0.0",
|
|
92
92
|
"callsites": "^4.2.0",
|
|
93
|
-
"cbor": "^
|
|
94
|
-
"chalk": "^5.
|
|
93
|
+
"cbor": "^10.0.3",
|
|
94
|
+
"chalk": "^5.4.1",
|
|
95
95
|
"chunkd": "^2.0.1",
|
|
96
|
-
"ci-info": "^4.
|
|
96
|
+
"ci-info": "^4.2.0",
|
|
97
97
|
"ci-parallel-vars": "^1.0.1",
|
|
98
98
|
"cli-truncate": "^4.0.0",
|
|
99
99
|
"code-excerpt": "^4.0.0",
|
|
100
100
|
"common-path-prefix": "^3.0.0",
|
|
101
101
|
"concordance": "^5.0.4",
|
|
102
102
|
"currently-unhandled": "^0.4.1",
|
|
103
|
-
"debug": "^4.
|
|
104
|
-
"emittery": "^1.0
|
|
103
|
+
"debug": "^4.4.0",
|
|
104
|
+
"emittery": "^1.1.0",
|
|
105
105
|
"figures": "^6.1.0",
|
|
106
|
-
"globby": "^14.0
|
|
106
|
+
"globby": "^14.1.0",
|
|
107
107
|
"ignore-by-default": "^2.1.0",
|
|
108
108
|
"indent-string": "^5.0.0",
|
|
109
109
|
"is-plain-object": "^5.0.0",
|
|
110
110
|
"is-promise": "^4.0.0",
|
|
111
111
|
"matcher": "^5.0.0",
|
|
112
|
-
"memoize": "^10.
|
|
112
|
+
"memoize": "^10.1.0",
|
|
113
113
|
"ms": "^2.1.3",
|
|
114
|
-
"p-map": "^7.0.
|
|
114
|
+
"p-map": "^7.0.3",
|
|
115
115
|
"package-config": "^5.0.0",
|
|
116
116
|
"picomatch": "^4.0.2",
|
|
117
117
|
"plur": "^5.1.0",
|
|
118
|
-
"pretty-ms": "^9.
|
|
118
|
+
"pretty-ms": "^9.2.0",
|
|
119
119
|
"resolve-cwd": "^3.0.0",
|
|
120
120
|
"stack-utils": "^2.0.6",
|
|
121
121
|
"strip-ansi": "^7.1.0",
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
"@ava/test": "github:avajs/test",
|
|
129
129
|
"@ava/typescript": "^5.0.0",
|
|
130
130
|
"@sindresorhus/tsconfig": "^5.1.1",
|
|
131
|
-
"@types/node": "^22.
|
|
131
|
+
"@types/node": "^22.14.1",
|
|
132
132
|
"ansi-escapes": "^7.0.0",
|
|
133
|
-
"c8": "^10.1.
|
|
134
|
-
"execa": "^9.5.
|
|
133
|
+
"c8": "^10.1.3",
|
|
134
|
+
"execa": "^9.5.2",
|
|
135
135
|
"expect": "^29.7.0",
|
|
136
|
-
"sinon": "^
|
|
137
|
-
"tap": "^
|
|
136
|
+
"sinon": "^20.0.0",
|
|
137
|
+
"tap": "^21.1.0",
|
|
138
138
|
"tempy": "^3.1.0",
|
|
139
|
-
"tsd": "^0.
|
|
140
|
-
"typescript": "~5.
|
|
141
|
-
"xo": "^0.
|
|
139
|
+
"tsd": "^0.32.0",
|
|
140
|
+
"typescript": "~5.8.3",
|
|
141
|
+
"xo": "^0.60.0",
|
|
142
142
|
"zen-observable": "^0.10.0"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"volta": {
|
|
153
|
-
"node": "22.
|
|
153
|
+
"node": "22.14.0",
|
|
154
|
+
"npm": "11.3.0"
|
|
154
155
|
}
|
|
155
156
|
}
|