@dcloudio/uni-stacktracey 3.0.0-alpha-3050220220715001 → 3.0.0-alpha-3050220220719002
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.
|
@@ -116,6 +116,9 @@ class StackTracey {
|
|
|
116
116
|
const entries = lines.map((line, index) => {
|
|
117
117
|
line = line.trim();
|
|
118
118
|
let callee, fileLineColumn = [], native, planA, planB;
|
|
119
|
+
if (line.indexOf('file:') !== -1) {
|
|
120
|
+
line = line.replace(/file:\/\/(.*)www/, 'file://');
|
|
121
|
+
}
|
|
119
122
|
if ((planA = line.match(/at (.+) \(eval at .+ \((.+)\), .+\)/)) || // eval calls
|
|
120
123
|
(planA = line.match(/at (.+) \((.+)\)/)) ||
|
|
121
124
|
(line.slice(0, 3) !== 'at ' && (planA = line.match(/(.*)@(.*)/)))) {
|
|
@@ -108,6 +108,9 @@ class StackTracey {
|
|
|
108
108
|
const entries = lines.map((line, index) => {
|
|
109
109
|
line = line.trim();
|
|
110
110
|
let callee, fileLineColumn = [], native, planA, planB;
|
|
111
|
+
if (line.indexOf('file:') !== -1) {
|
|
112
|
+
line = line.replace(/file:\/\/(.*)www/, 'file://');
|
|
113
|
+
}
|
|
111
114
|
if ((planA = line.match(/at (.+) \(eval at .+ \((.+)\), .+\)/)) || // eval calls
|
|
112
115
|
(planA = line.match(/at (.+) \((.+)\)/)) ||
|
|
113
116
|
(line.slice(0, 3) !== 'at ' && (planA = line.match(/(.*)@(.*)/)))) {
|
package/package.json
CHANGED