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

@oclif/config

Package Overview
Dependencies
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/config - npm Package Compare versions

Comparing version 1.8.5 to 1.8.6

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.8.6](https://github.com/oclif/config/compare/v1.8.5...v1.8.6) (2018-10-04)
### Bug Fixes
* Add channel and version to config ctor options ([#60](https://github.com/oclif/config/issues/60)) ([65ce583](https://github.com/oclif/config/commit/65ce583))
## [1.8.5](https://github.com/oclif/config/compare/v1.8.4...v1.8.5) (2018-10-04)

@@ -2,0 +9,0 @@

2

lib/config.d.ts

@@ -11,2 +11,4 @@ import { Command } from './command';

userPlugins?: boolean;
channel?: string;
version?: string;
}

@@ -13,0 +15,0 @@ export interface IConfig {

4

lib/config.js

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

this.name = this.pjson.name;
this.version = this.pjson.version || '0.0.0';
this.channel = channelFromVersion(this.version);
this.version = this.options.version || this.pjson.version || '0.0.0';
this.channel = this.options.channel || channelFromVersion(this.version);
this.valid = plugin.valid;

@@ -37,0 +37,0 @@ this.arch = (os.arch() === 'ia32' ? 'x86' : os.arch());

{
"name": "@oclif/config",
"description": "base config object and standard interfaces for oclif components",
"version": "1.8.5",
"version": "1.8.6",
"author": "Jeff Dickey @jdxcode",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/config/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