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

@travetto/test

Package Overview
Dependencies
Maintainers
1
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/test - npm Package Compare versions

Comparing version 0.0.59 to 0.0.60

2

package.json

@@ -30,3 +30,3 @@ {

},
"version": "0.0.59"
"version": "0.0.60"
}

@@ -91,2 +91,3 @@ import { LocalExecution, ChildExecution, serializeError, deserializeError } from '@travetto/exec';

!/@travetto\/(base|config|compiler|exec|pool)/.test(k) &&
!(k.startsWith(__filename.replace(/.[tj]s$/, ''))) &&
!/transformer\..*\.ts/.test(k)) {

@@ -93,0 +94,0 @@ Compiler.unload(k);

@@ -9,2 +9,3 @@ import { AssertUtil } from '../assert';

const DEFAULT_TIMEOUT = parseInt(process.env.DEFAULT_TIMEOUT || '5000', 10);
const DEFAULT_PHASE_TIMEOUT = parseInt(process.env.DEFAULT_PHASE_TIMEOUT || '15000', 10);

@@ -76,3 +77,3 @@ export function asyncTimeout(duration: number = DEFAULT_TIMEOUT): [Promise<any>, Function] {

for (const fn of this.suite[phase]) {
const [timeout, clear] = asyncTimeout();
const [timeout, clear] = asyncTimeout(DEFAULT_PHASE_TIMEOUT);
await Promise.race([timeout, fn.call(this.suite.instance)]);

@@ -79,0 +80,0 @@ clear();

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