@antora/playbook-builder
Advanced tools
Comparing version 3.1.7 to 3.1.8
@@ -20,3 +20,4 @@ 'use strict' | ||
'A list of extensions that listen for lifecycle events. ' + | ||
'Each extension is specified as a require request string or an object with a require key.', | ||
'Each extension is specified as a require request string or an object with a require key. ' + | ||
'May be specified multiple times.', | ||
format: 'require-array', | ||
@@ -23,0 +24,0 @@ default: [], |
@@ -57,4 +57,11 @@ 'use strict' | ||
while ((match = ARGS_SCANNER_RX.exec(val))) { | ||
const [, k, v] = match | ||
if (k) accum[k] = v ? (v === '-' ? '-' : yaml.load(v, { schema: yaml.CORE_SCHEMA })) : '' | ||
const [, k, v = ''] = match | ||
if (!k) continue | ||
let parsed = v | ||
if (parsed && parsed !== '-') { | ||
try { | ||
parsed = yaml.load(v, { schema: yaml.CORE_SCHEMA }) | ||
} catch {} | ||
} | ||
accum[k] = parsed | ||
} | ||
@@ -61,0 +68,0 @@ return accum |
{ | ||
"name": "@antora/playbook-builder", | ||
"version": "3.1.7", | ||
"version": "3.1.8", | ||
"description": "Builds a playbook object from user input for configuring successive documentation components in an Antora pipeline.", | ||
@@ -5,0 +5,0 @@ "license": "MPL-2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24279
645