[flow] upgrade to 0.206.0 (#26850)

Small upgrade. The one impact was deprecation of `$Shape` where it seems
like we can just use a plain object with optional key.
This commit is contained in:
Jan Kassens
2023-05-25 13:37:31 -04:00
committed by GitHub
parent 9a72e62271
commit 18dedde6a7
4 changed files with 19 additions and 20 deletions

View File

@@ -65,8 +65,8 @@
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
"fbjs-scripts": "^3.0.1",
"filesize": "^6.0.1",
"flow-bin": "^0.205.1",
"flow-remove-types": "^2.205.1",
"flow-bin": "^0.206.0",
"flow-remove-types": "^2.206.0",
"glob": "^7.1.6",
"glob-stream": "^6.1.0",
"google-closure-compiler": "^20230206.0.0",

View File

@@ -74,12 +74,11 @@ type ReactTestRendererJSON = {
};
type ReactTestRendererNode = ReactTestRendererJSON | string;
type FindOptions = $Shape<{
type FindOptions = {
// performs a "greedy" search: if a matching node is found, will continue
// to search within the matching node's children. (default: true)
deep: boolean,
...
}>;
deep?: boolean,
};
export type Predicate = (node: ReactTestInstance) => ?boolean;

View File

@@ -36,4 +36,4 @@ munge_underscores=false
%REACT_RENDERER_FLOW_OPTIONS%
[version]
^0.205.1
^0.206.0

View File

@@ -8050,22 +8050,22 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
flow-bin@^0.205.1:
version "0.205.1"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.205.1.tgz#5faf24e60df8d36f4deafef20e44863c5b295315"
integrity sha512-pGQ/ZFr9hnbhRmc+K3K1Ui9BwDivlesNEd2mZbm5pCnxEUvbbj9nXHlTD4s4qO0k+LBKYLMZzQwBVYyRUE380g==
flow-bin@^0.206.0:
version "0.206.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.206.0.tgz#a593304be5440a965ae773efcef55071b6d33178"
integrity sha512-cZTEs/OEWcbxfvb8BP+Fw0Cep5wrEyEzQHGpXyjVpQXrAraRA5wZUXvTf1C5YHufQaAYY9YkKY5WAr461JvmOA==
flow-parser@^0.205.1:
version "0.205.1"
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.205.1.tgz#337464aaf027b00b2514610386cf21a5f7c94137"
integrity sha512-+RF/e1Et6ZX2I/UG7SGAz3Z8+ulj9xKYLu5AD7Wi8H2llzncU8ZpdKfLR50pPvj4g2a/FbZWkXYL7qHc+zXJNA==
flow-parser@^0.206.0:
version "0.206.0"
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.206.0.tgz#f4f794f8026535278393308e01ea72f31000bfef"
integrity sha512-HVzoK3r6Vsg+lKvlIZzaWNBVai+FXTX1wdYhz/wVlH13tb/gOdLXmlTqy6odmTBhT5UoWUbq0k8263Qhr9d88w==
flow-remove-types@^2.205.1:
version "2.205.1"
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.205.1.tgz#76ff3ab6386e6bb9eb7eb170ce7688931a9b7e5e"
integrity sha512-HExM8nCVx9dpNAAe7zKH45Ii+FL6ufoQAGntMdvfCtYjhTVSkaO3MfHp/r0D8qNeAwcvGBfw7+GqQtgXm/zr2g==
flow-remove-types@^2.206.0:
version "2.206.0"
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.206.0.tgz#d65389bea555e91c2273e441a70d5916cf1feab7"
integrity sha512-ARHcZ4NFYI+TOnLDW+yO70t4F+5mlZ4Gj0RWZfFq7FUPeDpGvQKxQh8UPXvKOkIfqghmvGOfcz9Y2mVzfjGtiA==
dependencies:
flow-parser "^0.205.1"
flow-parser "^0.206.0"
pirates "^3.0.2"
vlq "^0.2.1"