@brillout/libassert
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -17,3 +17,3 @@ "use strict"; | ||
// Remove internal stack traces | ||
if (line.includes(" (internal/")) { | ||
if (line.includes(" (internal/") || line.includes(" (node:internal")) { | ||
return false; | ||
@@ -20,0 +20,0 @@ } |
@@ -14,3 +14,3 @@ export { cleanStackTrace }; | ||
// Remove internal stack traces | ||
if (line.includes(" (internal/")) { | ||
if (line.includes(" (internal/") || line.includes(" (node:internal")) { | ||
return false; | ||
@@ -17,0 +17,0 @@ } |
{ | ||
"name": "@brillout/libassert", | ||
"description": "Assertions for library authors.", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"main": "./dist/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./dist/esm/index.js", |
@@ -25,3 +25,3 @@ export { cleanStackTrace }; | ||
// Remove internal stack traces | ||
if (line.includes(" (internal/")) { | ||
if (line.includes(" (internal/") || line.includes(" (node:internal")) { | ||
return false; | ||
@@ -28,0 +28,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15026