New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

feedr

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feedr - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

20

out/lib/feedr.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.4.0
// Generated by CoffeeScript 1.6.2
(function() {

@@ -11,3 +11,2 @@ var Feedr, balUtil, pathUtil,

Feedr = (function() {
Feedr.prototype.config = {

@@ -26,3 +25,2 @@ log: null,

this;
}

@@ -32,2 +30,3 @@

var failures, feedr, isArray, log, logError, result, tasks, _ref;
feedr = this;

@@ -47,2 +46,3 @@ _ref = this.config, log = _ref.log, logError = _ref.logError;

var _ref1;
if (balUtil.isString(feedDetails)) {

@@ -92,2 +92,3 @@ feedDetails = {

var cache, cacheTime, cleanData, feedr, log, tmpPath, viaCache, viaRequest, writeFeed, xml2jsOptions, _ref, _ref1, _ref2, _ref3;
feedr = this;

@@ -122,2 +123,3 @@ if (!feedr.config.tmpPath) {

var key, keys, value;
keys = [];

@@ -155,2 +157,3 @@ for (key in data) {

var data;
if (err) {

@@ -172,2 +175,3 @@ return next(err);

var body, handleError, parser, xml2js;
handleError = function(err) {

@@ -194,3 +198,4 @@ if (cache !== false) {

return parser.parseString(body);
} catch (err) {
} catch (_error) {
err = _error;
if (err) {

@@ -201,10 +206,13 @@ return handleError(err);

} else {
body = body.replace(/(^([\s\;]|\/\*\*\/)+|[\s\;]+$)/g, '');
try {
body = body.replace(/^[a-z0-9]+/gi, '').replace(/^\(|\)$/g, '');
return data = JSON.parse(body);
} catch (err) {
} catch (_error) {
err = _error;
try {
body = body.replace(/\\'/g, "'");
return data = JSON.parse(body);
} catch (err) {
} catch (_error) {
err = _error;
if (err) {

@@ -211,0 +219,0 @@ return handleError(err);

{
"name": "feedr",
"version": "2.4.2",
"version": "2.4.3",
"description": "Takes in a remote feed and converts it to json data",

@@ -33,7 +33,7 @@ "homepage": "http://bevry.me/project/feedr",

"dependencies": {
"bal-util": "~1.16.6",
"bal-util": "~1.16.12",
"xml2js": "~0.2.4"
},
"devDependencies": {
"coffee-script": "~1.4.0",
"coffee-script": "~1.6.2",
"joe": "~1.1.1"

@@ -40,0 +40,0 @@ },

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