Skip to content

Commit d5ddc65

Browse files
authored
Flow: upgrade to 0.131 (#25224)
This also downgrades the new lint warning to avoid new suppressions with this upgrade.
1 parent 269c4e9 commit d5ddc65

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
6464
"fbjs-scripts": "1.2.0",
6565
"filesize": "^6.0.1",
66-
"flow-bin": "^0.127",
66+
"flow-bin": "^0.131",
6767
"glob": "^7.1.6",
6868
"glob-stream": "^6.1.0",
6969
"google-closure-compiler": "^20200517.0.0",

scripts/flow/config/flowconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
[lints]
3939
untyped-type-import=error
4040

41+
# TODO: We might want to enable this this as a error (the default), it
42+
# disallows adding undefined and numbers.
43+
unsafe-addition=off
44+
4145
[options]
4246
server.max_workers=4
4347
esproposal.class_static_fields=enable
@@ -50,4 +54,4 @@ munge_underscores=false
5054
%REACT_RENDERER_FLOW_OPTIONS%
5155

5256
[version]
53-
^0.127.0
57+
^0.131.0

yarn.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6901,6 +6901,7 @@ [email protected]:
69016901

69026902
"eslint-plugin-react-internal@link:./scripts/eslint-rules":
69036903
version "0.0.0"
6904+
uid ""
69046905

69056906
eslint-plugin-react@^6.7.1:
69066907
version "6.10.3"
@@ -7913,10 +7914,10 @@ flatted@^2.0.0:
79137914
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
79147915
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
79157916

7916-
flow-bin@^0.127:
7917-
version "0.127.0"
7918-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.127.0.tgz#0614cff4c1b783beef1feeb7108d536e09d77632"
7919-
integrity sha512-ywvCCdV4NJWzrqjFrMU5tAiVGyBiXjsJQ1+/kj8thXyX15V17x8BFvNwoAH97NrUU8T1HzmFBjLzWc0l2319qg==
7917+
flow-bin@^0.131:
7918+
version "0.131.0"
7919+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.131.0.tgz#d4228b6070afdf3b2a76acdee77a7f3f8e8f5133"
7920+
integrity sha512-fZmoIBcDrtLhy/NNMxwJysSYzMr1ksRcAOMi3AHSoYXfcuQqTvhGJx+wqjlIOqIwz8RRYm8J4V4JrSJbIKP+Xg==
79207921

79217922
79227923
version "0.13.0"

0 commit comments

Comments
 (0)