apostrophe-tumblr
Advanced tools
Comparing version 0.5.10 to 0.5.11
@@ -89,3 +89,3 @@ var feedparser = require('feedparser'); | ||
// Force HTTPS, tumblr's images and videos will work that way | ||
article.description = article.description.replace(/src="http\:(.*?)"/g, 'src="https\:$1"'); | ||
article.description = article.description.replace(/(src|poster)="http\:(.*?)"/g, 'src="https\:$2"'); | ||
return { | ||
@@ -92,0 +92,0 @@ title: article.title, |
{ | ||
"name": "apostrophe-tumblr", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"description": "Adds a Tumblr RSS widget to the Apostrophe content management system", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,3 +7,3 @@ apos.widgetPlayers.tumblr = function($el) { | ||
if (!url.match(/^https?\:\/\//)) { | ||
url = 'http://' + url; | ||
url = 'https://' + url; | ||
} | ||
@@ -10,0 +10,0 @@ return url; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12166
0