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

@antora/cli

Package Overview
Dependencies
Maintainers
2
Versions
85
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 3.0.0-alpha.3 to 3.0.0-alpha.4

13

lib/cli.js

@@ -24,6 +24,11 @@ #!/usr/bin/env node

if (showStack) {
const stack = err.backtrace || (err.stack && err.stack.split('\n')) || []
const msgLine = stack.shift()
msg = msgLine && msgLine.endsWith(': ' + msg) ? msgLine : `error: ${msg}`
console.error(stack.length ? [msg, ...stack].join('\n') : `${msg} (no stack)`)
let stack
if ((stack = err.backtrace)) {
msg = [`error: ${msg}`, ...stack.slice(1)].join('\n')
} else if ((stack = err.stack)) {
msg = stack.startsWith(`${err.name}: ${msg}\n`) ? stack : [msg, ...stack.split('\n').slice(1)].join('\n')
} else {
msg = `error: ${msg} (no stack)`
}
console.error(msg)
} else {

@@ -30,0 +35,0 @@ console.error(`error: ${msg}\nAdd the --stacktrace option to see the cause.`)

{
"name": "@antora/cli",
"version": "3.0.0-alpha.3",
"version": "3.0.0-alpha.4",
"description": "The command line interface for Antora.",

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

"dependencies": {
"@antora/playbook-builder": "3.0.0-alpha.3",
"@antora/playbook-builder": "3.0.0-alpha.4",
"commander": "~6.2"
},
"devDependencies": {
"@antora/site-publisher": "3.0.0-alpha.3",
"@antora/site-publisher": "3.0.0-alpha.4",
"convict": "~6.0",

@@ -45,3 +45,3 @@ "kapok-js": "~0.10"

],
"gitHead": "2f02cf0d42fb5db4607ea5e600ca8a4ab45d5a5f"
"gitHead": "aaa76a6387e339052d0bfb298add24f56f42a828"
}
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