Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

callsite-record

Package Overview
Dependencies
19
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.1.0

3

lib/index.js

@@ -194,6 +194,7 @@ var fs = require('fs');

stack: true,
codeFrame: true,
stackFilter: null
}, opts);
var codeFrame = this._renderCodeFrame(fileContent, opts.renderer, opts.frameSize);
var codeFrame = opts.codeFrame ? this._renderCodeFrame(fileContent, opts.renderer, opts.frameSize) : '';
var stack = opts.stack ? this._renderStack(opts.renderer, opts.stackFilter) : '';

@@ -200,0 +201,0 @@

{
"name": "callsite-record",
"version": "3.0.2",
"version": "3.1.0",
"description": "Create fancy log entries for errors and function call sites.",

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

@@ -123,2 +123,5 @@ # callsite-record

##### renderOptions.codeFrame
Specifies if code frame should be rendered. If disabled only stack will be rendered. **Default:** `true`.
##### renderOptions.stack

@@ -125,0 +128,0 @@ Specifies if stack trace should be rendered in addition to the code frame. **Default:** `true`.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc