Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stacktracey

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacktracey - npm Package Compare versions

Comparing version 1.2.115 to 1.2.116

2

package.json
{
"name": "stacktracey",
"version": "1.2.115",
"version": "1.2.116",
"description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.",

@@ -5,0 +5,0 @@ "main": "stacktracey",

@@ -5,10 +5,11 @@ "use strict";

const O = Object,
isBrowser = (typeof window !== 'undefined') && (window.window === window) && window.navigator,
lastOf = x => x[x.length - 1],
getSource = require ('get-source'),
partition = require ('./impl/partition'),
asTable = require ('as-table'),
nixSlashes = x => x.replace (/\\/g, '/'),
pathRoot = isBrowser ? window.location.href : (nixSlashes (process.cwd ()) + '/')
const O = Object,
isBrowser = (typeof window !== 'undefined') && (window.window === window) && window.navigator,
lastOf = x => x[x.length - 1],
getSource = require ('get-source'),
partition = require ('./impl/partition'),
asTable = require ('as-table'),
nixSlashes = x => x.replace (/\\/g, '/'),
pathRoot = isBrowser ? window.location.href : (nixSlashes (process.cwd ()) + '/'),
pathToRelative = isBrowser ? ((root, full) => full.replace (root, '')) : module.require ('path').relative

@@ -98,4 +99,3 @@ /* ------------------------------------------------------------------------ */

static relativePath (fullPath) {
return fullPath.replace (pathRoot, '')
.replace (/^.*\:\/\/?\/?/, '')
return pathToRelative (pathRoot, fullPath).replace (/^.*\:\/\/?\/?/, '')
}

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

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