@percy/core 1.30.3-alpha.1 → 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/api.js +1 -2
  2. package/package.json +7 -7
package/dist/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import fs from 'fs';
2
- import path from 'path';
2
+ import path, { dirname, resolve } from 'path';
3
3
  import logger from '@percy/logger';
4
4
  import { normalize } from '@percy/config/utils';
5
5
  import { getPackageJSON, Server, percyAutomateRequestHandler, percyBuildEventHandler } from './utils.js';
@@ -11,7 +11,6 @@ import { handleSyncJob } from './snapshot.js';
11
11
  // Now, we use `fileURLToPath` and `path.resolve` to determine the absolute path in a way that's more aligned with ESM conventions.
12
12
  // This change ensures better compatibility and avoids relying on Node.js-specific APIs that might cause issues in ESM environments.
13
13
  import { fileURLToPath } from 'url';
14
- import { dirname, resolve } from 'path';
15
14
  const __filename = fileURLToPath(import.meta.url);
16
15
  const __dirname = dirname(__filename);
17
16
  export const PERCY_DOM = resolve(__dirname, 'node_modules/@percy/dom');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.30.3-alpha.1",
3
+ "version": "1.30.3-alpha.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,11 +43,11 @@
43
43
  "test:types": "tsd"
44
44
  },
45
45
  "dependencies": {
46
- "@percy/client": "1.30.3-alpha.1",
47
- "@percy/config": "1.30.3-alpha.1",
48
- "@percy/dom": "1.30.3-alpha.1",
49
- "@percy/logger": "1.30.3-alpha.1",
50
- "@percy/webdriver-utils": "1.30.3-alpha.1",
46
+ "@percy/client": "1.30.3-alpha.3",
47
+ "@percy/config": "1.30.3-alpha.3",
48
+ "@percy/dom": "1.30.3-alpha.3",
49
+ "@percy/logger": "1.30.3-alpha.3",
50
+ "@percy/webdriver-utils": "1.30.3-alpha.3",
51
51
  "content-disposition": "^0.5.4",
52
52
  "cross-spawn": "^7.0.3",
53
53
  "extract-zip": "^2.0.1",
@@ -60,5 +60,5 @@
60
60
  "ws": "^8.17.1",
61
61
  "yaml": "^2.4.1"
62
62
  },
63
- "gitHead": "e342330feb6be33e7234149a344faa50d1903da7"
63
+ "gitHead": "4d36bd849268e2aa9987509c9fdd5d1224ce5157"
64
64
  }