New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vitest/web-worker

Package Overview
Dependencies
Maintainers
4
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/web-worker - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

8

dist/pure.js

@@ -309,5 +309,7 @@ import { VitestExecutor } from 'vitest/execute';

debug("create message event, using polyfilled structured clone");
transfer?.length && console.warn(
'[@vitest/web-worker] `structuredClone` is not supported in this environment. Falling back to polyfill, your transferable options will be lost. Set `VITEST_WEB_WORKER_CLONE` environmental variable to "none", if you don\'t want to loose it,or update to Node 17+.'
);
if (transfer?.length) {
console.warn(
'[@vitest/web-worker] `structuredClone` is not supported in this environment. Falling back to polyfill, your transferable options will be lost. Set `VITEST_WEB_WORKER_CLONE` environmental variable to "none", if you don\'t want to loose it,or update to Node 17+.'
);
}
return new MessageEvent("message", {

@@ -314,0 +316,0 @@ data: ponyfillStructuredClone(data, { lossy: true }),

{
"name": "@vitest/web-worker",
"type": "module",
"version": "2.0.3",
"version": "2.0.4",
"description": "Web Worker support for testing in Vitest",

@@ -36,3 +36,3 @@ "license": "MIT",

"peerDependencies": {
"vitest": "2.0.3"
"vitest": "2.0.4"
},

@@ -39,0 +39,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc