@samitouri / QOS-React-2 / commits / d5ddc6543e

Flow: upgrade to 0.131 (#25224)

This also downgrades the new lint warning to avoid new suppressions with this upgrade.

Jan Kassens committed Sep 9, 2022 at 16:21 UTC d5ddc6543efb2d26303a8bc3f38a5ad5dfe0e4f7
3 files changed +11 -6
package.json
+1 -1
@@ -63,7 +63,7 @@
63 "eslint-plugin-react-internal": "link:./scripts/eslint-rules",
64 "fbjs-scripts": "1.2.0",
65 "filesize": "^6.0.1",
66 - "flow-bin": "^0.127",
66 + "flow-bin": "^0.131",
67 "glob": "^7.1.6",
68 "glob-stream": "^6.1.0",
69 "google-closure-compiler": "^20200517.0.0",
scripts/flow/config/flowconfig
+5 -1
@@ -38,6 +38,10 @@
38 [lints]
39 untyped-type-import=error
40
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 +
45 [options]
46 server.max_workers=4
47 esproposal.class_static_fields=enable
@@ -50,4 +54,4 @@ munge_underscores=false
54 %REACT_RENDERER_FLOW_OPTIONS%
55
56 [version]
53 -^0.127.0
57 +^0.131.0
yarn.lock
+5 -4
@@ -6901,6 +6901,7 @@ eslint-plugin-no-unsanitized@3.1.2:
6901
6902 "eslint-plugin-react-internal@link:./scripts/eslint-rules":
6903 version "0.0.0"
6904 + uid ""
6905
6906 eslint-plugin-react@^6.7.1:
6907 version "6.10.3"
@@ -7913,10 +7914,10 @@ flatted@^2.0.0:
7914 resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
7915 integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
7916
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==
7921
7922 fluent-syntax@0.13.0:
7923 version "0.13.0"