@appandflow/stalker
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -6,3 +6,4 @@ "use strict"; | ||
function overrideLog() { | ||
let oldConsole = typeof process !== 'undefined' && process.release.name === 'node' | ||
var _a, _b; | ||
let oldConsole = typeof process !== 'undefined' && ((_a = process === null || process === void 0 ? void 0 : process.release) === null || _a === void 0 ? void 0 : _a.name) === 'node' | ||
? global.console | ||
@@ -15,3 +16,3 @@ : // @ts-ignore | ||
} }); | ||
typeof process !== 'undefined' && process.release.name === 'node' | ||
typeof process !== 'undefined' && ((_b = process === null || process === void 0 ? void 0 : process.release) === null || _b === void 0 ? void 0 : _b.name) === 'node' | ||
? (global.console = newConsole) | ||
@@ -18,0 +19,0 @@ : // @ts-ignore |
@@ -17,3 +17,3 @@ { | ||
], | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"typings": "dist/index.d.ts", | ||
@@ -20,0 +20,0 @@ "description": "", |
7836
174