🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@react-native/codegen

Package Overview
Dependencies
Maintainers
2
Versions
1096
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/codegen - npm Package Compare versions

Comparing version
0.87.0-nightly-20260628-a3582a9d1
to
0.87.0-nightly-20260629-54b88d9de
+6
-2
lib/generators/mod...GenerateModuleObjCpp/serializeMethod.js

@@ -125,2 +125,6 @@ 'use strict';

}
case 'ArrayBufferTypeAnnotation':
{
return notStruct(wrapOptional('NSMutableData *', !nullable));
}
}

@@ -248,3 +252,3 @@ const [structTypeAnnotation] = unwrapNullable(structCollector.process(structName, 'REGULAR', resolveAlias, wrapNullable(nullable, typeAnnotation)));

case 'ArrayBufferTypeAnnotation':
throw new Error(`Unsupported return type for ${methodName}: ArrayBuffer is only supported for C++ TurboModules.`);
return wrapOptional('NSMutableData *', isRequired);
default:

@@ -315,3 +319,3 @@ typeAnnotation.type;

case 'ArrayBufferTypeAnnotation':
throw new Error(`Unsupported return type for ${methodName}: ArrayBuffer is only supported for C++ TurboModules.`);
return 'ArrayBufferKind';
default:

@@ -318,0 +322,0 @@ typeAnnotation.type;

{
"name": "@react-native/codegen",
"version": "0.87.0-nightly-20260628-a3582a9d1",
"version": "0.87.0-nightly-20260629-54b88d9de",
"description": "Code generation tools for React Native",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet