@argos-ci/core 2.10.0 → 2.11.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 +2 -2
package/dist/index.js CHANGED
@@ -684,7 +684,7 @@ var tmpFile = promisify(tmp.file);
684
684
  var optimizeScreenshot = async (filepath) => {
685
685
  try {
686
686
  const resultFilePath = await tmpFile();
687
- await sharp(filepath).resize(2048, 20480, {
687
+ await sharp(filepath).resize(2048, 64e3, {
688
688
  fit: "inside",
689
689
  withoutEnlargement: true
690
690
  }).png({ force: true }).toFile(resultFilePath);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/core",
3
3
  "description": "Node.js SDK for visual testing with Argos.",
4
- "version": "2.10.0",
4
+ "version": "2.11.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "exports": {
@@ -59,5 +59,5 @@
59
59
  "build": "tsup && cp ./src/index.cjs ./dist",
60
60
  "e2e": "node ./e2e/upload.cjs && node ./e2e/upload.mjs"
61
61
  },
62
- "gitHead": "fe6e055a43e955e7df362ddaec59c84dc274bbb2"
62
+ "gitHead": "a1782b8aa412c3814da4e51d6ef603916a4c7e62"
63
63
  }