@antora/site-mapper
Advanced tools
Comparing version 3.1.1 to 3.2.0-alpha.1
@@ -46,7 +46,6 @@ 'use strict' | ||
function mapSite (playbook, pages) { | ||
let siteUrl = playbook.site.url | ||
const siteUrl = playbook.site.url | ||
if (!(siteUrl && pages.length)) return [] | ||
const robots = playbook.site.robots | ||
if (siteUrl.charAt() === '/') return robots ? [createRobotsExclusionFile(robots)] : [] | ||
if (siteUrl.charAt(siteUrl.length - 1) === '/') siteUrl = siteUrl.substr(0, siteUrl.length - 1) | ||
const lastmodISO = new Date().toISOString() | ||
@@ -53,0 +52,0 @@ let sitemaps = pages.reduce((accum, file) => { |
{ | ||
"name": "@antora/site-mapper", | ||
"version": "3.1.1", | ||
"version": "3.2.0-alpha.1", | ||
"description": "Generates sitemap files that list all publishable pages in an Antora documentation pipeline.", | ||
@@ -23,3 +23,3 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/content-classifier": "3.1.1", | ||
"@antora/content-classifier": "3.2.0-alpha.1", | ||
"vinyl": "~2.2" | ||
@@ -26,0 +26,0 @@ }, |
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
7921
3
151
1
+ Added@antora/asciidoc-loader@3.2.0-alpha.1(transitive)
+ Added@antora/content-classifier@3.2.0-alpha.1(transitive)
+ Added@antora/logger@3.2.0-alpha.1(transitive)
+ Addedfast-copy@3.0.2(transitive)
+ Addedpino@8.7.0(transitive)
+ Addedpino-pretty@9.1.1(transitive)
- Removed@antora/asciidoc-loader@3.1.1(transitive)
- Removed@antora/content-classifier@3.1.1(transitive)
- Removed@antora/logger@3.1.1(transitive)
- Removedfast-copy@2.1.7(transitive)
- Removedpino@8.4.2(transitive)
- Removedpino-pretty@9.0.1(transitive)