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

@antora/content-classifier

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/content-classifier - npm Package Compare versions

Comparing version 3.0.0-beta.3 to 3.0.0-beta.4

12

lib/content-catalog.js

@@ -271,4 +271,8 @@ 'use strict'

) {
if ((startPageSrc.module !== 'ROOT' || startPageSrc.relative !== 'index.adoc') && !this.getById(indexPageId)) {
this.addFile({ src: Object.assign({}, indexPageId, { family: 'alias' }), rel: startPage })
if (!this.getById(indexPageId)) {
const indexAliasId = Object.assign({}, ROOT_INDEX_ALIAS_ID, { component: name, version })
const indexAlias = this.getById(indexAliasId)
indexAlias
? indexAlias.synthetic && Object.assign(indexAlias, { rel: startPage })
: this.addFile({ src: indexAliasId, rel: startPage, synthetic: true })
}

@@ -316,3 +320,5 @@ } else {

if (rel) {
if (!(this.getSiteStartPage() || { synthetic: true }).synthetic) return
if (this.getById(ROOT_INDEX_PAGE_ID)) return
const indexAlias = this.getById(ROOT_INDEX_ALIAS_ID)
if (indexAlias) return indexAlias.synthetic ? Object.assign(indexAlias, { rel }) : undefined
return this.addFile({ src: Object.assign({}, ROOT_INDEX_ALIAS_ID), rel, synthetic: true })

@@ -319,0 +325,0 @@ } else if (rel === false) {

{
"name": "@antora/content-classifier",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"description": "Organizes aggregated content into a virtual file catalog for use in an Antora documentation pipeline.",

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

"dependencies": {
"@antora/logger": "3.0.0-beta.3",
"@antora/logger": "3.0.0-beta.4",
"mime-types": "~2.1",

@@ -38,3 +38,4 @@ "vinyl": "~2.2"

],
"gitHead": "45da95a2e2dea538379d2d9f42013d2208fb86c3"
"gitHead": "8a142499e9f1a9e0631777796e06dd6c010d3a90",
"readmeFilename": "README.md"
}
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