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

sitemapper

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemapper - npm Package Compare versions

Comparing version 2.1.7 to 2.1.12

7

lib/sitemapper.js

@@ -178,3 +178,4 @@ /* global require,module */

uri: url,
resolveWithFullResponse: true
resolveWithFullResponse: true,
gzip: true
};

@@ -254,3 +255,3 @@

return resolve([].concat(sites));
} else if (data.sitemapindex) {
} else if (data && data.sitemapindex) {
// Map each child url into a promise to create an array of promises

@@ -345,2 +346,2 @@ var sitemap = data.sitemapindex.sitemap.map(function (map) {

exports['default'] = Sitemapper;
module.exports = exports['default'];//# sourceMappingURL=sitemapper.map
module.exports = exports['default'];//# sourceMappingURL=sitemapper.map

@@ -144,2 +144,2 @@ /* global describe,it */

});
});//# sourceMappingURL=test.map
});//# sourceMappingURL=test.map
{
"name": "sitemapper",
"version": "2.1.7",
"version": "2.1.12",
"description": "Parser for XML Sitemaps to be used with Robots.txt and web crawlers",

@@ -38,3 +38,3 @@ "keywords": [

"test": "mocha ./lib/test.js && npm run lint",
"lint": "eslint .",
"lint": "eslint /src",
"clean": "rm -rf lib",

@@ -41,0 +41,0 @@ "docs": "documentation -g -o docs.md -f md src/assets/sitemapper.js"

@@ -8,3 +8,3 @@ ## Sitemap-parser

Parse through a sitemaps xml to get all the urls for your crawler.
##Version 2
## Version 2

@@ -87,3 +87,3 @@ ### Installation

##Version 1
## Version 1

@@ -94,3 +94,3 @@ ```bash

###Simple Example
### Simple Example

@@ -107,2 +107,2 @@ ```javascript

});
```
```

Sorry, the diff of this file is not supported yet

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