Skip to content

Commit b77cd25

Browse files
gkzmeta-codesync[bot]
authored andcommitted
Tooling 0.336.0 (#59164)
Summary: Pull Request resolved: #59164 X-link: react/metro#2075 Upgrade `flow-parser`, `flow-estree`, `flow-eslint`, `flow-transform`, and `flow-api-translator` across the xplat and AR/VR JavaScript tooling consumers. Refresh dependency locks, installed runtime payloads, and shared offline archives while preserving the independently pinned Fox toolchains and locally maintained type shims. Build on D125751591's `flow-remove-types` upgrade. Keep Gauntlet in its own child because it has an independent release boundary. Support reviewed, exact-root Yarn installation options in the upgrade policy. Recharts' forced macOS `fsevents` resolution needs platform checking disabled and optional packages omitted on Linux; no other installation roots or dependency-verification checks are exempted. The installation-policy correction is an intentional prerequisite for executing the supplied playbook on Linux, not a separate feature rollout. The unchanged 0.335 Recharts dependency installation reproduced the forced macOS fsevents failure, including with --ignore-optional alone; the exact-root --ignore-platform/--ignore-optional combination passes without changing the manifest or lock. Keeping this tested, allowlisted exception in source makes the upgrade reproducible while preserving dependency/version checks and the other installation roots. Changelog: [internal] Upgrade xplat and AR/VR Flow JavaScript tooling to 0.336.0. Reviewed By: SamChou19815 Differential Revision: D125765307
1 parent 7728787 commit b77cd25

8 files changed

Lines changed: 35 additions & 47 deletions

File tree

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@
9595
"eslint-plugin-redundant-undefined": "^0.4.0",
9696
"eslint-plugin-relay": "^1.8.3",
9797
"fb-dotslash": "0.5.8",
98-
"flow-api-translator": "0.335.0",
98+
"flow-api-translator": "0.336.0",
9999
"flow-bin": "^0.336.0",
100-
"flow-eslint": "0.335.0",
101-
"flow-parser": "0.335.0",
102-
"flow-transform": "0.335.0",
100+
"flow-eslint": "0.336.0",
101+
"flow-parser": "0.336.0",
102+
"flow-transform": "0.336.0",
103103
"google-java-format": "1.4.0",
104104
"ini": "^5.0.0",
105105
"inquirer": "^7.1.0",

‎packages/eslint-plugin-react-native/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"utils.js"
2626
],
2727
"devDependencies": {
28-
"flow-parser": "0.335.0",
29-
"flow-eslint": "0.335.0"
28+
"flow-parser": "0.336.0",
29+
"flow-eslint": "0.336.0"
3030
},
3131
"engines": {
3232
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"

‎packages/eslint-plugin-specs/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
"@react-native/codegen": "0.87.0-main",
3636
"make-dir": "^2.1.0",
3737
"pirates": "^4.0.1",
38-
"flow-parser": "0.335.0",
38+
"flow-parser": "0.336.0",
3939
"source-map-support": "0.5.0"
4040
},
4141
"devDependencies": {
42-
"flow-eslint": "0.335.0"
42+
"flow-eslint": "0.336.0"
4343
},
4444
"engines": {
4545
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"

‎packages/react-native-babel-preset/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@babel/plugin-transform-typescript": "^7.25.2",
5757
"@babel/plugin-transform-unicode-regex": "^7.24.7",
5858
"@react-native/babel-plugin-codegen": "0.87.0-main",
59-
"flow-parser": "0.335.0",
59+
"flow-parser": "0.336.0",
6060
"babel-plugin-transform-flow-enums": "^0.0.2",
6161
"react-refresh": "^0.14.0"
6262
},

‎packages/react-native-babel-transformer/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@babel/core": "^7.25.2",
3030
"@react-native/babel-preset": "0.87.0-main",
31-
"flow-parser": "0.335.0",
31+
"flow-parser": "0.336.0",
3232
"nullthrows": "^1.1.1"
3333
},
3434
"peerDependencies": {

‎packages/react-native-codegen/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"dependencies": {
3232
"@babel/core": "^7.25.2",
3333
"@babel/parser": "^7.29.9",
34-
"flow-parser": "0.335.0",
34+
"flow-parser": "0.336.0",
3535
"invariant": "^2.2.4",
3636
"nullthrows": "^1.1.1",
3737
"tinyglobby": "^0.2.15",
@@ -45,7 +45,7 @@
4545
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
4646
"@babel/plugin-transform-optional-chaining": "^7.24.8",
4747
"@babel/preset-env": "^7.25.3",
48-
"flow-estree": "0.335.0",
48+
"flow-estree": "0.336.0",
4949
"micromatch": "^4.0.4",
5050
"prettier": "3.9.4",
5151
"rimraf": "^3.0.2"

‎packages/react-native/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"@react-native/virtualized-lists": "0.87.0-main",
159159
"anser": "^1.4.9",
160160
"ansi-regex": "^5.0.0",
161-
"flow-parser": "0.335.0",
161+
"flow-parser": "0.336.0",
162162
"base64-js": "^1.5.1",
163163
"flow-enums-runtime": "^0.0.6",
164164
"hermes-compiler": "0.0.0",

‎yarn.lock‎

Lines changed: 22 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4819,19 +4819,19 @@ flora-colossus@^3.0.2:
48194819
dependencies:
48204820
debug "^4.4.1"
48214821

4822-
flow-api-translator@0.335.0:
4823-
version "0.335.0"
4824-
resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.335.0.tgz#62bd5c7d3494c67226f41022febb820e59437486"
4825-
integrity sha512-APzyBFsT9x22NlBEYHi/ru++y4Yglx1pwwII9vLXg816ggoVxF5bSmcUxy1B+3Axj+pU5hYGWtJ7z24c5U9cLg==
4822+
flow-api-translator@0.336.0:
4823+
version "0.336.0"
4824+
resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.336.0.tgz#588c4672c6a32f7fcb00064314b7ad1551e728a5"
4825+
integrity sha512-0odorqlErVwnXLuFpQdpRwlUNaqklR2H2tN8uRmlV/Usb82k0S++ReH3afKL7BhUevi4xMsBa02vd38Lf8RznQ==
48264826
dependencies:
48274827
"@babel/code-frame" "^7.16.0"
48284828
"@typescript-eslint/parser" "8.38.0"
48294829
"@typescript-eslint/visitor-keys" "8.38.0"
48304830
flow-enums-runtime "^0.0.6"
4831-
flow-eslint "0.335.0"
4832-
flow-estree "0.335.0"
4833-
flow-parser "0.335.0"
4834-
flow-transform "0.335.0"
4831+
flow-eslint "0.336.0"
4832+
flow-estree "0.336.0"
4833+
flow-parser "0.336.0"
4834+
flow-transform "0.336.0"
48354835
typescript "5.3.2"
48364836

48374837
flow-bin@^0.336.0:
@@ -4844,33 +4844,21 @@ flow-enums-runtime@^0.0.6:
48444844
resolved "https://registry.yarnpkg.com/flow-enums-runtime/-/flow-enums-runtime-0.0.6.tgz#5bb0cd1b0a3e471330f4d109039b7eba5cb3e787"
48454845
integrity sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==
48464846

4847-
flow-eslint@0.335.0:
4848-
version "0.335.0"
4849-
resolved "https://registry.yarnpkg.com/flow-eslint/-/flow-eslint-0.335.0.tgz#a8383914568f16475ef5cd62c157843b62e52910"
4850-
integrity sha512-G/6qz7O1Otv3/fhZBvVyBQFvDihHZnRIXhJAwQ2HjWhurszVDHSrO4ZOEdCdZTMRtLmCltfPOBTMJRDaKERNCA==
4847+
flow-eslint@0.336.0:
4848+
version "0.336.0"
4849+
resolved "https://registry.yarnpkg.com/flow-eslint/-/flow-eslint-0.336.0.tgz#2a9e807c85f41f8ba2329e787fd84bc67c411f6d"
4850+
integrity sha512-HWsiMD2mC3HbVwPKX74BxyX+ZjgiJi3BYDOG/FofbpLce/Eg1wftSuGEyvWprYpgKOnTEe/7o32IdLdTv25LaQ==
48514851
dependencies:
48524852
esrecurse "^4.3.0"
4853-
flow-estree "0.335.0"
4854-
flow-parser "0.335.0"
4855-
4856-
flow-estree@0.335.0:
4857-
version "0.335.0"
4858-
resolved "https://registry.yarnpkg.com/flow-estree/-/flow-estree-0.335.0.tgz#6867e678070b0edb13ff37636d8aaf4b444516bb"
4859-
integrity sha512-sfJYlOSnrbBI4ruZ7UG5OJLz16E1hs+Kkt/De8F7vm6UafLfvZIWjkoBmZtKoN6EIOa3zgGkVczt0xpmmQixGA==
4853+
flow-estree "0.336.0"
4854+
flow-parser "0.336.0"
48604855

48614856
flow-estree@0.336.0:
48624857
version "0.336.0"
48634858
resolved "https://registry.yarnpkg.com/flow-estree/-/flow-estree-0.336.0.tgz#e9e90c68ac69b078b2d167588e47a11e5d240d86"
48644859
integrity sha512-0VaGWHJourzh88otU5bVJ4Z/oIsD+R6yaeR0Q8t8dezsKQI/RLi5m3fNzkiLYLhJ+YwM3JRSKlOqGplOI5Yo3w==
48654860

4866-
flow-parser@0.335.0:
4867-
version "0.335.0"
4868-
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.335.0.tgz#27c879530fd7fe9521129b15e6d9cedd9860c645"
4869-
integrity sha512-TpG7cWiAAh5EoOjaGuzggks8HOM6DJhey1RmMmnzGUd+AYmsl77S5EXvb6gxAEGX40FyfkXEwsvQcuI6Knkm7g==
4870-
dependencies:
4871-
flow-estree "0.335.0"
4872-
4873-
flow-parser@^0.336.0:
4861+
flow-parser@0.336.0, flow-parser@^0.336.0:
48744862
version "0.336.0"
48754863
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.336.0.tgz#5c34f8a97edfa241d3e71c7a1dcd99a56b1cc2bc"
48764864
integrity sha512-O8QvQf/B3rBF+eagcc9/WMAjfJoaKckdgSd8PT/qvMIIe4ZjVKrSqV5SDnRFAKY0VrE8r5C4ADYgvYhmwkWADA==
@@ -4886,17 +4874,17 @@ flow-remove-types@^2.336.0:
48864874
pirates "^3.0.2"
48874875
vlq "^0.2.1"
48884876

4889-
flow-transform@0.335.0:
4890-
version "0.335.0"
4891-
resolved "https://registry.yarnpkg.com/flow-transform/-/flow-transform-0.335.0.tgz#ec49dedfd5507da0228f715ad20315c6ebf6ae75"
4892-
integrity sha512-TUBmPSufhaWaD0Amw/wR8v6+F+CLbnY8aHoUyb3hykEp6kDiPrCvem96uhN/uJ8CnjO2OODxxsisa0ikYaBt5w==
4877+
flow-transform@0.336.0:
4878+
version "0.336.0"
4879+
resolved "https://registry.yarnpkg.com/flow-transform/-/flow-transform-0.336.0.tgz#61fd6c761b63c412b67c707dcd81333d24e5fa8d"
4880+
integrity sha512-KQEt9y581jhxaUOM80sPbssa/t6bEnwGz0x/xfwmxXv8a69bs6wW83/1Roq1h9qoJfwvSTncWk3IlrpdBVBXXQ==
48934881
dependencies:
48944882
"@babel/code-frame" "^7.16.0"
48954883
esquery "^1.4.0"
48964884
flow-enums-runtime "^0.0.6"
4897-
flow-eslint "0.335.0"
4898-
flow-estree "0.335.0"
4899-
flow-parser "0.335.0"
4885+
flow-eslint "0.336.0"
4886+
flow-estree "0.336.0"
4887+
flow-parser "0.336.0"
49004888
string-width "4.2.3"
49014889

49024890
for-each@^0.3.3:

0 commit comments

Comments
 (0)