Skip to content

Commit e6725de

Browse files
Update Flow to 0.104 (#2057)
1 parent b82e5a6 commit e6725de

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.flowconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ inexact-spread=error
2727
implicit-inexact-object=error
2828
unnecessary-optional-chain=error
2929
unnecessary-invariant=off
30+
signature-verification-failure=error
31+
uninitialized-instance-property=off
32+
non-array-spread=error
3033

3134
[options]
3235
include_warnings=true
@@ -35,4 +38,5 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)?)\\)
3538
suppress_comment=\\(.\\|\n\\)*\\$DisableFlowOnNegativeTest
3639

3740
[version]
38-
^0.102.0
41+
^0.104.0
42+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"chai": "4.2.0",
5353
"eslint": "5.16.0",
5454
"eslint-plugin-flowtype": "3.12.1",
55-
"flow-bin": "0.102.0",
55+
"flow-bin": "0.104.0",
5656
"mocha": "6.2.0",
5757
"nyc": "14.1.1",
5858
"prettier": "1.18.2"

src/polyfills/flatMap.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare function flatMap<T, U>(
99
// $FlowFixMe
1010
const flatMap = Array.prototype.flatMap
1111
? function(list, fn) {
12-
// $FlowFixMe
1312
return Array.prototype.flatMap.call(list, fn);
1413
}
1514
: function(list, fn) {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,10 +1299,10 @@ flatted@^2.0.0:
12991299
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
13001300
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
13011301

1302-
flow-bin@0.102.0:
1303-
version "0.102.0"
1304-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.102.0.tgz#3d5de44bcc26d26585e932b3201988b766f9b380"
1305-
integrity sha512-mYon6noeLO0Q5SbiWULLQeM1L96iuXnRtYMd47j3bEWXAwUW9EnwNWcn+cZg/jC/Dg4Wj/jnkdTDEuFtbeu1ww==
1302+
flow-bin@0.104.0:
1303+
version "0.104.0"
1304+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.104.0.tgz#ef5b3600dfd36abe191a87d19f66e481bad2e235"
1305+
integrity sha512-EZXRRmf7m7ET5Lcnwm/I/T8G3d427Bq34vmO3qIlRcPIYloGuVoqRCwjaeezLRDntHkdciagAKbhJ+NTbDjnkw==
13061306

13071307
foreground-child@^1.5.6:
13081308
version "1.5.6"

0 commit comments

Comments
 (0)