New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dotcom-reliability-kit/serialize-error

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/serialize-error - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

lib/index.js

@@ -15,2 +15,4 @@ /**

* Whether the error is operational, as in it's an error we expect sometimes as part of running the application.
* @property {Array<string>} relatesToSystems
* An array of FT system codes which are related to this error.
* @property {(Error | null)} cause

@@ -17,0 +19,0 @@ * The root cause error instance.

2

package.json
{
"name": "@dotcom-reliability-kit/serialize-error",
"version": "1.1.0",
"version": "1.1.1",
"description": "A utility function to serialize an error object in a way that's friendly to loggers, view engines, and converting to JSON",

@@ -5,0 +5,0 @@ "repository": {

@@ -13,2 +13,3 @@

* [`SerializedError.isOperational`](#serializederrorisoperational)
* [`SerializedError.relatesToSystems`](#serializederrorrelatestosystems)
* [`SerializedError.cause`](#serializederrorcause)

@@ -15,0 +16,0 @@ * [`SerializedError.stack`](#serializederrorstack)

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