expo-modules-core
Advanced tools
Comparing version 2.0.6 to 2.0.7-canary-20241211-61c49bd
@@ -5,3 +5,3 @@ import EventEmitter, { type EventSubscription } from './EventEmitter'; | ||
import NativeModulesProxy from './NativeModulesProxy'; | ||
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import type { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import { requireNativeViewManager } from './NativeViewManagerAdapter'; | ||
@@ -8,0 +8,0 @@ import Platform from './Platform'; |
@@ -1,2 +0,2 @@ | ||
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import type { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * @deprecated `NativeModulesProxy` is deprecated and might be removed in the future releases. |
@@ -1,2 +0,2 @@ | ||
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import type { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * @deprecated `NativeModulesProxy` is deprecated and might be removed in the future releases. |
@@ -36,2 +36,8 @@ /** | ||
/** | ||
* @deprecated As of Expo SDK 52 the given object is already an EventEmitter. | ||
* Creating a new one is not necessary. | ||
* @hidden | ||
*/ | ||
constructor(object: EventEmitter); | ||
/** | ||
* Adds a listener for the given event name. | ||
@@ -38,0 +44,0 @@ */ |
@@ -5,3 +5,13 @@ { | ||
"podspecPath": "./ExpoModulesCore.podspec" | ||
}, | ||
"android": { | ||
"gradlePlugins": [ | ||
{ | ||
"id": "expo-module-gradle-plugin", | ||
"group": "expo.modules", | ||
"sourceDir": "expo-module-gradle-plugin", | ||
"applyToRootProject": false | ||
} | ||
] | ||
} | ||
} |
{ | ||
"name": "expo-modules-core", | ||
"version": "2.0.6", | ||
"version": "2.0.7-canary-20241211-61c49bd", | ||
"description": "The core of Expo Modules architecture", | ||
@@ -45,5 +45,4 @@ "main": "src/index.ts", | ||
"@testing-library/react-native": "^12.5.2", | ||
"expo-module-scripts": "^4.0.0" | ||
}, | ||
"gitHead": "65ae6fda78837f77eea5a2107066fc545a211804" | ||
"expo-module-scripts": "4.0.3-canary-20241211-61c49bd" | ||
} | ||
} |
@@ -5,3 +5,3 @@ import EventEmitter, { type EventSubscription } from './EventEmitter'; | ||
import NativeModulesProxy from './NativeModulesProxy'; | ||
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import type { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import { requireNativeViewManager } from './NativeViewManagerAdapter'; | ||
@@ -8,0 +8,0 @@ import Platform from './Platform'; |
@@ -8,3 +8,3 @@ // Copyright © 2024 650 Industries. | ||
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import type { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
@@ -11,0 +11,0 @@ const LegacyNativeProxy = NativeModules.NativeUnimoduleProxy; |
@@ -1,2 +0,2 @@ | ||
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
import type { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
@@ -3,0 +3,0 @@ // We default to an empty object shim wherever we don't have an environment-specific implementation |
@@ -40,2 +40,9 @@ /** | ||
/** | ||
* @deprecated As of Expo SDK 52 the given object is already an EventEmitter. | ||
* Creating a new one is not necessary. | ||
* @hidden | ||
*/ | ||
constructor(object: EventEmitter); | ||
/** | ||
* Adds a listener for the given event name. | ||
@@ -42,0 +49,0 @@ */ |
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
1722329
788
2004
1