Socket
Socket
Sign inDemoInstall

feedparser

Package Overview
Dependencies
16
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.7 to 2.2.8

5

History.md
2.2.8 / 2018-01-07
==================
* Fix meta['#ns'] array to avoid duplicates
2.2.7 / 2017-12-11

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

8

lib/feedparser/index.js

@@ -105,2 +105,3 @@ /**********************************************************************

};
this._namespaces = {};
this._emitted_meta = false;

@@ -386,4 +387,7 @@ this.stack = [];

if (attr.prefix === 'xmlns') {
ns[attr.name] = attr.value;
this.meta['#ns'].push(ns);
if (!(attr.name in this._namespaces)) {
ns[attr.name] = attr.value;
this.meta['#ns'].push(ns);
_.assign(this._namespaces, ns);
}
}

@@ -390,0 +394,0 @@ // If the feed is using a non-default prefix, we'll use it, too

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

},
"version": "2.2.7",
"version": "2.2.8",
"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