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.1.2 to 2.1.3

4

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

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

"scripts": {
"test": "mocha test"
"test": "mocha test"
}
}

@@ -20,2 +20,6 @@ # Node Sitemap Generator

The crawler will fetch all sites matching folder URLs and certain file extensions. You can include files with `-i ext` or ignore files with `-e ext`. Most of the common file types are already black listed. File types parsed by Google are not black listed.
**Note**: Omit the URL protocol, the crawler will detect the right one.
### Options

@@ -22,0 +26,0 @@ ```BASH

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

c.on("complete", function() {
if (chunk.length === 0) {
if (_.isEmpty(chunk)) {
console.error(chalk.red.bold("Error: Site '" + program.args[0] + "' could not be found."));

@@ -77,0 +77,0 @@ process.exit(1);

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