Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@backstage/errors

Package Overview
Dependencies
Maintainers
3
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/errors - npm Package Compare versions

Comparing version 0.0.0-nightly-20241119023621 to 0.0.0-nightly-20241206023738

12

CHANGELOG.md
# @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;

5

dist/serialization/error.esm.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc