Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oclif/core

Package Overview
Dependencies
Maintainers
2
Versions
405
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/core - npm Package Compare versions

Comparing version 4.0.0-beta.16 to 4.0.0-beta.17

lib/ux/supports-color.d.ts

6

lib/ux/theme.js

@@ -8,4 +8,4 @@ "use strict";

const ansis_1 = __importDefault(require("ansis"));
const supports_color_1 = require("supports-color");
const theme_1 = require("../interfaces/theme");
const supports_color_1 = require("./supports-color");
function isStandardAnsi(color) {

@@ -23,6 +23,4 @@ return theme_1.STANDARD_ANSI.includes(color);

return text;
if (!supports_color_1.stdout)
if (!(0, supports_color_1.supportsColor)())
return text;
if (!supports_color_1.stderr)
return text;
if (isStandardAnsi(color))

@@ -29,0 +27,0 @@ return ansis_1.default[color](text);

{
"name": "@oclif/core",
"description": "base library for oclif CLIs",
"version": "4.0.0-beta.16",
"version": "4.0.0-beta.17",
"author": "Salesforce",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/core/issues",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc