From 0bb69268275bb994e5f7a68bc237c4cc358565ad Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 18 Dec 2020 12:23:31 -0600 Subject: [PATCH] Bump flow-bin from 0.133.0 to 0.140.0 (#393) * Bump flow-bin from 0.133.0 to 0.140.0 Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.133.0 to 0.140.0. - [Release notes](https://github.com/flowtype/flow-bin/releases) - [Commits](https://github.com/flowtype/flow-bin/commits) Signed-off-by: dependabot-preview[bot] * Fix cache.js types Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Jeff Yates --- package.json | 2 +- src/cache.js | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 2a347a72..d82a92e2 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "babel-jest": "^26.0.0", "eslint": "^7.0.0", "eslint-plugin-flowtype": "^5.1.0", - "flow-bin": "^0.133.0", + "flow-bin": "^0.140.0", "flow-typed": "^3.1.0", "jest": "^26.0.0", "jest-extended": "^0.11.2", diff --git a/src/cache.js b/src/cache.js index e15afcec..6a5878c6 100644 --- a/src/cache.js +++ b/src/cache.js @@ -1,2 +1,2 @@ // @flow -export default new Map(); +export default (new Map(): Map); diff --git a/yarn.lock b/yarn.lock index f1c4ffac..a5ffafba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2830,10 +2830,10 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.0.tgz#a5d06b4a8b01e3a63771daa5cb7a1903e2e57067" integrity sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA== -flow-bin@^0.133.0: - version "0.133.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.133.0.tgz#2ee44e3f5d0c0256cfe8e99d9a85e9801c281c50" - integrity sha512-01T5g8GdhtJEn+lhAwuv5zkrMStrmkuHrY3Nn9/aS9y6waNmNgimMKlzRpFH66S0F6Ez9EqU9psz5QaRveSJIA== +flow-bin@^0.140.0: + version "0.140.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.140.0.tgz#bf1a2984a0e5604daa0d1e0432138d9897af65bb" + integrity sha512-9P/VciKACXocClhLiDg/p1ntYmgCEEc9QrNOoTqTi2SEdEZDTiAmJLONRJfw4uglPVRZ1p/esWF9KlbZiuxqVw== flow-typed@^3.1.0: version "3.2.1"