38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
|
|
// Module ID: 7314
|
||
|
|
// Function ID: 58997
|
||
|
|
// Name: moduleMetadataIntegration
|
||
|
|
// Dependencies: [7292, 7280, 7315]
|
||
|
|
|
||
|
|
// Module 7314 (moduleMetadataIntegration)
|
||
|
|
import setupIntegration from "setupIntegration";
|
||
|
|
|
||
|
|
|
||
|
|
export const moduleMetadataIntegration = setupIntegration.defineIntegration(() => ({
|
||
|
|
name: "ModuleMetadata",
|
||
|
|
setup(on) {
|
||
|
|
let closure_0 = on;
|
||
|
|
on.on("beforeEnvelope", (arg0) => {
|
||
|
|
outer2_0(outer2_1[1]).forEachEnvelopeItem(arg0, (arg0, arg1) => {
|
||
|
|
if ("event" === arg1) {
|
||
|
|
const _Array = Array;
|
||
|
|
let tmp2;
|
||
|
|
if (Array.isArray(arg0)) {
|
||
|
|
tmp2 = arg0[1];
|
||
|
|
}
|
||
|
|
if (tmp2) {
|
||
|
|
const result = outer3_0(outer3_1[2]).stripMetadataFromStackFrames(tmp2);
|
||
|
|
arg0[1] = tmp2;
|
||
|
|
const obj = outer3_0(outer3_1[2]);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
});
|
||
|
|
});
|
||
|
|
on.on("applyFrameMetadata", (type) => {
|
||
|
|
if (!type.type) {
|
||
|
|
const result = outer2_0(outer2_1[2]).addMetadataToStackFrames(options.getOptions().stackParser, type);
|
||
|
|
const obj = outer2_0(outer2_1[2]);
|
||
|
|
}
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}));
|