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

node-red-contrib-ifttt

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-ifttt - npm Package Compare versions

Comparing version 0.0.13 to 0.1.0

8

nodes/ifttt.js

@@ -33,4 +33,10 @@ var request = require('request');

} else {
var errorMessage;
try {
errorMessage = (JSON.parse(body).hasOwnProperty('errors')) ? JSON.parse(body).errors[0].message : JSON.parse(body);
} catch (e) {
errorMessage = (body.hasOwnProperty('errors')) ? body.errors[0].message : body;
}
node.status({fill: 'red', shape: 'dot', text: 'Error!'});
node.error(JSON.parse(body).errors[0].message);
node.error(errorMessage);
}

@@ -37,0 +43,0 @@ setTimeout(function () {

2

package.json
{
"name": "node-red-contrib-ifttt",
"version": "0.0.13",
"version": "0.1.0",
"description": "A node-red node to connect to ifttt Maker channel",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/diegopamio/node-red-ifttt",

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