mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Bump flow-{api-translator,eslint,parser} to 0.333.0, declare @babel/parser (#58762)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/58762 This bumps the Flow tooling packages from 0.331.0 to 0.333.0, matching `flow-bin`. From 0.332.0, `flow-api-translator` translates `declare module.exports` to TypeScript's `export =` (https://github.com/facebook/flow/pull/9491), which https://github.com/react/metro/pull/1996 uses to generate definitions for CommonJS modules. It also declares `babel/parser` as a root dev dependency. The API snapshot script has imported it since https://github.com/react/metro/pull/1988, but it only resolved because other packages hoist it. The range matches theirs, so it doesn't change the lockfile. Changelog: [Internal] X-link: https://github.com/react/metro/pull/1998 Test Plan: Generated `.d.ts` (gitignored) and all 14 API snapshots are unchanged on the new versions. Reviewed By: javache Differential Revision: D122383746 Pulled By: vzaidman fbshipit-source-id: f9d47c8e8fb60b10302b7ce5f8378db6ba59b786
This commit is contained in:
1 parent
ba57eaba77
commit
a7f81c841e
8 files changed
+43
-43
No files matched your search
+4
-4
@@ -95,11 +95,11 @@
|
||||
"eslint-plugin-redundant-undefined": "^0.4.0",
|
||||
"eslint-plugin-relay": "^1.8.3",
|
||||
"fb-dotslash": "0.5.8",
|
||||
"flow-api-translator": "0.331.0",
|
||||
"flow-api-translator": "0.333.0",
|
||||
"flow-bin": "^0.333.0",
|
||||
"flow-eslint": "0.331.0",
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-transform": "0.331.0",
|
||||
"flow-eslint": "0.333.0",
|
||||
"flow-parser": "0.333.0",
|
||||
"flow-transform": "0.333.0",
|
||||
"google-java-format": "1.4.0",
|
||||
"ini": "^5.0.0",
|
||||
"inquirer": "^7.1.0",
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
"utils.js"
|
||||
],
|
||||
"devDependencies": {
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-eslint": "0.331.0"
|
||||
"flow-parser": "0.333.0",
|
||||
"flow-eslint": "0.333.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
"@react-native/codegen": "0.87.0-main",
|
||||
"make-dir": "^2.1.0",
|
||||
"pirates": "^4.0.1",
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-parser": "0.333.0",
|
||||
"source-map-support": "0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"flow-eslint": "0.331.0"
|
||||
"flow-eslint": "0.333.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"@babel/plugin-transform-typescript": "^7.25.2",
|
||||
"@babel/plugin-transform-unicode-regex": "^7.24.7",
|
||||
"@react-native/babel-plugin-codegen": "0.87.0-main",
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-parser": "0.333.0",
|
||||
"babel-plugin-transform-flow-enums": "^0.0.2",
|
||||
"react-refresh": "^0.14.0"
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.25.2",
|
||||
"@react-native/babel-preset": "0.87.0-main",
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-parser": "0.333.0",
|
||||
"nullthrows": "^1.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.25.2",
|
||||
"@babel/parser": "^7.29.9",
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-parser": "0.333.0",
|
||||
"invariant": "^2.2.4",
|
||||
"nullthrows": "^1.1.1",
|
||||
"tinyglobby": "^0.2.15",
|
||||
@@ -45,7 +45,7 @@
|
||||
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
|
||||
"@babel/plugin-transform-optional-chaining": "^7.24.8",
|
||||
"@babel/preset-env": "^7.25.3",
|
||||
"flow-estree": "0.331.0",
|
||||
"flow-estree": "0.333.0",
|
||||
"micromatch": "^4.0.4",
|
||||
"prettier": "3.9.4",
|
||||
"rimraf": "^3.0.2"
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
"@react-native/virtualized-lists": "0.87.0-main",
|
||||
"anser": "^1.4.9",
|
||||
"ansi-regex": "^5.0.0",
|
||||
"flow-parser": "0.331.0",
|
||||
"flow-parser": "0.333.0",
|
||||
"base64-js": "^1.5.1",
|
||||
"flow-enums-runtime": "^0.0.6",
|
||||
"hermes-compiler": "0.0.0",
|
||||
|
||||
@@ -4819,19 +4819,19 @@ flora-colossus@^3.0.2:
|
||||
dependencies:
|
||||
debug "^4.4.1"
|
||||
|
||||
flow-api-translator@0.331.0:
|
||||
version "0.331.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.331.0.tgz#4d8b2ca87d5bdf9bb2eb38b5572c9b49444fc246"
|
||||
integrity sha512-ancC/o6L4I+2788TYZwJRCMXra5YkmP93YPktuSjaukK1UKggelK090omFgqVc1q5GoxOlmfzGaH9ZuosT9aQw==
|
||||
flow-api-translator@0.333.0:
|
||||
version "0.333.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.333.0.tgz#3ad6552c47ce6930f0cbab3ce46ec2875f4c6e6f"
|
||||
integrity sha512-T1CvQdFtDj+ss6cKZSMsul1uAf6jwKRKwQBIzyjEUeuz6t8kLNrhLT/vBYtZBjjQV6/gQFa6LvT/UE75FOAqSA==
|
||||
dependencies:
|
||||
"@babel/code-frame" "^7.16.0"
|
||||
"@typescript-eslint/parser" "8.38.0"
|
||||
"@typescript-eslint/visitor-keys" "8.38.0"
|
||||
flow-enums-runtime "^0.0.6"
|
||||
flow-eslint "0.331.0"
|
||||
flow-estree "0.331.0"
|
||||
flow-parser "0.331.0"
|
||||
flow-transform "0.331.0"
|
||||
flow-eslint "0.333.0"
|
||||
flow-estree "0.333.0"
|
||||
flow-parser "0.333.0"
|
||||
flow-transform "0.333.0"
|
||||
typescript "5.3.2"
|
||||
|
||||
flow-bin@^0.333.0:
|
||||
@@ -4844,26 +4844,26 @@ flow-enums-runtime@^0.0.6:
|
||||
resolved "https://registry.yarnpkg.com/flow-enums-runtime/-/flow-enums-runtime-0.0.6.tgz#5bb0cd1b0a3e471330f4d109039b7eba5cb3e787"
|
||||
integrity sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==
|
||||
|
||||
flow-eslint@0.331.0:
|
||||
version "0.331.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-eslint/-/flow-eslint-0.331.0.tgz#4fee8ed51eb924ff8cff45537fe7d3af53f6ddcd"
|
||||
integrity sha512-6l1WAnvBMmrGljLLpnb+yuqbKbOcaHWQ6iz9M2QlUWXLgRUkxl1dQJfJ7dU/U3kvTjJyHCDt9vJiM9kf4BtA8Q==
|
||||
flow-eslint@0.333.0:
|
||||
version "0.333.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-eslint/-/flow-eslint-0.333.0.tgz#58a06f317c743982abdd96663a87c1434d75f4ff"
|
||||
integrity sha512-u4EJk0AuRCbr/OHzcTB2gWhMoIC/Y31J+UNwuFPYLHXvmPSobkpVo9geWR5DgQn3ecI3l/gKXiMsAHwrFSENPA==
|
||||
dependencies:
|
||||
esrecurse "^4.3.0"
|
||||
flow-estree "0.331.0"
|
||||
flow-parser "0.331.0"
|
||||
flow-estree "0.333.0"
|
||||
flow-parser "0.333.0"
|
||||
|
||||
flow-estree@0.331.0:
|
||||
version "0.331.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-estree/-/flow-estree-0.331.0.tgz#4069f6b5e86337805413ee511d785753a015ceaa"
|
||||
integrity sha512-FVLYkSL/ITb/QXBEQvNWPjPooRGswuUtGOwrH+puSlMDneNkxy640+FZsk/TfKL+b7Wbw/Fg9FTUv2bMQDpj2w==
|
||||
flow-estree@0.333.0:
|
||||
version "0.333.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-estree/-/flow-estree-0.333.0.tgz#f3360e2c0451e71bfe619107a4d37cf4e1a90ad6"
|
||||
integrity sha512-jyHzdWcuegTEO1fGakW+hZ91PS49xdMSBjCReBu+Xv05vX+ueVdf1ZtFIfqrdJOL9Uows7RMsHXOH6h6RDW/ZA==
|
||||
|
||||
flow-parser@0.331.0:
|
||||
version "0.331.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.331.0.tgz#d4b1ff0026930fb82788b02173449efd5e7b25c0"
|
||||
integrity sha512-vEZcHIlnKeN8JSVtYFczj8sWJfHIJOkz+YG00O/oul/Bete+t1ZhTi+O6JRRLFYvGW+yJkZ0YgL16iStnbkUqQ==
|
||||
flow-parser@0.333.0:
|
||||
version "0.333.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.333.0.tgz#2310ee20b108debab3f7bcee16fffdee96067edc"
|
||||
integrity sha512-bSL/1CALDbKlG0nKDD1/09XmNNbhnIMKuqzpe+Mv4NBHoKET23cYacaQmh41dq2RJ17TaQc5HQ3hFaj5OHR7ZA==
|
||||
dependencies:
|
||||
flow-estree "0.331.0"
|
||||
flow-estree "0.333.0"
|
||||
|
||||
flow-remove-types@^2.237.2:
|
||||
version "2.259.1"
|
||||
@@ -4874,17 +4874,17 @@ flow-remove-types@^2.237.2:
|
||||
pirates "^3.0.2"
|
||||
vlq "^0.2.1"
|
||||
|
||||
flow-transform@0.331.0:
|
||||
version "0.331.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-transform/-/flow-transform-0.331.0.tgz#4ac9fd230192562141ab8d9bccd93690e2f349c4"
|
||||
integrity sha512-R/YarAJMyFakA2P/Fn8H0tkhiJwGZ1+b9AT3h5u/iG7XD5wLUhMYcuu96gi4ZLyR5emX06QMhVf6CZVT1Ln+ZQ==
|
||||
flow-transform@0.333.0:
|
||||
version "0.333.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-transform/-/flow-transform-0.333.0.tgz#66082c7932361463aebadf058f71d206cfd55c3b"
|
||||
integrity sha512-3xF5Vtwkeu/p3/YjPmKthqxPoYn6XkaL1TprTDjCVD3PUdbNngCYbzzaRK27r6RkSZOxP3R5uTxAUoZKgiIg/w==
|
||||
dependencies:
|
||||
"@babel/code-frame" "^7.16.0"
|
||||
esquery "^1.4.0"
|
||||
flow-enums-runtime "^0.0.6"
|
||||
flow-eslint "0.331.0"
|
||||
flow-estree "0.331.0"
|
||||
flow-parser "0.331.0"
|
||||
flow-eslint "0.333.0"
|
||||
flow-estree "0.333.0"
|
||||
flow-parser "0.333.0"
|
||||
string-width "4.2.3"
|
||||
|
||||
for-each@^0.3.3:
|
||||
|
||||
Reference in new issue
Block a user