qase-javascript-commons 2.2.8 → 2.2.10

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/changelog.md CHANGED
@@ -1,3 +1,10 @@
1
+ # qase-javascript-commons@2.2.10
2
+
3
+ ## What's new
4
+
5
+ Resolved an issue with parallel execution of multiple reporters using a shared sync file. Each reporter now uses its own
6
+ dedicated file for state synchronization.
7
+
1
8
  # qase-javascript-commons@2.2.7
2
9
 
3
10
  ## What's new
@@ -7,7 +7,7 @@ exports.StateManager = void 0;
7
7
  const fs_1 = require("fs");
8
8
  const path_1 = __importDefault(require("path"));
9
9
  class StateManager {
10
- static statePath = path_1.default.resolve(__dirname, 'reporterState.json');
10
+ static statePath = path_1.default.resolve(process.cwd(), 'reporterState.json');
11
11
  static getState() {
12
12
  let state = {
13
13
  RunId: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qase-javascript-commons",
3
- "version": "2.2.8",
3
+ "version": "2.2.10",
4
4
  "description": "Qase JS Reporters",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -26,7 +26,6 @@
26
26
  "dependencies": {
27
27
  "ajv": "^8.12.0",
28
28
  "chalk": "^4.1.2",
29
- "child-process-ext": "^3.0.2",
30
29
  "env-schema": "^5.2.0",
31
30
  "form-data": "^4.0.0",
32
31
  "lodash.get": "^4.4.2",