qase-javascript-commons 2.4.2 → 2.4.4

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,15 @@
1
+ # qase-javascript-commons@2.4.4
2
+
3
+ ## What's new
4
+
5
+ Updated the `qase-api-client` dependency to version `1.0.6`.
6
+
7
+ # qase-javascript-commons@2.4.3
8
+
9
+ ## What's new
10
+
11
+ Fixed an issue with the `report` mode not sending results.
12
+
1
13
  # qase-javascript-commons@2.4.2
2
14
 
3
15
  ## What's new
@@ -78,8 +78,8 @@ class ClientV1 {
78
78
  // Map our enum values to API enum values
79
79
  // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
80
80
  const apiType = this.config.run.externalLink.type === 'jiraCloud'
81
- ? qase_api_client_1.RunexternalIssuesTypeEnum.CLOUD
82
- : qase_api_client_1.RunexternalIssuesTypeEnum.SERVER;
81
+ ? qase_api_client_1.RunExternalIssuesTypeEnum.JIRA_CLOUD
82
+ : qase_api_client_1.RunExternalIssuesTypeEnum.JIRA_SERVER;
83
83
  await this.runClient.runUpdateExternalIssue(this.config.project, {
84
84
  type: apiType,
85
85
  links: [
@@ -80,7 +80,6 @@ class ReportReporter extends abstract_reporter_1.AbstractReporter {
80
80
  }
81
81
  }
82
82
  async complete() {
83
- this.writer.clearPreviousResults();
84
83
  const report = {
85
84
  title: 'Test report',
86
85
  execution: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qase-javascript-commons",
3
- "version": "2.4.2",
3
+ "version": "2.4.4",
4
4
  "description": "Qase JS Reporters",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "lodash.merge": "^4.6.2",
34
34
  "lodash.mergewith": "^4.6.2",
35
35
  "mime-types": "^2.1.33",
36
- "qase-api-client": "~1.0.1",
36
+ "qase-api-client": "~1.1.0",
37
37
  "qase-api-v2-client": "~1.0.1",
38
38
  "strip-ansi": "^6.0.1",
39
39
  "uuid": "^9.0.0"
@@ -47,7 +47,7 @@
47
47
  "@types/mime-types": "^2.1.4",
48
48
  "@types/node": "^20.12.5",
49
49
  "@types/uuid": "^9.0.1",
50
- "axios": "^1.8.2",
50
+ "axios": "^1.12.0",
51
51
  "jest": "^29.5.0",
52
52
  "ts-jest": "^29.1.0"
53
53
  }