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

rssparser

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rssparser - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

13

lib/feed.js

@@ -141,2 +141,3 @@ //feed.js

var obj = {}, _ref;
//Tx PaulFreund
obj.title = (_ref = val.title) != undefined && _ref.length>0 ? _ref[0] : void 0;

@@ -242,11 +243,7 @@ obj.summary = (_ref = val.description) != undefined && _ref.length>0 ? _ref[0] : void 0;

val = flattenComments(val);
var obj = {};
var obj = {}, _ref;
obj.id = val.id[0];
if (!val.title) {
// console.log(json);
}
obj.title = val.title[0]._;
if (val.content) {
obj.summary = val.content[0]._;
}
obj.title = (_ref = val.title) != undefined && _ref.length>0 ? _ref[0]._ : void 0;
obj.summary = (_ref = val.content[0]) != undefined && _ref.length>0 ? _ref[0]._ : void 0;
var categories = [];

@@ -253,0 +250,0 @@ //just grab the category text

{
"name": "rssparser",
"version": "0.0.5",
"version": "0.0.7",
"dependencies": {

@@ -5,0 +5,0 @@ "xml2js": {

{
"name": "rssparser",
"version": "0.0.6",
"version": "0.0.7",
"author": "Arjunkumar Krishnamoorthy",
"description": "rssparser is an all purpose RSS/ATOM feed parser that parses feeds into a JSON format.",

@@ -31,4 +32,4 @@ "keywords": [

"readmeFilename": "README.md",
"_id": "rssparser@0.0.6",
"_id": "rssparser@0.0.7",
"_from": "rssparser"
}

@@ -86,4 +86,5 @@ node-rssparser [![endorse](https://api.coderwall.com/tk120404/endorsecount.png)](https://coderwall.com/tk120404)

----------
* 0.0.7 More check for the attributes like title, summary in atom feed
* 0.0.6 Minor changes
* 0.0.5 More check for the attributes like title,summary,link and categories
* 0.0.5 More check for the attributes like title,summary,link and categories in RSS feed
* 0.0.4 minor changes

@@ -90,0 +91,0 @@ * 0.0.3 thumbnails added

Sorry, the diff of this file is not supported yet

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