Skip to content

Commit b0f51f7

Browse files
authored
Upgrade flow to 0.233.0 (#30116)
See [Flow changelog](https://github.com/facebook/flow/blob/main/Changelog.md) for changes in this version. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/30116). * #30118 * #30117 * __->__ #30116
1 parent df783f9 commit b0f51f7

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@
6363
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
6464
"fbjs-scripts": "^3.0.1",
6565
"filesize": "^6.0.1",
66-
"flow-bin": "^0.232.0",
67-
"flow-remove-types": "^2.232.0",
66+
"flow-bin": "^0.233.0",
67+
"flow-remove-types": "^2.233.0",
6868
"glob": "^7.1.6",
6969
"glob-stream": "^6.1.0",
7070
"google-closure-compiler": "^20230206.0.0",
7171
"gzip-size": "^5.1.1",
72-
"hermes-eslint": "^0.20.1",
73-
"hermes-parser": "^0.20.1",
72+
"hermes-eslint": "^0.22.0",
73+
"hermes-parser": "^0.22.0",
7474
"jest": "^29.4.2",
7575
"jest-cli": "^29.4.2",
7676
"jest-diff": "^29.4.2",

scripts/flow/react-native-host-hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ declare module 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface'
9797
setChildren: (containerTag: number, reactTags: Array<number>) => void,
9898
updateView: (reactTag: number, viewName: string, props: ?Object) => void,
9999
__takeSnapshot: (
100-
view?: 'window' | Element<any> | number,
100+
view?: 'window' | Element | number,
101101
options?: {
102102
width?: number,
103103
height?: number,

yarn.lock

+25-24
Original file line numberDiff line numberDiff line change
@@ -7202,6 +7202,7 @@ [email protected]:
72027202

72037203
"eslint-plugin-react-internal@link:./scripts/eslint-rules":
72047204
version "0.0.0"
7205+
uid ""
72057206

72067207
eslint-plugin-react@^6.7.1:
72077208
version "6.10.3"
@@ -8320,17 +8321,17 @@ flatted@^3.2.9:
83208321
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
83218322
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
83228323

8323-
flow-bin@^0.232.0:
8324-
version "0.232.0"
8325-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.232.0.tgz#80587406cbb3a74577151ad27c6058b2a468c215"
8326-
integrity sha512-7uOycTN+Ys2nYRJRig5S2yN41ZokW7bC4K1GC4nCDa/3FAZLP5/mQbee6UjxFBP9MC4yUYi17bdFTFzCH8bHeg==
8324+
flow-bin@^0.233.0:
8325+
version "0.233.0"
8326+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.233.0.tgz#e31951c81d3ec590e1cbfd96e540f6dd2459554c"
8327+
integrity sha512-BInTgW8v6xdWzVcItgKKUYCacheMw78Xrrn0Ziii5lN+vf/RKmvVX9mFHuOSN1zawZuq7GpqmT6oIS/oQuOAQg==
83278328

8328-
flow-remove-types@^2.232.0:
8329-
version "2.232.0"
8330-
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.232.0.tgz#a4333fee2524b57220791a130955f48e0b107f1a"
8331-
integrity sha512-t7B6axPRmSGeWU1m2j+LOBocw9ORXcomoykfMoZedd8snGum3QQpzro3eQpDoutnqKRtJliAvX6PJtFCNEjpMQ==
8329+
flow-remove-types@^2.233.0:
8330+
version "2.238.2"
8331+
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.238.2.tgz#85c9d26e83ba395f0206a23bce438223bc035609"
8332+
integrity sha512-WJXRomjPiZ34nG14y7AceoPxg1L00FxjPSA3TDBTG2OPt8QFNtiYEmO4/3WG58n3C4wjxyVuoE6KjxQIvCDyjw==
83328333
dependencies:
8333-
hermes-parser "0.20.1"
8334+
hermes-parser "0.22.0"
83348335
pirates "^3.0.2"
83358336
vlq "^0.2.1"
83368337

@@ -9116,26 +9117,26 @@ hasown@^2.0.0:
91169117
dependencies:
91179118
function-bind "^1.1.2"
91189119

9119-
hermes-eslint@^0.20.1:
9120-
version "0.20.1"
9121-
resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.20.1.tgz#4a731b47a6d169bbd4514aaa74bd812fd90f3554"
9122-
integrity sha512-EhdvFV6RkPIJvbqN8oqFZO1oF4NlPWMjhMjCWkUJX1YL1MZMfkF7nSdx6RKTq6xK17yo+Bgv88L21xuH9GtRpw==
9120+
hermes-eslint@^0.22.0:
9121+
version "0.22.0"
9122+
resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.22.0.tgz#b4b9a58a546f9b2f33536a977bcea3f026057f67"
9123+
integrity sha512-WnD0xPY1Clvd4F68g2esS89C0NGeu/pn3sdqGXXdnlgr3jZtG5lugscRATS+0+mXOtZ6PTxSClVr2JL4BNor2Q==
91239124
dependencies:
91249125
esrecurse "^4.3.0"
9125-
hermes-estree "0.20.1"
9126-
hermes-parser "0.20.1"
9126+
hermes-estree "0.22.0"
9127+
hermes-parser "0.22.0"
91279128

9128-
hermes-estree@0.20.1:
9129-
version "0.20.1"
9130-
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.20.1.tgz#0b9a544cf883a779a8e1444b915fa365bef7f72d"
9131-
integrity sha512-SQpZK4BzR48kuOg0v4pb3EAGNclzIlqMj3Opu/mu7bbAoFw6oig6cEt/RAi0zTFW/iW6Iz9X9ggGuZTAZ/yZHg==
9129+
hermes-estree@0.22.0:
9130+
version "0.22.0"
9131+
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.22.0.tgz#38559502b119f728901d2cfe2ef422f277802a1d"
9132+
integrity sha512-FLBt5X9OfA8BERUdc6aZS36Xz3rRuB0Y/mfocSADWEJfomc1xfene33GdyAmtTkKTBXTN/EgAy+rjTKkkZJHlw==
91329133

9133-
hermes-parser@0.20.1, hermes-parser@^0.20.1:
9134-
version "0.20.1"
9135-
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.20.1.tgz#ad10597b99f718b91e283f81cbe636c50c3cff92"
9136-
integrity sha512-BL5P83cwCogI8D7rrDCgsFY0tdYUtmFP9XaXtl2IQjC+2Xo+4okjfXintlTxcIwl4qeGddEl28Z11kbVIw0aNA==
9134+
hermes-parser@0.22.0, hermes-parser@^0.22.0:
9135+
version "0.22.0"
9136+
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.22.0.tgz#fc8e0e6c7bfa8db85b04c9f9544a102c4fcb4040"
9137+
integrity sha512-gn5RfZiEXCsIWsFGsKiykekktUoh0PdFWYocXsUdZIyWSckT6UIyPcyyUIPSR3kpnELWeK3n3ztAse7Mat6PSA==
91379138
dependencies:
9138-
hermes-estree "0.20.1"
9139+
hermes-estree "0.22.0"
91399140

91409141
homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1:
91419142
version "1.0.3"

0 commit comments

Comments
 (0)