feedparser
Advanced tools
Comparing version 2.2.7 to 2.2.8
2.2.8 / 2018-01-07 | ||
================== | ||
* Fix meta['#ns'] array to avoid duplicates | ||
2.2.7 / 2017-12-11 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79343
1337