@politie/informant
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -473,7 +473,7 @@ 'use strict'; | ||
// do not warn in mocha hot-reloading environment | ||
if ((typeof global.it !== 'function' || typeof global.describe !== 'function') && global._politie_informant_loaded_) { | ||
if ((typeof globalThis.it !== 'function' || typeof globalThis.describe !== 'function') && globalThis._politie_informant_loaded_) { | ||
// tslint:disable-next-line:no-console | ||
console.error('@politie/informant already loaded, check for duplicate installs of library!'); | ||
} | ||
global._politie_informant_loaded_ = true; | ||
globalThis._politie_informant_loaded_ = true; | ||
@@ -480,0 +480,0 @@ exports.BaseError = BaseError; |
@@ -469,9 +469,9 @@ import { __extends, __spreadArray, __assign } from 'tslib'; | ||
// do not warn in mocha hot-reloading environment | ||
if ((typeof global.it !== 'function' || typeof global.describe !== 'function') && global._politie_informant_loaded_) { | ||
if ((typeof globalThis.it !== 'function' || typeof globalThis.describe !== 'function') && globalThis._politie_informant_loaded_) { | ||
// tslint:disable-next-line:no-console | ||
console.error('@politie/informant already loaded, check for duplicate installs of library!'); | ||
} | ||
global._politie_informant_loaded_ = true; | ||
globalThis._politie_informant_loaded_ = true; | ||
export { BaseError, LogLevel, Logger, async, captureLogging, consoleHandler, deprecated, errorForEach, errorFromList, errorInfo, findCauseByName, forLogger, fromLevel, fullStack, hasCauseWithName, levels, logEverything, logNothing, registerLogHandler, ringBuffer, trace, unregisterLogHandler }; | ||
//# sourceMappingURL=informant.esm.js.map |
{ | ||
"name": "@politie/informant", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Informant is a simple and fast logging library for Node.js and browser JavaScript applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/informant.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
142607