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

xerror

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xerror - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

.editorconfig

2

package.json
{
"name": "xerror",
"version": "1.1.0",
"version": "1.1.1",
"description": "Error wrapper including things like error code, data, and cause for Node.JS",

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

@@ -20,3 +20,4 @@ var registry = require('./error-code-registry');

function XError(/*code, message, data, privateData, cause*/) {
Error.captureStackTrace(this, this);
if (Error.captureStackTrace) Error.captureStackTrace(this, this);
else this.stack = new Error().stack;

@@ -23,0 +24,0 @@ var code, message, data, cause, privateData;

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