🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

motion-detect

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motion-detect - npm Package Compare versions

Comparing version

to
0.2.5

3

lib/motion.js

@@ -70,3 +70,2 @@ /** @const {Number} **/

MotionDetection.prototype.diff = function(img1, img2) {
if (img1.length !== img2.length) return null;
var i = 0;

@@ -98,2 +97,2 @@ var changed = 0;

return (value > minValue) ? 0xFF : 0;
}
}
{
"name": "motion-detect",
"version": "0.2.4",
"version": "0.2.5",
"description": "A node.js motion detection library that supports node.js streams",

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