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 2.0.17 to 2.0.18

2

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

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

@@ -7,2 +7,3 @@ "use strict";

isBrowser = (typeof window !== 'undefined') && (window.window === window) && window.navigator,
nodeRequire = isBrowser ? null : module.require, // to prevent bundlers from expanding the require call
lastOf = x => x[x.length - 1],

@@ -14,3 +15,3 @@ getSource = require ('get-source'),

pathRoot = isBrowser ? window.location.href : (nixSlashes (process.cwd ()) + '/'),
pathToRelative = isBrowser ? ((root, full) => full.replace (root, '')) : module.require ('path').relative
pathToRelative = isBrowser ? ((root, full) => full.replace (root, '')) : nodeRequire ('path').relative

@@ -51,3 +52,3 @@ /* ------------------------------------------------------------------------ */

const rawLines = module.require ('util').inspect (originalInput).split ('\n')
const rawLines = nodeRequire ('util').inspect (originalInput).split ('\n')
, fileLine = rawLines[0].split (':')

@@ -54,0 +55,0 @@ , line = fileLine.pop ()

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