is-unicode-supported
Advanced tools
Comparing version 1.3.0 to 2.0.0
@@ -8,4 +8,3 @@ import process from 'node:process'; | ||
return Boolean(process.env.CI) | ||
|| Boolean(process.env.WT_SESSION) // Windows Terminal | ||
return Boolean(process.env.WT_SESSION) // Windows Terminal | ||
|| Boolean(process.env.TERMINUS_SUBLIME) // Terminus (<0.2.27) | ||
@@ -12,0 +11,0 @@ || process.env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder |
{ | ||
"name": "is-unicode-supported", | ||
"version": "1.3.0", | ||
"version": "2.0.0", | ||
"description": "Detect whether the terminal supports Unicode", | ||
@@ -14,5 +14,8 @@ "license": "MIT", | ||
"type": "module", | ||
"exports": "./index.js", | ||
"exports": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=18" | ||
}, | ||
@@ -40,6 +43,6 @@ "scripts": { | ||
"devDependencies": { | ||
"ava": "^4.0.1", | ||
"tsd": "^0.19.1", | ||
"xo": "^0.47.0" | ||
"ava": "^5.3.1", | ||
"tsd": "^0.29.0", | ||
"xo": "^0.56.0" | ||
} | ||
} |
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
3900
9
24