Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vitest/runner

Package Overview
Dependencies
Maintainers
3
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/runner - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

10

dist/index.js

@@ -145,3 +145,5 @@ import limit from 'p-limit';

const useFnArgPromise = createDefer();
let isUseFnArgResolved = false;
const fixtureReturn = fixture.value(context, async (useFnArg) => {
isUseFnArgResolved = true;
useFnArgPromise.resolve(useFnArg);

@@ -154,3 +156,9 @@ const useReturnPromise = createDefer();

await useReturnPromise;
}).catch(useFnArgPromise.reject);
}).catch((e) => {
if (!isUseFnArgResolved) {
useFnArgPromise.reject(e);
return;
}
throw e;
});
resolvedValue = await useFnArgPromise;

@@ -157,0 +165,0 @@ } else {

4

package.json
{
"name": "@vitest/runner",
"type": "module",
"version": "1.0.4",
"version": "1.1.0",
"description": "Vitest test runner",

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

"pathe": "^1.1.1",
"@vitest/utils": "1.0.4"
"@vitest/utils": "1.1.0"
},

@@ -46,0 +46,0 @@ "scripts": {

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