Socket
Socket
Sign inDemoInstall

exception-formatter

Package Overview
Dependencies
1
Maintainers
10
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

7

lib/exceptionFormatter.js

@@ -122,4 +122,7 @@ // Generated by CoffeeScript 1.8.0

if (options.maxLines && lines.length > options.maxLines) {
lines = lines.slice(0, +options.maxLines + 1 || 9e9);
lines.push(lineFn("[truncated]", DIVIDER));
lines = lines.slice(0, options.maxLines + 1);
lines.push({
line: " [truncated]",
type: DIVIDER
});
}

@@ -126,0 +129,0 @@ lines = lines.map(lineFn);

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

@@ -29,4 +29,6 @@ "keywords": [

"scripts": {
"prepublish": "coffee -c -o lib src",
"test": "mocha && istanbul report text-summary lcov"
"build": "coffee -c -o lib src",
"test": "mocha && istanbul report text-summary lcov",
"prepare": "npm run build",
"prepublishOnly": "npm run test"
},

@@ -33,0 +35,0 @@ "engines": {

@@ -0,1 +1,4 @@

[![Build Status](https://travis-ci.org/benbria/exception-formatter.svg?branch=master)](https://travis-ci.org/benbria/exception-formatter)
[![Coverage Status](https://coveralls.io/repos/benbria/exception-formatter/badge.svg?branch=master&service=github)](https://coveralls.io/github/benbria/exception-formatter?branch=master)
What is it?

@@ -60,2 +63,2 @@ ===========

`exception-formatter` will mark code as "your code" if it is in `options.basepath`, and if it does
not contain `node_modules` anywhere in it's path.
not contain `node_modules` anywhere in it's path.
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