log-symbols
Advanced tools
Comparing version 2.0.0 to 2.1.0
22
index.js
'use strict'; | ||
const os = require('os'); | ||
const chalk = require('chalk'); | ||
const isSupported = (() => { | ||
if (process.platform !== 'win32' || process.env.CI) { | ||
return true; | ||
} | ||
const isSupported = process.platform !== 'win32' || process.env.CI || process.env.VSCODE_PID; | ||
if (process.env.ConEmuDir) { | ||
return false; | ||
} | ||
// Windows 10 | ||
const osRelease = os.release().split('.'); | ||
if ( | ||
Number(osRelease[0]) >= 10 && | ||
Number(osRelease[2]) >= 10586 | ||
) { | ||
return true; | ||
} | ||
return false; | ||
})(); | ||
const main = { | ||
@@ -27,0 +7,0 @@ info: chalk.blue('ℹ'), |
{ | ||
"name": "log-symbols", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Colored symbols for various log levels. Example: ✔︎ Success", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
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
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
3346
23