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

@antora/playbook-builder

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/playbook-builder - npm Package Compare versions

Comparing version 3.2.0-alpha.4 to 3.2.0-alpha.5

4

lib/build-playbook.js

@@ -5,4 +5,4 @@ 'use strict'

const defaultSchema = require('./config/schema')
const fs = require('fs')
const ospath = require('path')
const fs = require('node:fs')
const ospath = require('node:path')

@@ -9,0 +9,0 @@ /**

@@ -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',

@@ -173,2 +174,7 @@ default: [],

},
fetch_depth: {
doc: 'Preferred number of commits to fetch from remote repository. 0 indicates full history.',
format: 'int',
default: 1,
},
plugins: {

@@ -175,0 +181,0 @@ credential_manager: {

@@ -57,4 +57,11 @@ 'use strict'

while ((match = scanner.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.2.0-alpha.4",
"version": "3.2.0-alpha.5",
"description": "Builds a playbook object from user input for configuring successive documentation components in an Antora pipeline.",

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

"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -35,0 +35,0 @@ "files": [

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