comparadise-utils 1.24.1 → 1.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -43,7 +43,12 @@ var fs = __toESM(require("fs"));
43
43
  var import_pngjs = require("pngjs");
44
44
  var import_pixelmatch = __toESM(require("pixelmatch"));
45
45
  var PIXELMATCH_OPTIONS = {
46
- threshold: 0.3
46
+ alpha: 0.3,
47
+ // defaults to 0.1
48
+ threshold: 0.5,
49
+ // defaults to 0.1
50
+ includeAA: false
51
+ // defaults to true
47
52
  };
48
53
  var createImageResizer = (width, height) => (source) => {
49
54
  const resized = new import_pngjs.PNG({ width, height, fill: true });
package/package.json CHANGED
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/pngjs": "6.0.5",
24
- "cypress": "14.0.3",
25
- "tsup": "8.3.6"
24
+ "cypress": "14.1.0",
25
+ "tsup": "8.4.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "cypress": ">=12"
29
29
  },
30
- "version": "1.24.1",
30
+ "version": "1.24.3",
31
31
  "scripts": {
32
32
  "build": "tsup",
33
33
  "postbuild": "echo \"require('./dist/match-screenshot');\" > commands.js",