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

errorex

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errorex - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

5

lib/errorex.js

@@ -13,3 +13,3 @@ /* errorex

const STACK_REGEXP = /^\s*at *(.*) \(?([^:]+):(?:(\d+):(\d+)|(native)|(unknown location))\)?/m;
const STACK_REGEXP = /^\s*at *(.*) \(?(.+):(?:(\d+):(\d+)|(native)|(unknown location))\)?/m;

@@ -50,3 +50,4 @@ /**

const m = line.match(STACK_REGEXP);
if (!m || (path.isAbsolute(m[2]) && !m[2].includes('/node_modules')))
if (!m || (path.isAbsolute(m[2]) &&
!m[2].includes(path.sep + 'node_modules')))
result.push(line);

@@ -53,0 +54,0 @@ }

2

package.json
{
"name": "errorex",
"description": "'Extensible Error Class' implementation and predefined additional error types for javascript",
"version": "2.0.2",
"version": "2.0.3",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

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