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.0 to 0.5.1

16

index.js

@@ -15,14 +15,7 @@ var feedparser = require('feedparser');

var self = this;
self._apos = apos;
self._app = app;
var lifetime = options.lifetime ? options.lifetime : 60000;
self.pushAsset = function(type, name, optionsArg) {
var options = {};
if (optionsArg) {
extend(true, options, optionsArg);
}
options.fs = __dirname;
options.web = '/apos-rss';
return apos.pushAsset(type, name, options);
};
self._apos.mixinModuleAssets(self, 'rss', __dirname, options);

@@ -43,5 +36,2 @@ // This widget should be part of the default set of widgets for areas

// Serve our assets
app.get('/apos-rss/*', apos.static(__dirname + '/public'));
apos.itemTypes.rss = {

@@ -48,0 +38,0 @@ widget: true,

4

package.json
{
"name": "apostrophe-rss",
"version": "0.5.0",
"version": "0.5.1",
"description": "Adds an RSS feed widget to the Apostrophe content management system",

@@ -29,2 +29,2 @@ "main": "index.js",

"devDependencies": {}
}
}
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