Comparing version 5.2.0 to 5.3.0
@@ -17,2 +17,8 @@ 'use strict'; | ||
const terminalSupportsUnicode = () => ( | ||
process.platform !== 'win32' || | ||
process.env.TERM_PROGRAM === 'vscode' || | ||
Boolean(process.env.WT_SESSION) | ||
); | ||
class StdinDiscarder { | ||
@@ -167,3 +173,3 @@ constructor() { | ||
this._spinner = spinner; | ||
} else if (process.platform === 'win32') { | ||
} else if (!terminalSupportsUnicode()) { | ||
this._spinner = cliSpinners.line; | ||
@@ -170,0 +176,0 @@ } else if (spinner === undefined) { |
{ | ||
"name": "ora", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"description": "Elegant terminal spinner", | ||
@@ -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 2 instances 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
23270
535
3