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

sitemap-getter

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemap-getter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

16

dst/index.js

@@ -35,2 +35,6 @@ 'use strict';

// to make babel-ed async functions work..
// todo: prepend it automatically on build
var regeneratorRuntime = require("regenerator-runtime");
var SitemapParser = function () {

@@ -42,3 +46,3 @@ function SitemapParser() {

_createClass(SitemapParser, null, [{
key: 'createStream',
key: 'createStreamLocations',
value: function () {

@@ -81,10 +85,10 @@ var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url) {

function createStream(_x2) {
function createStreamLocations(_x2) {
return _ref.apply(this, arguments);
}
return createStream;
return createStreamLocations;
}()
}, {
key: 'get',
key: 'getLocations',
value: function () {

@@ -132,7 +136,7 @@ var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(url) {

function get(_x4) {
function getLocations(_x4) {
return _ref2.apply(this, arguments);
}
return get;
return getLocations;
}()

@@ -139,0 +143,0 @@ }, {

{
"name": "sitemap-getter",
"version": "1.0.0",
"version": "1.0.1",
"description": "Fetch sitemap entirely or using streams",

@@ -10,3 +10,6 @@ "main": "dst/index.js",

"keywords": [
"sitemap", "get", "parse", "stream"
"sitemap",
"get",
"parse",
"stream"
],

@@ -17,6 +20,7 @@ "author": "Sergei Gannochenko",

"repository": {
"type" : "git",
"url" : "https://github.com/awesome1888/sitemap-getter"
"type": "git",
"url": "https://github.com/awesome1888/sitemap-getter"
},
"dependencies": {
"regenerator-runtime": "^0.11.1",
"sax": "^1.2.4",

@@ -23,0 +27,0 @@ "underscore": "^1.8.3"

@@ -8,2 +8,6 @@ import sax from 'sax';

// to make babel-ed async functions work..
// todo: prepend it automatically on build
const regeneratorRuntime = require("regenerator-runtime");
export default class SitemapParser

@@ -10,0 +14,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