New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@antora/cli

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/cli - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0-beta.1

9

lib/commander/condense-help.js

@@ -7,2 +7,4 @@ 'use strict'

const QUOTED_DEFAULT_VALUE_RX = / \(default: "([^"]+)"\)/
// TODO include common options when outputting help for a (sub)command

@@ -14,6 +16,3 @@ Command.prototype.helpInformation = function () {

.reduce((accum, line) => {
if (line === '\n') {
const prevLine = accum[accum.length - 1]
if (prevLine === undefined || !(prevLine === '\n' || prevLine.endsWith(':\n'))) accum.push(line)
} else if (line.startsWith('Usage: ')) {
if (line.startsWith('Usage: ')) {
if (this.parent) {

@@ -29,2 +28,4 @@ let ancestor = this

accum.push(line.trimRight().replace(' output', ' Output') + '.\n')
} else if (~line.indexOf('"')) {
accum.push(line.replace(QUOTED_DEFAULT_VALUE_RX, ' (default: $1)'))
} else {

@@ -31,0 +32,0 @@ accum.push(line)

{
"name": "@antora/cli",
"version": "1.1.1",
"version": "2.0.0-beta.1",
"description": "The command line interface for Antora.",

@@ -21,3 +21,3 @@ "license": "MPL-2.0",

"dependencies": {
"@antora/playbook-builder": "1.1.1",
"@antora/playbook-builder": "2.0.0-beta.1",
"commander": "^2.18.0"

@@ -24,0 +24,0 @@ },

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