UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 2.52 kB
{"ast":null,"code":"import { EventEmitter, NativeModule, SharedObject, SharedRef } from \"./CoreModule\";\nimport uuid from \"../uuid\";\nexport * from \"../ts-declarations/global\";\nexport function registerWebGlobals() {\n if (globalThis.expo) return;\n globalThis.expo = {\n EventEmitter,\n NativeModule,\n SharedObject,\n SharedRef,\n modules: globalThis.ExpoDomWebView?.expoModulesProxy ?? {},\n uuidv4: uuid.v4,\n uuidv5: uuid.v5,\n getViewConfig: () => {\n throw new Error('Method not implemented.');\n },\n reloadAppAsync: async () => {\n window.location.reload();\n }\n };\n}\nregisterWebGlobals();","map":{"version":3,"names":["EventEmitter","NativeModule","SharedObject","SharedRef","uuid","registerWebGlobals","globalThis","expo","modules","ExpoDomWebView","expoModulesProxy","uuidv4","v4","uuidv5","v5","getViewConfig","Error","reloadAppAsync","window","location","reload"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/expo-modules-core/src/web/index.web.ts"],"sourcesContent":["import { EventEmitter, NativeModule, SharedObject, SharedRef } from './CoreModule';\nimport uuid from '../uuid';\n\n// jest-expo imports to this file directly without going through the global types\n// Exporting the types to let jest-expo to know the globalThis types\nexport * from '../ts-declarations/global';\n\nexport function registerWebGlobals() {\n if (globalThis.expo) return;\n globalThis.expo = {\n EventEmitter,\n NativeModule,\n SharedObject,\n SharedRef,\n modules: globalThis.ExpoDomWebView?.expoModulesProxy ?? {},\n uuidv4: uuid.v4,\n uuidv5: uuid.v5,\n getViewConfig: () => {\n throw new Error('Method not implemented.');\n },\n reloadAppAsync: async () => {\n window.location.reload();\n },\n };\n}\n\nregisterWebGlobals();\n"],"mappings":"AAAA,SAASA,YAAY,EAAEC,YAAY,EAAEC,YAAY,EAAEC,SAAS;AAC5D,OAAOC,IAAI;AAIX;AAEA,OAAO,SAASC,kBAAkBA,CAAA,EAAG;EACnC,IAAIC,UAAU,CAACC,IAAI,EAAE;EACrBD,UAAU,CAACC,IAAI,GAAG;IAChBP,YAAY;IACZC,YAAY;IACZC,YAAY;IACZC,SAAS;IACTK,OAAO,EAAEF,UAAU,CAACG,cAAc,EAAEC,gBAAgB,IAAI,CAAC,CAAC;IAC1DC,MAAM,EAAEP,IAAI,CAACQ,EAAE;IACfC,MAAM,EAAET,IAAI,CAACU,EAAE;IACfC,aAAa,EAAEA,CAAA,KAAM;MACnB,MAAM,IAAIC,KAAK,CAAC,yBAAyB,CAAC;IAC5C,CAAC;IACDC,cAAc,EAAE,MAAAA,CAAA,KAAY;MAC1BC,MAAM,CAACC,QAAQ,CAACC,MAAM,CAAC,CAAC;IAC1B;EACF,CAAC;AACH;AAEAf,kBAAkB,CAAC,CAAC","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}