Files
Rob Hogan 9a49fc2a99 Bump flow-{api-translator,eslint,parser} to 0.331.0 (#58391)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/58391

Regenerate API snapshots after the bump. `flow-api-translator` picks up the fix in https://github.com/facebook/flow/pull/9486, which stops treating `async` functions with no explicit return annotation as `void` — updating `DependencyGraph#end` and `MetroServer#end` to their correct `Promise<void>` return type in `packages/metro/API.md`.

Changelog: [Internal]

Changelog: **[Types]**: `DependencyGraph#end` and `MetroServer#end` are now correctly declared as returning `Promise<void>` rather than `void`

X-link: https://github.com/react/metro/pull/1909

Test Plan:
```
yarn typecheck
yarn lint
yarn build
yarn run verify-api-snapshots
```
All pass.

Reviewed By: mweststrate

Differential Revision: D119090467

Pulled By: javache

fbshipit-source-id: 21b65f90ed511e0cb035917eaf1b0ca399ece855
2026-09-08 07:17:37 -07:00

35 lines
862 B
JSON

{
"name": "@react-native/eslint-plugin",
"version": "0.87.0-main",
"description": "ESLint rules for @react-native/eslint-config",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/react/react-native.git",
"directory": "packages/eslint-plugin-react-native"
},
"homepage": "https://github.com/react/react-native/tree/HEAD/packages/eslint-plugin-react-native#readme",
"keywords": [
"eslint",
"rules",
"eslint-config",
"react-native"
],
"bugs": "https://github.com/react/react-native/issues",
"main": "index.js",
"files": [
"README.md",
"index.js",
"no-deep-imports.js",
"platform-colors.js",
"utils.js"
],
"devDependencies": {
"flow-parser": "0.331.0",
"flow-eslint": "0.331.0"
},
"engines": {
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
}
}