Update dependencies (#8364)
This commit is contained in:
parent
0136a26af7
commit
ab8555a867
@ -5,6 +5,7 @@
|
|||||||
.*/codemods/.*/lib
|
.*/codemods/.*/lib
|
||||||
.*/codemods/.*/test
|
.*/codemods/.*/test
|
||||||
.*/node_modules/conventional-changelog-core/
|
.*/node_modules/conventional-changelog-core/
|
||||||
|
.*/node_modules/module-deps/
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
packages/*/src
|
packages/*/src
|
||||||
|
|||||||
30
package.json
30
package.json
@ -10,33 +10,33 @@
|
|||||||
"test": "make test"
|
"test": "make test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "7.0.0-beta.52",
|
"@babel/cli": "7.0.0-rc.1",
|
||||||
"@babel/core": "7.0.0-beta.52",
|
"@babel/core": "7.0.0-rc.1",
|
||||||
"@babel/plugin-transform-runtime": "7.0.0-beta.52",
|
"@babel/plugin-transform-runtime": "7.0.0-rc.1",
|
||||||
"@babel/plugin-proposal-class-properties": "7.0.0-beta.52",
|
"@babel/plugin-proposal-class-properties": "7.0.0-rc.1",
|
||||||
"@babel/plugin-proposal-export-namespace-from": "7.0.0-beta.52",
|
"@babel/plugin-proposal-export-namespace-from": "7.0.0-rc.1",
|
||||||
"@babel/plugin-proposal-numeric-separator": "7.0.0-beta.52",
|
"@babel/plugin-proposal-numeric-separator": "7.0.0-rc.1",
|
||||||
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.52",
|
"@babel/plugin-transform-modules-commonjs": "7.0.0-rc.1",
|
||||||
"@babel/preset-env": "7.0.0-beta.52",
|
"@babel/preset-env": "7.0.0-rc.1",
|
||||||
"@babel/preset-flow": "7.0.0-beta.52",
|
"@babel/preset-flow": "7.0.0-rc.1",
|
||||||
"@babel/register": "7.0.0-beta.52",
|
"@babel/register": "7.0.0-rc.1",
|
||||||
"@babel/runtime": "7.0.0-beta.52",
|
"@babel/runtime": "7.0.0-rc.1",
|
||||||
"babel-core": "^7.0.0-0",
|
"babel-core": "^7.0.0-0",
|
||||||
"babel-eslint": "^8.2.6",
|
"babel-eslint": "^8.2.6",
|
||||||
"babel-jest": "^23.4.0",
|
"babel-jest": "^23.4.0",
|
||||||
"babel-loader": "8.0.0-beta.0",
|
"babel-loader": "8.0.0-beta.4",
|
||||||
"babel-plugin-transform-charcodes": "^0.1.0",
|
"babel-plugin-transform-charcodes": "^0.1.0",
|
||||||
"browserify": "^13.1.1",
|
"browserify": "^16.2.2",
|
||||||
"bundle-collapser": "^1.2.1",
|
"bundle-collapser": "^1.2.1",
|
||||||
"chalk": "^2.3.2",
|
"chalk": "^2.3.2",
|
||||||
"charcodes": "^0.1.0",
|
"charcodes": "^0.1.0",
|
||||||
"derequire": "^2.0.2",
|
"derequire": "^2.0.2",
|
||||||
"enhanced-resolve": "^3.0.0",
|
"enhanced-resolve": "^3.0.0",
|
||||||
"eslint": "^5.1.0",
|
"eslint": "^5.3.0",
|
||||||
"eslint-config-babel": "^7.0.2",
|
"eslint-config-babel": "^7.0.2",
|
||||||
"eslint-plugin-flowtype": "^2.50.0",
|
"eslint-plugin-flowtype": "^2.50.0",
|
||||||
"eslint-plugin-prettier": "^2.6.2",
|
"eslint-plugin-prettier": "^2.6.2",
|
||||||
"flow-bin": "^0.76.0",
|
"flow-bin": "^0.79.0",
|
||||||
"graceful-fs": "^4.1.11",
|
"graceful-fs": "^4.1.11",
|
||||||
"gulp": "^4.0.0",
|
"gulp": "^4.0.0",
|
||||||
"gulp-babel": "^8.0.0-beta.2",
|
"gulp-babel": "^8.0.0-beta.2",
|
||||||
|
|||||||
@ -1539,11 +1539,13 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
|||||||
// export default interface allowed in:
|
// export default interface allowed in:
|
||||||
// https://github.com/Microsoft/TypeScript/pull/16040
|
// https://github.com/Microsoft/TypeScript/pull/16040
|
||||||
if (this.state.value === "interface") {
|
if (this.state.value === "interface") {
|
||||||
return this.tsParseDeclaration(
|
const result = this.tsParseDeclaration(
|
||||||
this.startNode(),
|
this.startNode(),
|
||||||
this.state.value,
|
this.state.value,
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (result) return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.parseExportDefaultExpression();
|
return super.parseExportDefaultExpression();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user