Skip to content

Commit

Permalink
chore: update to latest release of babel (#17897)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored and trueadm committed Jan 24, 2020
1 parent 3b3decf commit 3c713d5
Show file tree
Hide file tree
Showing 4 changed files with 761 additions and 739 deletions.
58 changes: 29 additions & 29 deletions package.json
Expand Up @@ -4,35 +4,35 @@
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/code-frame": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/helper-module-imports": "^7.0.0",
"@babel/parser": "^7.0.0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.0.0",
"@babel/plugin-transform-block-scoped-functions": "^7.0.0",
"@babel/plugin-transform-block-scoping": "^7.0.0",
"@babel/plugin-transform-classes": "^7.0.0",
"@babel/plugin-transform-computed-properties": "^7.0.0",
"@babel/plugin-transform-destructuring": "^7.0.0",
"@babel/plugin-transform-for-of": "^7.0.0",
"@babel/plugin-transform-literals": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-object-super": "^7.0.0",
"@babel/plugin-transform-parameters": "^7.0.0",
"@babel/plugin-transform-react-jsx-source": "^7.0.0",
"@babel/plugin-transform-shorthand-properties": "^7.0.0",
"@babel/plugin-transform-spread": "^7.0.0",
"@babel/plugin-transform-template-literals": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/traverse": "^7.0.0",
"@babel/cli": "^7.8.0",
"@babel/code-frame": "^7.8.0",
"@babel/core": "^7.8.0",
"@babel/helper-module-imports": "^7.8.0",
"@babel/parser": "^7.8.0",
"@babel/plugin-external-helpers": "^7.8.0",
"@babel/plugin-proposal-class-properties": "^7.8.0",
"@babel/plugin-proposal-object-rest-spread": "^7.8.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
"@babel/plugin-syntax-jsx": "^7.8.0",
"@babel/plugin-transform-arrow-functions": "^7.8.0",
"@babel/plugin-transform-async-to-generator": "^7.8.0",
"@babel/plugin-transform-block-scoped-functions": "^7.8.0",
"@babel/plugin-transform-block-scoping": "^7.8.0",
"@babel/plugin-transform-classes": "^7.8.0",
"@babel/plugin-transform-computed-properties": "^7.8.0",
"@babel/plugin-transform-destructuring": "^7.8.0",
"@babel/plugin-transform-for-of": "^7.8.0",
"@babel/plugin-transform-literals": "^7.8.0",
"@babel/plugin-transform-modules-commonjs": "^7.8.0",
"@babel/plugin-transform-object-super": "^7.8.0",
"@babel/plugin-transform-parameters": "^7.8.0",
"@babel/plugin-transform-react-jsx-source": "^7.8.0",
"@babel/plugin-transform-shorthand-properties": "^7.8.0",
"@babel/plugin-transform-spread": "^7.8.0",
"@babel/plugin-transform-template-literals": "^7.8.0",
"@babel/preset-flow": "^7.8.0",
"@babel/preset-react": "^7.8.0",
"@babel/traverse": "^7.8.0",
"@mattiasbuelens/web-streams-polyfill": "0.1.0",
"art": "^0.10.1",
"babel-eslint": "^10.0.3",
Expand Down
Expand Up @@ -201,11 +201,11 @@ describe('transform react to jsx', () => {
}
expect(_error).toEqual(
new SyntaxError(
'undefined: Spread children are not supported in React.' +
'unknown: Spread children are not supported in React.' +
'\n' +
codeFrame.codeFrameColumns(
code,
{start: {line: 1, column: 6}},
{start: {line: 1, column: 6}, end: {line: 1, column: 19}},
{highlightCode: true}
)
)
Expand Down Expand Up @@ -355,13 +355,13 @@ describe('transform react to jsx', () => {
}
expect(_error).toEqual(
new SyntaxError(
"undefined: Namespace tags are not supported by default. React's " +
"unknown: Namespace tags are not supported by default. React's " +
"JSX doesn't support namespace tags. You can turn on the " +
"'throwIfNamespace' flag to bypass this warning." +
'\n' +
codeFrame.codeFrameColumns(
code,
{start: {line: 1, column: 2}},
{start: {line: 1, column: 2}, end: {line: 1, column: 9}},
{highlightCode: true}
)
)
Expand Down
Expand Up @@ -292,11 +292,11 @@ describe('transform react to jsx', () => {
}
expect(_error).toEqual(
new SyntaxError(
'undefined: Spread children are not supported in React.' +
'unknown: Spread children are not supported in React.' +
'\n' +
codeFrame.codeFrameColumns(
code,
{start: {line: 1, column: 6}},
{start: {line: 1, column: 6}, end: {line: 1, column: 19}},
{highlightCode: true}
)
)
Expand Down Expand Up @@ -446,13 +446,13 @@ describe('transform react to jsx', () => {
}
expect(_error).toEqual(
new SyntaxError(
"undefined: Namespace tags are not supported by default. React's " +
"unknown: Namespace tags are not supported by default. React's " +
"JSX doesn't support namespace tags. You can turn on the " +
"'throwIfNamespace' flag to bypass this warning." +
'\n' +
codeFrame.codeFrameColumns(
code,
{start: {line: 1, column: 2}},
{start: {line: 1, column: 2}, end: {line: 1, column: 9}},
{highlightCode: true}
)
)
Expand Down

0 comments on commit 3c713d5

Please sign in to comment.