Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@oclif/plugin-which

Package Overview
Dependencies
Maintainers
7
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-which - npm Package Compare versions

Comparing version
2.2.11
to
2.2.12
+3
-3
lib/commands/which.js

@@ -7,2 +7,5 @@ "use strict";

const { argv } = await this.parse(Which);
if (argv.length === 0) {
throw new Error('"which" expects a command name. Try something like "which your:command:here" ');
}
let command = argv;

@@ -14,5 +17,2 @@ if (argv.length === 1 && typeof argv[0] === 'string') {

}
else {
throw new Error('"which" expects a command name. Try something like "which your:command:here" ');
}
const cmd = this.config.findCommand(command.join(':'), { must: true });

@@ -19,0 +19,0 @@ core_1.ux.styledHeader(command.join(this.config.topicSeparator));

{
"version": "2.2.11",
"version": "2.2.12",
"commands": {

@@ -4,0 +4,0 @@ "which": {

{
"name": "@oclif/plugin-which",
"description": "find which plugin a command is in",
"version": "2.2.11",
"version": "2.2.12",
"author": "Salesforce",

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

@@ -23,3 +23,3 @@ @oclif/plugin-which

$ oclif-example (--version)
@oclif/plugin-which/2.2.11 linux-x64 node-v18.13.0
@oclif/plugin-which/2.2.12 linux-x64 node-v18.13.0
$ oclif-example --help [COMMAND]

@@ -52,3 +52,3 @@ USAGE

_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.2.11/src/commands/which.ts)_
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.2.12/src/commands/which.ts)_
<!-- commandsstop -->