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

homebridge-website-to-camera

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-website-to-camera - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

4

CameraSource.js

@@ -69,4 +69,6 @@ "use strict";

if (this.conf.cacheTime > 0 & !!this.cachedImage && this.conf.cacheTime < new Date().getTime() - this.lastSnapshotTime) {
if (this.conf.cacheTime > 0 & !!this.cachedImage && (new Date().getTime() - this.lastSnapshotTime) < (this.conf.cacheTime * 1000)) {
this.log("Returning cached image");
this.log.debug("Cached Time:", this.conf.cacheTime);
this.log.debug("lastSnapshotTime:", this.lastSnapshotTime);
callback(null, this.cachedImage);

@@ -73,0 +75,0 @@ return;

{
"name": "homebridge-website-to-camera",
"version": "1.7.0",
"version": "1.7.1",
"description": "shows the screenshot of a website as camera (image)",

@@ -5,0 +5,0 @@ "main": "index.js",

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