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 2.3.4 to 3.0.0-alpha.1

5

lib/build-navigation.js

@@ -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)

8

package.json
{
"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"
}
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