0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

build: update flow to latest

This commit is contained in:
Juan Picado @jotadeveloper 2018-01-15 23:40:47 +01:00 committed by juanpicado
parent 258e39a762
commit 123625419a
5 changed files with 4236 additions and 314 deletions

View file

@ -17,7 +17,3 @@ node_modules/@verdaccio/types/lib/
[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
unsafe.enable_getters_and_setters=true
[version]
^0.52.0

File diff suppressed because it is too large Load diff

View file

@ -88,7 +88,7 @@
"eslint-plugin-react": "7.5.1",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.6",
"flow-bin": "0.52.0",
"flow-bin": "0.63.1",
"flow-runtime": "0.16.0",
"friendly-errors-webpack-plugin": "1.6.1",
"fs-extra": "4.0.2",

View file

@ -146,7 +146,7 @@ export default class Server implements IServerBridge {
}).send(JSON.stringify(version));
}
putTarballIncomplete(name: string, filename: string, data: any, size: number, cb: Function) {
putTarballIncomplete(name: string, filename: string, data: any, size: number, cb: Function): Promise<*> {
let promise = this.request({
uri: `/${encodeURIComponent(name)}/-/${encodeURIComponent(filename)}/whatever`,
method: 'PUT',

View file

@ -3349,9 +3349,9 @@ flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
flow-bin@0.52.0:
version "0.52.0"
resolved "https://registry.npmjs.org/flow-bin/-/flow-bin-0.52.0.tgz#b6d9abe8bcd1ee5c62df386451a4e2553cadc3a3"
flow-bin@0.63.1:
version "0.63.1"
resolved "https://registry.npmjs.org/flow-bin/-/flow-bin-0.63.1.tgz#ab00067c197169a5fb5b4996c8f6927b06694828"
flow-config-parser@^0.3.0:
version "0.3.0"