@allurereport/service 3.3.1 → 3.4.1
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/history.d.ts +1 -1
- package/dist/history.js +2 -1
- package/package.json +16 -27
package/dist/history.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type AllureHistory } from "@allurereport/core-api";
|
|
2
2
|
import type { AllureServiceClient } from "./service.js";
|
|
3
3
|
export declare class AllureRemoteHistory implements AllureHistory {
|
|
4
4
|
readonly params: {
|
package/dist/history.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { normalizeHistoryDataPointUrls } from "@allurereport/core-api";
|
|
1
2
|
import { KnownError } from "./utils/http.js";
|
|
2
3
|
export class AllureRemoteHistory {
|
|
3
4
|
constructor(params) {
|
|
@@ -10,7 +11,7 @@ export class AllureRemoteHistory {
|
|
|
10
11
|
branch: params?.branch ?? this.params.branch,
|
|
11
12
|
limit,
|
|
12
13
|
});
|
|
13
|
-
return res;
|
|
14
|
+
return res?.map(normalizeHistoryDataPointUrls);
|
|
14
15
|
}
|
|
15
16
|
catch (err) {
|
|
16
17
|
if (err instanceof KnownError && err.status === 404) {
|
package/package.json
CHANGED
|
@@ -1,56 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Allure Service API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
7
|
-
"
|
|
8
|
-
"report",
|
|
7
|
+
"html",
|
|
9
8
|
"plugin",
|
|
10
|
-
"
|
|
9
|
+
"report",
|
|
10
|
+
"testing"
|
|
11
11
|
],
|
|
12
|
-
"repository": "https://github.com/allure-framework/allure3",
|
|
13
12
|
"license": "Apache-2.0",
|
|
14
13
|
"author": "Qameta Software",
|
|
14
|
+
"repository": "https://github.com/allure-framework/allure3",
|
|
15
|
+
"files": [
|
|
16
|
+
"./dist"
|
|
17
|
+
],
|
|
15
18
|
"type": "module",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": "./dist/index.js"
|
|
18
|
-
},
|
|
19
19
|
"main": "./dist/index.js",
|
|
20
20
|
"module": "./dist/index.js",
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
|
-
"
|
|
23
|
-
"./dist"
|
|
24
|
-
|
|
22
|
+
"exports": {
|
|
23
|
+
".": "./dist/index.js"
|
|
24
|
+
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "run clean && tsc --project ./tsconfig.json",
|
|
27
27
|
"clean": "rimraf ./dist",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
28
|
+
"test": "rimraf ./out && vitest run",
|
|
29
|
+
"lint": "oxlint --import-plugin src test features stories",
|
|
30
|
+
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@allurereport/core-api": "3.
|
|
34
|
-
"@allurereport/plugin-api": "3.
|
|
33
|
+
"@allurereport/core-api": "3.4.1",
|
|
34
|
+
"@allurereport/plugin-api": "3.4.1",
|
|
35
35
|
"axios": "^1.13.5",
|
|
36
36
|
"open": "^10.1.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@stylistic/eslint-plugin": "^2.6.1",
|
|
40
|
-
"@types/eslint": "^8.56.11",
|
|
41
39
|
"@types/node": "^20.17.9",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
43
|
-
"@typescript-eslint/parser": "^8.0.0",
|
|
44
40
|
"@vitest/runner": "^2.1.8",
|
|
45
41
|
"@vitest/snapshot": "^2.1.8",
|
|
46
42
|
"allure-vitest": "^3.3.3",
|
|
47
|
-
"eslint": "^8.57.0",
|
|
48
|
-
"eslint-config-prettier": "^9.1.0",
|
|
49
|
-
"eslint-plugin-import": "^2.29.1",
|
|
50
|
-
"eslint-plugin-jsdoc": "^50.0.0",
|
|
51
|
-
"eslint-plugin-n": "^17.10.1",
|
|
52
|
-
"eslint-plugin-no-null": "^1.0.2",
|
|
53
|
-
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
54
43
|
"rimraf": "^6.0.1",
|
|
55
44
|
"typescript": "^5.6.3",
|
|
56
45
|
"vitest": "^2.1.8"
|