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

@distributed-systems/callsite

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

@distributed-systems/callsite - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "@distributed-systems/callsite",
"version": "1.0.0",
"version": "1.1.0",
"description": "get structured callsite information",

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

@@ -49,5 +49,6 @@ 'use strict';

err,
dontCapture,
fn = this.getStack,
} = {}) {
const frames = this.getRawStack({slice, limit, err, fn});
const frames = this.getRawStack({slice, limit, err, fn, dontCapture});
return frames.map(frame => this.convertStackFrame(frame))

@@ -72,2 +73,3 @@ }

err = new Error(),
dontCapture = false,
} = {}) {

@@ -81,3 +83,3 @@ const originalFunction = Error.prepareStackTrace;

// caputre from a cerrtain offset
Error.captureStackTrace(err, fn);
if (!dontCapture) Error.captureStackTrace(err, fn);

@@ -84,0 +86,0 @@ // revert

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