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

@thing-it/device-plant-probe

Package Overview
Dependencies
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thing-it/device-plant-probe - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "@thing-it/device-plant-probe",
"version": "0.0.5",
"version": "0.0.6",
"description": "[thing-it-node] Device Plugin for Plant Probes.",

@@ -5,0 +5,0 @@ "authors": "Marc Gille",

@@ -101,2 +101,8 @@ module.exports = {

PlantProbe.prototype.setState = function (state) {
if (this.state && this.state.height === state.height && this.state.health === state.health) {
// identical state, ignoring
this.logDebug('Ignoring setState invocation as new state is identical to old state');
return;
}
this.state = state;

@@ -106,4 +112,5 @@

// TODO Save to Gateway local storage
this.publishStateChange();
}
};
}
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