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

@antora/content-classifier

Package Overview
Dependencies
Maintainers
2
Versions
86
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-alpha.5 to 3.0.0-alpha.6

lib/logger.js

17

lib/content-catalog.js
'use strict'
const File = require('./file')
const logger = require('./logger')
const { lookup: resolveMimeType } = require('./mime-types-with-asciidoc')

@@ -258,5 +259,9 @@ const parseResourceId = require('./util/parse-resource-id')

} else {
console.warn(
`Start page specified for ${version}@${name} ${startPage === false ? 'has invalid syntax' : 'not found'}: ` +
startPageSpec
// TODO pass componentVersion as logObject
logger.warn(
'Start page specified for %s@%s %s: %s',
version,
name,
startPage === false ? 'has invalid syntax' : 'not found',
startPageSpec
)

@@ -297,7 +302,7 @@ startPage = this.getById(indexPageId)

} else if (rel === false) {
console.warn(`Start page specified for site has invalid syntax: ${startPageSpec}`)
logger.warn('Start page specified for site has invalid syntax: %s', startPageSpec)
} else if (~startPageSpec.indexOf(':')) {
console.warn(`Start page specified for site not found: ${startPageSpec}`)
logger.warn('Start page specified for site not found: %s', startPageSpec)
} else {
console.warn(`Missing component name in start page for site: ${startPageSpec}`)
logger.warn('Missing component name in start page for site: %s', startPageSpec)
}

@@ -304,0 +309,0 @@ }

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

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

"dependencies": {
"@antora/logger": "3.0.0-alpha.6",
"mime-types": "~2.1",

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

],
"gitHead": "433242dd89b2859355cf6a5ea045337f527a3415"
"gitHead": "38ec002e88eede3ce5c401a6e226d1a0356945c5"
}
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