🚀 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
1100
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.84.0-nightly-20251203-a5e6addc6
to
0.84.0-nightly-20251204-5bb3a6d68
+6
-8
lib/cli/combine/combine-js-to-schema.js

@@ -17,4 +17,4 @@ /**

const fs = require('fs');
const glob = require('glob');
const path = require('path');
const {globSync} = require('tinyglobby');
const flowParser = new FlowParser();

@@ -59,9 +59,7 @@ const typescriptParser = new TypeScriptParser();

}
const filePattern = path.sep === '\\' ? file.replace(/\\/g, '/') : file;
return glob.sync(`${filePattern}/**/*{,.fb}.{js,ts,tsx}`, {
nodir: true,
// TODO: This will remove the need of slash substitution above for Windows,
// but it requires glob@v9+; with the package currenlty relying on
// glob@7.1.1; and flow-typed repo not having definitions for glob@9+.
// windowsPathsNoEscape: true,
return globSync('**/*{,.fb}.{js,ts,tsx}', {
expandDirectories: false,
onlyFiles: true,
absolute: true,
cwd: file,
});

@@ -68,0 +66,0 @@ })

{
"name": "@react-native/codegen",
"version": "0.84.0-nightly-20251203-a5e6addc6",
"version": "0.84.0-nightly-20251204-5bb3a6d68",
"description": "Code generation tools for React Native",

@@ -34,6 +34,6 @@ "license": "MIT",

"@babel/parser": "^7.25.3",
"glob": "^7.1.1",
"hermes-parser": "0.32.0",
"invariant": "^2.2.4",
"nullthrows": "^1.1.1",
"tinyglobby": "^0.2.15",
"yargs": "^17.6.2"

@@ -40,0 +40,0 @@ },

Sorry, the diff of this file is not supported yet