@allurereport/core 3.8.1 → 3.9.0
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/dist/api.d.ts +3 -2
- package/dist/config.d.ts +4 -1
- package/dist/config.js +24 -9
- package/dist/plugin.d.ts +2 -2
- package/dist/plugin.js +10 -4
- package/dist/report.d.ts +1 -0
- package/dist/report.js +269 -136
- package/dist/store/convert.js +1 -1
- package/dist/store/retrySubstore.d.ts +12 -0
- package/dist/store/retrySubstore.js +94 -0
- package/dist/store/store.d.ts +9 -4
- package/dist/store/store.js +95 -137
- package/dist/utils/cli.d.ts +4 -0
- package/dist/utils/cli.js +41 -0
- package/dist/utils/crypto.d.ts +1 -0
- package/dist/utils/crypto.js +2 -1
- package/dist/utils/realtimeUpdateScheduler.js +5 -0
- package/package.json +21 -23
package/dist/utils/crypto.js
CHANGED
|
@@ -28,7 +28,12 @@ export class RealtimeUpdateScheduler {
|
|
|
28
28
|
await setTimeout(__classPrivateFieldGet(this, _RealtimeUpdateScheduler_cooldownMs, "f"));
|
|
29
29
|
__classPrivateFieldSet(this, _RealtimeUpdateScheduler_phase, "running", "f");
|
|
30
30
|
__classPrivateFieldSet(this, _RealtimeUpdateScheduler_dirty, false, "f");
|
|
31
|
+
const start = Date.now();
|
|
31
32
|
await __classPrivateFieldGet(this, _RealtimeUpdateScheduler_worker, "f").call(this);
|
|
33
|
+
const elapsed = Date.now() - start;
|
|
34
|
+
if (__classPrivateFieldGet(this, _RealtimeUpdateScheduler_dirty, "f") && elapsed > __classPrivateFieldGet(this, _RealtimeUpdateScheduler_cooldownMs, "f")) {
|
|
35
|
+
await setTimeout(elapsed - __classPrivateFieldGet(this, _RealtimeUpdateScheduler_cooldownMs, "f"));
|
|
36
|
+
}
|
|
32
37
|
} while (__classPrivateFieldGet(this, _RealtimeUpdateScheduler_dirty, "f"));
|
|
33
38
|
});
|
|
34
39
|
__classPrivateFieldSet(this, _RealtimeUpdateScheduler_worker, worker, "f");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "Collection of generic Allure utilities used across the entire project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure"
|
|
@@ -25,37 +25,35 @@
|
|
|
25
25
|
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@allurereport/ci": "3.
|
|
29
|
-
"@allurereport/core-api": "3.
|
|
30
|
-
"@allurereport/plugin-agent": "3.
|
|
31
|
-
"@allurereport/plugin-allure2": "3.
|
|
32
|
-
"@allurereport/plugin-api": "3.
|
|
33
|
-
"@allurereport/plugin-awesome": "3.
|
|
34
|
-
"@allurereport/plugin-classic": "3.
|
|
35
|
-
"@allurereport/plugin-csv": "3.
|
|
36
|
-
"@allurereport/plugin-dashboard": "3.
|
|
37
|
-
"@allurereport/plugin-jira": "3.
|
|
38
|
-
"@allurereport/plugin-log": "3.
|
|
39
|
-
"@allurereport/plugin-progress": "3.
|
|
40
|
-
"@allurereport/plugin-slack": "3.
|
|
41
|
-
"@allurereport/plugin-testops": "3.
|
|
42
|
-
"@allurereport/plugin-testplan": "3.
|
|
43
|
-
"@allurereport/reader": "3.
|
|
44
|
-
"@allurereport/reader-api": "3.
|
|
45
|
-
"@allurereport/service": "3.
|
|
46
|
-
"@allurereport/summary": "3.
|
|
28
|
+
"@allurereport/ci": "3.9.0",
|
|
29
|
+
"@allurereport/core-api": "3.9.0",
|
|
30
|
+
"@allurereport/plugin-agent": "3.9.0",
|
|
31
|
+
"@allurereport/plugin-allure2": "3.9.0",
|
|
32
|
+
"@allurereport/plugin-api": "3.9.0",
|
|
33
|
+
"@allurereport/plugin-awesome": "3.9.0",
|
|
34
|
+
"@allurereport/plugin-classic": "3.9.0",
|
|
35
|
+
"@allurereport/plugin-csv": "3.9.0",
|
|
36
|
+
"@allurereport/plugin-dashboard": "3.9.0",
|
|
37
|
+
"@allurereport/plugin-jira": "3.9.0",
|
|
38
|
+
"@allurereport/plugin-log": "3.9.0",
|
|
39
|
+
"@allurereport/plugin-progress": "3.9.0",
|
|
40
|
+
"@allurereport/plugin-slack": "3.9.0",
|
|
41
|
+
"@allurereport/plugin-testops": "3.9.0",
|
|
42
|
+
"@allurereport/plugin-testplan": "3.9.0",
|
|
43
|
+
"@allurereport/reader": "3.9.0",
|
|
44
|
+
"@allurereport/reader-api": "3.9.0",
|
|
45
|
+
"@allurereport/service": "3.9.0",
|
|
46
|
+
"@allurereport/summary": "3.9.0",
|
|
47
47
|
"glob": "^13.0.6",
|
|
48
48
|
"handlebars": "^4.7.9",
|
|
49
49
|
"node-stream-zip": "^1.15.0",
|
|
50
|
-
"p-limit": "^7.
|
|
51
|
-
"progress": "^2.0.3",
|
|
50
|
+
"p-limit": "^7.3.0",
|
|
52
51
|
"yaml": "^2.8.3",
|
|
53
52
|
"yoctocolors": "^2.1.1",
|
|
54
53
|
"zip-stream": "^7.0.2"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
56
|
"@types/node": "^20.17.9",
|
|
58
|
-
"@types/progress": "^2",
|
|
59
57
|
"@types/zip-stream": "^7.0.0",
|
|
60
58
|
"@vitest/runner": "^2.1.9",
|
|
61
59
|
"@vitest/snapshot": "^2.1.9",
|