diff --git a/package.json b/package.json index 579d515885..36eb906e74 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,11 @@ "version": "0.1.0", "private": true, "dependencies": { + "bootstrap": "4.6.0", "prop-types": "^15.6.2", "react": "^16.6.3", "react-dom": "^16.6.3", + "react-router-dom": "^5.3.0", "react-scripts": "2.1.1" }, "scripts": { diff --git a/src/App.js b/src/App.js index 785820d5df..eedc3fc3a2 100644 --- a/src/App.js +++ b/src/App.js @@ -1,206 +1,153 @@ -import React from 'react' -// import * as BooksAPI from './BooksAPI' -import './App.css' +import React from "react"; +import * as BooksAPI from "./BooksAPI"; +import "./App.css"; +import ShelfsBooks from "./components/shelfBooksRender"; +import Search from "./components/search"; +import { Link, Route } from "react-router-dom"; +import BookDetails from "./components/bookDetails"; + + +/** + * top parent where defines router components and instantiate all component + * handing shelf selection in here and send aknowldgement to server + * rendering main pages + * components map: 1- BooksApp => Search => SearchBooks => Books => BookDetials + * 2- BooksApp => BooksShelfRender => Book = + */ class BooksApp extends React.Component { + state = { - /** - * TODO: Instead of using this state variable to keep track of which page - * we're on, use the URL in the browser's address bar. This will ensure that - * users can use the browser's back and forward buttons to navigate between - * pages, as well as provide a good URL they can bookmark and share. - */ - showSearchPage: false - } + books: [], + shelfs: [], + showSearchPage: false, + isUpdated: false, + }; + + /** + * load when component inserted into DOM to fetch API and get books using API.getAll() + * function get result from API and then iterate over it to get important fields for book and shelf Components + */ + componentDidMount = () => { + let [books, shelfs] = [[], []]; //initialize empty arrays for pushing data in it + BooksAPI.getAll().then((res) => { + + res.forEach((cur) => { + if (!shelfs.includes(cur.shelf)) shelfs.push(cur.shelf); //only push shelf if not find in shelfs array + + //initilzie category to if empty to avoid undefined values + const categories = cur.categories ? [...cur.categories] : []; + + //get fields from books and push it into books array + books.push({ + id: cur.id, + title: cur.title, + shelf: cur.shelf, + bookImage: cur.imageLinks.smallThumbnail, + categories: [...categories], + authors: [...cur.authors], + }); + }); + //set state with recived data from server + this.setState({ books, shelfs }); + }); + }; + + /** + *Update state of books and push not defined books into state and track book shefl + * + * @param {*} bookState: express about new selected shelf name + * @param {*} updatedBook : is book object that fired event + */ + updateBookShelf = (bookState, updatedBook) => { + + //fetch API to update + BooksAPI.update(updatedBook, bookState) + .then((res) => { + if (bookState !== "none") { //at shelf not none + this.setState((curState) => { //update state and remove book + const books = [...curState.books]; //cloning current books state + updatedBook.shelf = bookState; + const index = books.indexOf(updatedBook); //get target book + if (index === -1) books.push({ ...updatedBook }); //if index book not find then add it + else { + books[index].shelf = bookState; //else update book shelf + } + return { books }; //set state with new data + }); + } + else { //if assign to none then remove book from shelfs + this.setState((curState) => { + const books = curState.books.filter( //filter and remove book + (book) => book.id !== updatedBook.id + ); + return { books }; + }); + } + + //cached updated books into localStorage to keep its ids at reloading + //this.cachedBooks(); + }) + .catch((er) => alert(`Error! can't update data `)); + }; + /** + * render two component search component and shelf component for rendering main page books using Link and Route + * @returns return mark up to inject into html index page as final result1 + */ render() { return (
- {this.state.showSearchPage ? ( -
-
- -
- {/* - NOTES: The search from BooksAPI is limited to a particular set of search terms. - You can find these search terms here: - https://github.com/udacity/reactnd-project-myreads-starter/blob/master/SEARCH_TERMS.md + ( + + )} + /> - However, remember that the BooksAPI.search method DOES search by title or author. So, don't worry if - you don't find a specific author or title. Every search is limited by search terms. - */} - - -
-
-
-
    -
    -
    - ) : ( -
    -
    -

    MyReads

    -
    -
    -
    -
    -

    Currently Reading

    -
    -
      -
    1. -
      -
      -
      -
      - -
      -
      -
      To Kill a Mockingbird
      -
      Harper Lee
      -
      -
    2. -
    3. -
      -
      -
      -
      - -
      -
      -
      Ender's Game
      -
      Orson Scott Card
      -
      -
    4. -
    -
    -
    -
    -

    Want to Read

    -
    -
      -
    1. -
      -
      -
      -
      - -
      -
      -
      1776
      -
      David McCullough
      -
      -
    2. -
    3. -
      -
      -
      -
      - -
      -
      -
      Harry Potter and the Sorcerer's Stone
      -
      J.K. Rowling
      -
      -
    4. -
    -
    -
    -
    -

    Read

    -
    -
      -
    1. -
      -
      -
      -
      - -
      -
      -
      The Hobbit
      -
      J.R.R. Tolkien
      -
      -
    2. -
    3. -
      -
      -
      -
      - -
      -
      -
      Oh, the Places You'll Go!
      -
      Seuss
      -
      -
    4. -
    5. -
      -
      -
      -
      - -
      -
      -
      The Adventures of Tom Sawyer
      -
      Mark Twain
      -
      -
    6. -
    -
    + ( +
    +
    +
    +

    MyReads

    + +
    + +
    -
    - -
    -
    - )} + )} + /> + + { + return( + + ) + }} + />
    - ) + ); } } -export default BooksApp +export default BooksApp; diff --git a/src/components/book.js b/src/components/book.js new file mode 100644 index 0000000000..50baf8a7c2 --- /dev/null +++ b/src/components/book.js @@ -0,0 +1,43 @@ +import React from "react"; +import { Link } from "react-router-dom"; + +/** + * functional component for rendering book details + * + * has function contains event firing at book sehlf selection change + * + * @param {*} props sending from component parent + * @returns final book rendering product + * + */ +const Book = (props) => { + + //handel images if not define so return alt text or black book image + const {book, shelfName, bookSender } = {...props}; + const imagePath = (book.bookImage !=='alt')? `${(book.bookImage)}`: '../icons/1021547.png'; + + return
    +
    + + +
    + + +
    + +
    +
    +
    {book.title}
    +
    {[...book.authors]}
    +
    ; +}; + +export default Book; diff --git a/src/components/bookDetails.js b/src/components/bookDetails.js new file mode 100644 index 0000000000..e07b9b341e --- /dev/null +++ b/src/components/bookDetails.js @@ -0,0 +1,101 @@ +import React, { Component } from 'react'; +import { get as getBook} from '../BooksAPI'; +import 'bootstrap/dist/css/bootstrap.min.css'; + +class BookDetails extends Component { + + state={ + book:{ + title: '', + authors: [], + publisher: '', + description: '', + shelf: '', + image: '', + categories: [], + pageCount: '', + language: '' + }, + } + + componentDidMount = () => { + const { match } = { ...this.props }; + const id = match.params.id; + getBook(id).then((res) => { + const categories = res.categories ? [...res.categories] : []; + const book = { + id: res.id, + title: res.title, + authors: [...res.authors], + publisher: res.publisher, + description: res.description, + shelf: res.shelf, + image: res.imageLinks.thumbnail, + categories: [...categories], + pageCount: res.pageCount, + language: res.language + } + this.setState({ book }); + }); + }; + + render() { + const book = {...this.state.book}; + return
    +
    +
    +
    {book.title}
    +
    +
    +

    description: {book.description.slice(0, 250)}

    +
    + +

    + publisher {book.publisher} +

    +
    + +

    + page Count: {book.pageCount} +

    +
    +
    +
    +

    + authors: {book.authors} +

    +

    + categories: {book.categories} +

    +
    +

    + language: {book.language} +

    +
    +
    +
    +
    +
    +
    +
    + Card cap +
    + +
    +
    +
    +
    +
    +
    + } +} + +export default BookDetails; \ No newline at end of file diff --git a/src/components/search.js b/src/components/search.js new file mode 100644 index 0000000000..57c9eaeb5c --- /dev/null +++ b/src/components/search.js @@ -0,0 +1,108 @@ +import React, { Component } from "react"; +import { Link } from "react-router-dom"; +import SearchBooks from "./searchBooksRender"; +import * as BooksAPI from "../BooksAPI"; + +/** + * componet form handle search books and childs is searchBooksRender which render the search result books + */ +class Search extends Component { + /** + * + * @param {*} props hold bookd of parent and merge it with search books to define its shelfes + */ + constructor(props) { + super(props); + this.state.books = props.books; + } + //books for holding search result books + state = { query: "", books: [] }; + + + /** + * handle chaning in search text + * @param {*} ev is event parameter that hold event firing info + */ + getSearchText = (ev) => { + const searchTxt = ev.target.value.trim(); + if (searchTxt !== "") { + //fetch API for getting matched book after 500ms + BooksAPI.search(searchTxt) + .then((res) => { + if (res.length > 0) { + let [books, shelfs] = [[], []]; + res.forEach((cur) => { + if (!shelfs.includes(cur.shelf)) shelfs.push(cur.shelf); + + const categories = cur.categories ? [...cur.categories] : []; + const authors = cur.authors ? [...cur.authors] : []; + const img = cur.imageLinks ? cur.imageLinks.smallThumbnail : "alt"; + + const book = { + id: cur.id, + title: cur.title, + shelf: cur.shelf, + bookImage: img, + categories: [...categories], + authors: [...authors], + }; + const index = this.state.books.indexOf(book); + index === -1 && books.push(book); + }); + this.setState({ books }); + } + else + { + this.setState({ books: [] }); + alert("No Books matched the search"); + } + }) + .catch((er) => { + console.log(er); + // alert("invalid searche"); + }); + } + this.setState({ query: searchTxt }); + }; + + /** + * calling parent event handler for shelf chaning + * @param {*} bookState : current shelf name + * @param {*} book : book object + */ + onUpdateBookShelf = (bookState, book) => { + this.props.onUpdateBookShelf(bookState, book); + }; + + render() { + return ( +
    +
    + + + +
    + +
    +
    + + {this.state.query !== "" && ( +
    +
      + +
    + )} +
    + ); + } +} + +export default Search; diff --git a/src/components/searchBooksRender.js b/src/components/searchBooksRender.js new file mode 100644 index 0000000000..d478d8c803 --- /dev/null +++ b/src/components/searchBooksRender.js @@ -0,0 +1,60 @@ +import React, { Component } from "react"; + +import Book from "./book"; + +/** + * rendering search result books + */ +class SearchBooks extends Component { + +/** + * handle shelfs books and defined each shelf for each book + * @param {*} bookShelf sending Book shelf for shefed books + * @returns shelf or none if shelf doesn't define + */ + getShelf = ( bookShelf) => { + if (!bookShelf) + return 'none'; + const [shelf] = [...this.props.shelfs.filter(shelf => shelf === bookShelf)]; + return shelf; + } + + /** + * calling parent event handler for shelf chaning + * @param {*} bookState : current shelf name + * @param {*} book : book object + */ + onUpdateBookShelf =( bookState ,book )=>{ + this.props.onUpdateBookShelf( bookState ,book); + } + + render() { + const { books } = { ...this.props }; + return ( +
    +
    +
    +
      + {books.map((book) => { + const shelf = this.getShelf(book.shelf); + return ( +
    1. + +
    2. + ); + })} +
    +
    +
    +
    + ); + } +} + +export default SearchBooks; diff --git a/src/components/shelfBooksRender.js b/src/components/shelfBooksRender.js new file mode 100644 index 0000000000..89975015da --- /dev/null +++ b/src/components/shelfBooksRender.js @@ -0,0 +1,71 @@ +import React, { Component } from "react"; + +import Book from "./book"; + +/** + * rendering the shefls books in main page + */ +class ShelfsBooks extends Component { + /** + * + * @param {*} shelfName hold shelf name as wantToRead no spaces + * @returns more readable style with spaces for shelf nams + */ + setShelfHeadName = (shelfName) => { + let shelfHeadText = ""; + if (shelfName === "currentlyReading") shelfHeadText = "current Reading"; + else if (shelfName === "wantToRead") shelfHeadText = "want to Read"; + else shelfHeadText = "Read"; + return shelfHeadText; + }; + + /** + * calling parent event handler for shelf chaning + * @param {*} bookState : current shelf name + * @param {*} book : book object + */ + onUpdateBookShelf = (bookState, book) => { + this.props.onUpdateBookShelf(bookState, book); + }; + + render() { + const { books, shelfs } = { ...this.props }; + return ( +
    +
    + {shelfs.map((shelf) => { + return ( +
    +
    +

    + {this.setShelfHeadName(shelf)} +

    +
    +
      + {books.map((book) => { + return ( + shelf === book.shelf && ( +
    1. + +
    2. + ) + ); + })} +
    +
    +
    +
    + ); + })} +
    +
    + ); + } +} + +export default ShelfsBooks; diff --git a/src/icons/1021547.png b/src/icons/1021547.png new file mode 100644 index 0000000000..0d553b8884 Binary files /dev/null and b/src/icons/1021547.png differ diff --git a/src/index.js b/src/index.js index fde0d67bd1..62500aac93 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,12 @@ -import React from 'react' -import ReactDOM from 'react-dom' -import App from './App' -import './index.css' +import React from "react"; +import ReactDOM from "react-dom"; +import App from "./App"; +import "./index.css"; +import { BrowserRouter } from "react-router-dom"; -ReactDOM.render(, document.getElementById('root')) +ReactDOM.render( + + + , + document.getElementById("root") +); diff --git a/yarn.lock b/yarn.lock index 7a897f026f..dab3cfa2cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -788,6 +788,13 @@ dependencies: regenerator-runtime "^0.12.0" +"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.13": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.4.tgz#fd17d16bfdf878e6dd02d19753a39fa8a8d9c84a" + integrity sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/template@^7.1.0", "@babel/template@^7.1.2": version "7.1.2" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.1.2.tgz#090484a574fef5a2d2d7726a674eceda5c5b5644" @@ -1736,6 +1743,11 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= +bootstrap@4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.6.0.tgz#97b9f29ac98f98dfa43bf7468262d84392552fd7" + integrity sha512-Io55IuQY3kydzHtbGvQya3H+KorS/M9rSNyfCGCg9WZ4pyT/lCxIlpJgG1GXW/PswzC84Tr2fBYi+7+jFVQQBw== + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -4261,6 +4273,18 @@ hex-color-regex@^1.1.0: resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ== +history@^4.9.0: + version "4.10.1" + resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" + integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew== + dependencies: + "@babel/runtime" "^7.1.2" + loose-envify "^1.2.0" + resolve-pathname "^3.0.0" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" + value-equal "^1.0.1" + hmac-drbg@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" @@ -4275,6 +4299,13 @@ hoek@4.x.x: resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.1.tgz#9634502aa12c445dd5a7c5734b572bb8738aacbb" integrity sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA== +hoist-non-react-statics@^3.1.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + home-or-tmp@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" @@ -5785,7 +5816,7 @@ loglevel@^1.4.1: resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa" integrity sha1-4PyVEztu8nbNyIh82vJKpvFW+Po= -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -6000,6 +6031,14 @@ mimic-fn@^1.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== +mini-create-react-context@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz#072171561bfdc922da08a60c2197a497cc2d1d5e" + integrity sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ== + dependencies: + "@babel/runtime" "^7.12.1" + tiny-warning "^1.0.3" + mini-css-extract-plugin@0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.4.3.tgz#98d60fcc5d228c3e36a9bd15a1d6816d6580beb8" @@ -6748,6 +6787,13 @@ path-to-regexp@0.1.7: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= +path-to-regexp@^1.7.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a" + integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA== + dependencies: + isarray "0.0.1" + path-type@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" @@ -7768,6 +7814,40 @@ react-error-overlay@^5.1.0: resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-5.1.0.tgz#c516995a5652e7bfbed8b497910d5280df74a7e8" integrity sha512-akMy/BQT5m1J3iJIHkSb4qycq2wzllWsmmolaaFVnb+LPV9cIJ/nTud40ZsiiT0H3P+/wXIdbjx2fzF61OaeOQ== +react-is@^16.6.0, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-router-dom@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.3.0.tgz#da1bfb535a0e89a712a93b97dd76f47ad1f32363" + integrity sha512-ObVBLjUZsphUUMVycibxgMdh5jJ1e3o+KpAZBVeHcNQZ4W+uUGGWsokurzlF4YOldQYRQL4y6yFRWM4m3svmuQ== + dependencies: + "@babel/runtime" "^7.12.13" + history "^4.9.0" + loose-envify "^1.3.1" + prop-types "^15.6.2" + react-router "5.2.1" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" + +react-router@5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.2.1.tgz#4d2e4e9d5ae9425091845b8dbc6d9d276239774d" + integrity sha512-lIboRiOtDLFdg1VTemMwud9vRVuOCZmUIT/7lUoZiSpPODiiH1UQlfXy+vPLC/7IWdFYnhRwAyNqA/+I7wnvKQ== + dependencies: + "@babel/runtime" "^7.12.13" + history "^4.9.0" + hoist-non-react-statics "^3.1.0" + loose-envify "^1.3.1" + mini-create-react-context "^0.4.0" + path-to-regexp "^1.7.0" + prop-types "^15.6.2" + react-is "^16.6.0" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" + react-scripts@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/react-scripts/-/react-scripts-2.1.1.tgz#c2959a756b0b61d3090adece0d7aedd324dff8a5" @@ -7935,6 +8015,11 @@ regenerator-runtime@^0.12.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== +regenerator-runtime@^0.13.4: + version "0.13.9" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" + integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== + regenerator-transform@^0.13.3: version "0.13.3" resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.13.3.tgz#264bd9ff38a8ce24b06e0636496b2c856b57bcbb" @@ -8140,6 +8225,11 @@ resolve-from@^3.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" integrity sha1-six699nWiBvItuZTM17rywoYh0g= +resolve-pathname@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd" + integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng== + resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" @@ -8993,6 +9083,16 @@ timsort@^0.3.0: resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= +tiny-invariant@^1.0.2: + version "1.1.0" + resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.1.0.tgz#634c5f8efdc27714b7f386c35e6760991d230875" + integrity sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw== + +tiny-warning@^1.0.0, tiny-warning@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" + integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -9331,6 +9431,11 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +value-equal@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-1.0.1.tgz#1e0b794c734c5c0cade179c437d356d931a34d6c" + integrity sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw== + vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"