Skip to content

Commit aa10053

Browse files
benlizarstevehobbsdev
authored andcommitted
Fix [QS-97] (#115): Vulnerabilities in React QS
Fix [QS-97]: Vulnerabilities in React QS
1 parent a44d0b1 commit aa10053

12 files changed

Lines changed: 24642 additions & 12897 deletions

File tree

01-Login/package-lock.json

Lines changed: 4799 additions & 2681 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

01-Login/package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
2-
"name": "centralized-login",
3-
"version": "0.2.0",
4-
"private": true,
5-
"devDependencies": {
6-
"react-scripts": "^2.1.1"
7-
},
8-
"dependencies": {
9-
"auth0-js": "^9.0.0",
10-
"bootstrap": "^3.3.7",
11-
"react": "^15.6.1",
12-
"react-bootstrap": "^0.31.2",
13-
"react-dom": "^15.6.1",
14-
"react-router": "^4.1.2",
15-
"react-router-dom": "^4.1.2"
16-
},
17-
"scripts": {
18-
"start": "react-scripts start",
19-
"build": "react-scripts build",
20-
"test": "react-scripts test --env=jsdom",
21-
"eject": "react-scripts eject"
22-
},
23-
"eslintConfig": {
24-
"extends": "react-app"
25-
},
26-
"browserslist": [
27-
">0.2%",
28-
"not dead",
29-
"not ie <= 11",
30-
"not op_mini all"
31-
]
2+
"name": "centralized-login",
3+
"version": "0.2.0",
4+
"private": true,
5+
"devDependencies": {
6+
"react-scripts": "^2.1.8"
7+
},
8+
"dependencies": {
9+
"auth0-js": "^9.0.0",
10+
"bootstrap": "^3.3.7",
11+
"react": "^16.8.6",
12+
"react-bootstrap": "^0.31.2",
13+
"react-dom": "^16.8.6",
14+
"react-router": "^5.0.0",
15+
"react-router-dom": "^5.0.0"
16+
},
17+
"scripts": {
18+
"start": "react-scripts start",
19+
"build": "react-scripts build",
20+
"test": "react-scripts test --env=jsdom",
21+
"eject": "react-scripts eject"
22+
},
23+
"eslintConfig": {
24+
"extends": "react-app"
25+
},
26+
"browserslist": [
27+
">0.2%",
28+
"not dead",
29+
"not ie <= 11",
30+
"not op_mini all"
31+
]
3232
}

01-Login/src/Home/Home.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ class Home extends Component {
1919
!isAuthenticated() && (
2020
<h4>
2121
You are not logged in! Please{' '}
22-
<a
23-
style={{ cursor: 'pointer' }}
24-
onClick={this.login.bind(this)}
25-
>
22+
<a style={{ cursor: 'pointer' }}
23+
onClick={this.login.bind(this)}>
2624
Log In
2725
</a>
2826
{' '}to continue.

0 commit comments

Comments
 (0)