mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: This replaces `glob@^7.0.0` with `tinyglobby@^0.2.15`. `glob@7` has been deprecated for a while and some versions after had security notices released for them. The plan is to backport this PR to `0.81.x` and onwards. > [!NOTE] > This is a stopgap solution until `fs.glob` becomes generally available with the EOL of Node v20 Succeeds: - https://github.com/facebook/react-native/issues/54669 - https://github.com/facebook/react-native/issues/48875 ## Changelog: [GENERAL] [SECURITY] - Replace `glob@^7.0.0` with `tinyglobby@^0.2.15` Pull Request resolved: https://github.com/facebook/react-native/pull/54737 Test Plan: - Ran all modified commands manually and `pod install in `rn-tester` - NOTE: `ios-prebuild`-related scripts haven't been run manually yet Reviewed By: robhogan Differential Revision: D88069145 Pulled By: huntie fbshipit-source-id: 0c455342a4c6d1d6605fd09fe47b418e5d751491
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "@react-native/codegen",
|
|
"version": "0.84.0-main",
|
|
"description": "Code generation tools for React Native",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/react-native-codegen"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-codegen#readme",
|
|
"keywords": [
|
|
"code",
|
|
"generation",
|
|
"codegen",
|
|
"tools",
|
|
"react-native"
|
|
],
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"engines": {
|
|
"node": ">= 20.19.4"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && node scripts/build.js --verbose",
|
|
"clean": "rimraf lib",
|
|
"prepare": "yarn run build"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"dependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/parser": "^7.25.3",
|
|
"hermes-parser": "0.32.0",
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1",
|
|
"tinyglobby": "^0.2.15",
|
|
"yargs": "^17.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-transform-class-properties": "^7.25.4",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
|
|
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
|
|
"@babel/plugin-transform-optional-chaining": "^7.24.8",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"hermes-estree": "0.32.0",
|
|
"micromatch": "^4.0.4",
|
|
"prettier": "3.6.2",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "*"
|
|
}
|
|
}
|