@argos-ci/core 2.10.0 → 2.11.1

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.
package/README.md CHANGED
@@ -1,10 +1,13 @@
1
1
  <p align="center">
2
2
  <a href="https://argos-ci.com/?utm_source=github&utm_medium=logo" target="_blank">
3
- <img src="https://raw.githubusercontent.com/argos-ci/argos/main/resources/logos/logo-github-readme.png" alt="Argos" width="300" height="61">
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/argos-ci/argos/main/resources/logos/github-readme-logo-dark.png">
5
+ <img alt="Argos" src="https://raw.githubusercontent.com/argos-ci/argos/main/resources/logos/github-readme-logo-light.png" width="360" height="70">
6
+ </picture>
4
7
  </a>
5
8
  </p>
6
9
 
7
- _Argos is a visual testing solution that fits in your workflow to avoid visual regression. Takes screenshots on each commit and be notified if something changes._
10
+ <p align="center"><strong>The open source visual testing plaform for modern engineering teams.</strong></p>
8
11
 
9
12
  # Argos JavaScript SDK Core
10
13
 
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.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "exports": {
@@ -40,8 +40,8 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@argos-ci/api-client": "0.7.0",
44
- "@argos-ci/util": "2.2.0",
43
+ "@argos-ci/api-client": "0.7.1",
44
+ "@argos-ci/util": "2.2.1",
45
45
  "axios": "^1.7.7",
46
46
  "convict": "^6.2.4",
47
47
  "debug": "^4.3.7",
@@ -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": "1dd8b4240b76b0756d8784e3320b7f57d915aeaf"
63
63
  }