sitemap-getter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21796
472
3
+ Addedregenerator-runtime@^0.11.1
+ Addedregenerator-runtime@0.11.1(transitive)