Socket
Socket
Sign inDemoInstall

raw-stacktrace

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

raw-stacktrace - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

example.js

@@ -9,4 +9,8 @@

traces.formatter(function(err, st){
return "custom stack trace";
});
(function testError(){
throw new Error("test");
}).bind({ context: "someContext" })();

@@ -67,2 +67,7 @@ var EventEmitter = require('events').EventEmitter

var rawCallSites = !opts.rawCallSites? false : !!opts.rawCallSites;
emitter.formatter = function(fn) {
hasCustomFormatter = true;
formatter = fn;
};

@@ -69,0 +74,0 @@ Error.prepareStackTrace = function customPrepare(err, callsites){

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Emit raw stacktraces when errors are thrown",
"version": "0.0.1",
"version": "0.0.2",
"repository": {

@@ -8,0 +8,0 @@ "url": ""

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