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

trace-error

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trace-error - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "trace-error",
"version": "0.0.3",
"version": "0.0.4",
"description": "Chained errors for JavaScript",

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

@@ -16,2 +16,5 @@ # TraceError

#### Compatibility
Node 0.11 -> 5.X; not tested on browsers
## Output

@@ -42,3 +45,3 @@

#### `static TraceError@globalStackProperty`
Attribute used to aggregate the long stack. Can further customized via. inheritance and/or prototype modification
Attribute used to aggregate the long stack. Can be further customized via. inheritance and/or prototype modification

@@ -45,0 +48,0 @@ #### `static TraceError@indent`

@@ -20,3 +20,3 @@ export default class Exception {

const error = new Error(...args);
Object.defineProperty(this, '___base_exception___', {configurable: false, value: error});
Object.defineProperty(this, '___base_exception___', {configurable: false, value: error, enumerable: false});
}

@@ -23,0 +23,0 @@ }

@@ -43,7 +43,7 @@ import Exception from './Exception';

}
Object.defineProperty(this, '___trace_error_use_base___', {value: true, configurable: true});
Object.defineProperty(this, '___trace_error_use_base___', {value: true, configurable: true, enumerable: false});
const stack = this.getLongStack();
Object.defineProperty(this, '___trace_error_use_base___', {value: false, configurable: true});
Object.defineProperty(this, '___trace_error_use_base___', {value: false, configurable: true, enumerable: false});

@@ -92,4 +92,4 @@ return stack;

Object.defineProperty(this, '___trace_error_causes__', {value: causes});
Object.defineProperty(this, '___trace_error_causes__', {value: causes, enumerable: false, configurable: false});
}
}

Sorry, the diff of this file is not supported yet

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