Update Flow to 0.272 (#34273)
This is the last version before "Natural Inference" change to Flow that will require more changes, so doing a quick fast-forward PR here. - Disabled a new Flow lint against unsafe `Object.assign`.
Jan Kassens committed
Aug 22, 2025 at 16:25 UTC
e67e3bed9274008f4e6b53e8932237d5f6dcbce1
3 files changed
+8
-7
package.json
+2
-2
@@ -74,8 +74,8 @@
74
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
75
"fbjs-scripts": "^3.0.1",
76
"filesize": "^6.0.1",
77
- "flow-bin": "^0.267",
78
- "flow-remove-types": "^2.267",
77
+ "flow-bin": "^0.272",
78
+ "flow-remove-types": "^2.272",
79
"flow-typed": "^4.1.1",
80
"glob": "^7.1.6",
81
"glob-stream": "^6.1.0",
scripts/flow/config/flowconfig
+1
@@ -31,6 +31,7 @@
31
untyped-type-import=error
32
internal-type=off
33
deprecated-type=off
34
+unsafe-object-assign=off
35
36
[options]
37
munge_underscores=false
yarn.lock
+5
-5
@@ -9298,12 +9298,12 @@ flatted@^3.2.9:
9298
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
9299
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
9300
9301
-flow-bin@^0.267:
9302
- version "0.267.0"
9303
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.267.0.tgz#a191375df35c768f1afaebfd0e25b06c8ab82a04"
9304
- integrity sha512-NsBcxdAqQauzgOaDf960M+eEnjcFS6FeMs93dEpkvQflwMlP4SRMdKQR8p5WzJJh07CXq9iQnxn+JjLN6kaLUw==
9301
+flow-bin@^0.272:
9302
+ version "0.272.2"
9303
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.272.2.tgz#918fc58dc7a99725a83314f453d3e49a56aebdc5"
9304
+ integrity sha512-Rf8UG1biRBUGGh6qN7Ua2Y2lJRpR8Pbzby5kfHQ5m5SgjC5eOPw3Qjbrheb9ec5oU4L1gCOXRYbkbpr02PRUBw==
9305
9306
-flow-remove-types@^2.267:
9306
+flow-remove-types@^2.272:
9307
version "2.279.0"
9308
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.279.0.tgz#3a3388d9158eba0f82c40d80d31d9640b883a3f5"
9309
integrity sha512-bPFloMR/A2b/r/sIsf7Ix0LaMicCJNjwhXc4xEEQVzJCIz5u7C7XDaEOXOiqveKlCYK7DcBNn6R01Cbbc9gsYA==