roarr
Advanced tools
Comparing version 7.18.2 to 7.18.3
@@ -94,3 +94,3 @@ "use strict"; | ||
var _a; | ||
if (!(0, isBrowser_1.isBrowser)()) { | ||
if (!(0, isBrowser_1.isBrowser)() && typeof process !== 'undefined') { | ||
// eslint-disable-next-line node/no-process-env | ||
@@ -97,0 +97,0 @@ const enabled = (0, isTruthy_1.isTruthy)((_a = process.env.ROARR_LOG) !== null && _a !== void 0 ? _a : ''); |
@@ -71,3 +71,3 @@ { | ||
"types": "./dist/Roarr.d.ts", | ||
"version": "7.18.2" | ||
"version": "7.18.3" | ||
} |
@@ -127,3 +127,3 @@ import { ROARR_LOG_FORMAT_VERSION } from '../config'; | ||
): Logger => { | ||
if (!isBrowser()) { | ||
if (!isBrowser() && typeof process !== 'undefined') { | ||
// eslint-disable-next-line node/no-process-env | ||
@@ -130,0 +130,0 @@ const enabled = isTruthy(process.env.ROARR_LOG ?? ''); |
Sorry, the diff of this file is not supported yet
95411