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

node-red-m2x

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-m2x - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

10

m2x.js

@@ -38,3 +38,3 @@ module.exports = function (RED) {

} catch (e) {
console.log("WARNING - cannot delete msg input field, probably working on STRICT mode")
log.error("WARNING - cannot delete msg input field, probably working on STRICT mode")
}

@@ -72,3 +72,3 @@ }

}
console.log("Using configured X-M2X-KEY [" + _this.feedNode.apiKey + "]");
log.info("Using configured X-M2X-KEY [" + _this.feedNode.apiKey + "]");
_this.m2xClient = new m2x(_this.feedNode.apiKey, M2X_API_SERVER + API_VER);

@@ -85,3 +85,3 @@ } else {

if (!msg.action || methods.indexOf(msg.action) === -1) {
console.log("methods doesn't exists");
log.error("methods doesn't exists");
_this.handle_msg_failure(msg, INPUT_ERROR_CODE, "action for " + topic + " must be either " + methods);

@@ -224,3 +224,3 @@ }

this.handle_msg_failure(msg, ERROR_CODE, "Geneal Error");
} else if (!is_msg_succeed(result.status)) {
} else if (result.isError()) {
var error_msg;

@@ -234,3 +234,3 @@ if (result.json && result.json.message) {

} else {
console.log("Successful M2X Api call [" + result.status + "]");
log.info("Successful M2X Api call [" + result.status + "]");
if (typeof (result.json) === 'undefined') {

@@ -237,0 +237,0 @@ msg.payload = result;

{
"name": "node-red-m2x",
"version": "0.0.24",
"version": "0.0.25",
"description": "A Node-RED node to AT&T M2X",

@@ -5,0 +5,0 @@ "dependencies": {

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