Skip to content
This repository was archived by the owner on Mar 13, 2021. It is now read-only.

Commit 5e92844

Browse files
author
Marcelo
committed
1 parent 8528d26 commit 5e92844

File tree

6 files changed

+22
-30
lines changed

6 files changed

+22
-30
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@
2424
"devDependencies": {
2525
"@testing-library/react": "^9.1.3",
2626
"@types/apollo-upload-client": "^8.1.1",
27+
"@types/bcrypt": "^3.0.0",
28+
"@types/connect-redis": "^0.0.11",
2729
"@types/dotenv": "^6.1.0",
2830
"@types/express": "^4.16.1",
31+
"@types/express-session": "^1.15.14",
2932
"@types/graphql": "^14.0.7",
33+
"@types/ioredis": "^4.0.15",
3034
"@types/jest": "^24.0.11",
3135
"@types/johnny-five": "^1.3.0",
36+
"@types/mosca": "^2.8.1",
3237
"@types/node": "^12.7.3",
3338
"@types/pg": "^7.4.13",
3439
"@types/react": "^16.8.4",
@@ -63,19 +68,14 @@
6368
"tslint-config-prettier": "^1.18.0",
6469
"tslint-plugin-prettier": "^2.0.1",
6570
"tslint-react": "^4.0.0",
66-
"typescript": "^3.3.3333",
71+
"typescript": "3.5.3",
6772
"uglifyjs-webpack-plugin": "^2.1.2",
6873
"wait-on": "^3.2.0",
6974
"webpack": "^4.29.5",
7075
"webpack-cli": "^3.2.3",
7176
"webpack-dev-server": "^3.2.0"
7277
},
7378
"dependencies": {
74-
"@types/bcrypt": "^3.0.0",
75-
"@types/connect-redis": "^0.0.11",
76-
"@types/express-session": "^1.15.12",
77-
"@types/ioredis": "^4.0.10",
78-
"@types/mosca": "^2.8.1",
7979
"antd": "^3.19.2",
8080
"antd-mobile": "^2.2.13",
8181
"apollo-cache-inmemory": "^1.4.3",

src/client/__tests__/react-router.ts

Whitespace-only changes.

src/client/modules/auth/ui/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,10 @@ export default class Auth extends React.Component<Props, State> {
8989
password: this.state.password
9090
}
9191
}).then(() => {
92-
this.state.errorMessage !== null
93-
? this.setState({
94-
awaiting: false
95-
})
96-
: null;
92+
this.state.errorMessage &&
93+
this.setState({
94+
awaiting: false
95+
});
9796
});
9897
}}
9998
>

src/client/modules/controller/ui/main.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
.controller {
66
display: flex;
77
align-content: center;
8+
align-items: center;
89
justify-content: space-between;
910
width: 100%;
11+
margin-bottom: 15px;
1012
}
1113
}

src/client/modules/home/ui/components/StatusBar/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export const StatusBar: React.FunctionComponent<Props> = props => {
5050
);
5151
});
5252
})}
53-
;
5453
</>
5554
);
5655
}}

yarn.lock

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -754,15 +754,7 @@
754754
"@types/node" "*"
755755
"@types/range-parser" "*"
756756

757-
"@types/express-session@*":
758-
version "1.15.12"
759-
resolved "https://registry.yarnpkg.com/@types/express-session/-/express-session-1.15.12.tgz#1126704826e80f8381da4fbbb35a199f550d1433"
760-
integrity sha512-DHZXzWy6Nu5Ng0syXUiVFRpZ6/1DOXoTCWa6RG3itGrub2ioBYvgtDbkT6VHHNo3iOdHRROyWANsMBJVaflblQ==
761-
dependencies:
762-
"@types/express" "*"
763-
"@types/node" "*"
764-
765-
"@types/express-session@^1.15.12":
757+
"@types/express-session@*", "@types/express-session@^1.15.14":
766758
version "1.15.14"
767759
resolved "https://registry.yarnpkg.com/@types/express-session/-/express-session-1.15.14.tgz#76ae4fd6e2c7c02a241d469ea2426f422c841b3f"
768760
integrity sha512-7kVzFTT0Jy0zmUYDt9ik76XbcqyS9NalV4gn4eLwhk1nGQn+lS/HjPODhG3Oi/GBR2w1LQHUdkz/5KICYMACiw==
@@ -827,7 +819,7 @@
827819
resolved "https://registry.yarnpkg.com/@types/http-assert/-/http-assert-1.5.1.tgz#d775e93630c2469c2f980fc27e3143240335db3b"
828820
integrity sha512-PGAK759pxyfXE78NbKxyfRcWYA/KwW17X290cNev/qAsn9eQIxkH4shoNBafH37wewhDG/0p1cHPbK6+SzZjWQ==
829821

830-
"@types/ioredis@^4.0.10":
822+
"@types/ioredis@^4.0.15":
831823
version "4.0.15"
832824
resolved "https://registry.yarnpkg.com/@types/ioredis/-/ioredis-4.0.15.tgz#e503e0174f161aa1e668a18cdb87423af04435c3"
833825
integrity sha512-nhexA6bsi2gXtNcpYl0QWyzX7/xjJ2IAoyPKQldig7NsCY5x0qJhiTf8EzgFKTgbptLmsVUyRNyLsAutTaUxMg==
@@ -1012,9 +1004,9 @@
10121004
csstype "^2.2.0"
10131005

10141006
"@types/redis@*":
1015-
version "2.8.12"
1016-
resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.12.tgz#6405d7ece0d6cc037151b7141cef9ad3cd06f3ac"
1017-
integrity sha512-eT5cGYr08OnF6OlAHdc2hVOBAKBpfQQNQHsWEvUwRPFiXRd+vv+hOHSSIo4xB7M5vZOZdjMT2OUlXYqo3YlIGQ==
1007+
version "2.8.13"
1008+
resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.13.tgz#fdd76d9a8b7c36ff24d8506a94ef2a890c87f498"
1009+
integrity sha512-p86cm5P6DMotUqCS6odQRz0JJwc5QXZw9eyH0ALVIqmq12yqtex5ighWyGFHKxak9vaA/GF/Ilu0KZ0MuXXUbg==
10181010
dependencies:
10191011
"@types/node" "*"
10201012

@@ -12487,16 +12479,16 @@ typeorm@^0.2.13:
1248712479
yargonaut "^1.1.2"
1248812480
yargs "^13.2.1"
1248912481

12482+
typescript@3.5.3:
12483+
version "3.5.3"
12484+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
12485+
integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==
12486+
1249012487
typescript@^3.2.2:
1249112488
version "3.3.3333"
1249212489
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.3333.tgz#171b2c5af66c59e9431199117a3bcadc66fdcfd6"
1249312490
integrity sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw==
1249412491

12495-
typescript@^3.3.3333:
12496-
version "3.6.2"
12497-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.2.tgz#105b0f1934119dde543ac8eb71af3a91009efe54"
12498-
integrity sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==
12499-
1250012492
typewise-core@^1.2, typewise-core@^1.2.0:
1250112493
version "1.2.0"
1250212494
resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195"

0 commit comments

Comments
 (0)