Comparing version 2.0.2 to 2.0.3
@@ -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 @@ } |
{ | ||
"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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10352
220