supports-hyperlinks
Advanced tools
Comparing version 2.2.0 to 2.3.0
13
index.js
@@ -39,2 +39,7 @@ 'use strict'; | ||
// Netlify does not run a TTY, it does not need `supportsColor` check | ||
if ('NETLIFY' in env) { | ||
return true; | ||
} | ||
// If they specify no colors, they probably don't want hyperlinks. | ||
@@ -53,6 +58,2 @@ if (!supportsColor.supportsColor(stream)) { | ||
if ('NETLIFY' in env) { | ||
return true; | ||
} | ||
if ('CI' in env) { | ||
@@ -76,2 +77,6 @@ return false; | ||
return version.major > 3; | ||
case 'WezTerm': | ||
return version.major >= 20200620; | ||
case 'vscode': | ||
return version.major > 1 || version.major === 1 && version.minor >= 72; | ||
// No default | ||
@@ -78,0 +83,0 @@ } |
{ | ||
"name": "supports-hyperlinks", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Detect if your terminal emulator supports hyperlinks", | ||
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
6927
89
1