@public-ui/visual-tests 4.0.0-alpha.2 → 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.
- package/package.json +7 -6
- 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
|
+
"version": "4.0.0-alpha.4",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,19 +28,20 @@
|
|
|
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.
|
|
31
|
+
"@public-ui/sample-react": "4.0.0-alpha.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/eslint-parser": "7.28.4",
|
|
35
35
|
"@babel/plugin-syntax-import-attributes": "7.27.1",
|
|
36
36
|
"@babel/preset-env": "7.28.3",
|
|
37
|
-
"@playwright/test": "1.
|
|
37
|
+
"@playwright/test": "1.56.0",
|
|
38
38
|
"eslint": "8.57.1",
|
|
39
|
-
"knip": "5.
|
|
40
|
-
"prettier": "3.6.2"
|
|
39
|
+
"knip": "5.65.0",
|
|
40
|
+
"prettier": "3.6.2",
|
|
41
|
+
"prettier-plugin-organize-imports": "4.3.0"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
|
-
"@playwright/test": "1.
|
|
44
|
+
"@playwright/test": "1.56.0"
|
|
44
45
|
},
|
|
45
46
|
"files": [
|
|
46
47
|
"playwright.config.js",
|
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
|
|
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
|
|