Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
// Module ID: 1049
|
|
// Function ID: 1050
|
|
// Dependencies: [681, 867]
|
|
// Exports: createReleaseFromGlobalReleaseConstants, getDefaultRelease
|
|
|
|
// Module 1049
|
|
import RN_GLOBAL_OBJ from "RN_GLOBAL_OBJ" /* 681 */;
|
|
import _mod867 from "module_867" /* 867 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
|
|
export const createReleaseFromGlobalReleaseConstants = function createReleaseFromGlobalReleaseConstants() {
|
|
const SENTRY_RELEASE = RN_GLOBAL_OBJ.RN_GLOBAL_OBJ.SENTRY_RELEASE;
|
|
if (SENTRY_RELEASE) {
|
|
({ name, version } = SENTRY_RELEASE);
|
|
if (name) {
|
|
if (version) {
|
|
const _HermesInternal = HermesInternal;
|
|
return "" + name + "@" + version;
|
|
}
|
|
}
|
|
}
|
|
};
|
|
export const getDefaultRelease = function getDefaultRelease() {
|
|
if (!obj.notWeb()) {
|
|
const SENTRY_RELEASE = RN_GLOBAL_OBJ.RN_GLOBAL_OBJ.SENTRY_RELEASE;
|
|
let combined;
|
|
if (SENTRY_RELEASE) {
|
|
({ name, version } = SENTRY_RELEASE);
|
|
if (name) {
|
|
if (version) {
|
|
const _HermesInternal = HermesInternal;
|
|
combined = "" + name + "@" + version;
|
|
}
|
|
}
|
|
}
|
|
return combined;
|
|
}
|
|
obj = _mod867;
|
|
};
|