Socket
Socket
Sign inDemoInstall

node-red-node-feedparser

Package Overview
Dependencies
59
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

8

32-feedparse.js

@@ -21,2 +21,3 @@ /**

var request = require("request");
var url = require('url');

@@ -30,3 +31,6 @@ function FeedParseNode(n) {

this.seen = {};
if (this.url !== "") {
var parsedUrl = url.parse(this.url);
if (!(parsedUrl.host || (parsedUrl.hostname && parsedUrl.port)) && !parsedUrl.isUnix) {
this.error(RED._("feedparse.errors.invalidurl"));
} else {
var getFeed = function() {

@@ -69,4 +73,2 @@ var req = request(node.url, {timeout: 10000, pool: false});

getFeed();
} else {
this.error(RED._("feedparse.errors.invalidurl"));
}

@@ -73,0 +75,0 @@

{
"name": "node-red-node-feedparser",
"version": "0.1.2",
"version": "0.1.3",
"description": "A Node-RED node to get RSS Atom feeds.",
"dependencies": {
"feedparser": "1.1.3",
"request": "2.61.0"
"request": "2.65.0"
},

@@ -9,0 +9,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc