Skip to content

Commit cd3cec1

Browse files
committed
Bump Flow to 0.146.0
1 parent 5488969 commit cd3cec1

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"eslint-plugin-react": "7.20.6",
8282
"eslint-plugin-react-hooks": "4.1.2",
8383
"file-url": "2.0.2",
84-
"flow-bin": "0.145.0",
84+
"flow-bin": "0.146.0",
8585
"gettext-parser": "3.1.0",
8686
"http-proxy": "1.18.1",
8787
"jsdom": "13.2.0",

root/static/scripts/common/components/Autocomplete2/formatters.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,13 @@ function formatReleaseEvent(event: ReleaseEventT) {
280280
}
281281

282282
function formatRelease(release: ReleaseT) {
283+
const releaseLabels = release.labels;
283284
const releaseLabelDisplay = [];
284285

285-
if (release.labels) {
286+
if (releaseLabels) {
286287
const catNosByLabel = new Map<string, Array<string>>();
287288

288-
for (const releaseLabel of release.labels) {
289+
for (const releaseLabel of releaseLabels) {
289290
const labelName = releaseLabel.label ? releaseLabel.label.name : '';
290291

291292
let catNos = catNosByLabel.get(labelName);

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3265,10 +3265,10 @@ flatted@^2.0.0:
32653265
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
32663266
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
32673267

3268-
flow-bin@0.145.0:
3269-
version "0.145.0"
3270-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.145.0.tgz#922f7c3568caaa5eb64621ec536deb56b24d1795"
3271-
integrity sha512-+9fi9BMxRBtSWC1x0hWggWTb8Vih+AC7wyvLAX5wR1m6u2lF2HLtixXqy2GX8bWgaynSEJR5lmPxYYC4wMI8cA==
3268+
flow-bin@0.146.0:
3269+
version "0.146.0"
3270+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.146.0.tgz#fafa002663a0e13bf3c08c3972dd93d68289ccc6"
3271+
integrity sha512-TP8eCwltqc7fo6ad5klgsrZ2veZIK2qM1vHf1A/cnXTStPh8hLAz1cOXmlQIFZR/7fjSMI39TS3CgF6M/HUhAw==
32723272

32733273
flush-write-stream@^1.0.0:
32743274
version "1.1.1"

0 commit comments

Comments
 (0)