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 2.3.0-rc.1 to 2.3.0-rc.2

7

lib/content-catalog.js

@@ -30,3 +30,3 @@ 'use strict'

if (startPageSpec) {
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : `${startPageSpec}.adoc`
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : startPageSpec + '.adoc'
const { src: startPageSrc } = (startPage = this.resolvePage(formalStartPageSpec, indexPageId)) || {}

@@ -226,3 +226,3 @@ if (startPageSrc && startPageSrc.component === name && startPageSrc.version === version) {

if (!startPageSpec) return
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : `${startPageSpec}.adoc`
const formalStartPageSpec = startPageSpec.endsWith('.adoc') ? startPageSpec : startPageSpec + '.adoc'
const rel = this.resolvePage(formalStartPageSpec)

@@ -273,4 +273,3 @@ if (rel) {

*
* @param {String} spec - The contextual page ID spec (e.g.,
* version@component:module:topic/page followed by optional .adoc extension).
* @param {String} spec - The contextual page ID spec (e.g., version@component:module:topic/page.adoc).
* @param {ContentCatalog} catalog - The content catalog in which to resolve the page file.

@@ -277,0 +276,0 @@ * @param {Object} [ctx={}] - The context to use to qualified the contextual page ID.

{
"name": "@antora/content-classifier",
"version": "2.3.0-rc.1",
"version": "2.3.0-rc.2",
"description": "Organizes aggregated content into a virtual file catalog for use in an Antora documentation pipeline.",

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

"dependencies": {
"@antora/asciidoc-loader": "2.3.0-rc.1",
"@antora/asciidoc-loader": "2.3.0-rc.2",
"vinyl": "~2.2"
},
"devDependencies": {
"@antora/content-aggregator": "2.3.0-rc.1"
"@antora/content-aggregator": "2.3.0-rc.2"
},

@@ -26,0 +26,0 @@ "engines": {

@@ -10,4 +10,4 @@ # Antora Content Classifier

Copyright (C) 2017-2019 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org).
Copyright (C) 2017-2020 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org).
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).
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