backtrace-node
Advanced tools
Comparing version 1.0.4 to 1.0.5
# Backtrace Node Release Notes | ||
## Version 1.0.5 28.08.2019 | ||
* Fixed invalid source code line number | ||
## Version 1.0.4 26.08.2019 | ||
@@ -4,0 +7,0 @@ * Added attachments checks, |
@@ -182,3 +182,3 @@ "use strict"; | ||
parameter = { | ||
startLine: Math.max(minLine - this.contextLineCount, 0), | ||
startLine: Math.max(minLine - this.contextLineCount + 1, 0), | ||
endLine: maxLine + this.contextLineCount, | ||
@@ -212,3 +212,3 @@ filePath: key, | ||
path: parameter.filePath, | ||
startLine: parameter.startLine, | ||
startLine: parameter.startLine + 1, | ||
startColumn: 1, | ||
@@ -215,0 +215,0 @@ text: buff.toString('utf8'), |
{ | ||
"name": "backtrace-node", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Backtrace error reporting tool", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -140,3 +140,3 @@ import * as fs from 'fs'; | ||
const parameter = { | ||
startLine: Math.max(minLine - this.contextLineCount, 0), | ||
startLine: Math.max(minLine - this.contextLineCount + 1, 0), | ||
endLine: maxLine + this.contextLineCount, | ||
@@ -160,3 +160,3 @@ filePath: key, | ||
path: parameter.filePath, | ||
startLine: parameter.startLine, | ||
startLine: parameter.startLine + 1, | ||
startColumn: 1, | ||
@@ -163,0 +163,0 @@ text: buff.toString('utf8'), |
Sorry, the diff of this file is not supported yet
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
165077