@vitest/web-worker 0.17.0 → 0.17.1
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
CHANGED
@@ -100,9 +100,9 @@ function defineWebWorker() {
|
|
100
100
|
const fsPath = toFilePath(id, config.root);
|
101
101
|
invalidates.push(fsPath);
|
102
102
|
runner.executeFile(fsPath).then(() => {
|
103
|
-
invalidates.forEach((
|
104
|
-
moduleCache.delete(
|
105
|
-
moduleCache.delete(`${
|
103
|
+
invalidates.forEach((fsPath2) => {
|
104
|
+
moduleCache.delete(fsPath2);
|
105
|
+
moduleCache.delete(`${fsPath2}__mock`);
|
106
106
|
});
|
107
107
|
const q = this.messageQueue;
|
108
108
|
this.messageQueue = null;
|
package/dist/pure.js
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/web-worker",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.17.
|
4
|
+
"version": "0.17.1",
|
5
5
|
"description": "Web Worker support for testing in Vitest",
|
6
6
|
"exports": {
|
7
7
|
".": {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"vitest": "*"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"vite-node": "0.17.
|
29
|
+
"vite-node": "0.17.1"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
32
|
"rollup": "^2.75.7"
|