@sumor/logger
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "@sumor/logger", | ||
"description": "This is a lightweight logger for Node.JS. It can output logs in different levels, and you can customize the scope, id, and timezone.", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "sumor-cloud/logger", |
@@ -13,3 +13,3 @@ import filterLevels from './filterLevels.js' | ||
const displayedLevels = filterLevels(options.level) | ||
const displayedLevels = filterLevels(options.level || process.env.LOG_LEVEL) | ||
for (let i = 0; i < levels.length; i += 1) { | ||
@@ -16,0 +16,0 @@ const level = levels[i] |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
13254
5