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

feedparser

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feedparser - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

9

lib/feedparser.js

@@ -328,3 +328,10 @@ /**********************************************************************

case('link'):
self.meta.link = getValue(self.stack[0][el]);
if (Array.isArray(self.stack[0][el])) { // How anyone thinks this is valid is beyond me...
self.stack[0][el].forEach(function(link){
if(!self.meta.link && Object.keys(link['@']).length === 0)
self.meta.link = getValue(link);
});
} else {
self.meta.link = getValue(self.stack[0][el]);
}
break;

@@ -331,0 +338,0 @@ case('atom:link'):

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Robust RSS, Atom, and RDF feed parsing using sax js",
"version": "0.4.3",
"version": "0.4.4",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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