@samitouri / QOS-React / commits / 2ef24145e4

[flow] upgrade to 0.199.0 (#26096)

`flow-remove-types` was also upgraded to the latest version.

Jan Kassens committed Feb 2, 2023 at 16:19 UTC 2ef24145e4628fda9d8883cd573553b82a2e0a81
4 files changed +21 -23
package.json
+2 -2
@@ -60,8 +60,8 @@
60 "eslint-plugin-react-internal": "link:./scripts/eslint-rules",
61 "fbjs-scripts": "1.2.0",
62 "filesize": "^6.0.1",
63 - "flow-bin": "^0.196.3",
64 - "flow-remove-types": "^2.196.1",
63 + "flow-bin": "^0.199.0",
64 + "flow-remove-types": "^2.198.2",
65 "glob": "^7.1.6",
66 "glob-stream": "^6.1.0",
67 "google-closure-compiler": "^20200517.0.0",
packages/react/src/ReactChildren.js
+2 -4
@@ -138,10 +138,8 @@ function mapIntoArray(
138 // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
139 (mappedChild.key && (!child || child.key !== mappedChild.key)
140 ? escapeUserProvidedKey(
141 - // eslint-disable-next-line react-internal/safe-string-coercion
142 - '' +
143 - // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
144 - mappedChild.key,
141 + // $FlowFixMe[unsafe-addition]
142 + '' + mappedChild.key, // eslint-disable-line react-internal/safe-string-coercion
143 ) + '/'
144 : '') +
145 childKey,
scripts/flow/config/flowconfig
+1 -1
@@ -48,4 +48,4 @@ munge_underscores=false
48 %REACT_RENDERER_FLOW_OPTIONS%
49
50 [version]
51 -^0.196.3
51 +^0.199.0
yarn.lock
+16 -16
@@ -8044,22 +8044,22 @@ flatted@^3.1.0:
8044 resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
8045 integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
8046
8047 -flow-bin@^0.196.3:
8048 - version "0.196.3"
8049 - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.196.3.tgz#b6df48986a2629f2c6a26fb79d73fc07c8056af0"
8050 - integrity sha512-pmvjlksi1CvkSnDHpcfhDFj/KC3hwSgE2OpzvugW57dfgqfHzqX1UfZIcScGWM5AmP/IeOsQCW383k3zIbEnrA==
8051 -
8052 -flow-parser@^0.196.1:
8053 - version "0.196.1"
8054 - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.196.1.tgz#3c31f102454518f0c68eeb99f57501c2a0c9bff0"
8055 - integrity sha512-V3yaKHyBWhl+LF6sxgbfqxMlwoFKs8UKh2DYTrGj1AHi9ST7Zyp+9ToF4l9eoL6l/DxdFwCNF3MAJ1vCVrgJmw==
8056 -
8057 -flow-remove-types@^2.196.1:
8058 - version "2.196.1"
8059 - resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.196.1.tgz#c77ab53679beb1b1ba420c16865cea714a67defc"
8060 - integrity sha512-pAEe2B/fKtV96MVGWQgmjP5Z1nLeFFe++r83ql1Zj86+p+3IujsbvwxiXCiF/SS6ObbB6TmciCxxd+FsOUyY3Q==
8061 - dependencies:
8062 - flow-parser "^0.196.1"
8047 +flow-bin@^0.199.0:
8048 + version "0.199.0"
8049 + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.199.0.tgz#e710c0834d4e1032529a633e0cf32d89a102fcfb"
8050 + integrity sha512-8N8jn59ghgtDSogFoy1Ld1P8NlfdlVUcXSRADDf8WyX3SMMA6b1SbqraTRXxJDNn0F3WdVBHKdufdUg73y4Nhw==
8051 +
8052 +flow-parser@^0.198.2:
8053 + version "0.198.2"
8054 + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.198.2.tgz#4c225995896b6be75943e9358e606a4fd86c87d9"
8055 + integrity sha512-tCQzqXbRAz0ZadIhAXGwdp/xsusADo8IK9idgc/2qCK5RmazbKDGedyykfRtzWgy7Klt4f4NZxq0o/wFUg6plQ==
8056 +
8057 +flow-remove-types@^2.198.2:
8058 + version "2.198.2"
8059 + resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.198.2.tgz#1b9e0e32eead4554f0d325391bbeb0c7a2a2993f"
8060 + integrity sha512-l7ua9FnZwI0HUUUu2Khj3pYnGSlkY5vOE60bgG1ajPJ9P+KzRgXIjpCaS4iTbUEpu6olzRrAVJtJ5N8kxmvpiQ==
8061 + dependencies:
8062 + flow-parser "^0.198.2"
8063 pirates "^3.0.2"
8064 vlq "^0.2.1"
8065