Skip to content

Commit 1a66971

Browse files
authored
Bump dependencies (#8024)
1 parent 82009f5 commit 1a66971

File tree

11 files changed

+674
-622
lines changed

11 files changed

+674
-622
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
"globby": "^9.1.0",
3232
"husky": "^1.3.1",
3333
"jest": "24.9.0",
34-
"lerna": "3.18.4",
34+
"lerna": "3.19.0",
3535
"lerna-changelog": "~0.8.2",
3636
"lint-staged": "^8.0.4",
3737
"meow": "^5.0.0",
3838
"multimatch": "^3.0.0",
3939
"prettier": "1.19.1",
40-
"puppeteer": "^1.13.0",
40+
"puppeteer": "^2.0.0",
4141
"strip-ansi": "^5.1.0",
4242
"svg-term-cli": "^2.1.1",
4343
"tempy": "^0.2.1",

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

+17-17
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@
2121
"test.js"
2222
],
2323
"dependencies": {
24-
"@babel/core": "7.7.2",
25-
"@babel/plugin-proposal-class-properties": "7.7.0",
26-
"@babel/plugin-proposal-decorators": "7.7.0",
27-
"@babel/plugin-proposal-nullish-coalescing-operator": "7.4.4",
28-
"@babel/plugin-proposal-numeric-separator": "7.2.0",
29-
"@babel/plugin-proposal-object-rest-spread": "7.6.2",
30-
"@babel/plugin-proposal-optional-chaining": "7.6.0",
31-
"@babel/plugin-syntax-dynamic-import": "7.2.0",
32-
"@babel/plugin-transform-destructuring": "7.6.0",
33-
"@babel/plugin-transform-flow-strip-types": "7.6.3",
34-
"@babel/plugin-transform-react-display-name": "7.2.0",
35-
"@babel/plugin-transform-runtime": "7.6.2",
36-
"@babel/preset-env": "7.7.1",
37-
"@babel/preset-react": "7.7.0",
38-
"@babel/preset-typescript": "7.7.2",
39-
"@babel/runtime": "7.7.2",
24+
"@babel/core": "7.7.4",
25+
"@babel/plugin-proposal-class-properties": "7.7.4",
26+
"@babel/plugin-proposal-decorators": "7.7.4",
27+
"@babel/plugin-proposal-nullish-coalescing-operator": "7.7.4",
28+
"@babel/plugin-proposal-numeric-separator": "7.7.4",
29+
"@babel/plugin-proposal-object-rest-spread": "7.7.4",
30+
"@babel/plugin-proposal-optional-chaining": "7.7.4",
31+
"@babel/plugin-syntax-dynamic-import": "7.7.4",
32+
"@babel/plugin-transform-destructuring": "7.7.4",
33+
"@babel/plugin-transform-flow-strip-types": "7.7.4",
34+
"@babel/plugin-transform-react-display-name": "7.7.4",
35+
"@babel/plugin-transform-runtime": "7.7.4",
36+
"@babel/preset-env": "7.7.4",
37+
"@babel/preset-react": "7.7.4",
38+
"@babel/preset-typescript": "7.7.4",
39+
"@babel/runtime": "7.7.4",
4040
"babel-plugin-dynamic-import-node": "2.3.0",
41-
"babel-plugin-macros": "2.6.2",
41+
"babel-plugin-macros": "2.7.1",
4242
"babel-plugin-transform-react-remove-prop-types": "0.4.24"
4343
}
4444
}

packages/cra-template-typescript/template.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
3-
"@testing-library/react": "^9.3.0",
4-
"@testing-library/jest-dom": "^4.2.0",
3+
"@testing-library/react": "^9.3.2",
4+
"@testing-library/jest-dom": "^4.2.4",
55
"@testing-library/user-event": "^7.1.2",
66
"@types/node": "^12.0.0",
77
"@types/react": "^16.9.0",

packages/cra-template/template.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
3-
"@testing-library/react": "^9.3.0",
4-
"@testing-library/jest-dom": "^4.2.0",
3+
"@testing-library/react": "^9.3.2",
4+
"@testing-library/jest-dom": "^4.2.4",
55
"@testing-library/user-event": "^7.1.2"
66
}
77
}

packages/create-react-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"chalk": "2.4.2",
3030
"commander": "2.20.0",
3131
"cross-spawn": "6.0.5",
32-
"envinfo": "7.4.0",
32+
"envinfo": "7.5.0",
3333
"fs-extra": "7.0.1",
3434
"hyperquest": "2.1.3",
3535
"inquirer": "6.5.0",

