@backstage/errors
Advanced tools
Comparing version 0.0.0-nightly-20241119023621 to 0.0.0-nightly-20241206023738
# @backstage/errors | ||
## 0.0.0-nightly-20241119023621 | ||
## 0.0.0-nightly-20241206023738 | ||
### Patch Changes | ||
- 1d4b5b9: Trim `error.cause.stack` in addition to `error.stack` when trimming stack traces from serialized errors. | ||
- Updated dependencies | ||
- @backstage/types@0.0.0-nightly-20241119023621 | ||
- @backstage/types@1.2.0 | ||
## 1.2.5 | ||
### Patch Changes | ||
- Updated dependencies | ||
- @backstage/types@1.2.0 | ||
## 1.2.4 | ||
@@ -11,0 +19,0 @@ |
@@ -15,2 +15,5 @@ 'use strict'; | ||
delete result.stack; | ||
if (result.cause && typeof result.cause === "object" && "stack" in result.cause) { | ||
delete result.cause.stack; | ||
} | ||
} | ||
@@ -17,0 +20,0 @@ return result; |
@@ -1,2 +0,2 @@ | ||
import { deserializeError as deserializeError$1, serializeError as serializeError$1 } from 'serialize-error'; | ||
import { serializeError as serializeError$1, deserializeError as deserializeError$1 } from 'serialize-error'; | ||
import { isError } from '../errors/assertion.esm.js'; | ||
@@ -13,2 +13,5 @@ | ||
delete result.stack; | ||
if (result.cause && typeof result.cause === "object" && "stack" in result.cause) { | ||
delete result.cause.stack; | ||
} | ||
} | ||
@@ -15,0 +18,0 @@ return result; |
{ | ||
"name": "@backstage/errors", | ||
"version": "0.0.0-nightly-20241119023621", | ||
"version": "0.0.0-nightly-20241206023738", | ||
"description": "Common utilities for error handling within Backstage", | ||
@@ -39,7 +39,7 @@ "backstage": { | ||
"dependencies": { | ||
"@backstage/types": "0.0.0-nightly-20241119023621", | ||
"@backstage/types": "1.2.0", | ||
"serialize-error": "^8.0.1" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "0.0.0-nightly-20241119023621" | ||
"@backstage/cli": "0.0.0-nightly-20241206023738" | ||
}, | ||
@@ -46,0 +46,0 @@ "typesVersions": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77924
773
+ Added@backstage/types@1.2.0(transitive)
- Removed@backstage/types@0.0.0-nightly-20241119023621(transitive)
Updated@backstage/types@1.2.0