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

node-red-viseo-helper

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-viseo-helper - npm Package Compare versions

Comparing version 0.3.0-alpha.1 to 0.3.0-alpha.2

0

CODE_OF_CONDUCT.md

@@ -0,0 +0,0 @@ # Contributor Covenant Code of Conduct

@@ -0,0 +0,0 @@ # Contributing to the Project

15

index.js

@@ -279,7 +279,7 @@ 'use strict';

// 24h : 24 * 3600 * 1000 = 86400000
let logsToSend = JSON.parse(JSON.stringify(activities))
activities = { info : { start : Date.now(), key : actKey }};
try {
await sendActivities(activities);
activities = { info : { start : time, key : actKey }};
await sendActivities(logsToSend);
} catch(err) {
activities = { info : { start : time, key : actKey }};
if (err.statusCode === 401) {

@@ -327,3 +327,10 @@ oldKeys.push(actKey);

obj[key].nodes = obj[key].nodes.length;
body.data.push(obj[key]);
let newObj = {
"type": obj[key].type,
"start": obj[key].start,
"end": obj[key].end,
"nodes": obj[key].nodes.length,
"calls": obj[key].calls
};
body.data.push(newObj);
}

@@ -330,0 +337,0 @@

@@ -0,0 +0,0 @@ const extend = require('extend');

{
"name" : "node-red-viseo-helper",
"version" : "0.3.0-alpha.1",
"version" : "0.3.0-alpha.2",
"description" : "Utility libarary for Node-RED",

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

@@ -0,0 +0,0 @@ # Node-RED

Sorry, the diff of this file is not supported yet

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