Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antora/page-composer

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/page-composer - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

9

lib/build-ui-model.js

@@ -121,7 +121,6 @@ 'use strict'

let latestReached
// NOTE latest could be older than the latest component version since the page might cease to exist
const latest = versions.find(
(candidate) => (latestReached || (latestReached = candidate.latest)) && !candidate.missing
)
if (latest && !latest.prerelease) {
// NOTE latest will at least match current page version, if not a newer version
// NOTE latest not guaranteed to match latest component version since the page may be missing in that version
const latest = versions.find((it) => (latestReached || (latestReached = it.latest)) && !it.missing)
if (!latest.prerelease) {
let canonicalUrl = latest.url

@@ -128,0 +127,0 @@ if (canonicalUrl === url || canonicalUrl.charAt() === '/') canonicalUrl = siteUrl + canonicalUrl

{
"name": "@antora/page-composer",
"version": "2.3.1",
"version": "2.3.2",
"description": "Wraps the embeddable HTML contents of each page file from the content catalog in a page layout to yield standalone pages in an Antora documentation pipeline.",

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

],
"gitHead": "b5c90bd55ba16fc6b293ea76d40452212c6e2a37"
"gitHead": "859ba61d87c93743e302b0e2113252cb95739ac0"
}
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