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

hexo-generator-better-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-generator-better-sitemap - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/generator.js

@@ -20,3 +20,3 @@ const seoFriendlySitemap = function (locals) {

return Promise.all(sitemaps)
.filter(Boolean)
.then(arr => arr.filter(Boolean))
.then(indexSitemap.get)

@@ -23,0 +23,0 @@ .map(render);

@@ -28,7 +28,7 @@ const path = require('path');

const templateFilePath = path.join(viewPath, sitemap.template);
return Promise.join(
return Promise.all([
sitemap,
templateFilePath,
common.getFileContent(templateFilePath),
getCompiledContent);
common.getFileContent(templateFilePath)
]).then(results => getCompiledContent(...results));
};

@@ -35,0 +35,0 @@

{
"name": "hexo-generator-better-sitemap",
"description": "SEO-friendly sitemap generator plugin for Hexo",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "SukkaW",

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