rss-finder
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -103,12 +103,16 @@ 'use strict'; | ||
got(o.url, o.gotOptions).then(function(res) { | ||
canonicalUrl = res.url; | ||
return htmlParser(res.body, o.feedParserOptions); | ||
}).then(function(res) { | ||
return fixData(res, canonicalUrl); | ||
}).then(function(res) { | ||
resolve(res); | ||
}).catch(function(err) { | ||
reject(setError(err)); | ||
}); | ||
got(o.url, o.gotOptions) | ||
.then(function(res) { | ||
canonicalUrl = res.url; | ||
return htmlParser(res.body, o.feedParserOptions); | ||
}) | ||
.then(function(res) { | ||
return fixData(res, canonicalUrl); | ||
}) | ||
.then(function(res) { | ||
resolve(res); | ||
}) | ||
.catch(function(err) { | ||
reject(setError(err)); | ||
}); | ||
}); | ||
@@ -115,0 +119,0 @@ } |
@@ -83,3 +83,2 @@ 'use strict'; | ||
reject(err); | ||
return; | ||
}); | ||
@@ -86,0 +85,0 @@ |
{ | ||
"name": "rss-finder", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Find rss feeds url", | ||
@@ -36,7 +36,7 @@ "main": "index.js", | ||
"devDependencies": { | ||
"ava": "^0.17.0", | ||
"ava": "^0.18.0", | ||
"coveralls": "^2.11.11", | ||
"eslint": "^3.0.1", | ||
"eslint-config-mito": "^6.0.0", | ||
"get-port": "^2.1.0", | ||
"eslint-config-mito": "^7.0.2", | ||
"get-port": "^3.0.0", | ||
"nyc": "^10.0.0", | ||
@@ -43,0 +43,0 @@ "pify": "^2.3.0", |
# RSS Finder [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverage-image]][coverage-url] | ||
Version: **2.0.2** | ||
Version: **2.0.3** | ||
@@ -67,3 +67,3 @@ ## Installation | ||
# License | ||
MIT © 2016 Gergely Kovács (gg.kovacs@gmail.com) | ||
MIT © 2017 Gergely Kovács (gg.kovacs@gmail.com) | ||
@@ -70,0 +70,0 @@ [npm-image]: https://badge.fury.io/js/rss-finder.svg |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
211
139336