decord/source/__polyfill/13xxx/module_13109.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

32 lines
866 B
JavaScript

// Module ID: 13109
// Function ID: 13110
// Dependencies: [13041]
// Exports: applySdkMetadata
// Module 13109
import _mod13041 from "module_13041" /* 13041 */;
require = arg1;
const dependencyMap = arg6;
export const applySdkMetadata = function applySdkMetadata(_metadata, arg1) {
let arr = arg2;
if (arg2 === undefined) {
const items = [arg1];
arr = items;
}
let str = arg3;
if (arg3 === undefined) {
str = "npm";
}
const tmp = _metadata._metadata || {};
if (!tmp.sdk) {
const obj = { name: null, packages: null, version: null };
const _HermesInternal = HermesInternal;
obj.name = "sentry.javascript." + arg1;
obj.packages = arr.map((item) => ({ name: "" + str + ":@sentry/" + item, version: _mod13041.SDK_VERSION }));
obj.version = str(13041).SDK_VERSION;
tmp.sdk = obj;
}
_metadata._metadata = tmp;
};