diff --git a/lib/modules/src/metro/patches.ts b/lib/modules/src/metro/patches.ts index 58b4b7a..0033c33 100644 --- a/lib/modules/src/metro/patches.ts +++ b/lib/modules/src/metro/patches.ts @@ -172,7 +172,7 @@ function handleFactoryCall( // biome-ignore lint/suspicious/noFallthroughSwitchClause: Intentional case 'object': { - if (Object.keys(exports).length) { + if (Reflect.ownKeys(exports).length) { mInitialized.add(mInitializingId) break }