@takeshape/errors 10.2.0 → 10.2.6
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.
|
@@ -16,8 +16,7 @@ class BranchMergeError extends _baseError.default {
|
|
|
16
16
|
this.data = data;
|
|
17
17
|
}
|
|
18
18
|
get errors() {
|
|
19
|
-
|
|
20
|
-
return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.errors;
|
|
19
|
+
return this.data?.errors;
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
exports.BranchMergeError = BranchMergeError;
|
package/es/branch-merge-error.js
CHANGED
|
@@ -9,8 +9,7 @@ export class BranchMergeError extends BaseError {
|
|
|
9
9
|
this.data = data;
|
|
10
10
|
}
|
|
11
11
|
get errors() {
|
|
12
|
-
|
|
13
|
-
return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.errors;
|
|
12
|
+
return this.data?.errors;
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
_defineProperty(BranchMergeError, "code", 'BranchMergeError');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/errors",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.6",
|
|
4
4
|
"description": "Custom error objects.",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"ajv": "^8.10.0",
|
|
24
|
-
"@takeshape/typescript-jest-junit-reporter": "10.2.
|
|
24
|
+
"@takeshape/typescript-jest-junit-reporter": "10.2.6"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">=18"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "pnpm build:js && pnpm build:es && pnpm build:types && pnpm build:copy",
|