@dcloudio/uni-stacktracey 3.0.0-4010420240430002 → 3.0.0-4020320240708001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -192,8 +192,8 @@ function parseItem(e, maxColumnWidths, isMP) {
192
192
  return e.beforeParse;
193
193
  }
194
194
  const filePath = (isMP ? e.file && e.file : e.fileShort && e.fileShort) +
195
- `${e.line ? ':' + e.line : ''}` +
196
- `${e.column ? ':' + e.column : ''}`;
195
+ `${typeof e.line !== 'undefined' ? ':' + e.line : ''}` +
196
+ `${typeof e.column !== 'undefined' ? ':' + e.column : ''}`;
197
197
  return [
198
198
  'at ' + trimEnd(isMP ? e.callee : e.calleeShort, maxColumnWidths.callee),
199
199
  trimStart(filePath || '', maxColumnWidths.file),
@@ -184,8 +184,8 @@ function parseItem(e, maxColumnWidths, isMP) {
184
184
  return e.beforeParse;
185
185
  }
186
186
  const filePath = (isMP ? e.file && e.file : e.fileShort && e.fileShort) +
187
- `${e.line ? ':' + e.line : ''}` +
188
- `${e.column ? ':' + e.column : ''}`;
187
+ `${typeof e.line !== 'undefined' ? ':' + e.line : ''}` +
188
+ `${typeof e.column !== 'undefined' ? ':' + e.column : ''}`;
189
189
  return [
190
190
  'at ' + trimEnd(isMP ? e.callee : e.calleeShort, maxColumnWidths.callee),
191
191
  trimStart(filePath || '', maxColumnWidths.file),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-stacktracey",
3
- "version": "3.0.0-4010420240430002",
3
+ "version": "3.0.0-4020320240708001",
4
4
  "description": "@dcloudio/uni-stacktracey",
5
5
  "main": "dist/uni-stacktracey.cjs.js",
6
6
  "module": "dist/uni-stacktracey.es.js",