@percy/playwright 1.0.0 → 1.0.3

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/index.js +1 -1
  2. package/package.json +7 -7
package/index.js CHANGED
@@ -2,7 +2,7 @@ const utils = require('@percy/sdk-utils');
2
2
 
3
3
  // Collect client and environment information
4
4
  const sdkPkg = require('./package.json');
5
- const playwrightPkg = require('playwright/package.json');
5
+ const playwrightPkg = require(require.resolve('./package.json', { paths: [__dirname] }));
6
6
  const CLIENT_INFO = `${sdkPkg.name}/${sdkPkg.version}`;
7
7
  const ENV_INFO = `${playwrightPkg.name}/${playwrightPkg.version}`;
8
8
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@percy/playwright",
3
3
  "description": "Playwright client library for visual testing with Percy",
4
- "version": "1.0.0",
4
+ "version": "1.0.3",
5
5
  "license": "MIT",
6
6
  "author": "Perceptual Inc.",
7
7
  "repository": "https://github.com/percy/percy-playwright",
@@ -17,7 +17,7 @@
17
17
  "types/index.d.ts"
18
18
  ],
19
19
  "engines": {
20
- "node": ">=12"
20
+ "node": ">=14"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint --ignore-path .gitignore .",
@@ -29,14 +29,14 @@
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@percy/sdk-utils": "^1.0.0-beta.69"
32
+ "@percy/sdk-utils": "^1.0.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "playwright": ">=1"
36
36
  },
37
37
  "devDependencies": {
38
- "@percy/core": "^1.0.0-beta.69",
39
- "@playwright/test": "^1.15.2",
38
+ "@percy/core": "^1.1.2",
39
+ "@playwright/test": "^1.21.0",
40
40
  "cross-env": "^7.0.2",
41
41
  "eslint": "^7.18.0",
42
42
  "eslint-config-standard": "^16.0.2",
@@ -45,7 +45,7 @@
45
45
  "eslint-plugin-promise": "^5.1.0",
46
46
  "eslint-plugin-standard": "^5.0.0",
47
47
  "nyc": "^15.1.0",
48
- "playwright": "^1.15.0",
49
- "tsd": "^0.17.0"
48
+ "playwright": "^1.21.0",
49
+ "tsd": "^0.20.0"
50
50
  }
51
51
  }