Skip to content

Commit 6fd988a

Browse files
Merge branch 'next' into feature/serve-app-under-homepage
* next: Fix typos in example monorepo documentation. (facebook#4164) Minor fixes to CI (facebook#4193) Change no-unused-vars 'args' from none to all to show warning on destructured objects Bump babel-related deps (facebook#4159) Remove ref to non free resource (facebook#4160)
2 parents 23ed094 + e8b0d89 commit 6fd988a

File tree

15 files changed

+49
-44
lines changed

15 files changed

+49
-44
lines changed

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

Lines changed: 1 addition & 1 deletion
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.41"
15+
"@babel/core": "7.0.0-beta.42"
1616
}
1717
}

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ module.exports = function(api, opts) {
7676
// Adds component stack to warning messages
7777
// Adds __self attribute to JSX which React will use for some warnings
7878
development: isEnvDevelopment || isEnvTest,
79+
// Will use the native built-in instead of trying to polyfill
80+
// behavior for any plugins that require one.
81+
useBuiltIns: true,
7982
},
8083
],
8184
isFlowEnabled && [require('@babel/preset-flow').default],
@@ -99,13 +102,6 @@ module.exports = function(api, opts) {
99102
useBuiltIns: true,
100103
},
101104
],
102-
// Transforms JSX
103-
[
104-
require('@babel/plugin-transform-react-jsx').default,
105-
{
106-
useBuiltIns: true,
107-
},
108-
],
109105
// Polyfills the runtime needed for async/await and generators
110106
[
111107
require('@babel/plugin-transform-runtime').default,

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
"dependencies.js"
1313
],
1414
"dependencies": {
15-
"@babel/core": "7.0.0-beta.41",
16-
"@babel/plugin-proposal-class-properties": "7.0.0-beta.41",
17-
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.41",
18-
"@babel/plugin-transform-classes": "7.0.0-beta.41",
19-
"@babel/plugin-transform-destructuring": "7.0.0-beta.41",
20-
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.41",
21-
"@babel/plugin-transform-react-display-name": "7.0.0-beta.41",
22-
"@babel/plugin-transform-react-jsx": "7.0.0-beta.41",
23-
"@babel/plugin-transform-regenerator": "7.0.0-beta.41",
24-
"@babel/plugin-transform-runtime": "7.0.0-beta.41",
25-
"@babel/preset-env": "7.0.0-beta.41",
26-
"@babel/preset-flow": "7.0.0-beta.41",
27-
"@babel/preset-react": "7.0.0-beta.41",
15+
"@babel/core": "7.0.0-beta.42",
16+
"@babel/plugin-proposal-class-properties": "7.0.0-beta.42",
17+
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.42",
18+
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.42",
19+
"@babel/plugin-transform-classes": "7.0.0-beta.42",
20+
"@babel/plugin-transform-destructuring": "7.0.0-beta.42",
21+
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.42",
22+
"@babel/plugin-transform-react-display-name": "7.0.0-beta.42",
23+
"@babel/plugin-transform-regenerator": "7.0.0-beta.42",
24+
"@babel/plugin-transform-runtime": "7.0.0-beta.42",
25+
"@babel/preset-env": "7.0.0-beta.42",
26+
"@babel/preset-flow": "7.0.0-beta.42",
27+
"@babel/preset-react": "7.0.0-beta.42",
2828
"babel-plugin-macros": "2.0.0",
2929
"babel-plugin-transform-dynamic-import": "2.0.0",
3030
"babel-plugin-transform-react-remove-prop-types": "0.4.12"

packages/eslint-config-react-app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ module.exports = {
131131
'no-unused-vars': [
132132
'warn',
133133
{
134-
args: 'none',
134+
args: 'all',
135135
ignoreRestSiblings: true,
136136
},
137137
],

packages/eslint-config-react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"index.js"
1212
],
1313
"peerDependencies": {
14-
"babel-eslint": "^8.0.2",
14+
"babel-eslint": "^8.2.2",
1515
"eslint": "^4.1.1",
1616
"eslint-plugin-flowtype": "^2.34.1",
1717
"eslint-plugin-import": "^2.6.0",

packages/react-dev-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"workspaceUtils.js"
3939
],
4040
"dependencies": {
41-
"@babel/code-frame": "7.0.0-beta.41",
41+
"@babel/code-frame": "7.0.0-beta.42",
4242
"address": "1.0.3",
4343
"browserslist": "2.11.3",
4444
"chalk": "2.3.0",

packages/react-error-overlay/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"lib/index.js"
3131
],
3232
"devDependencies": {
33-
"@babel/code-frame": "7.0.0-beta.41",
34-
"@babel/core": "7.0.0-beta.41",
35-
"@babel/runtime": "7.0.0-beta.41",
33+
"@babel/code-frame": "7.0.0-beta.42",
34+
"@babel/core": "7.0.0-beta.42",
35+
"@babel/runtime": "7.0.0-beta.42",
3636
"anser": "1.4.6",
3737
"babel-core": "^7.0.0-bridge.0",
38-
"babel-eslint": "^8.0.2",
38+
"babel-eslint": "^8.2.2",
3939
"babel-jest": "^22.1.0",
4040
"babel-loader": "^8.0.0-beta.0",
4141
"babel-preset-react-app": "^3.1.1",

packages/react-error-overlay/src/effects/proxyConsole.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const registerReactStack = () => {
2828
// $FlowFixMe
2929
console.reactStack = frames => reactFrameStack.push(frames);
3030
// $FlowFixMe
31-
console.reactStackEnd = frames => reactFrameStack.pop();
31+
console.reactStackEnd = () => reactFrameStack.pop();
3232
}
3333
};
3434

packages/react-error-overlay/src/utils/getStackFrames.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { unmap } from './unmapper';
1313

1414
function getStackFrames(
1515
error: Error,
16-
unhandledRejection: boolean = false,
16+
unhandledRejection: boolean = false, // eslint-disable-line
1717
contextSize: number = 3
1818
): Promise<StackFrame[] | null> {
1919
const parsedFrames = parse(error);

packages/react-scripts/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"react-scripts": "./bin/react-scripts.js"
2222
},
2323
"dependencies": {
24-
"@babel/core": "7.0.0-beta.41",
25-
"@babel/runtime": "7.0.0-beta.41",
24+
"@babel/core": "7.0.0-beta.42",
25+
"@babel/runtime": "7.0.0-beta.42",
2626
"autoprefixer": "7.2.5",
2727
"babel-core": "7.0.0-bridge.0",
28-
"babel-eslint": "8.2.1",
28+
"babel-eslint": "8.2.2",
2929
"babel-jest": "22.1.0",
3030
"babel-loader": "8.0.0-beta.0",
3131
"babel-plugin-named-asset-import": "^0.1.0",

0 commit comments

Comments
 (0)