@allurereport/plugin-classic 3.6.2 → 3.8.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.
@@ -9,7 +9,7 @@ export declare const generateTree: (writer: ClassicDataWriter, treeName: string,
9
9
  export declare const generateEnvironmentJson: (writer: ClassicDataWriter, env: EnvironmentItem[]) => Promise<void>;
10
10
  export declare const generateStatistic: (writer: ClassicDataWriter, statistic: Statistic) => Promise<void>;
11
11
  export declare const generatePieChart: (writer: ClassicDataWriter, statistic: Statistic) => Promise<void>;
12
- export declare const generateAttachmentsFiles: (writer: ClassicDataWriter, attachmentLinks: AttachmentLink[], contentFunction: (id: string) => Promise<ResultFile | undefined>) => Promise<Map<string, string> | undefined>;
12
+ export declare const generateAttachmentsFiles: (writer: ClassicDataWriter, attachmentLinks: AttachmentLink[], contentFunction: (id: string) => Promise<ResultFile | undefined>) => Promise<Map<string, string>>;
13
13
  export declare const generateHistoryDataPoints: (writer: ClassicDataWriter, store: AllureStore) => Promise<Map<string, string>>;
14
14
  export declare const generateStaticFiles: (payload: ClassicOptions & {
15
15
  allureVersion: string;
@@ -147,7 +147,7 @@ export const generateAttachmentsFiles = async (writer, attachmentLinks, contentF
147
147
  const result = new Map();
148
148
  for (const { id, ext, ...link } of attachmentLinks) {
149
149
  if (link.missed) {
150
- return;
150
+ continue;
151
151
  }
152
152
  const content = await contentFunction(id);
153
153
  if (!content) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/plugin-classic",
3
- "version": "3.6.2",
3
+ "version": "3.8.0",
4
4
  "description": "The classic version of Allure HTML report",
5
5
  "keywords": [
6
6
  "allure",
@@ -30,11 +30,11 @@
30
30
  "lint:fix": "oxlint --import-plugin --fix src test features stories"
31
31
  },
32
32
  "dependencies": {
33
- "@allurereport/core-api": "3.6.2",
34
- "@allurereport/plugin-api": "3.6.2",
35
- "@allurereport/web-awesome": "3.6.2",
36
- "@allurereport/web-classic": "3.6.2",
37
- "@allurereport/web-commons": "3.6.2",
33
+ "@allurereport/core-api": "3.8.0",
34
+ "@allurereport/plugin-api": "3.8.0",
35
+ "@allurereport/web-awesome": "3.8.0",
36
+ "@allurereport/web-classic": "3.8.0",
37
+ "@allurereport/web-commons": "3.8.0",
38
38
  "d3-shape": "^3.2.0",
39
39
  "handlebars": "^4.7.9",
40
40
  "markdown-it": "^14.1.0"