Bump flow@0.108.0 (#10516)
This commit is contained in:
parent
fa5a40c8d5
commit
57ae306457
@ -40,7 +40,7 @@
|
||||
"eslint-plugin-import": "^2.17.2",
|
||||
"eslint-plugin-prettier": "^3.1.0",
|
||||
"fancy-log": "^1.3.3",
|
||||
"flow-bin": "^0.102.0",
|
||||
"flow-bin": "^0.108.0",
|
||||
"graceful-fs": "^4.1.15",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-babel": "^8.0.0",
|
||||
|
||||
@ -62,7 +62,7 @@ export function findSuggestion(options: string[], option: string): string {
|
||||
return validOption;
|
||||
}
|
||||
return suggestion;
|
||||
}, undefined);
|
||||
}, "");
|
||||
}
|
||||
|
||||
export function prettifyVersion(version: string) {
|
||||
|
||||
@ -56,6 +56,8 @@ describe("utils", () => {
|
||||
const options = ["one", "two", "three"];
|
||||
expect(findSuggestion(options, "onr")).toEqual("one");
|
||||
expect(findSuggestion(options, "tree")).toEqual("three");
|
||||
expect(findSuggestion(options, "")).toEqual("one");
|
||||
expect(findSuggestion(options, "xxx")).toEqual("one");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@ -4880,10 +4880,10 @@ flatted@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
|
||||
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
|
||||
|
||||
flow-bin@^0.102.0:
|
||||
version "0.102.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.102.0.tgz#3d5de44bcc26d26585e932b3201988b766f9b380"
|
||||
integrity sha512-mYon6noeLO0Q5SbiWULLQeM1L96iuXnRtYMd47j3bEWXAwUW9EnwNWcn+cZg/jC/Dg4Wj/jnkdTDEuFtbeu1ww==
|
||||
flow-bin@^0.108.0:
|
||||
version "0.108.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.108.0.tgz#6a42c85fd664d23dd937d925851e8e6ab5d71393"
|
||||
integrity sha512-hPEyCP1J8rdhNDfCAA5w7bN6HUNBDcHVg/ABU5JVo0gUFMx+uRewpyEH8LlLBGjVQuIpbaPpaqpoaQhAVyaYww==
|
||||
|
||||
flush-write-stream@^1.0.0, flush-write-stream@^1.0.2:
|
||||
version "1.1.1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user