diff --git a/desktop/.flowconfig b/desktop/.flowconfig --- a/desktop/.flowconfig +++ b/desktop/.flowconfig @@ -5,6 +5,7 @@ ../lib/flow-typed [options] +enums=true exact_by_default=true format.bracket_spacing=false diff --git a/desktop/package.json b/desktop/package.json --- a/desktop/package.json +++ b/desktop/package.json @@ -41,7 +41,7 @@ "@electron-forge/maker-squirrel": "^6.0.4", "@electron-forge/plugin-base": "^6.0.4", "electron": "^25.8.4", - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "lib": "0.0.1", "fs-extra": "^10.1.0", diff --git a/keyserver/.flowconfig b/keyserver/.flowconfig --- a/keyserver/.flowconfig +++ b/keyserver/.flowconfig @@ -14,6 +14,8 @@ ../web/flow-typed [options] +enums=true + module.file_ext=.js module.file_ext=.cjs module.file_ext=.json diff --git a/keyserver/package.json b/keyserver/package.json --- a/keyserver/package.json +++ b/keyserver/package.json @@ -38,7 +38,7 @@ "babel-plugin-transform-import-meta": "2.2.0", "chokidar-cli": "^2.1.0", "concurrently": "^5.3.0", - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "internal-ip": "4.3.0", "jest": "^26.6.3", diff --git a/landing/.flowconfig b/landing/.flowconfig --- a/landing/.flowconfig +++ b/landing/.flowconfig @@ -7,6 +7,7 @@ [options] module.name_mapper.extension='css' -> '/flow/CSSModule.js.flow' +enums=true exact_by_default=true format.bracket_spacing=false diff --git a/landing/package.json b/landing/package.json --- a/landing/package.json +++ b/landing/package.json @@ -22,7 +22,7 @@ "@babel/preset-react": "^7.13.13", "babel-plugin-transform-remove-console": "^6.9.4", "concurrently": "^5.3.0", - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.11.1", diff --git a/lib/.flowconfig b/lib/.flowconfig --- a/lib/.flowconfig +++ b/lib/.flowconfig @@ -5,6 +5,8 @@ [libs] [options] +enums=true + exact_by_default=true format.bracket_spacing=false diff --git a/lib/package.json b/lib/package.json --- a/lib/package.json +++ b/lib/package.json @@ -25,7 +25,7 @@ "clean-webpack-plugin": "^4.0.0", "css-loader": "^6.7.3", "css-minimizer-webpack-plugin": "^4.2.2", - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "mini-css-extract-plugin": "^2.7.2", "react-refresh": "^0.14.0", diff --git a/native/.flowconfig b/native/.flowconfig --- a/native/.flowconfig +++ b/native/.flowconfig @@ -32,8 +32,8 @@ ../lib/flow-typed/ [options] +enums=true emoji=true - exact_by_default=true format.bracket_spacing=false @@ -73,4 +73,4 @@ untyped-type-import [version] -^0.182.0 +^0.202.0 diff --git a/native/package.json b/native/package.json --- a/native/package.json +++ b/native/package.json @@ -33,7 +33,7 @@ "babel-jest": "^26.6.3", "babel-plugin-transform-remove-console": "^6.9.4", "babel-plugin-transform-remove-strict-mode": "0.0.2", - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "fs-extra": "^8.1.0", "googleapis": "^89.0.0", diff --git a/services/electron-update-server/.flowconfig b/services/electron-update-server/.flowconfig --- a/services/electron-update-server/.flowconfig +++ b/services/electron-update-server/.flowconfig @@ -1,4 +1,5 @@ [options] +enums=true exact_by_default=true format.bracket_spacing=false diff --git a/services/electron-update-server/package.json b/services/electron-update-server/package.json --- a/services/electron-update-server/package.json +++ b/services/electron-update-server/package.json @@ -15,7 +15,7 @@ "hazel-server": "^5.1.1" }, "devDependencies": { - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "nodemon": "^2.0.4" }, diff --git a/web/.flowconfig b/web/.flowconfig --- a/web/.flowconfig +++ b/web/.flowconfig @@ -10,6 +10,7 @@ [options] module.name_mapper.extension='css' -> '/flow/CSSModule.js.flow' +enums=true exact_by_default=true format.bracket_spacing=false diff --git a/web/package.json b/web/package.json --- a/web/package.json +++ b/web/package.json @@ -28,7 +28,7 @@ "babel-plugin-transform-remove-console": "^6.9.4", "concurrently": "^5.3.0", "copy-webpack-plugin": "^11.0.0", - "flow-bin": "^0.182.0", + "flow-bin": "^0.202.1", "flow-typed": "^3.2.1", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", diff --git a/yarn.lock b/yarn.lock --- a/yarn.lock +++ b/yarn.lock @@ -13242,10 +13242,10 @@ debug "^4.1.1" fs-extra "^7.0.0" -flow-bin@^0.182.0: - version "0.182.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.182.0.tgz#1dacbd72465743670412ada015d3182deda6f966" - integrity sha512-Ux90c2sMfoV/VVjOEFT2OHFJFnyfoIbTK/5AKAMnU4Skfru1G+FyS5YLu3XxQl0R6mpA9+rrFlPfYZq/5B+J3w== +flow-bin@^0.202.1: + version "0.202.1" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.202.1.tgz#3ae3c7449e4ff4a3510b0bbdc55fba44b1c41b8b" + integrity sha512-bXMnyu+ktp3j0Ryl2YHu7hR/VoCt8/+naXksMBWUIUpyKVCri8eFBpb0IE2y5u3hcSRVCsZYNPAYgFJ250hMhg== flow-enums-runtime@^0.0.5: version "0.0.5"