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

pam-diff

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pam-diff - npm Package Compare versions

Comparing version 0.9.2 to 0.10.1

10

index.js

@@ -1,2 +0,1 @@

// jshint esversion: 6, globalstrict: true, strict: true, bitwise: false
'use strict';

@@ -93,2 +92,5 @@

if (typeof callback === 'function') {
if (callback.length !== 1){
throw new Error('Callback function must only accept 1 argument');
}
this._callback = callback;

@@ -434,2 +436,7 @@ } else {

PamDiff.prototype._flush = function (callback) {
this.resetCache();
callback();
};
PamDiff.prototype.resetCache = function () {
delete this._oldPix;

@@ -440,3 +447,2 @@ delete this._newPix;

this._parseChunk = this._parseFirstChunk;
callback();
};

@@ -443,0 +449,0 @@

8

package.json
{
"name": "pam-diff",
"version": "0.9.2",
"version": "0.10.1",
"description": "Measure differences between pixel arrays extracted from pam images",
"main": "index.js",
"scripts": {
"test": "node tests/test.js && node tests/test2.js && node tests/test3.js"
"test": "node tests/test.js && node tests/test2.js && node tests/test3.js",
"preversion": "npm test"
},

@@ -30,7 +31,8 @@ "repository": {

"dependencies": {
"polygon-points": "^0.4.0"
"polygon-points": "^0.5.0"
},
"devDependencies": {
"nan": "^2.8.0",
"pipe2pam": "^0.6.0"
}
}
# pam-diff
###### [![Build Status](https://travis-ci.org/kevinGodell/pam-diff.svg?branch=master)](https://travis-ci.org/kevinGodell/pam-diff) [![GitHub issues](https://img.shields.io/github/issues/kevinGodell/pam-diff.svg)](https://github.com/kevinGodell/pam-diff/issues) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/kevinGodell/pam-diff/master/LICENSE)
###### [![Build Status](https://travis-ci.org/kevinGodell/pam-diff.svg?branch=master)](https://travis-ci.org/kevinGodell/pam-diff) [![Build status](https://ci.appveyor.com/api/projects/status/hu6qw285sm6vfwtd/branch/master?svg=true)](https://ci.appveyor.com/project/kevinGodell/pam-diff/branch/master) [![GitHub issues](https://img.shields.io/github/issues/kevinGodell/pam-diff.svg)](https://github.com/kevinGodell/pam-diff/issues) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/kevinGodell/pam-diff/master/LICENSE)
Measure differences between pixel arrays extracted from pam images. Works well with node module [pipe2pam](https://www.npmjs.com/package/pipe2pam) to extract pam images from an ffmpeg pipe. Supported ***tupltypes*** are ***rgb***, ***rgb_alpha***, ***grayscale***, and ***blackandwhite***. It is currently being used for a video motion detection project.

@@ -4,0 +4,0 @@ ### installation:

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