New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@antora/site-mapper

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/site-mapper - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

lib/map-site.js

@@ -38,6 +38,6 @@ 'use strict'

function mapSite (playbook, pages) {
if (!pages.length) return []
let siteUrl = playbook.site.url
if (!siteUrl) return []
if (!siteUrl || siteUrl.charAt() === '/') return []
if (siteUrl.charAt(siteUrl.length - 1) === '/') siteUrl = siteUrl.substr(0, siteUrl.length - 1)
if (!pages.length) return []
const lastmodISO = new Date().toISOString()

@@ -44,0 +44,0 @@ let sitemaps = pages.reduce((accum, file) => {

{
"name": "@antora/site-mapper",
"version": "2.1.0",
"version": "2.1.1",
"description": "Generates sitemap files that list all publishable pages in an Antora documentation pipeline.",

@@ -18,3 +18,3 @@ "license": "MPL-2.0",

"dependencies": {
"@antora/content-classifier": "2.1.0",
"@antora/content-classifier": "2.1.1",
"vinyl": "~2.2"

@@ -21,0 +21,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