@serenity-js/core 2.33.1 → 2.33.2
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
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
## [2.33.2](https://github.com/serenity-js/serenity-js/compare/v2.33.1...v2.33.2) (2022-02-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** updated error-stack-parser ([d81a8ce](https://github.com/serenity-js/serenity-js/commit/d81a8ce3ae92d3a266f67b1e5118ca947eec0db4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.33.1](https://github.com/serenity-js/serenity-js/compare/v2.33.0...v2.33.1) (2022-02-10)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import StackFrame = require('stackframe');
|
|
2
2
|
/**
|
|
3
3
|
* @desc
|
|
4
4
|
* A thin wrapper around error-stack-parser module
|
|
@@ -8,5 +8,5 @@ import * as parser from 'error-stack-parser';
|
|
|
8
8
|
* @package
|
|
9
9
|
*/
|
|
10
10
|
export declare class ErrorStackParser {
|
|
11
|
-
parse(error: Error):
|
|
11
|
+
parse(error: Error): StackFrame[];
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStackParser.js","sourceRoot":"","sources":["../../src/io/ErrorStackParser.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;
|
|
1
|
+
{"version":3,"file":"ErrorStackParser.js","sourceRoot":"","sources":["../../src/io/ErrorStackParser.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAG7C;;;;;;;GAOG;AACH,MAAa,gBAAgB;IACzB,KAAK,CAAC,KAAY;QACd,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ;AAJD,4CAIC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/core",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.2",
|
|
4
4
|
"description": "Serenity/JS Screenplay, reporting engine and core interfaces.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -36,12 +36,13 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"cuid": "^2.1.8",
|
|
38
38
|
"diff": "^5.0.0",
|
|
39
|
-
"error-stack-parser": "^2.0.
|
|
39
|
+
"error-stack-parser": "^2.0.7",
|
|
40
40
|
"fast-glob": "^3.2.11",
|
|
41
41
|
"filenamify": "^4.3.0",
|
|
42
42
|
"graceful-fs": "^4.2.9",
|
|
43
43
|
"moment": "^2.29.1",
|
|
44
44
|
"semver": "^7.3.5",
|
|
45
|
+
"stackframe": "^1.2.0",
|
|
45
46
|
"tiny-types": "^1.17.0",
|
|
46
47
|
"upath": "^2.0.1"
|
|
47
48
|
},
|
|
@@ -51,13 +52,13 @@
|
|
|
51
52
|
"@types/cuid": "^1.3.1",
|
|
52
53
|
"@types/diff": "^5.0.2",
|
|
53
54
|
"@types/filenamify": "^2.0.2",
|
|
54
|
-
"@types/mocha": "^9.
|
|
55
|
+
"@types/mocha": "^9.1.0",
|
|
55
56
|
"@types/semver": "^7.3.9",
|
|
56
57
|
"assertion-error-formatter": "^3.0.0",
|
|
57
58
|
"memfs": "^3.4.1",
|
|
58
|
-
"mocha": "^9.1
|
|
59
|
-
"ts-node": "^10.
|
|
60
|
-
"typescript": "^4.5.
|
|
59
|
+
"mocha": "^9.2.1",
|
|
60
|
+
"ts-node": "^10.5.0",
|
|
61
|
+
"typescript": "^4.5.5"
|
|
61
62
|
},
|
|
62
63
|
"repository": {
|
|
63
64
|
"type": "git",
|
|
@@ -92,5 +93,5 @@
|
|
|
92
93
|
"cache": true,
|
|
93
94
|
"all": true
|
|
94
95
|
},
|
|
95
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "20c20c4d1322376f50510e14a97114b96747f9ac"
|
|
96
97
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as parser from 'error-stack-parser';
|
|
2
|
+
import StackFrame = require('stackframe');
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @desc
|
|
@@ -9,7 +10,7 @@ import * as parser from 'error-stack-parser';
|
|
|
9
10
|
* @package
|
|
10
11
|
*/
|
|
11
12
|
export class ErrorStackParser {
|
|
12
|
-
parse(error: Error):
|
|
13
|
+
parse(error: Error): StackFrame[] {
|
|
13
14
|
return parser.parse(error);
|
|
14
15
|
}
|
|
15
16
|
}
|