@dcloudio/uni-stacktracey 3.0.0-alpha-4010120240403003 → 3.0.0-alpha-4010320240415001
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.
|
@@ -206,8 +206,6 @@ function parseItem(e, maxColumnWidths, isMP) {
|
|
|
206
206
|
return new StackTracey(this.items[method].apply(this.items, arguments));
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
|
-
/* ------------------------------------------------------------------------ */
|
|
210
|
-
var StackTracey$1 = StackTracey;
|
|
211
209
|
|
|
212
210
|
var util$1 = {};
|
|
213
211
|
|
|
@@ -2737,7 +2735,7 @@ function getConsumer(content) {
|
|
|
2737
2735
|
});
|
|
2738
2736
|
}
|
|
2739
2737
|
else {
|
|
2740
|
-
// @ts-
|
|
2738
|
+
// @ts-expect-error
|
|
2741
2739
|
const consumer = SourceMapConsumer(content);
|
|
2742
2740
|
resolve(consumer);
|
|
2743
2741
|
}
|
|
@@ -2854,7 +2852,7 @@ function uniStracktraceyPreset(opts) {
|
|
|
2854
2852
|
return Promise.resolve(getSourceMapContent(sourcemapUrl));
|
|
2855
2853
|
},
|
|
2856
2854
|
parseStacktrace(stacktrace) {
|
|
2857
|
-
stack = new StackTracey
|
|
2855
|
+
stack = new StackTracey(stacktrace, uniPlatform);
|
|
2858
2856
|
return stack;
|
|
2859
2857
|
},
|
|
2860
2858
|
asTableStacktrace({ maxColumnWidths, stacktrace, stack }) {
|
|
@@ -198,8 +198,6 @@ function parseItem(e, maxColumnWidths, isMP) {
|
|
|
198
198
|
return new StackTracey(this.items[method].apply(this.items, arguments));
|
|
199
199
|
};
|
|
200
200
|
});
|
|
201
|
-
/* ------------------------------------------------------------------------ */
|
|
202
|
-
var StackTracey$1 = StackTracey;
|
|
203
201
|
|
|
204
202
|
var util$1 = {};
|
|
205
203
|
|
|
@@ -2625,11 +2623,11 @@ ${m.code}
|
|
|
2625
2623
|
});
|
|
2626
2624
|
}
|
|
2627
2625
|
|
|
2628
|
-
// @ts-
|
|
2626
|
+
// @ts-expect-error
|
|
2629
2627
|
{
|
|
2630
|
-
// @ts-
|
|
2628
|
+
// @ts-expect-error
|
|
2631
2629
|
if (SourceMapConsumer.initialize) {
|
|
2632
|
-
// @ts-
|
|
2630
|
+
// @ts-expect-error
|
|
2633
2631
|
SourceMapConsumer.initialize({
|
|
2634
2632
|
'lib/mappings.wasm': 'https://unpkg.com/source-map@0.7.3/lib/mappings.wasm',
|
|
2635
2633
|
});
|
|
@@ -2732,7 +2730,7 @@ function getConsumer(content) {
|
|
|
2732
2730
|
});
|
|
2733
2731
|
}
|
|
2734
2732
|
else {
|
|
2735
|
-
// @ts-
|
|
2733
|
+
// @ts-expect-error
|
|
2736
2734
|
const consumer = SourceMapConsumer(content);
|
|
2737
2735
|
resolve(consumer);
|
|
2738
2736
|
}
|
|
@@ -2849,7 +2847,7 @@ function uniStracktraceyPreset(opts) {
|
|
|
2849
2847
|
return Promise.resolve(getSourceMapContent(sourcemapUrl));
|
|
2850
2848
|
},
|
|
2851
2849
|
parseStacktrace(stacktrace) {
|
|
2852
|
-
stack = new StackTracey
|
|
2850
|
+
stack = new StackTracey(stacktrace, uniPlatform);
|
|
2853
2851
|
return stack;
|
|
2854
2852
|
},
|
|
2855
2853
|
asTableStacktrace({ maxColumnWidths, stacktrace, stack }) {
|
package/package.json
CHANGED