Upgrade to flow 0.20.0

This commit is contained in:
Marshall Roch 2015-12-17 12:46:23 -08:00
parent c0e322d74a
commit 8b55f4dfc2
11 changed files with 17 additions and 3 deletions

View File

@ -12,4 +12,4 @@ strip_root=true
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
[version] [version]
0.18.1 0.20.0

View File

@ -14,7 +14,7 @@
"derequire": "^2.0.2", "derequire": "^2.0.2",
"es5-shim": "^4.1.7", "es5-shim": "^4.1.7",
"eslint": "1.8.0", "eslint": "1.8.0",
"flow-bin": "^0.18.1", "flow-bin": "^0.20.0",
"fs-readdir-recursive": "^0.1.2", "fs-readdir-recursive": "^0.1.2",
"gulp": "^3.9.0", "gulp": "^3.9.0",
"gulp-babel": "^5.3.0", "gulp-babel": "^5.3.0",

View File

@ -1,3 +1,5 @@
/* @noflow */
import * as t from "babel-types"; import * as t from "babel-types";
/** /**

View File

@ -1,3 +1,4 @@
/* @noflow */
/* global BabelParserOptions */ /* global BabelParserOptions */
/* global BabelFileMetadata */ /* global BabelFileMetadata */
/* global BabelFileResult */ /* global BabelFileResult */

View File

@ -1,4 +1,4 @@
/* @flow */ /* @noflow */
import normalizeAst from "../helpers/normalize-ast"; import normalizeAst from "../helpers/normalize-ast";
import File from "./file"; import File from "./file";

View File

@ -1,3 +1,5 @@
/* @noflow */
import OptionManager from "./file/options/option-manager" import OptionManager from "./file/options/option-manager"
import * as messages from "babel-messages"; import * as messages from "babel-messages";
import Store from "../store"; import Store from "../store";

View File

@ -1,3 +1,5 @@
/* @noflow */
import escapeRegExp from "lodash/string/escapeRegExp"; import escapeRegExp from "lodash/string/escapeRegExp";
import startsWith from "lodash/string/startsWith"; import startsWith from "lodash/string/startsWith";
import isBoolean from "lodash/lang/isBoolean"; import isBoolean from "lodash/lang/isBoolean";

View File

@ -1,3 +1,5 @@
/* @noflow */
import whitespace from "./whitespace"; import whitespace from "./whitespace";
import * as parens from "./parentheses"; import * as parens from "./parentheses";
import each from "lodash/collection/each"; import each from "lodash/collection/each";

View File

@ -1,3 +1,4 @@
/* @noflow */
import * as t from "../index"; import * as t from "../index";
export let VISITOR_KEYS = {}; export let VISITOR_KEYS = {};

View File

@ -1,3 +1,5 @@
/* @noflow */
import toFastProperties from "to-fast-properties"; import toFastProperties from "to-fast-properties";
import compact from "lodash/array/compact"; import compact from "lodash/array/compact";
import loClone from "lodash/lang/clone"; import loClone from "lodash/lang/clone";

View File

@ -1,3 +1,5 @@
/* @noflow */
import { reservedWords } from "../util/identifier"; import { reservedWords } from "../util/identifier";
import { getOptions } from "../options"; import { getOptions } from "../options";
import Tokenizer from "../tokenizer"; import Tokenizer from "../tokenizer";