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

error-serializer

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-serializer - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

build/src/parse/main.js

@@ -12,3 +12,3 @@ import{UNSET_CORE_PROPS,getNonCoreProps}from"../core.js";

export const parseError=function(object,types){
if(object instanceof Error){
if(Object.prototype.toString.call(object)==="[object Error]"){
return object;

@@ -15,0 +15,0 @@ }

{
"name": "error-serializer",
"version": "1.2.0",
"version": "1.2.1",
"type": "module",

@@ -49,3 +49,3 @@ "exports": "./build/src/main.js",

"dependencies": {
"normalize-exception": "^1.5.0",
"normalize-exception": "^1.6.0",
"safe-json-value": "^1.6.0"

@@ -52,0 +52,0 @@ },

[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/error-serializer.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/error-serializer)
[![Node](https://img.shields.io/node/v/error-serializer.svg?logo=node.js)](https://www.npmjs.com/package/error-serializer)
[![TypeScript](https://img.shields.io/badge/-typed-brightgreen?logo=typescript&colorA=gray)](/src/main.d.ts)
[![TypeScript](https://img.shields.io/badge/-typed-brightgreen?logo=typescript&colorA=gray&logoColor=0096ff)](/src/main.d.ts)
[![Node](https://img.shields.io/node/v/error-serializer.svg?logo=node.js&logoColor=66cc33)](https://www.npmjs.com/package/error-serializer)
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-brightgreen.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)

@@ -170,4 +170,5 @@ [![Medium](https://img.shields.io/badge/%E2%80%8B-medium-brightgreen.svg?logo=medium)](https://medium.com/@ehmicky)

like it's 2022 🔮
- [`error-type`](https://github.com/ehmicky/error-type): Create custom error
types
- [`create-error-types`](https://github.com/ehmicky/create-error-types): Create
multiple error types
- [`error-type`](https://github.com/ehmicky/error-type): Create one error type
- [`normalize-exception`](https://github.com/ehmicky/normalize-exception):

@@ -183,2 +184,4 @@ Normalize exceptions/errors

serialization should never fail
- [`log-process-errors`](https://github.com/ehmicky/log-process-errors): Show
some ❤ to Node.js process errors

@@ -185,0 +188,0 @@ # Support

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