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

rss-feed-emitter

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rss-feed-emitter - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

coverage/coverage.json

25

dist/rss-feed-emitter.js

@@ -68,3 +68,3 @@ 'use strict';

function RssFeedEmitter() {
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -284,6 +284,25 @@ _classCallCheck(this, RssFeedEmitter);

return _.find(feed.items, {
// default object with 'link' and 'title'
var object = {
link: item.link,
title: item.title
});
};
// if feed is RSS 2.x, check existence of 'guid'
if (item.guid) {
object = {
guid: item.guid
};
}
// if feed is Atom 1.x, check existence of 'id'
if (item.id) {
object = {
'id': item.id
};
}
return _.find(feed.items, object);
}

@@ -290,0 +309,0 @@

4

package.json
{
"name": "rss-feed-emitter",
"version": "1.0.6",
"version": "1.0.7",
"description": "Super RSS News Feed aggregator written in Node.js and ES6",

@@ -51,3 +51,3 @@ "main": "dist/rss-feed-emitter.js",

"feedparser": "1.1.4",
"request": "2.74.0",
"request": "2.81.0",
"lodash": "3.10.1",

@@ -54,0 +54,0 @@ "tiny-emitter": "1.0.1"

@@ -17,2 +17,3 @@ <p align="center">

</a>
<a href="https://snyk.io/test/github/filipedeschamps/rss-feed-emitter"><img src="https://snyk.io/test/github/filipedeschamps/rss-feed-emitter/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/filipedeschamps/rss-feed-emitter" style="max-width:100%;"></a>
</p>

@@ -47,3 +48,3 @@

* Supports Node.js `0.10.x`, `0.12.x`, `4.x`, `5.x`, and `@stable`
* Supports Node.js `0.10.x`, `0.12.x`, `4.x`, `5.x`, `6.x`, `7.x`, `8.x` and `@stable`
* 100% code coverage with unit and integration tests

@@ -50,0 +51,0 @@ * Simple interface

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