New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@antora/site-generator

Package Overview
Dependencies
Maintainers
2
Versions
30
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.1 to 3.0.2

28

lib/generate-site.js

@@ -46,15 +46,17 @@ 'use strict'

await context.notify('beforePublish')
return fxns.publishFiles(playbook, [contentCatalog, uiCatalog, vars.lock('siteCatalog')]).then((publications) => {
if (!playbook.runtime.quiet && process.stdout.isTTY) {
const indexPath = contentCatalog.getSiteStartPage() ? '/index.html' : ''
const log = (msg) => process.stdout.write(msg + '\n')
log('Site generation complete!')
publications.forEach(
({ fileUri }) => fileUri && log(`Open ${fileUri}${indexPath} in a browser to view your site.`)
)
}
return context
.notify('sitePublished', Object.assign(vars, { publications }))
.then(() => vars.remove('publications'))
})
return await fxns
.publishFiles(playbook, [contentCatalog, uiCatalog, vars.lock('siteCatalog')])
.then((publications) => {
if (!playbook.runtime.quiet && process.stdout.isTTY) {
const indexPath = contentCatalog.getSiteStartPage() ? '/index.html' : ''
const log = (msg) => process.stdout.write(msg + '\n')
log('Site generation complete!')
publications.forEach(
({ fileUri }) => fileUri && log(`Open ${fileUri}${indexPath} in a browser to view your site.`)
)
}
return context
.notify('sitePublished', Object.assign(vars, { publications }))
.then(() => vars.remove('publications'))
})
} catch (err) {

@@ -61,0 +63,0 @@ if (!GeneratorContext.isStopSignal(err)) throw err

{
"name": "@antora/site-generator",
"version": "3.0.1",
"version": "3.0.2",
"description": "The Antora generator for producing and publishing static documentation sites with Antora.",

@@ -17,19 +17,16 @@ "license": "MPL-2.0",

"main": "lib/index.js",
"scripts": {
"test": "_mocha"
},
"dependencies": {
"@antora/asciidoc-loader": "3.0.1",
"@antora/content-aggregator": "3.0.1",
"@antora/content-classifier": "3.0.1",
"@antora/document-converter": "3.0.1",
"@antora/file-publisher": "3.0.1",
"@antora/logger": "3.0.1",
"@antora/navigation-builder": "3.0.1",
"@antora/page-composer": "3.0.1",
"@antora/playbook-builder": "3.0.1",
"@antora/redirect-producer": "3.0.1",
"@antora/site-mapper": "3.0.1",
"@antora/site-publisher": "3.0.1",
"@antora/ui-loader": "3.0.1",
"@antora/asciidoc-loader": "3.0.2",
"@antora/content-aggregator": "3.0.2",
"@antora/content-classifier": "3.0.2",
"@antora/document-converter": "3.0.2",
"@antora/file-publisher": "3.0.2",
"@antora/logger": "3.0.2",
"@antora/navigation-builder": "3.0.2",
"@antora/page-composer": "3.0.2",
"@antora/playbook-builder": "3.0.2",
"@antora/redirect-producer": "3.0.2",
"@antora/site-mapper": "3.0.2",
"@antora/site-publisher": "3.0.2",
"@antora/ui-loader": "3.0.2",
"@antora/user-require-helper": "~2.0"

@@ -52,3 +49,7 @@ },

],
"gitHead": "e8e6f6ba33b1ab3f796907b5a256893a64844cd1"
"scripts": {
"test": "_mocha",
"prepublishOnly": "node $npm_config_local_prefix/npm/prepublishOnly.js",
"postpublish": "node $npm_config_local_prefix/npm/postpublish.js"
}
}
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