expo-modules-core
Advanced tools
Comparing version
{ | ||
"name": "expo-modules-core", | ||
"version": "2.5.0-canary-20250713-8f814f8", | ||
"version": "2.5.0", | ||
"description": "The core of Expo Modules architecture", | ||
@@ -45,4 +45,5 @@ "main": "src/index.ts", | ||
"@testing-library/react-native": "^13.1.0", | ||
"expo-module-scripts": "4.1.10-canary-20250713-8f814f8" | ||
} | ||
"expo-module-scripts": "^4.1.9" | ||
}, | ||
"gitHead": "b69736d615d303c2143e7682b37c93665e1ed3d9" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { TurboModuleRegistry, Platform } from 'react-native'; | ||
import { NativeModules, Platform } from 'react-native'; | ||
@@ -21,5 +21,3 @@ import { registerWebGlobals } from './web'; | ||
// In most cases the modules were already installed from the native side. | ||
( | ||
TurboModuleRegistry.get('ExpoModulesCore') as { installModules: () => void } | null | ||
)?.installModules(); | ||
NativeModules.ExpoModulesCore?.installModules(); | ||
} | ||
@@ -26,0 +24,0 @@ } catch (error) { |
@@ -1,5 +0,2 @@ | ||
import { TurboModuleRegistry } from 'react-native'; | ||
import NativeModulesProxy from './NativeModulesProxy'; | ||
import { createTurboModuleToExpoProxy } from './TurboModuleToExpoModuleProxy'; | ||
import { ensureNativeModulesAreInstalled } from './ensureNativeModulesAreInstalled'; | ||
@@ -37,8 +34,3 @@ | ||
return ( | ||
globalThis.expo?.modules?.[moduleName] ?? | ||
NativeModulesProxy[moduleName] ?? | ||
createTurboModuleToExpoProxy(TurboModuleRegistry.get(moduleName), moduleName) ?? | ||
null | ||
); | ||
return globalThis.expo?.modules?.[moduleName] ?? NativeModulesProxy[moduleName] ?? null; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
-100%1826462
-0.51%818
-0.97%4266
-1%