get-rss-atom
Advanced tools
Comparing version 1.0.3-g to 1.0.3-h
10
get.js
@@ -9,7 +9,3 @@ 'use strict'; | ||
http = require('http'), | ||
https = require('https'), | ||
options = { | ||
host: feed.hostname, | ||
path: feed.path | ||
}; | ||
https = require('https'); | ||
@@ -78,7 +74,7 @@ function getItem(content, tag) { | ||
if (feed.protocol === 'http:') { | ||
http.get(options, parser).on('error', e => { | ||
http.get(feedUrl, parser).on('error', e => { | ||
console.error(e.message) | ||
}) | ||
} else { | ||
https.get(options, parser).on('error', e => { | ||
https.get(feedUrl, parser).on('error', e => { | ||
console.error(e.message) | ||
@@ -85,0 +81,0 @@ }) |
{ | ||
"name": "get-rss-atom", | ||
"version": "1.0.3g", | ||
"version": "1.0.3h", | ||
"description": "Reed feed content from URL and return Array with Objects", | ||
@@ -5,0 +5,0 @@ "main": "get.js", |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
3703
73