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 2.3.1 to 2.3.2

12

lib/commander/options-from-convict.js

@@ -15,11 +15,11 @@ 'use strict'

function getOptions (config) {
//return collectOptions(config._schema.properties).sort((a, b) => a.name.localeCompare(b.name))
return collectOptions(config._schema.properties)
//return collectOptions(config._schema._cvtProperties).sort((a, b) => a.name.localeCompare(b.name))
return collectOptions(config._schema._cvtProperties)
}
function collectOptions (properties, options = [], context = undefined) {
return Object.entries(properties).reduce((accum, [key, value]) => {
function collectOptions (props, options = [], context = undefined) {
return Object.entries(props).reduce((accum, [key, value]) => {
const path = context ? `${context}.${key}` : key
if ('properties' in value) {
return collectOptions(value.properties, accum, path)
if ('_cvtProperties' in value) {
return collectOptions(value._cvtProperties, accum, path)
} else if ('arg' in value) {

@@ -26,0 +26,0 @@ const { arg, format, default: default_ } = value

{
"name": "@antora/cli",
"version": "2.3.1",
"version": "2.3.2",
"description": "The command line interface for Antora.",

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

"dependencies": {
"@antora/playbook-builder": "2.3.1",
"@antora/playbook-builder": "2.3.2",
"commander": "~5.1"
},
"devDependencies": {
"@antora/site-publisher": "2.3.1",
"convict": "~5.2",
"@antora/site-publisher": "2.3.2",
"convict": "~6.0",
"fs-extra": "~8.1",

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

],
"gitHead": "b5c90bd55ba16fc6b293ea76d40452212c6e2a37"
"gitHead": "859ba61d87c93743e302b0e2113252cb95739ac0"
}
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