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

sitemap-generator

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemap-generator - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

2

package.json
{
"name": "sitemap-generator",
"version": "2.0.1",
"version": "2.1.0",
"description": "Creates an XML-Sitemap by crawling a given site.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/lgraubner/node-sitemap-generator",

@@ -74,2 +74,6 @@ #!/usr/bin/env node

c.on("complete", function() {
if (chunk.length === 0) {
return console.log(chalk.red.bold("Error: Site '" + program.args[0] + "' could not be found."));
}
var xml = builder.create("urlset", { version: "1.0", encoding: "UTF-8" }).att("xmlns", "http://www.sitemaps.org/schemas/sitemap/0.9");

@@ -85,3 +89,3 @@ _.forIn(chunk, function(value, key) {

if (err) {
return console.log(chalk.red(err));
return console.log(chalk.red.bold("Error:"), chalk.red.bold(err));
}

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