Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
36 lines
1 KiB
JavaScript
36 lines
1 KiB
JavaScript
// Module ID: 13004
|
|
// Function ID: 13005
|
|
// Dependencies: [12982, 12970, 13005]
|
|
|
|
// Module 13004
|
|
import _mod13005 from "module_13005" /* 13005 */;
|
|
import setupIntegration from "module_12982" /* 12982 */;
|
|
|
|
|
|
export const moduleMetadataIntegration = setupIntegration.defineIntegration(() => ({
|
|
name: "ModuleMetadata",
|
|
setup(on) {
|
|
const options = on;
|
|
on.on("beforeEnvelope", (arg0) => {
|
|
options(closure_1_1[1]).forEachEnvelopeItem(arg0, (arg0, arg1) => {
|
|
if ("event" === arg1) {
|
|
const _Array = Array;
|
|
let tmp3;
|
|
if (Array.isArray(arg0)) {
|
|
tmp3 = arg0[1];
|
|
}
|
|
if (tmp3) {
|
|
const result = options(dependencyMap[2]).stripMetadataFromStackFrames(tmp3);
|
|
arg0[1] = tmp3;
|
|
const obj = options(dependencyMap[2]);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
on.on("applyFrameMetadata", (type) => {
|
|
if (!type.type) {
|
|
const result = _mod13005.addMetadataToStackFrames(options.getOptions().stackParser, type);
|
|
}
|
|
});
|
|
}
|
|
}));
|