Socket
Socket
Sign inDemoInstall

node-red-contrib-weatherflow-api-client

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

20

nodes/forecast/weatherflow-forecast.js

@@ -45,11 +45,15 @@ const { stat } = require('fs');

response.on('end', function () {
msg.payload = JSON.parse(str);
if (msg.payload.status.status_code == 0) {
send(msg);
done();
try {
msg.payload = JSON.parse(str);
if (msg.payload.status.status_code == 0) {
send(msg);
done();
}
else {
done(msg);
}
} catch (error) {
done(error);
}
else {
done(msg);
}
});

@@ -56,0 +60,0 @@ }

2

package.json
{
"name": "node-red-contrib-weatherflow-api-client",
"version": "1.2.1",
"version": "1.2.2",
"author": "Michael Rohrhirsch (https://github.com/CrunkA3)",

@@ -5,0 +5,0 @@ "description": "A WeahterFlow Tempest API client for Node-RED",

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