Comparing version 3.1.0 to 3.1.1
@@ -24,7 +24,7 @@ "use strict"; | ||
let currentDomain = process.domain; | ||
if (!currentDomain?.parentDomain) { | ||
if (!currentDomain || !currentDomain.parentDomain) { | ||
return {}; | ||
} | ||
while (currentDomain?.parentDomain) { | ||
currentDomain = currentDomain?.parentDomain; | ||
while (currentDomain && currentDomain.parentDomain) { | ||
currentDomain = currentDomain.parentDomain; | ||
if (currentDomain.roarr && currentDomain.roarr.context) { | ||
@@ -31,0 +31,0 @@ parentRoarrContexts.push(currentDomain.roarr.context); |
@@ -80,3 +80,3 @@ { | ||
"typings": "./dist/log.d.ts", | ||
"version": "3.1.0" | ||
"version": "3.1.1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40708
0