Socket
Socket
Sign inDemoInstall

@antora/site-mapper

Package Overview
Dependencies
70
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.1 to 3.2.0-alpha.1

3

lib/map-site.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc