@wdio/allure-reporter 7.16.8 → 7.16.14

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.
Files changed (2) hide show
  1. package/build/index.js +2 -2
  2. package/package.json +6 -6
package/build/index.js CHANGED
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  const reporter_1 = __importDefault(require("@wdio/reporter"));
17
17
  const utils_1 = require("./utils");
18
18
  const constants_1 = require("./constants");
19
- const stringify = require("csv-stringify/lib/sync");
19
+ const sync_1 = require("csv-stringify/sync");
20
20
  /**
21
21
  * Allure v1 has no proper TS support
22
22
  * ToDo(Christian): update to Allure v2 (https://github.com/webdriverio/webdriverio/issues/6313)
@@ -133,7 +133,7 @@ class AllureReporter extends reporter_1.default {
133
133
  const argument = testObj === null || testObj === void 0 ? void 0 : testObj.argument;
134
134
  const dataTable = (_a = argument === null || argument === void 0 ? void 0 : argument.rows) === null || _a === void 0 ? void 0 : _a.map((a) => a === null || a === void 0 ? void 0 : a.cells);
135
135
  if (dataTable) {
136
- this._allure.addAttachment('Data Table', stringify(dataTable), 'text/csv');
136
+ this._allure.addAttachment('Data Table', (0, sync_1.stringify)(dataTable), 'text/csv');
137
137
  }
138
138
  return step;
139
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/allure-reporter",
3
- "version": "7.16.8",
3
+ "version": "7.16.14",
4
4
  "description": "A WebdriverIO reporter plugin to create Allure Test Reports",
5
5
  "author": "Boris Osipov <osipov.boris@gmail.com>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-allure-reporter",
@@ -24,11 +24,11 @@
24
24
  "url": "https://github.com/webdriverio/webdriverio/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@types/node": "^16.11.1",
28
- "@wdio/reporter": "7.16.3",
29
- "@wdio/types": "7.16.3",
27
+ "@types/node": "^17.0.4",
28
+ "@wdio/reporter": "7.16.14",
29
+ "@wdio/types": "7.16.14",
30
30
  "allure-js-commons": "^1.3.2",
31
- "csv-stringify": "^5.6.2",
31
+ "csv-stringify": "^6.0.4",
32
32
  "strip-ansi": "^6.0.0"
33
33
  },
34
34
  "peerDependencies": {
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "f8584110532a33ad899ff66eefde427d2d0c7481"
40
+ "gitHead": "be9d252b21fff13f161b8607e186a33a530e3d3d"
41
41
  }