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

fast-feed

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-feed - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

index.js
var native = require('./build/Release/parser');
function parseDate(article) {
if (typeof article.date !== 'undefined') {
article.date = new Date(Date.parse(article.date));
}
}
exports.parse = function(xml, cb) {

@@ -8,2 +14,3 @@ var result;

result = native.parse(xml);
result.items.forEach(parseDate);
cb(null, result);

@@ -14,4 +21,6 @@ } catch (err) {

} else {
return native.parse(xml);
result = native.parse(xml);
result.items.forEach(parseDate);
return result;
}
};

2

package.json
{
"name": "fast-feed",
"version": "0.0.1",
"version": "0.0.2",
"keywords": [

@@ -5,0 +5,0 @@ "rss",

Sorry, the diff of this file is not supported yet

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