Comparing version 7.10.0 to 7.10.1
@@ -112,3 +112,9 @@ "use strict"; | ||
log.child = (context) => { | ||
const asyncLocalContext = getAsyncLocalContext(); | ||
let asyncLocalContext; | ||
if (isAsyncLocalContextAvailable()) { | ||
asyncLocalContext = getAsyncLocalContext(); | ||
} | ||
else { | ||
asyncLocalContext = createDefaultAsyncLocalContext(); | ||
} | ||
if (typeof context === 'function') { | ||
@@ -115,0 +121,0 @@ return (0, exports.createLogger)(onMessage, { |
@@ -75,3 +75,3 @@ { | ||
"typings": "./dist/src/Roarr.d.ts", | ||
"version": "7.10.0" | ||
"version": "7.10.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
84678
1756