Socket
Socket
Sign inDemoInstall

gulp-sitemap

Package Overview
Dependencies
49
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.0 to 7.3.0

4

lib/sitemap.js

@@ -12,3 +12,3 @@ 'use strict';

'<?xml version="1.0" encoding="UTF-8"?>',
'<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'
'<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">'
];

@@ -81,3 +81,3 @@

function getImagesUrl(entry, siteConfig) {
const reImageMatch = /<img\s+src="((https?:\/\/)?[\w\.\/]+)"\s+alt="[\w\.a/]*"\/?>/ig;
const reImageMatch = /<img\s+src="((https?:\/\/)?[\w\.\/]+)"/ig;
const reSourceMatch = /"((https?:\/\/)?[\w\.\/]+)"/ig;

@@ -84,0 +84,0 @@ const html = fs.readFileSync(entry.source, { encoding : 'utf8'})

{
"name": "gulp-sitemap",
"version": "7.2.0",
"version": "7.3.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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc