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

perceptualdiff

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perceptualdiff - npm Package Compare versions

Comparing version 1.3.15 to 1.4.0

bin/perceptualdiff

4

lib/metric.js

@@ -92,4 +92,4 @@ /*

// convert Adobe RGB (1998) with reference white D65 to XYZ
function adobe_rgb_to_lab(r, g, b) {
var p = adobe_rgb_to_xyz(r, g, b);
function adobe_rgb_to_lab(cr, cg, cb) {
var p = adobe_rgb_to_xyz(cr, cg, cb);
var x = p.x, y = p.y, z = p.z;

@@ -96,0 +96,0 @@

{
"name": "perceptualdiff",
"version": "1.3.15",
"version": "1.4.0",
"description": "A port of the perceptualdiff image comparison (pdiff.sourceforge.net), and adding some additional features",
"license": "GPL-2.0",
"main": "perceptualdiff.js",
"main": "index.js",
"homepage": "https://github.com/marcelerz/node-perceptualdiff",
"bugs": "https://github.com/marcelerz/node-perceptualdiff/issues",
"bin": {
"perceptualdiff": "bin/perceptualdiff"
},
"author": {
"name": "Marcel Erz",
"email": "marcel.erz@gmail.com",
"url": "http://github.com/marcelerz"
"url": "http://www.marcelerz.com"
},
"repository": {
"type": "git",
"url": "git://github.com/marcelerz/node-perceptualdiff"
"url": "https://github.com/marcelerz/node-perceptualdiff.git"
},

@@ -22,10 +25,12 @@ "keywords": [

"diff",
"testing"
"testing",
"image-diff",
"image",
"difference",
"compare"
],
"engines": {
"node": "0.8.x"
},
"dependencies": {
"png-image": "0.8.10"
"promise": "6.0.0",
"pngjs-image": "0.9.3"
}
}

Sorry, the diff of this file is not supported yet

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