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.1.0 to 0.2.0

8

index.js

@@ -109,3 +109,3 @@ // jshint esversion: 6, globalstrict: true, strict: true

if (this._oldPix[i] !== this._newPix[i]) {
diffPix.push({x: x, y: y});
diffPix.push([x, y]);
}

@@ -129,3 +129,3 @@ }

if (Math.abs(this._oldPix[i] - this._newPix[i]) >= this._difference) {
diffPix.push({x: x, y: y});
diffPix.push([x, y]);
}

@@ -149,3 +149,3 @@ }

if (Math.abs(this._grayscale(this._oldPix[i], this._oldPix[i + 1], this._oldPix[i + 2]) - this._grayscale(this._newPix[i], this._newPix[i + 1], this._newPix[i + 2])) >= this._difference) {
diffPix.push({x: x, y: y});
diffPix.push([x, y]);
}

@@ -169,3 +169,3 @@ }

if (Math.abs(this._grayscale(this._oldPix[i], this._oldPix[i + 1], this._oldPix[i + 2]) - this._grayscale(this._newPix[i], this._newPix[i + 1], this._newPix[i + 2])) >= this._difference) {
diffPix.push({x: x, y: y});
diffPix.push([x, y]);
}

@@ -172,0 +172,0 @@ }

{
"name": "pam-diff",
"version": "0.1.0",
"version": "0.2.0",
"description": "Measure differences between pixel arrays extracted from pam images",

@@ -26,3 +26,6 @@ "main": "index.js",

"homepage": "https://github.com/kevinGodell/pam-diff#readme",
"dependencies": {}
"dependencies": {},
"devDependencies": {
"pipe2pam": "^0.2.1"
}
}
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