Skip to content

Commit 3999041

Browse files
committed
Update Flow to 0.279
1 parent 8fcf576 commit 3999041

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
7575
"fbjs-scripts": "^3.0.1",
7676
"filesize": "^6.0.1",
77-
"flow-bin": "^0.278",
78-
"flow-remove-types": "^2.278",
77+
"flow-bin": "^0.279",
78+
"flow-remove-types": "^2.279",
7979
"flow-typed": "^4.1.1",
8080
"glob": "^7.1.6",
8181
"glob-stream": "^6.1.0",

packages/react-client/src/ReactFlightPerformanceTrack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function logComponentAborted(
153153
const entryName =
154154
isPrimaryEnv || env === undefined ? name : name + ' [' + env + ']';
155155
if (__DEV__) {
156-
const properties = [
156+
const properties: Array<[string, string]> = [
157157
[
158158
'Aborted',
159159
'The stream was aborted before this Component finished rendering.',
@@ -215,7 +215,7 @@ export function logComponentErrored(
215215
String(error.message)
216216
: // eslint-disable-next-line react-internal/safe-string-coercion
217217
String(error);
218-
const properties = [['Error', message]];
218+
const properties: Array<[string, string]> = [['Error', message]];
219219
if (componentInfo.key != null) {
220220
addValueToProperties('key', componentInfo.key, properties, 0, '');
221221
}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9298,12 +9298,12 @@ flatted@^3.2.9:
92989298
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
92999299
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
93009300

9301-
flow-bin@^0.278:
9302-
version "0.278.0"
9303-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.278.0.tgz#ad1828d60ffe09d4d1ccb2817ef3eb5f79d98f9a"
9304-
integrity sha512-RQgeri43x9zRpMfB9cqAhlXOgDjWd8OU7X6wpxjT5VUS8EotLCAeNKhafLFxvYuaPwUctQ6JnuxykVL6M46ycQ==
9301+
flow-bin@^0.279:
9302+
version "0.279.0"
9303+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.279.0.tgz#06e502a51d735083d715ef769f43bdcb0fc2bb61"
9304+
integrity sha512-Xf0T82atOcEf5auHvJfUF+wWIxieBuUJZBu2hlAizdhAzwqSJic74ZLaL6N5SsE0SY9PxPf3Z/lBU7iRpRa9Lw==
93059305

9306-
flow-remove-types@^2.278:
9306+
flow-remove-types@^2.279:
93079307
version "2.279.0"
93089308
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.279.0.tgz#3a3388d9158eba0f82c40d80d31d9640b883a3f5"
93099309
integrity sha512-bPFloMR/A2b/r/sIsf7Ix0LaMicCJNjwhXc4xEEQVzJCIz5u7C7XDaEOXOiqveKlCYK7DcBNn6R01Cbbc9gsYA==

0 commit comments

Comments
 (0)