Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Disable flow temporarily for failing 0.85 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored and fusion-bot[bot] committed Nov 7, 2018
1 parent 1bcb28f commit 9350598
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 65 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"prepublish": "npm run transpile"
},
"dependencies": {
"koa": "^2.5.3",
"koa": "^2.6.1",
"koa-compose": "^4.1.0",
"node-mocks-http": "^1.7.2",
"toposort": "^2.0.1",
"ua-parser-js": "^0.7.18",
"node-mocks-http": "^1.7.3",
"toposort": "^2.0.2",
"ua-parser-js": "^0.7.19",
"uuid": "^3.3.2"
},
"peerDependencies": {
Expand All @@ -49,17 +49,17 @@
"babel-eslint": "^10.0.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"create-universal-package": "^3.4.6",
"eslint": "^5.6.1",
"eslint": "^5.8.0",
"eslint-config-fusion": "^4.0.0",
"eslint-plugin-cup": "^2.0.0",
"eslint-plugin-flowtype": "^3.0.0",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.24.1",
"eslint-plugin-jest": "^21.27.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.83.0",
"node-fetch": "^2.2.0",
"nyc": "^13.0.1",
"flow-bin": "^0.85.0",
"node-fetch": "^2.2.1",
"nyc": "^13.1.0",
"prettier": "1.14.3",
"tape-cup": "^4.7.1",
"unitest": "^2.1.1"
Expand Down
1 change: 1 addition & 0 deletions src/plugins/ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import type {
} from '../types.js';

const botRegex = /(bot|crawler|spider)/i;
// $FlowFixMe - Update type for flow 0.85
const SSRDecider = createPlugin({
provides: () => {
return ctx => {
Expand Down
1 change: 1 addition & 0 deletions src/plugins/timing.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ function middleware(ctx, next) {
});
}

// $FlowFixMe - Update type for flow 0.85
export default createPlugin({
provides: () => timing,
middleware: () => middleware,
Expand Down
3 changes: 3 additions & 0 deletions src/tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
import {createToken} from './create-token';
import type {SSRDecider, SSRBodyTemplate, Token, Context} from './types.js';

// $FlowFixMe - Update type for flow 0.85
export const RenderToken = createToken('RenderToken');
// $FlowFixMe - Update type for flow 0.85
export const ElementToken = createToken('ElementToken');
export const SSRDeciderToken: Token<SSRDecider> = createToken(
'SSRDeciderToken'
);
// $FlowFixMe - Update type for flow 0.85
export const HttpServerToken = createToken('HttpServerToken');
export const SSRBodyTemplateToken: Token<SSRBodyTemplate> = createToken(
'SSRBodyTemplateToken'
Expand Down
120 changes: 65 additions & 55 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
"@babel/types" "7.0.0-beta.55"
lodash "^4.17.10"

"@babel/template@^7.1.0", "@babel/template@^7.1.2":
"@babel/template@^7.0.0", "@babel/template@^7.1.0", "@babel/template@^7.1.2":
version "7.1.2"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.1.2.tgz#090484a574fef5a2d2d7726a674eceda5c5b5644"
dependencies:
Expand Down Expand Up @@ -818,11 +818,11 @@ acorn@^4.0.3:
version "4.0.13"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"

ajv-keywords@^3.0.0, ajv-keywords@^3.1.0:
ajv-keywords@^3.1.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a"

ajv@^6.0.1, ajv@^6.1.0, ajv@^6.5.3:
ajv@^6.1.0, ajv@^6.5.3:
version "6.5.4"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.4.tgz#247d5274110db653706b550fcc2b797ca28cfc59"
dependencies:
Expand Down Expand Up @@ -1441,7 +1441,7 @@ content-type@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"

convert-source-map@^1.1.0, convert-source-map@^1.5.1:
convert-source-map@^1.1.0, convert-source-map@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
dependencies:
Expand Down Expand Up @@ -1916,9 +1916,9 @@ eslint-plugin-cup@^2.0.0:
dependencies:
globals "^11.5.0"

eslint-plugin-flowtype@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-3.0.0.tgz#4b72588d8a5a5c836439752fe52e8e0f4b9954df"
eslint-plugin-flowtype@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-3.2.0.tgz#824364ed5940a404b91326fdb5a313a2a74760df"
dependencies:
lodash "^4.17.10"

Expand All @@ -1937,9 +1937,9 @@ eslint-plugin-import@^2.14.0:
read-pkg-up "^2.0.0"
resolve "^1.6.0"

eslint-plugin-jest@^21.24.1:
version "21.24.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.24.1.tgz#aaf3c34e816f07add83d1e9c20696fdc31fac8dc"
eslint-plugin-jest@^21.27.2:
version "21.27.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.27.2.tgz#2a795b7c3b5e707df48a953d651042bd01d7b0a8"

eslint-plugin-prettier@^3.0.0:
version "3.0.0"
Expand Down Expand Up @@ -1979,9 +1979,9 @@ eslint-visitor-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"

eslint@^5.6.1:
version "5.6.1"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.6.1.tgz#348134e32ccc09abb2df1bf282b3f6eed8c7b480"
eslint@^5.8.0:
version "5.8.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.8.0.tgz#91fbf24f6e0471e8fdf681a4d9dd1b2c9f28309b"
dependencies:
"@babel/code-frame" "^7.0.0"
ajv "^6.5.3"
Expand Down Expand Up @@ -2014,12 +2014,12 @@ eslint@^5.6.1:
path-is-inside "^1.0.2"
pluralize "^7.0.0"
progress "^2.0.0"
regexpp "^2.0.0"
regexpp "^2.0.1"
require-uncached "^1.0.3"
semver "^5.5.1"
strip-ansi "^4.0.0"
strip-json-comments "^2.0.1"
table "^4.0.3"
table "^5.0.2"
text-table "^0.2.0"

espree@^4.0.0:
Expand Down Expand Up @@ -2252,9 +2252,9 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"

flow-bin@^0.83.0:
version "0.83.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.83.0.tgz#fd26f5f95758d7701264b3f9a1e1a3d4cbcab1a9"
flow-bin@^0.85.0:
version "0.85.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.85.0.tgz#a3ca80748a35a071d5bbb2fcd61d64d977fc53a6"

for-each@~0.3.3:
version "0.3.3"
Expand Down Expand Up @@ -2371,7 +2371,7 @@ glob-parent@^3.0.1, glob-parent@^3.1.0:
is-glob "^3.1.0"
path-dirname "^1.0.0"

glob@^7.0.3, glob@^7.0.5, glob@^7.1.2, glob@~7.1.2:
glob@^7.0.3, glob@^7.0.5, glob@^7.1.2, glob@^7.1.3, glob@~7.1.2:
version "7.1.3"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
dependencies:
Expand Down Expand Up @@ -2878,7 +2878,7 @@ istanbul-lib-hook@^2.0.1:
dependencies:
append-transform "^1.0.0"

istanbul-lib-instrument@^2.2.0, istanbul-lib-instrument@^2.3.2:
istanbul-lib-instrument@^2.2.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-2.3.2.tgz#b287cbae2b5f65f3567b05e2e29b275eaf92d25e"
dependencies:
Expand All @@ -2890,9 +2890,21 @@ istanbul-lib-instrument@^2.2.0, istanbul-lib-instrument@^2.3.2:
istanbul-lib-coverage "^2.0.1"
semver "^5.5.0"

istanbul-lib-report@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-2.0.1.tgz#64a0a08f42676b9c801b841b9dc3311017c6ae09"
istanbul-lib-instrument@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-3.0.0.tgz#b5f066b2a161f75788be17a9d556f40a0cf2afc9"
dependencies:
"@babel/generator" "^7.0.0"
"@babel/parser" "^7.0.0"
"@babel/template" "^7.0.0"
"@babel/traverse" "^7.0.0"
"@babel/types" "^7.0.0"
istanbul-lib-coverage "^2.0.1"
semver "^5.5.0"

istanbul-lib-report@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-2.0.2.tgz#430a2598519113e1da7af274ba861bd42dd97535"
dependencies:
istanbul-lib-coverage "^2.0.1"
make-dir "^1.3.0"
Expand All @@ -2908,9 +2920,9 @@ istanbul-lib-source-maps@^2.0.1:
rimraf "^2.6.2"
source-map "^0.6.1"

istanbul-reports@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.0.0.tgz#eb12eddf55724ebc557b32cd77c34d11ed7980c1"
istanbul-reports@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.0.1.tgz#fb8d6ea850701a3984350b977a969e9a556116a7"
dependencies:
handlebars "^4.0.11"

Expand Down Expand Up @@ -3014,9 +3026,9 @@ koa-is-json@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/koa-is-json/-/koa-is-json-1.0.0.tgz#273c07edcdcb8df6a2c1ab7d59ee76491451ec14"

koa@^2.5.3:
version "2.5.3"
resolved "https://registry.yarnpkg.com/koa/-/koa-2.5.3.tgz#0b0c37eee3aac807a0a6ad36bc0b8660f12d83f1"
koa@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/koa/-/koa-2.6.1.tgz#88cabb18cd297e0577a37e40f400c4b6f1699fef"
dependencies:
accepts "^1.3.5"
cache-content-type "^1.0.0"
Expand Down Expand Up @@ -3443,9 +3455,9 @@ nice-try@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"

node-fetch@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.2.0.tgz#4ee79bde909262f9775f731e3656d0db55ced5b5"
node-fetch@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.2.1.tgz#1fe551e0ded6c45b3b3b937d0fb46f76df718d1e"

node-libs-browser@^2.0.0:
version "2.1.0"
Expand Down Expand Up @@ -3475,9 +3487,9 @@ node-libs-browser@^2.0.0:
util "^0.10.3"
vm-browserify "0.0.4"

node-mocks-http@^1.7.2:
version "1.7.2"
resolved "https://registry.yarnpkg.com/node-mocks-http/-/node-mocks-http-1.7.2.tgz#d4a22e61c29a1e8a0345f55f61e4b0ff94afc40b"
node-mocks-http@^1.7.3:
version "1.7.3"
resolved "https://registry.yarnpkg.com/node-mocks-http/-/node-mocks-http-1.7.3.tgz#1c744189f012c1977f4d97443495931a7cd5b4d3"
dependencies:
accepts "^1.3.5"
depd "^1.1.0"
Expand Down Expand Up @@ -3574,25 +3586,25 @@ number-is-nan@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"

nyc@^13.0.1:
version "13.0.1"
resolved "https://registry.yarnpkg.com/nyc/-/nyc-13.0.1.tgz#b61857ed633c803353fc41eeca775d0e1f62034b"
nyc@^13.1.0:
version "13.1.0"
resolved "https://registry.yarnpkg.com/nyc/-/nyc-13.1.0.tgz#463665c7ff6b5798e322624a5eb449a678db90e3"
dependencies:
archy "^1.0.0"
arrify "^1.0.1"
caching-transform "^2.0.0"
convert-source-map "^1.5.1"
convert-source-map "^1.6.0"
debug-log "^1.0.1"
find-cache-dir "^2.0.0"
find-up "^3.0.0"
foreground-child "^1.5.6"
glob "^7.1.2"
glob "^7.1.3"
istanbul-lib-coverage "^2.0.1"
istanbul-lib-hook "^2.0.1"
istanbul-lib-instrument "^2.3.2"
istanbul-lib-report "^2.0.1"
istanbul-lib-instrument "^3.0.0"
istanbul-lib-report "^2.0.2"
istanbul-lib-source-maps "^2.0.1"
istanbul-reports "^2.0.0"
istanbul-reports "^2.0.1"
make-dir "^1.3.0"
merge-source-map "^1.1.0"
resolve-from "^4.0.0"
Expand Down Expand Up @@ -4095,7 +4107,7 @@ regex-not@^1.0.0, regex-not@^1.0.2:
extend-shallow "^3.0.2"
safe-regex "^1.1.0"

regexpp@^2.0.0:
regexpp@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f"

Expand Down Expand Up @@ -4533,14 +4545,12 @@ supports-color@^5.3.0, supports-color@^5.4.0:
dependencies:
has-flag "^3.0.0"

table@^4.0.3:
version "4.0.3"
resolved "http://registry.npmjs.org/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc"
table@^5.0.2:
version "5.1.0"
resolved "https://registry.yarnpkg.com/table/-/table-5.1.0.tgz#69a54644f6f01ad1628f8178715b408dc6bf11f7"
dependencies:
ajv "^6.0.1"
ajv-keywords "^3.0.0"
chalk "^2.1.0"
lodash "^4.17.4"
ajv "^6.5.3"
lodash "^4.17.10"
slice-ansi "1.0.0"
string-width "^2.1.1"

Expand Down Expand Up @@ -4670,7 +4680,7 @@ toidentifier@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"

toposort@^2.0.1:
toposort@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330"

Expand Down Expand Up @@ -4699,9 +4709,9 @@ type-is@^1.6.16:
media-typer "0.3.0"
mime-types "~2.1.18"

ua-parser-js@^0.7.18:
version "0.7.18"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed"
ua-parser-js@^0.7.19:
version "0.7.19"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.19.tgz#94151be4c0a7fb1d001af7022fdaca4642659e4b"

uglify-js@^2.8.29:
version "2.8.29"
Expand Down

0 comments on commit 9350598

Please sign in to comment.