Socket
Socket
Sign inDemoInstall

@oclif/plugin-help

Package Overview
Dependencies
Maintainers
2
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-help - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

2

.oclif.manifest.json

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

{"version":"1.2.4","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI"}},"args":[{"name":"command","description":"command to show help for","required":false}]}}}
{"version":"1.2.5","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI"}},"args":[{"name":"command","description":"command to show help for","required":false}]}}}

@@ -0,1 +1,9 @@

<a name="1.2.5"></a>
## [1.2.5](https://github.com/oclif/plugin-help/compare/v1.2.4...v1.2.5) (2018-04-20)
### Bug Fixes
* show topic list without extra newline ([89d0bc5](https://github.com/oclif/plugin-help/commit/89d0bc5))
<a name="1.2.4"></a>

@@ -2,0 +10,0 @@ ## [1.2.4](https://github.com/oclif/plugin-help/compare/v1.2.3...v1.2.4) (2018-04-10)

@@ -112,3 +112,7 @@ "use strict";

c.description && this.render(c.description.split('\n')[0])
]), { stripAnsi: this.opts.stripAnsi, maxWidth: this.opts.maxWidth - 2 });
]), {
spacer: '\n',
stripAnsi: this.opts.stripAnsi,
maxWidth: this.opts.maxWidth - 2,
});
return [

@@ -115,0 +119,0 @@ bold('COMMANDS'),

@@ -5,2 +5,3 @@ export declare function renderList(input: (string | undefined)[][], opts: {

stripAnsi?: boolean;
spacer?: string;
}): string;

@@ -36,3 +36,3 @@ "use strict";

let output = '';
let spacer = '\n';
let spacer = opts.spacer || '\n';
let cur = '';

@@ -64,3 +64,5 @@ for (let [left, right] of input) {

return renderMultiline();
spacer = '\n\n';
// if spacer is not defined, separate all rows with extra newline
if (!opts.spacer)
spacer = '\n\n';
cur += '\n';

@@ -67,0 +69,0 @@ cur += indent(lines.join('\n'), maxLength + 2);

{
"name": "@oclif/plugin-help",
"description": "standard help for oclif",
"version": "1.2.4",
"version": "1.2.5",
"author": "Jeff Dickey @jdxcode",

@@ -9,3 +9,3 @@ "bugs": "https://github.com/oclif/plugin-help/issues",

"@oclif/command": "^1.4.13",
"chalk": "^2.3.2",
"chalk": "^2.4.0",
"indent-string": "^3.2.0",

@@ -18,14 +18,14 @@ "lodash.template": "^4.4.0",

"devDependencies": {
"@oclif/config": "^1.6.2",
"@oclif/dev-cli": "^1.12.1",
"@oclif/config": "^1.6.6",
"@oclif/dev-cli": "^1.13.3",
"@oclif/errors": "^1.0.4",
"@oclif/plugin-legacy": "^1.0.9",
"@oclif/plugin-plugins": "^1.0.8",
"@oclif/test": "^1.0.4",
"@oclif/plugin-legacy": "^1.0.11",
"@oclif/plugin-plugins": "^1.0.9",
"@oclif/test": "^1.0.5",
"@oclif/tslint": "^1.1.0",
"@types/chai": "^4.1.2",
"@types/chai": "^4.1.3",
"@types/indent-string": "^3.0.0",
"@types/lodash.template": "^4.4.3",
"@types/mocha": "^5.0.0",
"@types/node": "^9.6.2",
"@types/mocha": "^5.2.0",
"@types/node": "^9.6.6",
"@types/strip-ansi": "^3.0.0",

@@ -36,7 +36,7 @@ "@types/wrap-ansi": "^3.0.0",

"globby": "^8.0.1",
"mocha": "^5.0.5",
"mocha": "^5.1.1",
"strip-ansi": "^4.0.0",
"ts-node": "^5.0.1",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"typescript": "^2.8.1"
"typescript": "^2.8.3"
},

@@ -43,0 +43,0 @@ "engines": {

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