@antora/navigation-builder
Advanced tools
Comparing version 2.3.4 to 3.0.0-alpha.1
@@ -38,3 +38,3 @@ 'use strict' | ||
const val = accum.get(key) | ||
if (val) return new Map(accum).set(key, Object.assign({}, val, { navFiles: val.navFiles.concat(navFile) })) | ||
if (val) return new Map(accum).set(key, Object.assign({}, val, { navFiles: [...val.navFiles, navFile] })) | ||
const componentVersion = contentCatalog.getComponentVersion(component, version) | ||
@@ -46,3 +46,4 @@ const asciidocConfig = Object.assign({}, componentVersion.asciidoc || siteAsciiDocConfig, navAsciiDocConfig) | ||
const trees = navFiles.reduce((accum, navFile) => { | ||
return accum.concat(loadNavigationFile(navFile, contentCatalog, asciidocConfig)) | ||
accum.push(...loadNavigationFile(navFile, contentCatalog, asciidocConfig)) | ||
return accum | ||
}, []) | ||
@@ -49,0 +50,0 @@ componentVersion.navigation = navCatalog.addNavigation(component, version, trees) |
{ | ||
"name": "@antora/navigation-builder", | ||
"version": "2.3.4", | ||
"version": "3.0.0-alpha.1", | ||
"description": "Builds a navigation catalog from navigation files for adding site navigation to pages in an Antora documentation pipeline.", | ||
@@ -18,6 +18,6 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/asciidoc-loader": "2.3.4" | ||
"@antora/asciidoc-loader": "3.0.0-alpha.1" | ||
}, | ||
"engines": { | ||
"node": ">=8.11.0" | ||
"node": ">=10.17.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "files": [ | ||
], | ||
"gitHead": "5a40191c970ece6baecbd1a3a7a599d7161351a9" | ||
"gitHead": "337ff6d2ed11e1f4d0a8ef993ddc8eaac7a73e9f" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
24409
146
1
+ Added@antora/asciidoc-loader@3.0.0-alpha.1(transitive)
- Removed@antora/asciidoc-loader@2.3.4(transitive)