Skip to content

Commit 2e4195c

Browse files
Alex Taylor (alta)facebook-github-bot
authored andcommitted
Deploy 0.224.0 to xplat
Summary: X-link: facebook/react-native#41949 Changelog: [internal] Reviewed By: gkz Differential Revision: D52177280 fbshipit-source-id: 37fe478645ad30b40f4fb4e81d7fc467ac971928
1 parent cbfb96d commit 2e4195c

File tree

7 files changed

+13
-6
lines changed

7 files changed

+13
-6
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ untyped-import
4444
untyped-type-import
4545

4646
[version]
47-
^0.223.3
47+
^0.224.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"eslint-plugin-prettier": "^4.2.1",
2525
"eslint-plugin-react": "^7.30.1",
2626
"eslint-plugin-relay": "^1.8.3",
27-
"flow-bin": "^0.223.3",
27+
"flow-bin": "^0.224.0",
2828
"glob": "^7.1.1",
2929
"hermes-eslint": "0.18.0",
3030
"invariant": "^2.2.4",

packages/metro-source-map/src/generateFunctionMap.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ function getNameForPath(path: NodePath<>): string {
365365
return name;
366366
}
367367

368+
// $FlowFixMe[deprecated-type]
368369
function isAnyCallExpression(node: Node): boolean %checks {
369370
return (
370371
node.type === 'CallExpression' ||
@@ -373,6 +374,7 @@ function isAnyCallExpression(node: Node): boolean %checks {
373374
);
374375
}
375376

377+
// $FlowFixMe[deprecated-type]
376378
function isAnyMemberExpression(node: Node): boolean %checks {
377379
return (
378380
node.type === 'MemberExpression' ||
@@ -381,6 +383,7 @@ function isAnyMemberExpression(node: Node): boolean %checks {
381383
);
382384
}
383385

386+
// $FlowFixMe[deprecated-type]
384387
function isAnyIdentifier(node: Node): boolean %checks {
385388
return isIdentifier(node) || isJSXIdentifier(node);
386389
}

packages/metro-transform-plugins/src/inline-plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ function inlinePlugin(
6161
options.requireName || 'require',
6262
);
6363

64+
// $FlowFixMe[deprecated-type]
6465
function isGlobal(binding: ?Binding): boolean %checks {
6566
return !binding;
6667
}
6768

6869
const isFlowDeclared = (binding: Binding) =>
6970
t.isDeclareVariable(binding.path);
7071

72+
// $FlowFixMe[deprecated-type]
7173
function isGlobalOrFlowDeclared(binding: ?Binding): boolean %checks {
7274
return isGlobal(binding) || isFlowDeclared(binding);
7375
}

packages/metro-transform-plugins/src/utils/createInlinePlatformChecks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function createInlinePlatformChecks(
116116
isWrappedModule,
117117
);
118118

119+
// $FlowFixMe[deprecated-type]
119120
function isGlobal(binding: mixed): boolean %checks {
120121
return !binding;
121122
}

packages/metro/src/DeltaBundler/Serializers/hmrJSBundle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ function prepareModule(
8787
const inverseDependenciesById = Object.create(null);
8888
Object.keys(inverseDependencies).forEach((path: string) => {
8989
// $FlowFixMe[prop-missing]
90+
// $FlowFixMe[invalid-computed-prop]
9091
inverseDependenciesById[options.createModuleId(path)] = inverseDependencies[
9192
path
9293
].map(options.createModuleId);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3392,10 +3392,10 @@ flatted@^3.1.0:
33923392
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561"
33933393
integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==
33943394

3395-
flow-bin@^0.223.3:
3396-
version "0.223.3"
3397-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.223.3.tgz#351cfce2c685ec92769fcbc0bb906497c7ddc061"
3398-
integrity sha512-20jLm49wN6Gfcs+MI/coAeeXK8/Sbb3eSfyEY4KjlusRotLYaYB6Tg1ngh2sCtpbO598oAEawrKDZr0u6jKakQ==
3395+
flow-bin@^0.224.0:
3396+
version "0.224.0"
3397+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.224.0.tgz#99454c9a37d2c531e831fa1261ad3e38f24edaf1"
3398+
integrity sha512-dsfQCDzOzNL/6bSQMGSSjTUNU7jpniZzmHQRt1rjD7AROthtXdqAkWQ00Xoifn42xeMaO/YkjlOvjpDA4F5Igw==
33993399

34003400
flow-parser@0.*:
34013401
version "0.213.1"

0 commit comments

Comments
 (0)