File tree 6 files changed +34
-24
lines changed
react-server-dom-webpack/src 6 files changed +34
-24
lines changed Original file line number Diff line number Diff line change 65
65
"eslint-plugin-react-internal" : " link:./scripts/eslint-rules" ,
66
66
"fbjs-scripts" : " ^3.0.1" ,
67
67
"filesize" : " ^6.0.1" ,
68
- "flow-bin" : " ^0.206 .0" ,
69
- "flow-remove-types" : " ^2.206 .0" ,
68
+ "flow-bin" : " ^0.209 .0" ,
69
+ "flow-remove-types" : " ^2.209 .0" ,
70
70
"glob" : " ^7.1.6" ,
71
71
"glob-stream" : " ^6.1.0" ,
72
72
"google-closure-compiler" : " ^20230206.0.0" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ const AbortControllerLocal: typeof AbortController = enableCache
22
22
? typeof AbortController !== 'undefined'
23
23
? AbortController
24
24
: // $FlowFixMe[missing-this-annot]
25
- ( function AbortControllerShim ( ) {
25
+ // $FlowFixMe[prop-missing]
26
+ function AbortControllerShim ( ) {
26
27
const listeners = [ ] ;
27
28
const signal = ( this . signal = {
28
29
aborted : false ,
@@ -35,8 +36,9 @@ const AbortControllerLocal: typeof AbortController = enableCache
35
36
signal . aborted = true ;
36
37
listeners . forEach ( listener => listener ( ) ) ;
37
38
} ;
38
- } : AbortController )
39
- : ( null : any ) ;
39
+ }
40
+ : // $FlowFixMe[incompatible-type]
41
+ null ;
40
42
41
43
export type Cache = {
42
44
controller : AbortController ,
Original file line number Diff line number Diff line change @@ -131,7 +131,11 @@ function decodeReplyFromBusboy<T>(
131
131
close ( response ) ;
132
132
} ) ;
133
133
busboyStream . on ( 'error' , err => {
134
- reportGlobalError ( response , err ) ;
134
+ reportGlobalError (
135
+ response ,
136
+ // $FlowFixMe[incompatible-call] types Error and mixed are incompatible
137
+ err ,
138
+ ) ;
135
139
} ) ;
136
140
return getRoot ( response ) ;
137
141
}
Original file line number Diff line number Diff line change @@ -131,7 +131,11 @@ function decodeReplyFromBusboy<T>(
131
131
close ( response ) ;
132
132
} ) ;
133
133
busboyStream . on ( 'error' , err => {
134
- reportGlobalError ( response , err ) ;
134
+ reportGlobalError (
135
+ response ,
136
+ // $FlowFixMe[incompatible-call] types Error and mixed are incompatible
137
+ err ,
138
+ ) ;
135
139
} ) ;
136
140
return getRoot ( response ) ;
137
141
}
Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ munge_underscores=false
36
36
%REACT_RENDERER_FLOW_OPTIONS%
37
37
38
38
[version]
39
- ^0.206 .0
39
+ ^0.209 .0
Original file line number Diff line number Diff line change @@ -8245,22 +8245,22 @@ flatted@^3.1.0:
8245
8245
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
8246
8246
integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
8247
8247
8248
- flow-bin@^0.206 .0:
8249
- version "0.206 .0"
8250
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.206 .0.tgz#a593304be5440a965ae773efcef55071b6d33178 "
8251
- integrity sha512-cZTEs/OEWcbxfvb8BP+Fw0Cep5wrEyEzQHGpXyjVpQXrAraRA5wZUXvTf1C5YHufQaAYY9YkKY5WAr461JvmOA ==
8252
-
8253
- flow-parser@^0.206 .0:
8254
- version "0.206 .0"
8255
- resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.206 .0.tgz#f4f794f8026535278393308e01ea72f31000bfef "
8256
- integrity sha512-HVzoK3r6Vsg+lKvlIZzaWNBVai+FXTX1wdYhz/wVlH13tb/gOdLXmlTqy6odmTBhT5UoWUbq0k8263Qhr9d88w ==
8257
-
8258
- flow-remove-types@^2.206 .0:
8259
- version "2.206 .0"
8260
- resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.206 .0.tgz#d65389bea555e91c2273e441a70d5916cf1feab7 "
8261
- integrity sha512-ARHcZ4NFYI+TOnLDW+yO70t4F+5mlZ4Gj0RWZfFq7FUPeDpGvQKxQh8UPXvKOkIfqghmvGOfcz9Y2mVzfjGtiA ==
8262
- dependencies:
8263
- flow-parser "^0.206 .0"
8248
+ flow-bin@^0.209 .0:
8249
+ version "0.209 .0"
8250
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.209 .0.tgz#616a002b94ef35e1b083add9a6d27dbe387bf4f0 "
8251
+ integrity sha512-HRc6+bKE8AN23SnuKaxdUjcQcjaIp6pksrGJ6pltFO5tIEvZmPrbT99P7Yb3ybqwcKU/Ry8yfJbuW92Ed2V3nw ==
8252
+
8253
+ flow-parser@^0.209 .0:
8254
+ version "0.209 .0"
8255
+ resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.209 .0.tgz#adf4fa1245b2dd9073bbffbdca5c005e83194430 "
8256
+ integrity sha512-uD7Du+9xC/gGnOyk3kANQmtgWWKANWcKGJ84Wu0NSjTaVING3GqUAsywUPAl3fEYKLVVIcDWiaQ8+R6qzghwmA ==
8257
+
8258
+ flow-remove-types@^2.209 .0:
8259
+ version "2.209 .0"
8260
+ resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.209 .0.tgz#32dbb65515f417067ade9f76260e8badd1baa541 "
8261
+ integrity sha512-p8Tvy95IunOvO0PVSb/rqxUqVXRS+G9aLSkDU56eGNTJ4lEdPbnXd+LCUUb3Ntl5t0L0Llndja6cQqjovC1qaQ ==
8262
+ dependencies:
8263
+ flow-parser "^0.209 .0"
8264
8264
pirates "^3.0.2"
8265
8265
vlq "^0.2.1"
8266
8266
You can’t perform that action at this time.
0 commit comments