exception-formatter
Advanced tools
Comparing version 2.0.0 to 2.1.0
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 |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6069
0