Comparing version 4.2.2 to 4.2.3
@@ -9,3 +9,2 @@ "use strict"; | ||
const boolean_1 = require("boolean"); | ||
const detect_node_1 = __importDefault(require("detect-node")); | ||
const fast_json_stringify_1 = __importDefault(require("fast-json-stringify")); | ||
@@ -39,8 +38,6 @@ const globalthis_1 = __importDefault(require("globalthis")); | ||
let logFactory = factories_1.createLogger; | ||
if (detect_node_1.default) { | ||
// eslint-disable-next-line node/no-process-env | ||
const enabled = boolean_1.boolean((_a = process.env.ROARR_LOG) !== null && _a !== void 0 ? _a : ''); | ||
if (!enabled) { | ||
logFactory = factories_1.createMockLogger; | ||
} | ||
// eslint-disable-next-line node/no-process-env | ||
const enabled = boolean_1.boolean((_a = process.env.ROARR_LOG) !== null && _a !== void 0 ? _a : ''); | ||
if (!enabled) { | ||
logFactory = factories_1.createMockLogger; | ||
} | ||
@@ -47,0 +44,0 @@ exports.default = logFactory((message) => { |
@@ -18,2 +18,3 @@ { | ||
}, | ||
"browser": "./dist/src/browser.js", | ||
"dependencies": { | ||
@@ -32,3 +33,2 @@ "boolean": "^3.0.2", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
"@types/detect-node": "^2.0.0", | ||
"@types/globalthis": "^1.0.1", | ||
@@ -82,3 +82,3 @@ "@types/json-stringify-safe": "^5.0.0", | ||
"typings": "./dist/esm/src/log.d.ts", | ||
"version": "4.2.2" | ||
"version": "4.2.3" | ||
} |
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
18
0
59355
1078