Skip to content

Commit 5b86f9a

Browse files
committed
updating dependencies
1 parent 3f1f6cb commit 5b86f9a

File tree

6 files changed

+4097
-3537
lines changed

6 files changed

+4097
-3537
lines changed

package.json

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,31 @@
77
"bootstrap": "^4.1.3",
88
"form-serialize": "^0.7.2",
99
"normalize.css": "^8.0.0",
10-
"react": "^16.4.0",
11-
"react-dom": "^16.4.0",
12-
"react-icons": "^2.2.7",
13-
"react-modal": "^3.4.4",
10+
"react": "^16.5.2",
11+
"react-dom": "^16.5.2",
12+
"react-icons": "^3.1.0",
13+
"react-modal": "^3.6.1",
1414
"react-redux": "^5.0.7",
15-
"react-router-dom": "^4.2.2",
16-
"react-scripts": "1.1.5",
15+
"react-router-dom": "^4.3.1",
16+
"react-scripts": "2.0.3",
1717
"redux": "^4.0.0",
1818
"redux-logger": "^3.0.6",
1919
"redux-thunk": "^2.3.0",
20-
"uuid": "^3.2.1"
20+
"uuid": "^3.3.2"
2121
},
2222
"scripts": {
2323
"start": "react-scripts start",
2424
"build": "react-scripts build",
25-
"test": "react-scripts test --env=jsdom",
25+
"test": "react-scripts test",
2626
"eject": "react-scripts eject"
27-
}
28-
}
27+
},
28+
"eslintConfig": {
29+
"extends": "react-app"
30+
},
31+
"browserslist": [
32+
">0.2%",
33+
"not dead",
34+
"not ie <= 11",
35+
"not op_mini all"
36+
]
37+
}

src/components/Comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from "react";
22
import { connect } from "react-redux";
33
import Modal from "react-modal";
4-
import * as FontAwesome from "react-icons/lib/fa";
4+
import * as FontAwesome from "react-icons/fa";
55
import { castVote, deleteComment } from "./../actions/comments";
66
import CreateComment from "./CreateComment";
77
import Vote from "./Vote";

src/components/DeleteItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
2-
import * as FontAwesome from "react-icons/lib/fa";
2+
import * as FontAwesome from "react-icons/fa";
33

4-
const DeleteItem = ({itemId, onDelete}) => {
4+
const DeleteItem = ({ itemId, onDelete }) => {
55
const removeItem = itemId => {
66
onDelete(itemId);
77
};

src/components/EditItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import * as FontAwesome from "react-icons/lib/fa";
2+
import * as FontAwesome from "react-icons/fa";
33

44
const EditItem = () => {
55
return <FontAwesome.FaEdit />;

src/components/Vote.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
2-
import * as FontAwesome from "react-icons/lib/fa";
2+
import * as FontAwesome from "react-icons/fa";
33

4-
const Vote = ({itemId, onVote}) => {
4+
const Vote = ({ itemId, onVote }) => {
55
const voteOnItem = async payload => {
66

77
let params = { ...payload, id: itemId };

0 commit comments

Comments
 (0)