Socket
Socket
Sign inDemoInstall

feedparser

Package Overview
Dependencies
15
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.5 to 2.2.6

5

History.md
2.2.6 / 2017-12-10
==================
* Prioritize alternate links for item.link
2.2.5 / 2017-12-09

@@ -3,0 +8,0 @@ ==================

4

lib/feedparser/index.js

@@ -793,3 +793,3 @@ /**********************************************************************

if (link['@']['rel'] == 'canonical') item.origlink = link['@']['href'];
if (link['@']['rel'] == 'alternate' && !item.link) item.link = link['@']['href'];
if (link['@']['rel'] == 'alternate') item.link = link['@']['href'];
if (link['@']['rel'] == 'self' && !item.link) item.link = link['@']['href'];

@@ -817,3 +817,3 @@ if (link['@']['rel'] == 'replies') item.comments = link['@']['href'];

if (el['@']['rel'] == 'canonical') item.origlink = el['@']['href'];
if (el['@']['rel'] == 'alternate' && !item.link) item.link = el['@']['href'];
if (el['@']['rel'] == 'alternate') item.link = el['@']['href'];
if (el['@']['rel'] == 'self' && !item.link) item.link = el['@']['href'];

@@ -820,0 +820,0 @@ if (el['@']['rel'] == 'replies') item.comments = el['@']['href'];

@@ -8,3 +8,3 @@ {

},
"version": "2.2.5",
"version": "2.2.6",
"keywords": [

@@ -11,0 +11,0 @@ "rss",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc