🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@react-native/codegen

Package Overview
Dependencies
Maintainers
2
Versions
1133
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.88.0-nightly-20260730-8e7446412
to
0.88.0-nightly-20260801-c7d62a125
+2
-2
lib/parsers/flow/parseFlowAndThrowErrors.js
'use strict';
const hermesParser = require('hermes-parser');
const flowParser = require('flow-parser');
function parseFlowAndThrowErrors(code, options = {}) {
let ast;
try {
ast = hermesParser.parse(code, {
ast = flowParser.parse(code, {
babel: false,

@@ -9,0 +9,0 @@ flow: 'all',

{
"name": "@react-native/codegen",
"version": "0.88.0-nightly-20260730-8e7446412",
"version": "0.88.0-nightly-20260801-c7d62a125",
"description": "Code generation tools for React Native",

@@ -34,2 +34,3 @@ "license": "MIT",

"@babel/parser": "^7.29.0",
"flow-parser": "0.325.0",
"hermes-parser": "0.37.0",

@@ -50,2 +51,3 @@ "invariant": "^2.2.4",

"babel-plugin-syntax-hermes-parser": "0.37.0",
"flow-estree": "0.325.0",
"hermes-estree": "0.37.0",

@@ -52,0 +54,0 @@ "micromatch": "^4.0.4",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet