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

@oclif/core

Package Overview
Dependencies
Maintainers
7
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 0.5.40 to 0.5.41

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.5.41](https://github.com/oclif/core/compare/v0.5.40...v0.5.41) (2021-09-29)
### Bug Fixes
* only show warnings when json is not enabled ([#260](https://github.com/oclif/core/issues/260)) ([0890917](https://github.com/oclif/core/commit/0890917f79c671c4635dc577c6821d544eef3c69))
### [0.5.40](https://github.com/oclif/core/compare/v0.5.39...v0.5.40) (2021-09-27)

@@ -7,0 +14,0 @@

2

lib/command.d.ts

@@ -77,3 +77,3 @@ import { Config } from './config';

exit(code?: number): void;
warn(input: string | Error): void;
warn(input: string | Error): string | Error;
error(input: string | Error, options: {

@@ -80,0 +80,0 @@ code?: string;

@@ -71,3 +71,5 @@ "use strict";

warn(input) {
Errors.warn(input);
if (!this.jsonEnabled())
Errors.warn(input);
return input;
}

@@ -74,0 +76,0 @@ error(input, options = {}) {

{
"name": "@oclif/core",
"description": "base library for oclif CLIs",
"version": "0.5.40",
"version": "0.5.41",
"author": "Jeff Dickey @jdxcode",

@@ -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