Socket
Socket
Sign inDemoInstall

@oclif/core

Package Overview
Dependencies
Maintainers
5
Versions
396
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.19 to 0.5.20

7

CHANGELOG.md

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

### [0.5.20](https://github.com/oclif/core/compare/v0.5.19...v0.5.20) (2021-07-01)
### Bug Fixes
* allow for no args on top level topic ([1231eae](https://github.com/oclif/core/commit/1231eae78310d0da064ed74b53ad58e10e6905b6))
### [0.5.19](https://github.com/oclif/core/compare/v0.5.18...v0.5.19) (2021-06-30)

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

3

lib/main.js

@@ -29,2 +29,3 @@ "use strict";

async function run(argv = process.argv.slice(2), options) {
var _a;
// Handle the case when a file URL string or URL is passed in such as 'import.meta.url'; covert to file path.

@@ -36,3 +37,3 @@ if ((typeof options === 'string' && options.startsWith('file://')) || options instanceof URL) {

const config = await config_1.Config.load(options || (module.parent && module.parent.parent && module.parent.parent.filename) || __dirname);
if (config.topicSeparator !== ':' && !argv[0].includes(':'))
if (config.topicSeparator !== ':' && !((_a = argv[0]) === null || _a === void 0 ? void 0 : _a.includes(':')))
argv = help_1.standardizeIDFromArgv(argv, config);

@@ -39,0 +40,0 @@ let [id, ...argvSlice] = argv;

{
"name": "@oclif/core",
"description": "base library for oclif CLIs",
"version": "0.5.19",
"version": "0.5.20",
"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