🎩 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
1126
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-20260721-7bb31ff7b
to
0.88.0-nightly-20260722-eb4d3892a
+2
-2
lib/cli/combine/combine-js-to-schema.js

@@ -12,4 +12,4 @@ 'use strict';

} = require('./combine-utils');
const fs = require('fs');
const path = require('path');
const fs = require('node:fs');
const path = require('node:path');
const {

@@ -16,0 +16,0 @@ globSync

'use strict';
const assert = require('assert');
const fs = require('fs');
const assert = require('node:assert');
const fs = require('node:fs');
const yargs = require('yargs');

@@ -6,0 +6,0 @@ const argv = yargs.option('p', {

'use strict';
const path = require('path');
const path = require('node:path');
function filterJSFile(originalFilePath, currentPlatform, excludeRegExp) {

@@ -5,0 +5,0 @@ const filePath = originalFilePath.replace(/\.fb(\.|$)/, '$1');

'use strict';
const RNCodegen = require('../../generators/RNCodegen.js');
const fs = require('fs');
const fs = require('node:fs');
const args = process.argv.slice(2);

@@ -6,0 +6,0 @@ if (args.length < 3) {

@@ -9,3 +9,3 @@ 'use strict';

} = require('../../parsers/typescript/parser');
const path = require('path');
const path = require('node:path');
const flowParser = new FlowParser();

@@ -12,0 +12,0 @@ const typescriptParser = new TypeScriptParser();

@@ -127,3 +127,3 @@ 'use strict';

{
return notStruct(wrapOptional('NSMutableData *', !nullable));
return notStruct(wrapOptional('NSData *', !nullable));
}

@@ -130,0 +130,0 @@ }

@@ -26,4 +26,4 @@ 'use strict';

const generateModuleObjCpp = require('./modules/GenerateModuleObjCpp');
const fs = require('fs');
const path = require('path');
const fs = require('node:fs');
const path = require('node:path');
const ALL_GENERATORS = {

@@ -30,0 +30,0 @@ generateComponentDescriptorH: generateComponentDescriptorH.generate,

@@ -35,4 +35,4 @@ 'use strict';

} = require('./parseFlowAndThrowErrors');
const fs = require('fs');
const invariant = require('invariant');
const fs = require('node:fs');
class FlowParser {

@@ -39,0 +39,0 @@ constructor() {

@@ -37,4 +37,4 @@ 'use strict';

const babelParser = require('@babel/parser');
const fs = require('fs');
const invariant = require('invariant');
const fs = require('node:fs');
class TypeScriptParser {

@@ -41,0 +41,0 @@ constructor() {

@@ -6,3 +6,3 @@ 'use strict';

} = require('./errors');
const path = require('path');
const path = require('node:path');
function extractNativeModuleName(filename) {

@@ -9,0 +9,0 @@ return path.basename(filename).split('.')[0];

{
"name": "@react-native/codegen",
"version": "0.88.0-nightly-20260721-7bb31ff7b",
"version": "0.88.0-nightly-20260722-eb4d3892a",
"description": "Code generation tools for React Native",

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

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