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

apostrophe-rss

Package Overview
Dependencies
Maintainers
10
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-rss - npm Package Compare versions

Comparing version 0.5.14 to 0.5.15

22

index.js

@@ -52,10 +52,18 @@ var feedparser = require('feedparser');

self.renderWidget = function(data) {
if (data.item._ajax) {
// We've decided to let the browser
// fetch this with a separate AJAX requet
try {
if (data.item._ajax) {
// We've decided to let the browser
// fetch this with a separate AJAX requet
return '';
} else {
// We're rendering it now, during the page load,
// server side
return self.render('rss', data);
}
} catch (e) {
// No fatal crashes on other people's bad data please
console.error('RSS feed rendering error:');
console.error(e);
console.error(data.item);
return '';
} else {
// We're rendering it now, during the page load,
// server side
return self.render('rss', data);
}

@@ -62,0 +70,0 @@ };

{
"name": "apostrophe-rss",
"version": "0.5.14",
"version": "0.5.15",
"description": "Adds an RSS feed widget to the Apostrophe content management system",

@@ -5,0 +5,0 @@ "main": "index.js",

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