Socket
Socket
Sign inDemoInstall

exception-formatter

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

4

lib/exceptionFormatter.js

@@ -78,3 +78,3 @@ // Generated by CoffeeScript 1.8.0

basepath = (_ref = options.basepath) != null ? _ref : process.cwd();
if (!endsWith(basepath, path.sep)) {
if (isString(basepath) && !endsWith(basepath, path.sep)) {
basepath += path.sep;

@@ -99,3 +99,3 @@ }

type = SOURCE;
if (filename.indexOf('node_modules') === -1 && filename.indexOf(basepath) !== -1) {
if (filename.indexOf('node_modules') === -1 && filename.search(basepath) !== -1) {
type = OUR_SOURCE;

@@ -102,0 +102,0 @@ }

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

@@ -5,0 +5,0 @@ "keywords": [

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