@antora/content-classifier
Advanced tools
Comparing version 3.0.0-alpha.5 to 3.0.0-alpha.6
'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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55562
13
896
3
+ Added@antora/logger@3.0.0-alpha.6
+ Added@antora/logger@3.0.0-alpha.6(transitive)
+ Added@hapi/bourne@2.1.0(transitive)
+ Addedansi-styles@3.2.14.3.0(transitive)
+ Addedargs@5.0.3(transitive)
+ Addedatomic-sleep@1.0.0(transitive)
+ Addedcamelcase@5.0.0(transitive)
+ Addedchalk@2.4.24.1.2(transitive)
+ Addedcolor-convert@1.9.32.0.1(transitive)
+ Addedcolor-name@1.1.31.1.4(transitive)
+ Addeddateformat@4.6.3(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedfast-redact@3.5.0(transitive)
+ Addedfast-safe-stringify@2.1.1(transitive)
+ Addedflatstr@1.0.12(transitive)
+ Addedhas-flag@3.0.04.0.0(transitive)
+ Addedjmespath@0.15.0(transitive)
+ Addedjoycon@2.2.5(transitive)
+ Addedleven@2.1.0(transitive)
+ Addedmri@1.1.4(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpino@6.11.3(transitive)
+ Addedpino-pretty@4.8.0(transitive)
+ Addedpino-std-serializers@3.2.0(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedquick-format-unescaped@4.0.4(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedrfdc@1.4.1(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsonic-boom@1.4.1(transitive)
+ Addedsplit2@3.2.2(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedstrip-json-comments@3.1.1(transitive)
+ Addedsupports-color@5.5.07.2.0(transitive)
+ Addedwrappy@1.0.2(transitive)