@public-ui/visual-tests 4.0.0-alpha.3 → 4.0.0-alpha.4

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/package.json +4 -3
  2. package/src/index.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/visual-tests",
3
- "version": "4.0.0-alpha.3",
3
+ "version": "4.0.0-alpha.4",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "axe-playwright": "2.2.2",
29
29
  "portfinder": "1.0.38",
30
30
  "serve": "14.2.5",
31
- "@public-ui/sample-react": "4.0.0-alpha.3"
31
+ "@public-ui/sample-react": "4.0.0-alpha.4"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/eslint-parser": "7.28.4",
@@ -37,7 +37,8 @@
37
37
  "@playwright/test": "1.56.0",
38
38
  "eslint": "8.57.1",
39
39
  "knip": "5.65.0",
40
- "prettier": "3.6.2"
40
+ "prettier": "3.6.2",
41
+ "prettier-plugin-organize-imports": "4.3.0"
41
42
  },
42
43
  "peerDependencies": {
43
44
  "@playwright/test": "1.56.0"
package/src/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import child_process from 'node:child_process';
2
- import path from 'node:path';
3
- import { fileURLToPath, pathToFileURL } from 'url';
4
1
  import * as crypto from 'crypto';
5
- import { readFile } from 'fs/promises';
6
2
  import * as fs from 'fs';
3
+ import { readFile } from 'fs/promises';
4
+ import child_process from 'node:child_process';
5
+ import os from 'node:os';
6
+ import path from 'node:path';
7
7
  import portfinder from 'portfinder';
8
8
  import * as process from 'process';
9
- import os from 'node:os';
9
+ import { fileURLToPath, pathToFileURL } from 'url';
10
10
 
11
11
  const tempDir = process.env.RUNNER_TEMP || process.env.TMPDIR || os.tmpdir(); // TODO: Check on Windows
12
12