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

metalsmith-sitemap

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-sitemap - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

7

lib/index.js

@@ -114,9 +114,4 @@ /**

var separatorRegex = new RegExp(path.sep, 'g');
function replaceBackslash(url) {
if (path.sep != '/') {
return url.replace(separatorRegex, '/');
}
return url;
return url.replace(/\\/g, '/');
}

@@ -123,0 +118,0 @@

2

package.json
{
"name": "metalsmith-sitemap",
"version": "1.2.1",
"version": "1.2.2",
"description": "A metalsmith plugin for generating a sitemap.xml file.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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