Socket
Socket
Sign inDemoInstall

exception-formatter

Package Overview
Dependencies
1
Maintainers
9
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

2

exceptionFormatter.d.ts
export = exceptionFormatter;
interface ExceptionFormatterOptionsCommon {
maxLines?: number | null;
maxLines?: number | null | 'auto';
basepath?: string;

@@ -6,0 +6,0 @@ basepathReplacement?: string;

{
"name": "exception-formatter",
"version": "2.0.0",
"version": "2.1.0",
"author": "Jason Walton <dev@lucid.thedreaming.org> (https://github.com/jwalton)",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -46,3 +46,3 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

* `options.maxLines` - The maximum number of lines to print from the exception. 0 or `null` for
unlimited (the default.)
unlimited (the default.) `"auto"` to truncate after the last line in your source code.
* `options.basepath` - this is your project's root folder. If you're writing code in

@@ -49,0 +49,0 @@ src/myFile.js, then this should be `path.resolve(__dirname, '..')`. This path will be

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc