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

@antora/navigation-builder

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/navigation-builder - npm Package Compare versions

Comparing version 3.0.0-alpha.9 to 3.0.0-alpha.10

6

lib/build-navigation.js

@@ -24,3 +24,3 @@ 'use strict'

* @param {Object} [asciidocConfig={}] - AsciiDoc processor configuration options. Extensions are not propagated.
* Sets the relativizePageRefs option to false before passing to the loadAsciiDoc function.
* Sets the relativizeResourceRefs option to false before passing to the loadAsciiDoc function.
* @param {Object} [asciidocConfig.attributes={}] - Shared AsciiDoc attributes to assign to the document.

@@ -32,3 +32,3 @@ *

const navCatalog = new NavigationCatalog()
const navAsciiDocConfig = { doctype: 'article', extensions: [], relativizePageRefs: false }
const navAsciiDocConfig = { doctype: 'article', extensions: [], relativizeResourceRefs: false }
contentCatalog

@@ -103,3 +103,3 @@ .findBy({ family: 'nav' })

let roles
if (role && (roles = role.includes(' ') ? role.split(' ') : [role]).includes('page')) {
if (role && role.includes(' ') && (roles = role.split(' ')).includes('xref')) {
const hashIdx = url.indexOf('#')

@@ -106,0 +106,0 @@ if (~hashIdx) {

{
"name": "@antora/navigation-builder",
"version": "3.0.0-alpha.9",
"version": "3.0.0-alpha.10",
"description": "Builds a navigation catalog from navigation files for adding site navigation to pages in an Antora documentation pipeline.",

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

"dependencies": {
"@antora/asciidoc-loader": "3.0.0-alpha.9"
"@antora/asciidoc-loader": "3.0.0-alpha.10"
},

@@ -36,3 +36,3 @@ "engines": {

],
"gitHead": "a504d6889819b548e8a5416a7194cbb6f9a93e93"
"gitHead": "a9e10aacbc6fb0c4dc3a42dd7e4a5c763d153428"
}
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