@travetto/base
Advanced tools
Comparing version 4.0.4 to 4.0.5
{ | ||
"name": "@travetto/base", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "Environment config and common utilities for travetto applications.", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/manifest": "^4.0.2", | ||
"@travetto/manifest": "^4.0.3", | ||
"@types/debug": "^4.1.12", | ||
@@ -34,3 +34,3 @@ "@types/node": "^20.11.25", | ||
"peerDependencies": { | ||
"@travetto/transformer": "^4.0.3" | ||
"@travetto/transformer": "^4.0.4" | ||
}, | ||
@@ -37,0 +37,0 @@ "peerDependenciesMeta": { |
@@ -99,5 +99,5 @@ import crypto from 'node:crypto'; | ||
/** | ||
* Blocking timeout | ||
* Non-blocking timeout | ||
*/ | ||
static blockingTimeout(time: number): Promise<void> { | ||
static nonBlockingTimeout(time: number): Promise<void> { | ||
return timers.setTimeout(time, undefined, { ref: false }).catch(() => { }); | ||
@@ -107,6 +107,6 @@ } | ||
/** | ||
* Non-blocking timeout | ||
* Blocking timeout | ||
*/ | ||
static nonBlockingTimeout(time: number): Promise<void> { | ||
return timers.setTimeout(time, undefined, { ref: false }).catch(() => { }); | ||
static blockingTimeout(time: number): Promise<void> { | ||
return timers.setTimeout(time, undefined, { ref: true }).catch(() => { }); | ||
} | ||
@@ -113,0 +113,0 @@ |
57010
Updated@travetto/manifest@^4.0.3