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

pix-diff

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pix-diff - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

CHANGELOG.md
Changelog
=========
v1.0.1 - Add missing percentage sign and documentation (12/12/2014)
v1.0.0 - Initial release (11/12/14)

2

index.js

@@ -155,3 +155,3 @@ var BlinkDiff = require('blink-diff'),

this.message = function () {
return util.format("Image is visibly different by %s pixels, %s", result.differences, percent);
return util.format("Image is visibly different by %s pixels, %s %", result.differences, percent);
};

@@ -158,0 +158,0 @@ return ((result.code === BlinkDiff.RESULT_IDENTICAL) || (result.code === BlinkDiff.RESULT_SIMILAR));

{
"name": "pix-diff",
"version": "1.0.0",
"version": "1.0.1",
"description": "Protractor plugin for image comparison",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,2 +6,4 @@ Pix-Diff

[![NPM](https://nodei.co/npm/pix-diff.png)](https://nodei.co/npm/pix-diff/)
##Installation

@@ -26,4 +28,2 @@

```javascript
var PixDiff = require('pix-diff');
exports.config = {

@@ -33,2 +33,3 @@ // your config here ...

onPrepare: function() {
var PixDiff = require('pix-diff');
browser.pixdiff = new PixDiff(

@@ -35,0 +36,0 @@ {

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