New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bmp/highlight-stack

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bmp/highlight-stack - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

8

index.js

@@ -9,3 +9,7 @@ 'use strict'

const NODE_MODULES = 'node_modules/'
const INTERNAL = '(internal/'
const INTERNAL = [
'(internal/',
'(events.js',
'(_stream',
]
const REGEX = new RegExp(`${CWD}([^:]+):(\\d+):(\\d+)`)

@@ -25,3 +29,3 @@ const REGEX_NODE_MODULES = /((?:@[^/]*\/)?[^/]*)([^:]*)/

.map(line => {
if (line.includes(INTERNAL)) {
if (INTERNAL.some(str => line.includes(str))) {
return chalk.grey(line)

@@ -28,0 +32,0 @@ }

{
"name": "@bmp/highlight-stack",
"version": "0.1.1",
"version": "0.1.2",
"description": "highlights the name of local (not in node_modules) files in error stack",

@@ -5,0 +5,0 @@ "main": "index.js",

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