packages/create-react-app/yarn.lock.cached

+630-587
Large diffs are not rendered by default.

packages/react-dev-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"dependencies": {
5353
"@babel/code-frame": "7.5.5",
5454
"address": "1.1.2",
55-
"browserslist": "4.7.2",
55+
"browserslist": "4.7.3",
5656
"chalk": "2.4.2",
5757
"cross-spawn": "6.0.5",
5858
"detect-port-alt": "1.1.6",

packages/react-error-overlay/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"devDependencies": {
3737
"@babel/code-frame": "7.5.5",
38-
"@babel/core": "7.7.2",
38+
"@babel/core": "7.7.4",
3939
"anser": "1.4.9",
4040
"babel-eslint": "10.0.3",
4141
"babel-jest": "^24.9.0",

packages/react-scripts/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
},
2929
"types": "./lib/react-app.d.ts",
3030
"dependencies": {
31-
"@babel/core": "7.7.2",
31+
"@babel/core": "7.7.4",
3232
"@svgr/webpack": "4.3.3",
33-
"@typescript-eslint/eslint-plugin": "^2.7.0",
34-
"@typescript-eslint/parser": "^2.7.0",
33+
"@typescript-eslint/eslint-plugin": "^2.8.0",
34+
"@typescript-eslint/parser": "^2.8.0",
3535
"babel-eslint": "10.0.3",
3636
"babel-jest": "^24.9.0",
3737
"babel-loader": "8.0.6",
@@ -50,7 +50,7 @@
5050
"eslint-plugin-jsx-a11y": "6.2.3",
5151
"eslint-plugin-react": "7.16.0",
5252
"eslint-plugin-react-hooks": "^1.6.1",
53-
"file-loader": "4.2.0",
53+
"file-loader": "4.3.0",
5454
"fs-extra": "^8.1.0",
5555
"html-webpack-plugin": "4.0.0-beta.5",
5656
"identity-obj-proxy": "3.0.0",
@@ -68,14 +68,14 @@
6868
"postcss-safe-parser": "4.0.1",
6969
"react-app-polyfill": "^1.0.4",
7070
"react-dev-utils": "^9.1.0",
71-
"resolve": "1.12.0",
71+
"resolve": "1.12.2",
7272
"resolve-url-loader": "3.1.1",
7373
"sass-loader": "8.0.0",
7474
"semver": "6.3.0",
7575
"style-loader": "1.0.0",
7676
"terser-webpack-plugin": "2.2.1",
7777
"ts-pnp": "1.1.5",
78-
"url-loader": "2.2.0",
78+
"url-loader": "2.3.0",
7979
"webpack": "4.41.2",
8080
"webpack-dev-server": "3.9.0",
8181
"webpack-manifest-plugin": "2.2.0",

tasks/local-test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function print_help {
88
echo "Usage: ${0} [OPTIONS]"
99
echo ""
1010
echo "OPTIONS:"
11-
echo " --node-version <version> the node version to use while testing [8]"
11+
echo " --node-version <version> the node version to use while testing [12]"
1212
echo " --git-branch <branch> the git branch to checkout for testing [the current one]"
1313
echo " --test-suite <suite> which test suite to use ('simple', installs', 'kitchensink', 'kitchensink-eject', 'all') ['all']"
1414
echo " --interactive gain a bash shell after the test run"
@@ -18,7 +18,7 @@ function print_help {
1818

1919
cd $(dirname $0)
2020

21-
node_version=8
21+
node_version=12
2222
current_git_branch=`git rev-parse --abbrev-ref HEAD`
2323
git_branch=${current_git_branch}
2424
test_suite=all

test/fixtures/typescript-advanced/src/App.tsx

+10-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ interface MyType {
66
baz?: { n: number };
77
}
88

9+
function assertIsString(val: any): asserts val is string {
10+
if (typeof val !== "string") {
11+
throw new Error("Not a string!");
12+
}
13+
}
14+
15+
const foo: any = "bar";
16+
assertIsString(foo);
17+
918
type MyObject = Pick<MyType, 'bar' | 'baz'>;
1019

1120
class App extends React.Component {
1221
static foo: MyObject = { bar: true, baz: { n: 123 } };
13-
n = App.foo.baz!.n;
22+
n = App.foo?.baz!.n ?? "foo";
1423

1524
render() {
1625
return <div />;

0 commit comments

Comments
 (0)