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

cf-errors

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-errors - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

8

lib/index.js

@@ -95,4 +95,6 @@ 'use strict';

var str = this.name + ': ' + this.message;
if (this.cause)
str += '; caused by ' + this.cause.toString();
if (this.cause) {
const cause = this.cause.toString() === "[object Object]" ? this.cause.message : this.cause.toString();
str += '; caused by ' + cause;
}
return (str);

@@ -119,2 +121,2 @@ };

module.exports = CFError;
module.exports = CFError;
{
"name": "cf-errors",
"version": "0.1.16",
"version": "0.1.17",
"description": "Extensible error library",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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