Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies #8024

Merged
merged 3 commits into from
Nov 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"globby": "^9.1.0",
"husky": "^1.3.1",
"jest": "24.9.0",
"lerna": "3.18.4",
"lerna": "3.19.0",
"lerna-changelog": "~0.8.2",
"lint-staged": "^8.0.4",
"meow": "^5.0.0",
"multimatch": "^3.0.0",
"prettier": "1.19.1",
"puppeteer": "^1.13.0",
"puppeteer": "^2.0.0",
"strip-ansi": "^5.1.0",
"svg-term-cli": "^2.1.1",
"tempy": "^0.2.1",
Expand Down
34 changes: 17 additions & 17 deletions packages/babel-preset-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@
"test.js"
],
"dependencies": {
"@babel/core": "7.7.2",
"@babel/plugin-proposal-class-properties": "7.7.0",
"@babel/plugin-proposal-decorators": "7.7.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.4.4",
"@babel/plugin-proposal-numeric-separator": "7.2.0",
"@babel/plugin-proposal-object-rest-spread": "7.6.2",
"@babel/plugin-proposal-optional-chaining": "7.6.0",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-transform-destructuring": "7.6.0",
"@babel/plugin-transform-flow-strip-types": "7.6.3",
"@babel/plugin-transform-react-display-name": "7.2.0",
"@babel/plugin-transform-runtime": "7.6.2",
"@babel/preset-env": "7.7.1",
"@babel/preset-react": "7.7.0",
"@babel/preset-typescript": "7.7.2",
"@babel/runtime": "7.7.2",
"@babel/core": "7.7.4",
"@babel/plugin-proposal-class-properties": "7.7.4",
"@babel/plugin-proposal-decorators": "7.7.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.7.4",
"@babel/plugin-proposal-numeric-separator": "7.7.4",
"@babel/plugin-proposal-object-rest-spread": "7.7.4",
"@babel/plugin-proposal-optional-chaining": "7.7.4",
"@babel/plugin-syntax-dynamic-import": "7.7.4",
"@babel/plugin-transform-destructuring": "7.7.4",
"@babel/plugin-transform-flow-strip-types": "7.7.4",
"@babel/plugin-transform-react-display-name": "7.7.4",
"@babel/plugin-transform-runtime": "7.7.4",
"@babel/preset-env": "7.7.4",
"@babel/preset-react": "7.7.4",
"@babel/preset-typescript": "7.7.4",
"@babel/runtime": "7.7.4",
"babel-plugin-dynamic-import-node": "2.3.0",
"babel-plugin-macros": "2.6.2",
"babel-plugin-macros": "2.7.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24"
}
}
4 changes: 2 additions & 2 deletions packages/cra-template-typescript/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"@testing-library/react": "^9.3.0",
"@testing-library/jest-dom": "^4.2.0",
"@testing-library/react": "^9.3.2",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/user-event": "^7.1.2",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cra-template/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"@testing-library/react": "^9.3.0",
"@testing-library/jest-dom": "^4.2.0",
"@testing-library/react": "^9.3.2",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/user-event": "^7.1.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"chalk": "2.4.2",
"commander": "2.20.0",
"cross-spawn": "6.0.5",
"envinfo": "7.4.0",
"envinfo": "7.5.0",
"fs-extra": "7.0.1",
"hyperquest": "2.1.3",
"inquirer": "6.5.0",
Expand Down
1,217 changes: 630 additions & 587 deletions packages/create-react-app/yarn.lock.cached

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"dependencies": {
"@babel/code-frame": "7.5.5",
"address": "1.1.2",
"browserslist": "4.7.2",
"browserslist": "4.7.3",
"chalk": "2.4.2",
"cross-spawn": "6.0.5",
"detect-port-alt": "1.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],
"devDependencies": {
"@babel/code-frame": "7.5.5",
"@babel/core": "7.7.2",
"@babel/core": "7.7.4",
"anser": "1.4.9",
"babel-eslint": "10.0.3",
"babel-jest": "^24.9.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
},
"types": "./lib/react-app.d.ts",
"dependencies": {
"@babel/core": "7.7.2",
"@babel/core": "7.7.4",
"@svgr/webpack": "4.3.3",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"babel-eslint": "10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "8.0.6",
Expand All @@ -50,7 +50,7 @@
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.16.0",
"eslint-plugin-react-hooks": "^1.6.1",
"file-loader": "4.2.0",
"file-loader": "4.3.0",
"fs-extra": "^8.1.0",
"html-webpack-plugin": "4.0.0-beta.5",
"identity-obj-proxy": "3.0.0",
Expand All @@ -68,14 +68,14 @@
"postcss-safe-parser": "4.0.1",
"react-app-polyfill": "^1.0.4",
"react-dev-utils": "^9.1.0",
"resolve": "1.12.0",
"resolve": "1.12.2",
"resolve-url-loader": "3.1.1",
"sass-loader": "8.0.0",
"semver": "6.3.0",
"style-loader": "1.0.0",
"terser-webpack-plugin": "2.2.1",
"ts-pnp": "1.1.5",
"url-loader": "2.2.0",
"url-loader": "2.3.0",
"webpack": "4.41.2",
"webpack-dev-server": "3.9.0",
"webpack-manifest-plugin": "2.2.0",
Expand Down
4 changes: 2 additions & 2 deletions tasks/local-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function print_help {
echo "Usage: ${0} [OPTIONS]"
echo ""
echo "OPTIONS:"
echo " --node-version <version> the node version to use while testing [8]"
echo " --node-version <version> the node version to use while testing [12]"
echo " --git-branch <branch> the git branch to checkout for testing [the current one]"
echo " --test-suite <suite> which test suite to use ('simple', installs', 'kitchensink', 'kitchensink-eject', 'all') ['all']"
echo " --interactive gain a bash shell after the test run"
Expand All @@ -18,7 +18,7 @@ function print_help {

cd $(dirname $0)

node_version=8
node_version=12
current_git_branch=`git rev-parse --abbrev-ref HEAD`
git_branch=${current_git_branch}
test_suite=all
Expand Down
11 changes: 10 additions & 1 deletion test/fixtures/typescript-advanced/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,20 @@ interface MyType {
baz?: { n: number };
}

function assertIsString(val: any): asserts val is string {
if (typeof val !== "string") {
throw new Error("Not a string!");
}
}

const foo: any = "bar";
assertIsString(foo);

type MyObject = Pick<MyType, 'bar' | 'baz'>;

class App extends React.Component {
static foo: MyObject = { bar: true, baz: { n: 123 } };
n = App.foo.baz!.n;
n = App.foo?.baz!.n ?? "foo";

render() {
return <div />;
Expand Down