decord/source/__polyfill/12xxx/module_12960.js
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

32 lines
866 B
JavaScript

// Module ID: 12960
// Function ID: 12961
// Dependencies: [12892]
// Exports: applySdkMetadata
// Module 12960
import _mod12892 from "module_12892" /* 12892 */;
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: _mod12892.SDK_VERSION }));
obj.version = str(12892).SDK_VERSION;
tmp.sdk = obj;
}
_metadata._metadata = tmp;
};