edge-error
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -12,3 +12,3 @@ "use strict"; | ||
const stack = this.stack.split('\n'); | ||
stack.splice(1, 0, ` at (${this.filename}:${this.line}:${this.col})`); | ||
stack.splice(1, 0, ` at anonymous (${this.filename}:${this.line}:${this.col})`); | ||
this.stack = stack.join('\n'); | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "edge-error", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Create errors custom stack trace pointing to the Edge source file", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
@@ -41,3 +41,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
[circleci-image]: https://img.shields.io/circleci/project/github/edge-js/edge-error/master.svg?style=for-the-badge&logo=circleci | ||
[circleci-image]: https://img.shields.io/circleci/project/gh/edge-js/error/master.svg?style=for-the-badge&logo=circleci | ||
[circleci-url]: https://circleci.com/gh/edge-js/edge-error "circleci" | ||
@@ -44,0 +44,0 @@ |
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
5656