@percy/client 1.30.3-alpha.2 → 1.30.3-alpha.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/dist/utils.js +3 -0
  2. package/package.json +4 -4
package/dist/utils.js CHANGED
@@ -30,6 +30,9 @@ export function waitForTimeout() {
30
30
 
31
31
  // Returns the package.json content at the package path.
32
32
  export function getPackageJSON(rel) {
33
+ /* istanbul ignore else: sanity check */
34
+ if (process.env.PERCY_FORCE_EXECUTABLE_DIRNAME) rel = __dirname;
35
+
33
36
  /* istanbul ignore else: sanity check */
34
37
  if (rel.startsWith('file:')) rel = url.fileURLToPath(rel);
35
38
  let pkg = path.join(rel, 'package.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/client",
3
- "version": "1.30.3-alpha.2",
3
+ "version": "1.30.3-alpha.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,10 +33,10 @@
33
33
  "test:coverage": "yarn test --coverage"
34
34
  },
35
35
  "dependencies": {
36
- "@percy/env": "1.30.3-alpha.2",
37
- "@percy/logger": "1.30.3-alpha.2",
36
+ "@percy/env": "1.30.3-alpha.3",
37
+ "@percy/logger": "1.30.3-alpha.3",
38
38
  "pac-proxy-agent": "^7.0.2",
39
39
  "pako": "^2.1.0"
40
40
  },
41
- "gitHead": "aeaba47044853e43b42e979a4e676916e4d95dff"
41
+ "gitHead": "4d36bd849268e2aa9987509c9fdd5d1224ce5157"
42
42
  }