Socket
Socket
Sign inDemoInstall

node-red-contrib-dashboard-bar-chart-data

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.6 to 0.9.7

4

bar-chart-data.js

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

var reading = Number(msg.payload);
var curDate = new Date();
var ts = msg.ts || msg.timestamp || (+ new Date());
if (ts <= 9999999999) { ts *= 1000 } //sec ts to millis ts, only works until 2286-11-20 :(
var curDate = new Date(ts);
saveTopic(msg.topic, store); //save topic to store (for cleaning and handling of multiple topics)

@@ -103,0 +105,0 @@ var topics = store.get('topics');

{
"name": "node-red-contrib-dashboard-bar-chart-data",
"version": "0.9.6",
"version": "0.9.7",
"description": "Transforms sensor measurements or meter readings to be displayed in dashboard-chart as bar-chart",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/arneman/node-red-contrib-dashboard-bar-chart-data",

Sorry, the diff of this file is not supported yet

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