@snapvisor/puppeteer 6.0.24 → 7.0.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.
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import { ElementHandle, Page, ScreenshotOptions } from "puppeteer";
3
3
 
4
4
  //#region src/index.d.ts
5
5
  /**
6
- * Accepts all Puppeteer screenshot options and adds Argos-specific options.
6
+ * Accepts all Puppeteer screenshot options and adds Snapvisor-specific options.
7
7
  */
8
8
  type ArgosScreenshotOptions = Omit<ScreenshotOptions, "encoding" | "type" | "omitBackground" | "path"> & {
9
9
  /**
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { getScreenshotName, readVersionFromPackage, validateThreshold, writeMeta
6
6
  //#region src/index.ts
7
7
  const require = createRequire(import.meta.url);
8
8
  /**
9
- * Inject Argos script into the page.
9
+ * Inject Snapvisor script into the page.
10
10
  */
11
11
  async function injectArgos(page) {
12
12
  if (await page.evaluate(() => typeof window.__ARGOS__ !== "undefined")) return;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@snapvisor/puppeteer",
3
- "description": "Puppeteer SDK for visual testing with Argos.",
4
- "version": "6.0.24",
3
+ "description": "Puppeteer SDK for visual testing with Snapvisor.",
4
+ "version": "7.0.0",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/argos-ci/argos-javascript.git",
9
+ "url": "git+https://github.com/DevinoSolutions/snapvisor-js.git",
10
10
  "directory": "packages/puppeteer"
11
11
  },
12
- "homepage": "https://argos-ci.com/docs/reference/puppeteer",
12
+ "homepage": "https://snapvisor.io/docs",
13
13
  "bugs": {
14
14
  "url": "https://github.com/argos-ci/argos-javascript/issues"
15
15
  },
@@ -42,11 +42,11 @@
42
42
  "puppeteer": ">=1"
43
43
  },
44
44
  "dependencies": {
45
- "@snapvisor/browser": "6.4.4",
46
- "@snapvisor/util": "4.0.4"
45
+ "@snapvisor/browser": "7.0.0",
46
+ "@snapvisor/util": "5.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@snapvisor/cli": "6.4.1",
49
+ "@snapvisor/cli": "7.0.0",
50
50
  "@types/jest": "^30.0.0",
51
51
  "@types/node": "catalog:",
52
52
  "expect-puppeteer": "^11.0.0",
@@ -66,5 +66,5 @@
66
66
  "check-format": "prettier --check --ignore-unknown --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
67
67
  "lint": "eslint ."
68
68
  },
69
- "gitHead": "1e73c6dabaef54a8797ed7f509e2e4c568ea8181"
69
+ "gitHead": "b27308a53667724cc3c4f3e5eb7811bce3321f15"
70
70
  }