Skip to content

Commit

Permalink
Merge pull request #14 from facebook/next
Browse files Browse the repository at this point in the history
Bump babel-related deps (facebook#4159)
  • Loading branch information
tvalentius authored Mar 20, 2018
2 parents 78dc990 + cb3f835 commit 7f6c37b
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 30 deletions.
2 changes: 1 addition & 1 deletion packages/babel-plugin-named-asset-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"index.js"
],
"peerDependencies": {
"@babel/core": "7.0.0-beta.38"
"@babel/core": "7.0.0-beta.42"
}
}
10 changes: 3 additions & 7 deletions packages/babel-preset-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ module.exports = function(api, opts) {
// Adds component stack to warning messages
// Adds __self attribute to JSX which React will use for some warnings
development: isEnvDevelopment || isEnvTest,
// Will use the native built-in instead of trying to polyfill
// behavior for any plugins that require one.
useBuiltIns: true,
},
],
isFlowEnabled && [require('@babel/preset-flow').default],
Expand All @@ -99,13 +102,6 @@ module.exports = function(api, opts) {
useBuiltIns: true,
},
],
// Transforms JSX
[
require('@babel/plugin-transform-react-jsx').default,
{
useBuiltIns: true,
},
],
// Polyfills the runtime needed for async/await and generators
[
require('@babel/plugin-transform-runtime').default,
Expand Down
26 changes: 13 additions & 13 deletions packages/babel-preset-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"dependencies.js"
],
"dependencies": {
"@babel/core": "7.0.0-beta.38",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.38",
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.38",
"@babel/plugin-transform-classes": "7.0.0-beta.38",
"@babel/plugin-transform-destructuring": "7.0.0-beta.38",
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.38",
"@babel/plugin-transform-react-display-name": "7.0.0-beta.38",
"@babel/plugin-transform-react-jsx": "7.0.0-beta.38",
"@babel/plugin-transform-regenerator": "7.0.0-beta.38",
"@babel/plugin-transform-runtime": "7.0.0-beta.38",
"@babel/preset-env": "7.0.0-beta.38",
"@babel/preset-flow": "7.0.0-beta.38",
"@babel/preset-react": "7.0.0-beta.38",
"@babel/core": "7.0.0-beta.42",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.42",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.42",
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.42",
"@babel/plugin-transform-classes": "7.0.0-beta.42",
"@babel/plugin-transform-destructuring": "7.0.0-beta.42",
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.42",
"@babel/plugin-transform-react-display-name": "7.0.0-beta.42",
"@babel/plugin-transform-regenerator": "7.0.0-beta.42",
"@babel/plugin-transform-runtime": "7.0.0-beta.42",
"@babel/preset-env": "7.0.0-beta.42",
"@babel/preset-flow": "7.0.0-beta.42",
"@babel/preset-react": "7.0.0-beta.42",
"babel-plugin-macros": "2.0.0",
"babel-plugin-transform-dynamic-import": "2.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.12"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"index.js"
],
"peerDependencies": {
"babel-eslint": "^8.0.2",
"babel-eslint": "^8.2.2",
"eslint": "^4.1.1",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"workspaceUtils.js"
],
"dependencies": {
"@babel/code-frame": "7.0.0-beta.38",
"@babel/code-frame": "7.0.0-beta.42",
"address": "1.0.3",
"browserslist": "2.11.3",
"chalk": "2.3.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"lib/index.js"
],
"devDependencies": {
"@babel/code-frame": "7.0.0-beta.38",
"@babel/core": "7.0.0-beta.38",
"@babel/runtime": "7.0.0-beta.38",
"@babel/code-frame": "7.0.0-beta.42",
"@babel/core": "7.0.0-beta.42",
"@babel/runtime": "7.0.0-beta.42",
"anser": "1.4.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.0.2",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.1.0",
"babel-loader": "^8.0.0-beta.0",
"babel-preset-react-app": "^3.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"react-scripts": "./bin/react-scripts.js"
},
"dependencies": {
"@babel/core": "7.0.0-beta.38",
"@babel/runtime": "7.0.0-beta.38",
"@babel/core": "7.0.0-beta.42",
"@babel/runtime": "7.0.0-beta.42",
"autoprefixer": "7.2.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "8.2.1",
"babel-eslint": "8.2.2",
"babel-jest": "22.1.0",
"babel-loader": "8.0.0-beta.0",
"babel-plugin-named-asset-import": "^0.1.0",
Expand Down

0 comments on commit 7f6c37b

Please sign in to comment.