Socket
Socket
Sign inDemoInstall

supports-hyperlinks

Package Overview
Dependencies
2
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc