Socket
Socket
Sign inDemoInstall

serialize-error

Package Overview
Dependencies
1
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0 to 8.0.1

2

index.js

@@ -57,3 +57,3 @@ 'use strict';

for (const [key, value] of Object.entries(from)) {
if (Buffer.isBuffer(value)) {
if (typeof Buffer === 'function' && Buffer.isBuffer(value)) {
to[key] = '[object Buffer]';

@@ -60,0 +60,0 @@ continue;

{
"name": "serialize-error",
"version": "8.0.0",
"version": "8.0.1",
"description": "Serialize/deserialize an error into a plain object",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc