New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apostrophe-tumblr

Package Overview
Dependencies
Maintainers
10
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-tumblr - npm Package Compare versions

Comparing version 0.5.9 to 0.5.10

8

index.js

@@ -45,3 +45,3 @@ var feedparser = require('feedparser');

if (!url.match(/^https?\:\/\//)) {
url = 'http://' + url;
url = 'https://' + url;
}

@@ -81,2 +81,5 @@ return url;

// Worth doing, but tumblr will redirect us right back to http: ):
item.url = item.url.replace(/^http\:/, 'https:');
feedparser.parseUrl(item.url+'/rss').on('complete', function(meta, articles) {

@@ -87,3 +90,4 @@ articles = articles.slice(0, item.limit);

item._entries = articles.map(function(article) {
// Force HTTPS, tumblr's images and videos will work that way
article.description = article.description.replace(/src="http\:(.*?)"/g, 'src="https\:$1"');
return {

@@ -90,0 +94,0 @@ title: article.title,

{
"name": "apostrophe-tumblr",
"version": "0.5.9",
"version": "0.5.10",
"description": "Adds a Tumblr RSS 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