@vitest/web-worker
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -301,3 +301,3 @@ import { MessageChannel } from 'node:worker_threads'; | ||
debug("clone worker message %o", data); | ||
const origin = typeof location === "undefined" ? void 0 : location.origin; | ||
const origin = typeof location === "undefined" ? undefined : location.origin; | ||
if (typeof structuredClone === "function" && clone === "native") { | ||
@@ -304,0 +304,0 @@ debug("create message event, using native structured clone"); |
{ | ||
"name": "@vitest/web-worker", | ||
"type": "module", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Web Worker support for testing in Vitest", | ||
@@ -36,3 +36,3 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"vitest": "3.0.0" | ||
"vitest": "3.0.1" | ||
}, | ||
@@ -39,0 +39,0 @@ "dependencies": { |
25742