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

stack-sites

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stack-sites - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "stack-sites",
"description": "Returns current stack as call sites",
"version": "1.2.1",
"version": "1.2.2",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/bahmutov/stack-sites/issues",

@@ -14,2 +14,6 @@ 'use strict'

function isNative (line) {
return line.includes('(native)')
}
function stackSites (stack) {

@@ -20,2 +24,3 @@ stack = stack || ((new Error('stack-sites').stack))

.filter(hasLineInfo)
.filter(line => !isNative(line))
.filter(isModule)

@@ -22,0 +27,0 @@ .map(parseStackLine)

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