Socket
Socket
Sign inDemoInstall

stackman

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stackman - npm Package Compare versions

Comparing version 3.0.2 to 4.0.0

6

index.js

@@ -11,4 +11,2 @@ 'use strict'

var isAbsolute = path.isAbsolute || require('path-is-absolute')
var LINES_OF_CONTEXT = 5

@@ -25,3 +23,3 @@ var ESCAPED_REGEX_PATH_SEP = path.sep === '/' ? '/' : '\\\\'

debug('reading %s', file)
fs.readFile(file, {encoding: 'utf8'}, function (err, data) {
fs.readFile(file, { encoding: 'utf8' }, function (err, data) {
if (err) return cb(err)

@@ -161,3 +159,3 @@ cb(null, data.split(/\r?\n/))

var filename = this.getFileName() || ''
return (!isAbsolute(filename) && filename[0] !== '.')
return (!path.isAbsolute(filename) && filename[0] !== '.')
}

@@ -164,0 +162,0 @@

{
"name": "stackman",
"version": "3.0.2",
"version": "4.0.0",
"description": "Enhance an error stacktrace with code excerpts and other goodies",

@@ -9,12 +9,11 @@ "main": "index.js",

"async-cache": "^1.1.0",
"debug": "^2.2.0",
"error-callsites": "^1.0.1",
"load-source-map": "^1.0.0",
"path-is-absolute": "^1.0.1"
"debug": "^4.1.1",
"error-callsites": "^2.0.2",
"load-source-map": "^1.0.0"
},
"devDependencies": {
"longjohn": "=0.2.9",
"semver": "^5.3.0",
"standard": "^9.0.2",
"tape": "^4.6.2"
"longjohn": "^0.2.12",
"semver": "^6.3.0",
"standard": "^14.0.0",
"tape": "^4.11.0"
},

@@ -49,4 +48,4 @@ "scripts": {

"coordinates": [
55.6773705,
12.5526636
55.778276,
12.593074
],

@@ -53,0 +52,0 @@ "standard": {

@@ -11,2 +11,3 @@ # Stackman

[![npm](https://img.shields.io/npm/v/stackman.svg)](https://www.npmjs.com/package/stackman)
[![Build status](https://travis-ci.org/watson/stackman.svg?branch=master)](https://travis-ci.org/watson/stackman)

@@ -313,2 +314,2 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

MIT
[MIT](LICENSE)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc