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

gulp-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-sitemap - npm Package Compare versions

Comparing version 4.3.0 to 5.0.0

5

lib/sitemap.js

@@ -41,7 +41,4 @@ 'use strict';

var indexRegex = /(\/|\\|^)index\.html?$/;
//turn index.html into -> /
var relativeFile = relativePath.replace(indexRegex, function(string, match) {
return match.slice(0, 1) === '/' ? '/' : '';
}, 'i');
var relativeFile = relativePath.replace(/(\/|\\|^)index\.html?$/, '/');
//url location. Use slash to convert windows \\ or \ to /

@@ -48,0 +45,0 @@ var adjustedFile = slash(relativeFile);

2

package.json
{
"name": "gulp-sitemap",
"version": "4.3.0",
"version": "5.0.0",
"description": "Generate a search engine friendly sitemap.xml using a Gulp stream",

@@ -5,0 +5,0 @@ "repository": "pgilad/gulp-sitemap",

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