comparadise-utils 1.19.3 → 1.20.0

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 +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ function compareScreenshots(screenshotFolder) {
129
129
  if (diffPixels) {
130
130
  fs2.writeFile(
131
131
  createImageFileName(screenshotFolder, "diff"),
132
- import_pngjs2.PNG.sync.write(diff),
132
+ import_pngjs2.PNG.sync.write(diff).toString(),
133
133
  (err) => {
134
134
  if (err) {
135
135
  console.error("\u274C Diff exists but unable to create diff.png", err);
package/package.json CHANGED
@@ -22,13 +22,13 @@
22
22
  "devDependencies": {
23
23
  "@types/pixelmatch": "5.2.6",
24
24
  "@types/pngjs": "6.0.5",
25
- "cypress": "13.13.1",
26
- "tsup": "8.2.1"
25
+ "cypress": "13.16.0",
26
+ "tsup": "8.3.5"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "cypress": ">=12"
30
30
  },
31
- "version": "1.19.3",
31
+ "version": "1.20.0",
32
32
  "scripts": {
33
33
  "build": "tsup",
34
34
  "postbuild": "echo \"require('./dist/match-screenshot');\" > commands.js",