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

@antora/site-generator

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/site-generator - npm Package Compare versions

Comparing version 3.0.0-rc.1 to 3.0.0-rc.2

12

lib/generate-site.js

@@ -9,2 +9,3 @@ 'use strict'

try {
if (Array.isArray(playbook)) playbook = buildPlaybookFromArguments.apply(context, arguments)
const { fxns, vars } = await GeneratorContext.start(context, playbook)

@@ -67,2 +68,13 @@ await context.notify('playbookBuilt')

function buildPlaybookFromArguments (args, env) {
return require('@antora/playbook-builder')(args, env, undefined, (config) => {
try {
const { configureLogger, finalizeLogger } = require('@antora/logger')
const playbookFile = config.get('playbook') || process.cwd() + '/.'
configureLogger(config.getModel('runtime.log'), require('path').dirname(playbookFile))
this.on('contextClosed', finalizeLogger)
} catch {}
})
}
module.exports = generateSite

31

package.json
{
"name": "@antora/site-generator",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"description": "The Antora generator for producing and publishing static documentation sites with Antora.",

@@ -21,18 +21,17 @@ "license": "MPL-2.0",

"dependencies": {
"@antora/asciidoc-loader": "3.0.0-rc.1",
"@antora/content-aggregator": "3.0.0-rc.1",
"@antora/content-classifier": "3.0.0-rc.1",
"@antora/document-converter": "3.0.0-rc.1",
"@antora/file-publisher": "3.0.0-rc.1",
"@antora/logger": "3.0.0-rc.1",
"@antora/navigation-builder": "3.0.0-rc.1",
"@antora/page-composer": "3.0.0-rc.1",
"@antora/redirect-producer": "3.0.0-rc.1",
"@antora/site-mapper": "3.0.0-rc.1",
"@antora/ui-loader": "3.0.0-rc.1",
"@antora/asciidoc-loader": "3.0.0-rc.2",
"@antora/content-aggregator": "3.0.0-rc.2",
"@antora/content-classifier": "3.0.0-rc.2",
"@antora/document-converter": "3.0.0-rc.2",
"@antora/file-publisher": "3.0.0-rc.2",
"@antora/logger": "3.0.0-rc.2",
"@antora/navigation-builder": "3.0.0-rc.2",
"@antora/page-composer": "3.0.0-rc.2",
"@antora/playbook-builder": "3.0.0-rc.2",
"@antora/redirect-producer": "3.0.0-rc.2",
"@antora/site-mapper": "3.0.0-rc.2",
"@antora/site-publisher": "3.0.0-rc.2",
"@antora/ui-loader": "3.0.0-rc.2",
"@antora/user-require-helper": "~2.0"
},
"devDependencies": {
"@antora/playbook-builder": "3.0.0-rc.1"
},
"engines": {

@@ -53,3 +52,3 @@ "node": ">=12.21.0"

],
"gitHead": "044371a33e2c0fed9724d30945bbb549d64845d5"
"gitHead": "b64861391b7e55ea31fcecce4490b9cc02fec1c7"
}
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