Skip to content

Commit 0bdbe42

Browse files
authored
Upgrade to Babel 7 stable (facebook#5042)
Closes facebook#4932, Closes facebook#4876
1 parent c9e1876 commit 0bdbe42

File tree

6 files changed

+28
-29
lines changed

6 files changed

+28
-29
lines changed

packages/babel-plugin-named-asset-import/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"index.js"
1313
],
1414
"peerDependencies": {
15-
"@babel/core": "7.0.0-beta.46"
15+
"@babel/core": "7.1.0"
1616
}
1717
}

packages/babel-preset-react-app/create.js

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ module.exports = function(api, opts, env) {
115115
require('@babel/plugin-transform-runtime').default,
116116
{
117117
helpers: false,
118-
polyfill: false,
119118
regenerator: true,
120119
},
121120
],

packages/babel-preset-react-app/package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@
1616
"test.js"
1717
],
1818
"dependencies": {
19-
"@babel/core": "7.0.0-beta.46",
20-
"@babel/plugin-proposal-class-properties": "7.0.0-beta.46",
21-
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.46",
22-
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.46",
23-
"@babel/plugin-transform-classes": "7.0.0-beta.46",
24-
"@babel/plugin-transform-destructuring": "7.0.0-beta.46",
25-
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.46",
26-
"@babel/plugin-transform-react-display-name": "7.0.0-beta.46",
27-
"@babel/plugin-transform-regenerator": "7.0.0-beta.46",
28-
"@babel/plugin-transform-runtime": "7.0.0-beta.46",
29-
"@babel/preset-env": "7.0.0-beta.46",
30-
"@babel/preset-flow": "7.0.0-beta.46",
31-
"@babel/preset-react": "7.0.0-beta.46",
32-
"babel-plugin-macros": "2.2.1",
19+
"@babel/core": "7.1.0",
20+
"@babel/plugin-proposal-class-properties": "7.1.0",
21+
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
22+
"@babel/plugin-syntax-dynamic-import": "7.0.0",
23+
"@babel/plugin-transform-classes": "7.1.0",
24+
"@babel/plugin-transform-destructuring": "7.0.0",
25+
"@babel/plugin-transform-react-constant-elements": "7.0.0",
26+
"@babel/plugin-transform-react-display-name": "7.0.0",
27+
"@babel/plugin-transform-regenerator": "7.0.0",
28+
"@babel/plugin-transform-runtime": "7.1.0",
29+
"@babel/preset-env": "7.1.0",
30+
"@babel/preset-flow": "7.0.0",
31+
"@babel/preset-react": "7.0.0",
32+
"babel-plugin-macros": "2.4.1",
3333
"babel-plugin-transform-dynamic-import": "2.0.0",
34-
"babel-plugin-transform-react-remove-prop-types": "0.4.13"
34+
"babel-plugin-transform-react-remove-prop-types": "0.4.15"
3535
}
3636
}

packages/react-dev-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"webpackHotDevClient.js"
3838
],
3939
"dependencies": {
40-
"@babel/code-frame": "7.0.0-beta.46",
40+
"@babel/code-frame": "7.0.0",
4141
"address": "1.0.3",
4242
"browserslist": "3.2.6",
4343
"chalk": "2.4.1",

packages/react-error-overlay/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
"lib/index.js"
3131
],
3232
"devDependencies": {
33-
"@babel/code-frame": "7.0.0-beta.46",
34-
"@babel/core": "7.0.0-beta.46",
35-
"@babel/runtime": "7.0.0-beta.46",
33+
"@babel/code-frame": "7.0.0",
34+
"@babel/core": "7.1.0",
35+
"@babel/runtime": "7.0.0",
3636
"anser": "1.4.6",
37-
"babel-core": "^7.0.0-bridge.0",
38-
"babel-eslint": "^8.2.2",
39-
"babel-jest": "^23.4.2",
40-
"babel-loader": "^8.0.0-beta.0",
37+
"babel-core": "7.0.0-bridge.0",
38+
"babel-eslint": "9.0.0",
39+
"babel-jest": "23.6.0",
40+
"babel-loader": "8.0.2",
4141
"babel-preset-react-app": "^3.1.1",
4242
"chalk": "^2.3.2",
4343
"chokidar": "^2.0.2",

packages/react-scripts/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"react-scripts": "./bin/react-scripts.js"
2222
},
2323
"dependencies": {
24-
"@babel/core": "7.0.0-beta.46",
25-
"@babel/runtime": "7.0.0-beta.46",
24+
"@babel/core": "7.1.0",
25+
"@babel/runtime": "7.0.0",
2626
"autoprefixer": "9.1.5",
2727
"babel-core": "7.0.0-bridge.0",
28-
"babel-eslint": "8.2.3",
28+
"babel-eslint": "9.0.0",
2929
"babel-jest": "23.6.0",
30-
"babel-loader": "8.0.0-beta.4",
30+
"babel-loader": "8.0.2",
3131
"babel-plugin-named-asset-import": "^0.1.0",
3232
"babel-preset-react-app": "^3.1.1",
3333
"bfj": "6.1.1",

0 commit comments

Comments
 (0)