@allurereport/plugin-awesome 3.7.0 → 3.8.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.
@@ -21,7 +21,7 @@ export declare const generateStatistic: (writer: AwesomeDataWriter, data: {
21
21
  statsByEnv: Map<string, Statistic>;
22
22
  envs: EnvironmentIdentity[];
23
23
  }) => Promise<void>;
24
- export declare const generateAttachmentsFiles: (writer: AwesomeDataWriter, attachmentLinks: AttachmentLink[], contentFunction: (id: string) => Promise<ResultFile | undefined>) => Promise<Map<string, string> | undefined>;
24
+ export declare const generateAttachmentsFiles: (writer: AwesomeDataWriter, attachmentLinks: AttachmentLink[], contentFunction: (id: string) => Promise<ResultFile | undefined>) => Promise<Map<string, string>>;
25
25
  export declare const generateHistoryDataPoints: (writer: AwesomeDataWriter, store: AllureStore) => Promise<Map<string, string>>;
26
26
  export declare const generateGlobals: (writer: AwesomeDataWriter, payload: {
27
27
  globalExitCode?: ExitCode;
@@ -246,7 +246,7 @@ export const generateAttachmentsFiles = async (writer, attachmentLinks, contentF
246
246
  const result = new Map();
247
247
  for (const { id, ext, ...link } of attachmentLinks) {
248
248
  if (link.missed) {
249
- return;
249
+ continue;
250
250
  }
251
251
  const content = await contentFunction(id);
252
252
  if (!content) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/plugin-awesome",
3
- "version": "3.7.0",
3
+ "version": "3.8.1",
4
4
  "description": "Allure Awesome Plugin – brand new HTML report with modern design and new features",
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/charts-api": "3.7.0",
34
- "@allurereport/core-api": "3.7.0",
35
- "@allurereport/plugin-api": "3.7.0",
36
- "@allurereport/web-awesome": "3.7.0",
37
- "@allurereport/web-commons": "3.7.0",
33
+ "@allurereport/charts-api": "3.8.1",
34
+ "@allurereport/core-api": "3.8.1",
35
+ "@allurereport/plugin-api": "3.8.1",
36
+ "@allurereport/web-awesome": "3.8.1",
37
+ "@allurereport/web-commons": "3.8.1",
38
38
  "d3-shape": "^3.2.0",
39
39
  "handlebars": "^4.7.9",
40
40
  "markdown-it": "^14.1.0"