@serenity-js/serenity-bdd 3.3.0 → 3.4.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.
- package/CHANGELOG.md +22 -0
- package/lib/stage/crew/serenity-bdd-reporter/processors/mappers/dashify.js +2 -2
- package/lib/stage/crew/serenity-bdd-reporter/processors/mappers/dashify.js.map +1 -1
- package/lib/stage/crew/serenity-bdd-reporter/processors/mappers/escapeHtml.js +1 -1
- package/lib/stage/crew/serenity-bdd-reporter/processors/mappers/escapeHtml.js.map +1 -1
- package/lib/stage/crew/serenity-bdd-reporter/processors/transformations/executionFinishedWith.js +1 -2
- package/lib/stage/crew/serenity-bdd-reporter/processors/transformations/executionFinishedWith.js.map +1 -1
- package/package.json +8 -8
- package/src/stage/crew/serenity-bdd-reporter/processors/mappers/dashify.ts +2 -2
- package/src/stage/crew/serenity-bdd-reporter/processors/mappers/escapeHtml.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.4.0](https://github.com/serenity-js/serenity-js/compare/v3.3.1...v3.4.0) (2023-06-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **core:** compile Serenity/JS against ES2021 ([6b31184](https://github.com/serenity-js/serenity-js/commit/6b31184986f78b454ec1eeed53553fba8ebc868c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.3.1](https://github.com/serenity-js/serenity-js/compare/v3.3.0...v3.3.1) (2023-06-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **deps:** update dependency https-proxy-agent to v7 ([546e6e0](https://github.com/serenity-js/serenity-js/commit/546e6e07ebe8044a99503362ce8ac9deed4c9d54))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.3.0](https://github.com/serenity-js/serenity-js/compare/v3.2.1...v3.3.0) (2023-06-01)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @serenity-js/serenity-bdd
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashify.js","sourceRoot":"","sources":["../../../../../../src/stage/crew/serenity-bdd-reporter/processors/mappers/dashify.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAY;IAChC,OAAO,IAAI;SACN,
|
|
1
|
+
{"version":3,"file":"dashify.js","sourceRoot":"","sources":["../../../../../../src/stage/crew/serenity-bdd-reporter/processors/mappers/dashify.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAY;IAChC,OAAO,IAAI;SACN,UAAU,CAAC,KAAK,EAAE,GAAG,CAAC;SACtB,UAAU,CAAC,UAAU,EAAE,EAAE,CAAC;SAC1B,WAAW,EAAE,CAAC;AACvB,CAAC;AALD,0BAKC"}
|
|
@@ -13,7 +13,7 @@ function escapeHtml(text) {
|
|
|
13
13
|
'<': '<',
|
|
14
14
|
'>': '>'
|
|
15
15
|
};
|
|
16
|
-
return text.
|
|
16
|
+
return text.replaceAll(/["&'<>]/g, character => replacements[character]);
|
|
17
17
|
}
|
|
18
18
|
exports.escapeHtml = escapeHtml;
|
|
19
19
|
//# sourceMappingURL=escapeHtml.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escapeHtml.js","sourceRoot":"","sources":["../../../../../../src/stage/crew/serenity-bdd-reporter/processors/mappers/escapeHtml.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,SAAgB,UAAU,CAAC,IAAY;IACnC,MAAM,YAAY,GAAG;QACjB,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,MAAM;KACd,CAAC;IAEF,OAAO,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"escapeHtml.js","sourceRoot":"","sources":["../../../../../../src/stage/crew/serenity-bdd-reporter/processors/mappers/escapeHtml.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,SAAgB,UAAU,CAAC,IAAY;IACnC,MAAM,YAAY,GAAG;QACjB,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,MAAM;KACd,CAAC;IAEF,OAAO,IAAI,CAAC,UAAU,CAAE,UAAU,EAAE,SAAS,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAE,CAAC;AAC/E,CAAC;AAVD,gCAUC"}
|
package/lib/stage/crew/serenity-bdd-reporter/processors/transformations/executionFinishedWith.js
CHANGED
|
@@ -7,7 +7,6 @@ const mappers_1 = require("../mappers");
|
|
|
7
7
|
*/
|
|
8
8
|
function executionFinishedWith(outcome) {
|
|
9
9
|
return (context) => {
|
|
10
|
-
var _a;
|
|
11
10
|
const outcomeReport = (0, mappers_1.outcomeReportFrom)(outcome);
|
|
12
11
|
context.report.result = outcomeReport.result;
|
|
13
12
|
if (outcomeReport.error) {
|
|
@@ -18,7 +17,7 @@ function executionFinishedWith(outcome) {
|
|
|
18
17
|
outcomeReport.result,
|
|
19
18
|
outcomeReport.error.errorType,
|
|
20
19
|
outcomeReport.error.message,
|
|
21
|
-
|
|
20
|
+
outcomeReport.error.stackTrace[1]?.fileName || '',
|
|
22
21
|
].join(';');
|
|
23
22
|
}
|
|
24
23
|
return context;
|
package/lib/stage/crew/serenity-bdd-reporter/processors/transformations/executionFinishedWith.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executionFinishedWith.js","sourceRoot":"","sources":["../../../../../../src/stage/crew/serenity-bdd-reporter/processors/transformations/executionFinishedWith.ts"],"names":[],"mappings":";;;AAEA,wCAA+C;AAG/C;;GAEG;AACH,SAAgB,qBAAqB,CAA2C,OAAgB;IAC5F,OAAO,CAAC,OAAgB,EAAW,EAAE
|
|
1
|
+
{"version":3,"file":"executionFinishedWith.js","sourceRoot":"","sources":["../../../../../../src/stage/crew/serenity-bdd-reporter/processors/transformations/executionFinishedWith.ts"],"names":[],"mappings":";;;AAEA,wCAA+C;AAG/C;;GAEG;AACH,SAAgB,qBAAqB,CAA2C,OAAgB;IAC5F,OAAO,CAAC,OAAgB,EAAW,EAAE;QAEjC,MAAM,aAAa,GAAG,IAAA,2BAAiB,EAAC,OAAO,CAAC,CAAC;QAEjD,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC;QAE7C,IAAI,aAAa,CAAC,KAAK,EAAE;YACrB,OAAO,CAAC,MAAM,CAAC,gBAAgB,GAAO,aAAa,CAAC,KAAK,CAAC;YAC1D,OAAO,CAAC,MAAM,CAAC,oBAAoB,GAAG,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC;YACpE,OAAO,CAAC,MAAM,CAAC,kBAAkB,GAAK,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC;YAClE,OAAO,CAAC,MAAM,CAAC,kBAAkB,GAAK;gBAClC,aAAa,CAAC,MAAM;gBACpB,aAAa,CAAC,KAAK,CAAC,SAAS;gBAC7B,aAAa,CAAC,KAAK,CAAC,OAAO;gBAC3B,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,QAAQ,IAAI,EAAE;aACpD,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SACf;QAED,OAAO,OAAO,CAAC;IACnB,CAAC,CAAA;AACL,CAAC;AArBD,sDAqBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/serenity-bdd",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Serenity BDD reporter for Serenity/JS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"node": "^16.13 || ^18.12 || ^20"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@serenity-js/assertions": "3.
|
|
49
|
-
"@serenity-js/core": "3.
|
|
50
|
-
"@serenity-js/rest": "3.
|
|
48
|
+
"@serenity-js/assertions": "3.4.0",
|
|
49
|
+
"@serenity-js/core": "3.4.0",
|
|
50
|
+
"@serenity-js/rest": "3.4.0",
|
|
51
51
|
"ansi-regex": "^5.0.1",
|
|
52
52
|
"axios": "^1.4.0",
|
|
53
53
|
"chalk": "^4.1.2",
|
|
54
54
|
"find-java-home": "^2.0.0",
|
|
55
|
-
"https-proxy-agent": "^
|
|
55
|
+
"https-proxy-agent": "^7.0.0",
|
|
56
56
|
"progress": "^2.0.3",
|
|
57
57
|
"tiny-types": "^1.19.1",
|
|
58
58
|
"which": "^3.0.1",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"@types/chai": "^4.3.5",
|
|
64
64
|
"@types/mocha": "^10.0.1",
|
|
65
65
|
"@types/progress": "^2.0.5",
|
|
66
|
-
"c8": "7.
|
|
66
|
+
"c8": "7.14.0",
|
|
67
67
|
"if-env": "^1.0.4",
|
|
68
|
-
"memfs": "^3.5.
|
|
68
|
+
"memfs": "^3.5.3",
|
|
69
69
|
"mocha": "^10.2.0",
|
|
70
70
|
"mocha-multi": "^1.1.7",
|
|
71
71
|
"ts-node": "^10.9.1",
|
|
72
72
|
"typescript": "^5.0.4"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "e69967f05819bc21324f537afc66ddb73adf772d"
|
|
75
75
|
}
|