@argos-ci/puppeteer 2.0.0 → 2.1.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.mjs +4 -4
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -114,10 +114,10 @@ function checkIsFullPage(options) {
114
114
  colorScheme,
115
115
  mediaType,
116
116
  test: null,
117
- browser: {
118
- name: browserName,
119
- version: browserVersion
120
- },
117
+ browser: browserName || browserVersion ? {
118
+ name: browserName || "unknown",
119
+ version: browserVersion || "unknown"
120
+ } : undefined,
121
121
  automationLibrary: {
122
122
  name: "puppeteer",
123
123
  version: puppeteerVersion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/puppeteer",
3
3
  "description": "Visual testing solution to avoid visual regression. Puppeteer commands and utilities for Argos visual testing.",
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -40,11 +40,11 @@
40
40
  "puppeteer": ">=1"
41
41
  },
42
42
  "dependencies": {
43
- "@argos-ci/browser": "2.0.0",
43
+ "@argos-ci/browser": "2.1.0",
44
44
  "@argos-ci/util": "2.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@argos-ci/cli": "2.0.0",
47
+ "@argos-ci/cli": "2.0.1",
48
48
  "@types/jest": "^29.5.12",
49
49
  "@types/node": "^18.0.0",
50
50
  "eslint": "^8.57.0",
@@ -63,5 +63,5 @@
63
63
  "argos-upload": "pnpm exec argos upload screenshots --build-name \"argos-puppeteer-e2e-node-$NODE_VERSION-$OS\"",
64
64
  "e2e": "pnpm run test && pnpm run argos-upload"
65
65
  },
66
- "gitHead": "fcadf37f2a9c4a65a3f4c082db56aff2576c8c16"
66
+ "gitHead": "1d91294d32a09302aa8890807ddd810e14e9950b"
67
67
  }