@antora/navigation-builder
Advanced tools
Comparing version 3.2.0-alpha.1 to 3.2.0-alpha.2
@@ -5,2 +5,4 @@ 'use strict' | ||
const $unsafe = Symbol.for('unsafe') | ||
const LINK_RX = /<a href="([^"]+)"(?: class="([^"]+)")?>(.+?)<\/a>/ | ||
@@ -30,3 +32,3 @@ | ||
function buildNavigation (contentCatalog, siteAsciiDocConfig = {}) { | ||
const { loadAsciiDoc = require('@antora/asciidoc-loader') } = this ? this.getFunctions(false) : {} | ||
const { loadAsciiDoc = require('@antora/asciidoc-loader') } = this ? this.getFunctions($unsafe) : {} | ||
const navCatalog = new NavigationCatalog() | ||
@@ -33,0 +35,0 @@ const navAsciiDocConfig = { doctype: 'article', extensions: [], relativizeResourceRefs: false } |
{ | ||
"name": "@antora/navigation-builder", | ||
"version": "3.2.0-alpha.1", | ||
"version": "3.2.0-alpha.2", | ||
"description": "Builds a navigation catalog from navigation files for adding site navigation to pages in an Antora documentation pipeline.", | ||
@@ -22,3 +22,3 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/asciidoc-loader": "3.2.0-alpha.1" | ||
"@antora/asciidoc-loader": "3.2.0-alpha.2" | ||
}, | ||
@@ -25,0 +25,0 @@ "engines": { |
@@ -13,2 +13,2 @@ # Antora Navigation Builder | ||
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.0). | ||
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (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
8007
147
13
+ Added@antora/asciidoc-loader@3.2.0-alpha.2(transitive)
+ Added@antora/logger@3.2.0-alpha.2(transitive)
- Removed@antora/asciidoc-loader@3.2.0-alpha.1(transitive)
- Removed@antora/logger@3.2.0-alpha.1(transitive)