Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[flow] upgrade to 0.209.0
  • Loading branch information
kassens committed Jun 15, 2023
commit 4305616705daf9bb7d9b19315ebf5422609868cc
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
"fbjs-scripts": "^3.0.1",
"filesize": "^6.0.1",
"flow-bin": "^0.206.0",
"flow-remove-types": "^2.206.0",
"flow-bin": "^0.209.0",
"flow-remove-types": "^2.209.0",
"glob": "^7.1.6",
"glob-stream": "^6.1.0",
"google-closure-compiler": "^20230206.0.0",
Expand Down
8 changes: 5 additions & 3 deletions packages/react-reconciler/src/ReactFiberCacheComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const AbortControllerLocal: typeof AbortController = enableCache
? typeof AbortController !== 'undefined'
? AbortController
: // $FlowFixMe[missing-this-annot]
(function AbortControllerShim() {
// $FlowFixMe[prop-missing]
function AbortControllerShim() {
const listeners = [];
const signal = (this.signal = {
aborted: false,
Expand All @@ -35,8 +36,9 @@ const AbortControllerLocal: typeof AbortController = enableCache
signal.aborted = true;
listeners.forEach(listener => listener());
};
}: AbortController)
: (null: any);
}
: // $FlowFixMe[incompatible-type]
null;

export type Cache = {
controller: AbortController,
Expand Down
2 changes: 1 addition & 1 deletion scripts/flow/config/flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ munge_underscores=false
%REACT_RENDERER_FLOW_OPTIONS%

[version]
^0.206.0
^0.209.0
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8245,22 +8245,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.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.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.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.206.0"
flow-bin@^0.209.0:
version "0.209.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.209.0.tgz#616a002b94ef35e1b083add9a6d27dbe387bf4f0"
integrity sha512-HRc6+bKE8AN23SnuKaxdUjcQcjaIp6pksrGJ6pltFO5tIEvZmPrbT99P7Yb3ybqwcKU/Ry8yfJbuW92Ed2V3nw==

flow-parser@^0.209.0:
version "0.209.0"
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.209.0.tgz#adf4fa1245b2dd9073bbffbdca5c005e83194430"
integrity sha512-uD7Du+9xC/gGnOyk3kANQmtgWWKANWcKGJ84Wu0NSjTaVING3GqUAsywUPAl3fEYKLVVIcDWiaQ8+R6qzghwmA==

flow-remove-types@^2.209.0:
version "2.209.0"
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.209.0.tgz#32dbb65515f417067ade9f76260e8badd1baa541"
integrity sha512-p8Tvy95IunOvO0PVSb/rqxUqVXRS+G9aLSkDU56eGNTJ4lEdPbnXd+LCUUb3Ntl5t0L0Llndja6cQqjovC1qaQ==
dependencies:
flow-parser "^0.209.0"
pirates "^3.0.2"
vlq "^0.2.1"

Expand Down