diff --git a/README.md b/README.md
index 9c7fd665..fa60f8c3 100644
--- a/README.md
+++ b/README.md
@@ -1,42 +1,40 @@
### Setup
* From address book directory, run yarn install, yarn start
-### Do
-* Import the array of users into index.js
+### Do: COMPLETE
+
+
+### Do: COMPLETE
+
+
+
+
+
+### Do: COMPLETE
+
+
+
+
+
+
+### Do: COMPLETE
+
+
+
+### Do: COMPLETE
+
### Do
-* Change ListOfUsers to be a class component
-* Add a constructor
-* Add a property called “state” that is an object
-* Add a property on the state object called "visible"
-* Add a method called “render” that returns the jsx the function returned
-
-### Do
-* Add text box anywhere to ListOfUsers with a label “Search”
-* In ListOfUsers add a state property “searchText”, default to “”
-* Assign searchText to the value attribute of the text box
-
-### Do
-* Add onChange to text box
-* In onChange handler function, setState the searchText to the value from the textbox
-
-### Do
-* Create a variable called currentUser in index.js.
-* Define a function in index.js called selectUser that will take a user as a parameter and then set that user as the currentUser.
-* Send this function down the child tree so that ListOfUsers can call it
-* Change index.js to send currentUser down the child tree instead of App.js hard coding the first one
+
+
+
* Register click event for ListOfUsers view link, call the function sent into props by parents, supply the argument of whatever user was clicked on.
* Re render the components
-
-
diff --git a/package.json b/package.json
index a449367b..cb655ff4 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
"dependencies": {
"foreman": "^2.0.0",
"json-server": "^0.9.4",
+ "prop-types": "^15.5.8",
"react": "^15.3.2",
"react-dom": "^15.3.2"
},
@@ -24,5 +25,5 @@
"test": "npm run lint && react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
- "proxy" : "http://localhost:3001"
+ "proxy": "http://localhost:3001"
}
diff --git a/src/App.js b/src/App.js
deleted file mode 100644
index 0042c777..00000000
--- a/src/App.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import React from "react";
-import logo from "./logo.svg";
-import "./App.css";
-
-function App() {
- return (
-
-
-
-
Welcome to React
-
-
- To get started, edit src/App.js and save to reload.
-
-
- );
-}
-
-export default App;
diff --git a/src/App.css b/src/components/App.css
similarity index 50%
rename from src/App.css
rename to src/components/App.css
index 15adfdc7..713eb380 100644
--- a/src/App.css
+++ b/src/components/App.css
@@ -18,6 +18,31 @@
font-size: large;
}
+.Main-container {
+ display: flex;
+ justify-content: space-around;
+ width: 100%;
+ height: 300px;
+}
+
+.Section-content {
+ width: 300px;
+ height: 100px;
+ color: red;
+}
+
+.Footer-container {
+ width: 100%;
+ height: 200px;
+ background-color: grey;
+}
+
+.Footer-text {
+ padding-top: 60px;
+ font-size: 70px;
+ font-weight: 600;
+}
+
@keyframes App-logo-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
diff --git a/src/components/App.js b/src/components/App.js
new file mode 100644
index 00000000..d0885ab6
--- /dev/null
+++ b/src/components/App.js
@@ -0,0 +1,25 @@
+import React from "react";
+import "./App.css";
+import Header from "./Header";
+import Main from "./Main";
+import PropTypes from "prop-types";
+
+function App(props) {
+ return (
+
+
+
+
+ );
+}
+
+App.propTypes = {
+ userSelect: PropTypes.func.isRequired,
+ users: PropTypes.array.isRequired
+};
+
+export default App;
diff --git a/src/App.test.js b/src/components/App.test.js
similarity index 100%
rename from src/App.test.js
rename to src/components/App.test.js
diff --git a/src/components/Footer.js b/src/components/Footer.js
new file mode 100644
index 00000000..9b667e3f
--- /dev/null
+++ b/src/components/Footer.js
@@ -0,0 +1,13 @@
+import React from "react";
+
+function Footer() {
+ return (
+
+ );
+}
+
+export default Footer;
diff --git a/src/components/Header.js b/src/components/Header.js
new file mode 100644
index 00000000..485549a3
--- /dev/null
+++ b/src/components/Header.js
@@ -0,0 +1,12 @@
+import React from "react";
+import logo from "./logo.svg";
+
+function Header() {
+ return (
+
+
+
Welcome to React
+
+ );
+}
+export default Header;
diff --git a/src/components/Intro.js b/src/components/Intro.js
new file mode 100644
index 00000000..c75512fe
--- /dev/null
+++ b/src/components/Intro.js
@@ -0,0 +1,11 @@
+import React from "react";
+
+function Intro() {
+ return (
+
+ To get started, edit src/App.js and save to reload.
+
+ );
+}
+
+export default Intro;
diff --git a/src/components/ListOfUsers.js b/src/components/ListOfUsers.js
new file mode 100644
index 00000000..f4059282
--- /dev/null
+++ b/src/components/ListOfUsers.js
@@ -0,0 +1,67 @@
+import React, {Component} from "react";
+import PropTypes from "prop-types";
+import UserDetail from "./UserDetail";
+
+class ListOfUsers extends Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ visible: true,
+ searchText: "",
+ letters: ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
+ "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
+ };
+ }
+
+ handleClick() {
+ this.setState({
+ visible: !this.state.visible
+ });
+ }
+
+ render() {
+ const renderLetters = (users, letters) => letters.map((letter, index) => {
+ if (this.state.visible) {
+ return (
+
+ {letter}
+ { users.map((user, index) => {
+ return (user.lastName.substring(0, 1).toUpperCase() === letter) ?
+ : null;
+ })}
+
+ );
+ } else {
+ return null;
+ }
+ });
+
+ return (
+
+
+ {renderLetters && renderLetters(this.props.users, this.state.letters)}
+
+ {this.state.visible ? "Hide" : "Show"}
+
+
+ );
+ }
+}
+
+ListOfUsers.propTypes = {
+ users: PropTypes.array.isRequired
+};
+
+export default ListOfUsers;
diff --git a/src/components/Main.js b/src/components/Main.js
new file mode 100644
index 00000000..7824d6ac
--- /dev/null
+++ b/src/components/Main.js
@@ -0,0 +1,27 @@
+import React from "react";
+import Section1 from "./Section1";
+import Section2 from "./Section2";
+import PropTypes from "prop-types";
+
+function Main(props) {
+ return (
+
+
+
+
+ );
+}
+
+Main.propTypes = {
+ userSelect: PropTypes.func.isRequired,
+ user: PropTypes.object,
+ users: PropTypes.array.isRequired
+};
+
+export default Main;
diff --git a/src/components/Section1.js b/src/components/Section1.js
new file mode 100644
index 00000000..5d4e3879
--- /dev/null
+++ b/src/components/Section1.js
@@ -0,0 +1,22 @@
+import React from "react";
+import ListOfUsers from "./ListOfUsers";
+import PropTypes from "prop-types";
+
+function Section1(props) {
+ return (
+
+
+
+ );
+}
+
+Section1.propTypes = {
+ userSelect: PropTypes.func,
+ users: PropTypes.array.isRequired
+};
+
+export default Section1;
diff --git a/src/components/Section2.js b/src/components/Section2.js
new file mode 100644
index 00000000..d7a97638
--- /dev/null
+++ b/src/components/Section2.js
@@ -0,0 +1,16 @@
+import React from "react";
+import PropTypes from "prop-types";
+
+function Section2() {
+ return (
+
+ stuff
+
+ );
+}
+
+Section2.propTypes = {
+ users: PropTypes.array.isRequired
+};
+
+export default Section2;
diff --git a/src/components/Section3.js b/src/components/Section3.js
new file mode 100644
index 00000000..20ed906b
--- /dev/null
+++ b/src/components/Section3.js
@@ -0,0 +1,13 @@
+import React from "react";
+
+function Section3(props) {
+ return (
+
+
+ {props.user.firstName} {props.user.lastName}
+
+
+ );
+}
+
+export default Section3;
diff --git a/src/components/UserDetail.js b/src/components/UserDetail.js
new file mode 100644
index 00000000..b8d17cf6
--- /dev/null
+++ b/src/components/UserDetail.js
@@ -0,0 +1,18 @@
+import React from "react";
+import PropTypes from "prop-types";
+
+function UserDetail(props) {
+ const firstName = (props.user.firstName);
+ const lastName = (props.user.lastName);
+ return (
+
+ {firstName} {lastName}
+
+ );
+}
+
+UserDetail.propTypes = {
+ user: PropTypes.object.isRequired
+};
+
+export default UserDetail;
diff --git a/src/logo.svg b/src/components/logo.svg
similarity index 100%
rename from src/logo.svg
rename to src/components/logo.svg
diff --git a/src/index.js b/src/index.js
index 8e6bfe35..14ca50d5 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,13 +1,23 @@
import React from "react";
import ReactDOM from "react-dom";
-import App from "./App";
+import App from "./components/App";
import "./index.css";
import users from "./users";
+let currentUser;
+
+function selectUser(user) {
+ currentUser = user;
+ return currentUser;
+}
function render() {
ReactDOM.render(
- ,
+ ,
document.getElementById("root")
);
}
diff --git a/src/users.js b/src/users.js
index b700dc61..cac36936 100644
--- a/src/users.js
+++ b/src/users.js
@@ -1,60 +1,57 @@
export default [
{
- "id": 1,
- "first_name": "george",
- "last_name": "bluth",
- "address": "4116 Magnolia Drive, Portland, ME 04103",
- "phone": 15551234567,
- "occupation": "father",
- "avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/calebogden/128.jpg"
+ id: 1,
+ firstName: "george",
+ lastName: "bluth",
+ address: "4116 Magnolia Drive, Portland, ME 04103",
+ phone: 15551234567,
+ occupation: "father",
+ avatar: "https://s3.amazonaws.com/uifaces/faces/twitter/calebogden/128.jpg"
},
{
- "id": 2,
- "first_name": "lucille",
- "last_name": "bluth",
- "address": "6428 3rd Street East, Zion, IL 60099",
- "phone": 15552345678,
- "occupation": "mother",
- "avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/josephstein/128.jpg"
+ id: 2,
+ firstName: "lucille",
+ lastName: "bluth",
+ address: "6428 3rd Street East, Zion, IL 60099",
+ phone: 15552345678,
+ occupation: "mother",
+ avatar: "https://s3.amazonaws.com/uifaces/faces/twitter/josephstein/128.jpg"
},
{
- "id": 3,
- "first_name": "oscar",
- "last_name": "bluth",
- "address": "4797 Sycamore Lane, Dover, NH 03820",
- "phone": 15553456789,
- "occupation": "uncle",
- "avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/olegpogodaev/128.jpg"
+ id: 3,
+ firstName: "oscar",
+ lastName: "bluth",
+ address: "4797 Sycamore Lane, Dover, NH 03820",
+ phone: 15553456789,
+ occupation: "uncle",
+ avatar: "https://s3.amazonaws.com/uifaces/faces/twitter/olegpogodaev/128.jpg"
},
{
- "id": 4,
- "first_name": "steve",
- "last_name": "holt",
- "address": "3722 Circle Drive, Bristow, VA 20136",
- "phone": 15554567890,
- "occupation": "friend",
- "avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/marcoramires/128.jpg"
+ id: 4,
+ firstName: "steve",
+ lastName: "holt",
+ address: "3722 Circle Drive, Bristow, VA 20136",
+ phone: 15554567890,
+ occupation: "friend",
+ avatar: "https://s3.amazonaws.com/uifaces/faces/twitter/marcoramires/128.jpg"
},
{
- "id": 5,
- "first_name": "gob",
- "last_name": "bluth",
- "address": "959 Hilltop Road, Apple Valley, CA 92307",
- "phone": 15555678901,
- "occupation": "brother",
- "avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/stephenmoon/128.jpg"
+ id: 5,
+ firstName: "gob",
+ lastName: "bluth",
+ address: "959 Hilltop Road, Apple Valley, CA 92307",
+ phone: 15555678901,
+ occupation: "brother",
+ avatar: "https://s3.amazonaws.com/uifaces/faces/twitter/stephenmoon/128.jpg"
},
{
- "id": 6,
- "first_name": "tracey",
- "last_name": "bluth",
- "address": "2640 Primrose Lane, Longview, TX 75604",
- "phone": 15556789012,
- "occupation": "wife",
- "avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/bigmancho/128.jpg"
+ id: 6,
+ firstName: "tracey",
+ lastName: "bluth",
+ address: "2640 Primrose Lane, Longview, TX 75604",
+ phone: 15556789012,
+ occupation: "wife",
+ avatar: "https://s3.amazonaws.com/uifaces/faces/twitter/bigmancho/128.jpg"
}
];
-
-
-
diff --git a/yarn.lock b/yarn.lock
index 137072ec..d89f530f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -239,7 +239,7 @@ asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
-autoprefixer@6.5.1:
+autoprefixer@6.5.1, autoprefixer@^6.3.1:
version "6.5.1"
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-6.5.1.tgz#ae759a5221e709f3da17c2d656230e67c43cbb75"
dependencies:
@@ -250,17 +250,6 @@ autoprefixer@6.5.1:
postcss "^5.2.4"
postcss-value-parser "^3.2.3"
-autoprefixer@^6.3.1:
- version "6.7.2"
- resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-6.7.2.tgz#172ab07b998ae9b957530928a59a40be54a45023"
- dependencies:
- browserslist "^1.7.1"
- caniuse-db "^1.0.30000618"
- normalize-range "^0.1.2"
- num2fraction "^1.2.2"
- postcss "^5.2.11"
- postcss-value-parser "^3.2.3"
-
aws-sign2@~0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f"
@@ -277,7 +266,7 @@ babel-code-frame@^6.11.0, babel-code-frame@^6.16.0, babel-code-frame@^6.22.0:
esutils "^2.0.2"
js-tokens "^3.0.0"
-babel-core@6.17.0:
+babel-core@6.17.0, babel-core@^6.0.0:
version "6.17.0"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.17.0.tgz#6c4576447df479e241e58c807e4bc7da4db7f425"
dependencies:
@@ -303,30 +292,6 @@ babel-core@6.17.0:
slash "^1.0.0"
source-map "^0.5.0"
-babel-core@^6.0.0:
- version "6.22.1"
- resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.22.1.tgz#9c5fd658ba1772d28d721f6d25d968fc7ae21648"
- dependencies:
- babel-code-frame "^6.22.0"
- babel-generator "^6.22.0"
- babel-helpers "^6.22.0"
- babel-messages "^6.22.0"
- babel-register "^6.22.0"
- babel-runtime "^6.22.0"
- babel-template "^6.22.0"
- babel-traverse "^6.22.1"
- babel-types "^6.22.0"
- babylon "^6.11.0"
- convert-source-map "^1.1.0"
- debug "^2.1.1"
- json5 "^0.5.0"
- lodash "^4.2.0"
- minimatch "^3.0.2"
- path-is-absolute "^1.0.0"
- private "^0.1.6"
- slash "^1.0.0"
- source-map "^0.5.0"
-
babel-core@^6.11.4, babel-core@^6.24.0:
version "6.24.0"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.24.0.tgz#8f36a0a77f5c155aed6f920b844d23ba56742a02"
@@ -369,7 +334,7 @@ babel-eslint@^7.1.1:
babel-types "^6.23.0"
babylon "^6.16.1"
-babel-generator@^6.17.0, babel-generator@^6.18.0, babel-generator@^6.22.0, babel-generator@^6.24.0:
+babel-generator@^6.17.0, babel-generator@^6.18.0, babel-generator@^6.24.0:
version "6.24.0"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.24.0.tgz#eba270a8cc4ce6e09a61be43465d7c62c1f87c56"
dependencies:
@@ -483,14 +448,7 @@ babel-helper-get-function-arity@^6.24.1:
babel-runtime "^6.22.0"
babel-types "^6.24.1"
-babel-helper-hoist-variables@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.22.0.tgz#3eacbf731d80705845dd2e9718f600cfb9b4ba72"
- dependencies:
- babel-runtime "^6.22.0"
- babel-types "^6.22.0"
-
-babel-helper-hoist-variables@^6.24.1:
+babel-helper-hoist-variables@^6.22.0, babel-helper-hoist-variables@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76"
dependencies:
@@ -569,7 +527,7 @@ babel-helper-replace-supers@^6.24.1:
babel-traverse "^6.24.1"
babel-types "^6.24.1"
-babel-helpers@^6.16.0, babel-helpers@^6.22.0, babel-helpers@^6.23.0:
+babel-helpers@^6.16.0, babel-helpers@^6.23.0:
version "6.23.0"
resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.23.0.tgz#4f8f2e092d0b6a8808a4bde79c27f1e2ecf0d992"
dependencies:
@@ -592,7 +550,7 @@ babel-loader@6.2.5:
mkdirp "^0.5.1"
object-assign "^4.0.1"
-babel-messages@^6.22.0, babel-messages@^6.23.0, babel-messages@^6.8.0:
+babel-messages@^6.23.0, babel-messages@^6.8.0:
version "6.23.0"
resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
dependencies:
@@ -1180,7 +1138,7 @@ babel-preset-react@6.16.0:
babel-plugin-transform-react-jsx-self "^6.11.0"
babel-plugin-transform-react-jsx-source "^6.3.13"
-babel-register@^6.16.0, babel-register@^6.22.0, babel-register@^6.24.0:
+babel-register@^6.16.0, babel-register@^6.24.0:
version "6.24.0"
resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.0.tgz#5e89f8463ba9970356d02eb07dabe3308b080cfd"
dependencies:
@@ -1226,7 +1184,7 @@ babel-template@^6.24.1:
babylon "^6.11.0"
lodash "^4.2.0"
-babel-traverse@^6.15.0, babel-traverse@^6.16.0, babel-traverse@^6.18.0, babel-traverse@^6.22.0, babel-traverse@^6.22.1, babel-traverse@^6.23.0, babel-traverse@^6.23.1:
+babel-traverse@^6.15.0, babel-traverse@^6.16.0, babel-traverse@^6.18.0, babel-traverse@^6.23.0, babel-traverse@^6.23.1:
version "6.23.1"
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.23.1.tgz#d3cb59010ecd06a97d81310065f966b699e14f48"
dependencies:
@@ -1240,7 +1198,7 @@ babel-traverse@^6.15.0, babel-traverse@^6.16.0, babel-traverse@^6.18.0, babel-tr
invariant "^2.2.0"
lodash "^4.2.0"
-babel-traverse@^6.24.1:
+babel-traverse@^6.22.0, babel-traverse@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.24.1.tgz#ab36673fd356f9a0948659e7b338d5feadb31695"
dependencies:
@@ -1254,7 +1212,7 @@ babel-traverse@^6.24.1:
invariant "^2.2.0"
lodash "^4.2.0"
-babel-types@^6.15.0, babel-types@^6.16.0, babel-types@^6.18.0, babel-types@^6.22.0, babel-types@^6.23.0:
+babel-types@^6.15.0, babel-types@^6.16.0, babel-types@^6.18.0, babel-types@^6.23.0:
version "6.23.0"
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.23.0.tgz#bb17179d7538bad38cd0c9e115d340f77e7e9acf"
dependencies:
@@ -1263,7 +1221,7 @@ babel-types@^6.15.0, babel-types@^6.16.0, babel-types@^6.18.0, babel-types@^6.22
lodash "^4.2.0"
to-fast-properties "^1.0.1"
-babel-types@^6.19.0, babel-types@^6.24.1:
+babel-types@^6.19.0, babel-types@^6.22.0, babel-types@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.24.1.tgz#a136879dc15b3606bda0d90c1fc74304c2ff0975"
dependencies:
@@ -1382,14 +1340,14 @@ browserify-zlib@~0.1.4:
dependencies:
pako "~0.2.0"
-browserslist@^1.0.1, browserslist@^1.4.0, browserslist@^1.5.2, browserslist@^1.7.1:
+browserslist@^1.0.1, browserslist@^1.5.2:
version "1.7.7"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9"
dependencies:
caniuse-db "^1.0.30000639"
electron-to-chromium "^1.2.7"
-browserslist@~1.4.0:
+browserslist@^1.4.0, browserslist@~1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.4.0.tgz#9cfdcf5384d9158f5b70da2aa00b30e8ff019049"
dependencies:
@@ -1467,7 +1425,7 @@ caniuse-api@^1.5.2:
lodash.memoize "^4.1.0"
lodash.uniq "^4.3.0"
-caniuse-db@^1.0.30000346, caniuse-db@^1.0.30000539, caniuse-db@^1.0.30000554, caniuse-db@^1.0.30000618, caniuse-db@^1.0.30000639:
+caniuse-db@^1.0.30000346, caniuse-db@^1.0.30000539, caniuse-db@^1.0.30000554, caniuse-db@^1.0.30000639:
version "1.0.30000646"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000646.tgz#c724b90d61df24286e015fc528d062073c00def4"
@@ -2482,7 +2440,7 @@ events@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
-eventsource@0.1.6, eventsource@^0.1.3:
+eventsource@^0.1.3:
version "0.1.6"
resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-0.1.6.tgz#0acede849ed7dd1ccc32c811bb11b944d4f29232"
dependencies:
@@ -2579,12 +2537,6 @@ faye-websocket@^0.10.0:
dependencies:
websocket-driver ">=0.5.1"
-faye-websocket@~0.11.0:
- version "0.11.1"
- resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.1.tgz#f0efe18c4f56e4f40afc7e06c719fd5ee6188f38"
- dependencies:
- websocket-driver ">=0.5.1"
-
faye-websocket@~0.7.3:
version "0.7.3"
resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.7.3.tgz#cc4074c7f4a4dfd03af54dd65c354b135132ce11"
@@ -3043,7 +2995,7 @@ http-errors@~1.6.1:
setprototypeof "1.0.3"
statuses ">= 1.3.1 < 2"
-http-proxy-middleware@0.17.2:
+http-proxy-middleware@0.17.2, http-proxy-middleware@~0.17.1:
version "0.17.2"
resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.17.2.tgz#572d517a6d2fb1063a469de294eed96066352007"
dependencies:
@@ -3052,16 +3004,7 @@ http-proxy-middleware@0.17.2:
lodash "^4.16.2"
micromatch "^2.3.11"
-http-proxy-middleware@~0.17.1:
- version "0.17.3"
- resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.17.3.tgz#940382147149b856084f5534752d5b5a8168cd1d"
- dependencies:
- http-proxy "^1.16.2"
- is-glob "^3.1.0"
- lodash "^4.17.2"
- micromatch "^2.3.11"
-
-http-proxy@^1.15.1, http-proxy@^1.16.2:
+http-proxy@^1.15.1:
version "1.16.2"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742"
dependencies:
@@ -3260,7 +3203,7 @@ is-glob@^2.0.0, is-glob@^2.0.1:
dependencies:
is-extglob "^1.0.0"
-is-glob@^3.0.0, is-glob@^3.1.0:
+is-glob@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
dependencies:
@@ -3998,7 +3941,7 @@ lodash.words@^3.0.0:
dependencies:
lodash._root "^3.0.0"
-lodash@4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.11.2, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.16.2, lodash@^4.16.4, lodash@^4.17.2, lodash@^4.2.0, lodash@^4.3.0:
+lodash@4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.11.2, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.16.2, lodash@^4.16.4, lodash@^4.2.0, lodash@^4.3.0:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
@@ -4866,7 +4809,7 @@ postcss-zindex@^2.0.1:
postcss "^5.0.4"
uniqs "^2.0.0"
-postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0.14, postcss@^5.0.16, postcss@^5.0.2, postcss@^5.0.4, postcss@^5.0.5, postcss@^5.0.6, postcss@^5.0.8, postcss@^5.2.11, postcss@^5.2.4:
+postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0.14, postcss@^5.0.16, postcss@^5.0.2, postcss@^5.0.4, postcss@^5.0.5, postcss@^5.0.6, postcss@^5.0.8, postcss@^5.2.4:
version "5.2.16"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.16.tgz#732b3100000f9ff8379a48a53839ed097376ad57"
dependencies:
@@ -4920,7 +4863,7 @@ promise@7.1.1, promise@^7.1.1:
dependencies:
asap "~2.0.3"
-prop-types@^15.5.7, prop-types@~15.5.7:
+prop-types@^15.5.7, prop-types@^15.5.8, prop-types@~15.5.7:
version "15.5.8"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.8.tgz#6b7b2e141083be38c8595aa51fc55775c7199394"
dependencies:
@@ -5364,13 +5307,13 @@ right-align@^0.1.1:
dependencies:
align-text "^0.1.1"
-rimraf@2, rimraf@^2.2.8, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.6.1:
+rimraf@2, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
dependencies:
glob "^7.0.5"
-rimraf@2.5.4:
+rimraf@2.5.4, rimraf@^2.2.8:
version "2.5.4"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04"
dependencies:
@@ -5541,7 +5484,7 @@ sntp@1.x.x:
dependencies:
hoek "2.x.x"
-sockjs-client@1.0.3:
+sockjs-client@1.0.3, sockjs-client@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.0.3.tgz#b0d8280998460eb2564c5d79d7e3d7cfd8a353ad"
dependencies:
@@ -5552,17 +5495,6 @@ sockjs-client@1.0.3:
json3 "^3.3.2"
url-parse "^1.0.1"
-sockjs-client@^1.0.3:
- version "1.1.2"
- resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.1.2.tgz#f0212a8550e4c9468c8cceaeefd2e3493c033ad5"
- dependencies:
- debug "^2.2.0"
- eventsource "0.1.6"
- faye-websocket "~0.11.0"
- inherits "^2.0.1"
- json3 "^3.3.2"
- url-parse "^1.1.1"
-
sockjs@^0.3.15:
version "0.3.18"
resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.18.tgz#d9b289316ca7df77595ef299e075f0f937eb4207"
@@ -5965,7 +5897,7 @@ url-parse@1.0.x:
querystringify "0.0.x"
requires-port "1.0.x"
-url-parse@^1.0.1, url-parse@^1.1.1:
+url-parse@^1.0.1:
version "1.1.8"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.1.8.tgz#7a65b3a8d57a1e86af6b4e2276e34774167c0156"
dependencies: