├── server ├── .gitignore ├── .env.example ├── config │ └── index.js ├── models │ ├── move.js │ └── pokemon.js ├── package.json ├── index.js ├── api │ └── index.js └── package-lock.json ├── client ├── public │ ├── _redirects │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── index.html ├── src │ ├── components │ │ ├── Move │ │ │ ├── style.css │ │ │ └── index.jsx │ │ ├── Navbar │ │ │ ├── index.jsx │ │ │ └── style.css │ │ ├── Type │ │ │ └── index.jsx │ │ └── PokemonCard │ │ │ ├── style.css │ │ │ └── index.jsx │ ├── setupTests.js │ ├── App.test.js │ ├── API.js │ ├── index.css │ ├── reportWebVitals.js │ ├── index.js │ ├── App.js │ ├── pages │ │ ├── style.css │ │ ├── ViewPokemon.jsx │ │ └── CreatePokemon.jsx │ ├── App.css │ └── logo.svg ├── .gitignore ├── package.json └── README.md └── README.md /server/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | -------------------------------------------------------------------------------- /server/.env.example: -------------------------------------------------------------------------------- 1 | PORT= 2 | DATABASE_URL= 3 | -------------------------------------------------------------------------------- /client/public/_redirects: -------------------------------------------------------------------------------- 1 | /* /index.html 200 2 | -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acmucsd/hackschool-fa20/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acmucsd/hackschool-fa20/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acmucsd/hackschool-fa20/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/src/components/Move/style.css: -------------------------------------------------------------------------------- 1 | .pokemon-move td { 2 | padding: 2px; 3 | } 4 | 5 | .move-type { 6 | font-weight: bold; 7 | border-radius: 3px; 8 | } -------------------------------------------------------------------------------- /server/config/index.js: -------------------------------------------------------------------------------- 1 | const dotenv = require('dotenv'); 2 | 3 | dotenv.config(); 4 | 5 | const config = { 6 | PORT: process.env.PORT, 7 | databaseUrl: process.env.DATABASE_URL, 8 | } 9 | 10 | module.exports = config; 11 | -------------------------------------------------------------------------------- /client/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /client/src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /client/src/components/Move/index.jsx: -------------------------------------------------------------------------------- 1 | import './style.css'; 2 | 3 | const Move = (props) => { 4 | return ( 5 | 6 | {props.type} 7 | {props.name} 8 | Power: {props.power} 9 | 10 | ) 11 | } 12 | 13 | export default Move; -------------------------------------------------------------------------------- /client/src/API.js: -------------------------------------------------------------------------------- 1 | import axios from 'axios'; 2 | 3 | const server = 'https://pokemon-generator-pogchamp.herokuapp.com'; 4 | 5 | const API = { 6 | getPokemon: function () { 7 | return axios.get(`${server}/api/pokemon`); 8 | }, 9 | createPokemon: function (pokemon) { 10 | return axios.post(`${server}/api/pokemon`, pokemon); 11 | } 12 | } 13 | 14 | export default API; 15 | -------------------------------------------------------------------------------- /server/models/move.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const MoveSchema = new mongoose.Schema( 4 | { 5 | type: { 6 | type: String, 7 | required: true, 8 | }, 9 | name: { 10 | type: String, 11 | required: true, 12 | }, 13 | power: { 14 | type: Number, 15 | required: true, 16 | }, 17 | } 18 | ); 19 | 20 | module.exports = MoveSchema; 21 | -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /client/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /client/src/reportWebVitals.js: -------------------------------------------------------------------------------- 1 | const reportWebVitals = onPerfEntry => { 2 | if (onPerfEntry && onPerfEntry instanceof Function) { 3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 4 | getCLS(onPerfEntry); 5 | getFID(onPerfEntry); 6 | getFCP(onPerfEntry); 7 | getLCP(onPerfEntry); 8 | getTTFB(onPerfEntry); 9 | }); 10 | } 11 | }; 12 | 13 | export default reportWebVitals; 14 | -------------------------------------------------------------------------------- /client/src/components/Navbar/index.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import './style.css'; 3 | 4 | const Navbar = () => { 5 | return ( 6 | 15 | ); 16 | }; 17 | 18 | export default Navbar; -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "server", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node index.js", 8 | "dev": "nodemon index.js", 9 | "test": "echo \"Error: no test specified\" && exit 1" 10 | }, 11 | "keywords": [], 12 | "author": "", 13 | "license": "ISC", 14 | "dependencies": { 15 | "cors": "^2.8.5", 16 | "dotenv": "^8.2.0", 17 | "express": "^4.17.1", 18 | "mongoose": "^5.10.15", 19 | "nodemon": "^2.0.6" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | ReactDOM.render( 8 | 9 | 10 | , 11 | document.getElementById('root') 12 | ); 13 | 14 | // If you want to start measuring performance in your app, pass a function 15 | // to log results (for example: reportWebVitals(console.log)) 16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 17 | reportWebVitals(); 18 | -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /client/src/App.js: -------------------------------------------------------------------------------- 1 | import './App.css'; 2 | import CreatePokemon from './pages/CreatePokemon'; 3 | import ViewPokemon from './pages/ViewPokemon'; 4 | import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom'; 5 | 6 | const App = () => { 7 | return ( 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | ); 18 | } 19 | 20 | export default App; 21 | -------------------------------------------------------------------------------- /client/src/pages/style.css: -------------------------------------------------------------------------------- 1 | .create-page { 2 | /* 3 | - Make it a flex container where items are spaced evenly and aligned to the center 4 | */ 5 | display: flex; 6 | justify-content: space-evenly; 7 | align-items: center; 8 | } 9 | 10 | .pokemon-form { 11 | /* 12 | - Add a 1px black border around the form 13 | - Add 20px of padding inside the form 14 | - Make the form only 35% wide 15 | */ 16 | border: 1px solid black; 17 | padding: 20px; 18 | width: 35%; 19 | } 20 | 21 | .form-row { 22 | /* 23 | - Add a 16px bottom margin 24 | */ 25 | margin-bottom: 16px; 26 | } 27 | 28 | label { 29 | margin: 5px; 30 | } -------------------------------------------------------------------------------- /client/src/App.css: -------------------------------------------------------------------------------- 1 | .App-logo { 2 | height: 40vmin; 3 | pointer-events: none; 4 | } 5 | 6 | @media (prefers-reduced-motion: no-preference) { 7 | .App-logo { 8 | animation: App-logo-spin infinite 20s linear; 9 | } 10 | } 11 | 12 | .App-header { 13 | background-color: #282c34; 14 | min-height: 100vh; 15 | display: flex; 16 | flex-direction: column; 17 | align-items: center; 18 | justify-content: center; 19 | font-size: calc(10px + 2vmin); 20 | color: white; 21 | } 22 | 23 | .App-link { 24 | color: #61dafb; 25 | } 26 | 27 | @keyframes App-logo-spin { 28 | from { 29 | transform: rotate(0deg); 30 | } 31 | to { 32 | transform: rotate(360deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /server/index.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const config = require('./config'); 3 | const cors = require('cors'); 4 | const router = require('./api'); 5 | const server = express(); 6 | const mongoose = require('mongoose'); 7 | 8 | server.use(cors()); 9 | server.use(express.json()); 10 | server.use(express.urlencoded({ extended: true })); 11 | 12 | server.use('/api', router); 13 | 14 | mongoose.connect(config.databaseUrl, { 15 | useNewUrlParser: true, 16 | useUnifiedTopology: true }).then(() => { 17 | console.log('Connected to MongoDB database'); 18 | }); 19 | 20 | 21 | server.listen(config.PORT, () => { 22 | console.log('Server started on port ' + config.PORT); 23 | }); 24 | -------------------------------------------------------------------------------- /server/api/index.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const Pokemon = require('../models/pokemon'); 3 | 4 | const router = express.Router(); 5 | 6 | router.get('/pokemon', async (req, res) => { 7 | const pokemon = await Pokemon.find().exec(); 8 | 9 | res.status(200).json({ pokemon }); 10 | }); 11 | 12 | router.post('/pokemon', async (req, res) => { 13 | const { pokemon } = req.body; 14 | const { name, description, type1, type2, image, moves } = pokemon 15 | if ((!name || !description || !type1 || !image || !moves) || moves.length > 4) { 16 | res.status(400).json({ error: 'Invalid input' }); 17 | } else { 18 | const newPokemon = await Pokemon.create(pokemon); 19 | res.status(200).json({ pokemon: newPokemon }); 20 | } 21 | }); 22 | 23 | module.exports = router; 24 | -------------------------------------------------------------------------------- /server/models/pokemon.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | const MoveSchema = require('./move'); 3 | 4 | const PokemonSchema = new mongoose.Schema( 5 | { 6 | name: { 7 | type: String, 8 | required: true, 9 | }, 10 | description: { 11 | type: String, 12 | required: true, 13 | }, 14 | image: { 15 | type: String, 16 | required: true, 17 | }, 18 | type1: { 19 | type: String, 20 | required: true, 21 | }, 22 | type2: { 23 | type: String, 24 | required: false, 25 | }, 26 | moves: { 27 | type: [MoveSchema], 28 | required: true, 29 | } 30 | } 31 | ) 32 | 33 | const Pokemon = mongoose.model('Pokemon', PokemonSchema); 34 | 35 | module.exports = Pokemon; -------------------------------------------------------------------------------- /client/src/pages/ViewPokemon.jsx: -------------------------------------------------------------------------------- 1 | import React, { useState, useEffect } from 'react'; 2 | import Navbar from '../components/Navbar'; 3 | import API from '../API'; 4 | import './style.css'; 5 | import PokemonCard from '../components/PokemonCard'; 6 | 7 | /** 8 | * Component for the view pokemon page 9 | */ 10 | const ViewPokemon = () => { 11 | const [body, setBody] = useState([]); 12 | 13 | useEffect(() => { 14 | API.getPokemon().then((response) => { 15 | setBody(response.data.pokemon); 16 | }); 17 | }, []); 18 | 19 | const currentPokemons = body.map((val) => ); 21 | 22 | return ( 23 |
24 | 25 |
26 | {currentPokemons} 27 |
28 |
29 | ); 30 | }; 31 | 32 | export default ViewPokemon; -------------------------------------------------------------------------------- /client/src/components/Navbar/style.css: -------------------------------------------------------------------------------- 1 | #navbar { 2 | /* 3 | - Change background color to #BF4141 4 | - Add a 15px-thick black border on the bottom 5 | - Turn the navbar into a flex container w/ space between items 6 | - Align the items vertically across the center 7 | - Add a bottom margin of 25px 8 | */ 9 | background-color: #BF4141; 10 | border-bottom: 15px solid black; 11 | display: flex; 12 | justify-content: space-between; 13 | align-items: center; 14 | margin-bottom: 25px; 15 | } 16 | 17 | .title > h1 { 18 | /* 19 | - Change font color to white 20 | - Add a left margin of 16px 21 | */ 22 | color: white; 23 | margin-left: 16px; 24 | } 25 | 26 | .nav-buttons a { 27 | /* 28 | - Change font color to white 29 | - Increase the font size to 18px 30 | - Add a right margin of 16px 31 | - Get rid of the link underline with text-decoration 32 | */ 33 | color: white; 34 | font-size: 18px; 35 | margin-right: 16px; 36 | text-decoration: none; 37 | } -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "client", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.11.4", 7 | "@testing-library/react": "^11.1.0", 8 | "@testing-library/user-event": "^12.1.10", 9 | "axios": "^0.21.0", 10 | "react": "^17.0.1", 11 | "react-canvas-draw": "^1.1.1", 12 | "react-dom": "^17.0.1", 13 | "react-router-dom": "^5.2.0", 14 | "react-scripts": "4.0.0", 15 | "web-vitals": "^0.2.4" 16 | }, 17 | "scripts": { 18 | "start": "react-scripts start", 19 | "build": "react-scripts build", 20 | "test": "react-scripts test", 21 | "eject": "react-scripts eject" 22 | }, 23 | "eslintConfig": { 24 | "extends": [ 25 | "react-app", 26 | "react-app/jest" 27 | ] 28 | }, 29 | "browserslist": { 30 | "production": [ 31 | ">0.2%", 32 | "not dead", 33 | "not op_mini all" 34 | ], 35 | "development": [ 36 | "last 1 chrome version", 37 | "last 1 firefox version", 38 | "last 1 safari version" 39 | ] 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /client/src/components/Type/index.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | /** 4 | * Component for selecting a type. Props: id of the select element 5 | */ 6 | const Type = ({ id }) => { 7 | const defaultEmptyIDs = ['type2', 'move2type', 'move3type', 'move4type']; 8 | 9 | let emptyOption; 10 | if (defaultEmptyIDs.includes(id)) { 11 | emptyOption = ; 12 | } 13 | 14 | return ( 15 | 36 | ); 37 | }; 38 | 39 | export default Type; -------------------------------------------------------------------------------- /client/src/components/PokemonCard/style.css: -------------------------------------------------------------------------------- 1 | .pokemon-card-container { 2 | display: inline-block; 3 | border-color: #999999; 4 | border-style: solid; 5 | border-radius: 5px; 6 | border-width: 2px; 7 | box-shadow: 2% 4vh 10px #222222; 8 | /* width: 40vw; 9 | height: 20vw; */ 10 | min-width: 200px; 11 | min-height: 240px; 12 | margin: 2vh 2vw; 13 | overflow-y: scroll; 14 | } 15 | 16 | .pokemon-card-container-inner { 17 | display: flex; 18 | } 19 | 20 | /* Hide scrollbar for Chrome, Safari and Opera */ 21 | .pokemon-card-container::-webkit-scrollbar { 22 | display: none; 23 | } 24 | 25 | /* Hide scrollbar for IE, Edge and Firefox */ 26 | .pokemon-card-container { 27 | -ms-overflow-style: none; 28 | scrollbar-width: none; 29 | } 30 | 31 | .pokemon-card-container p { 32 | margin: 0.5em; 33 | } 34 | 35 | .pokemoncard-data-container { 36 | min-width: 20vw; 37 | max-width: 20vw; 38 | } 39 | 40 | .pokemoncard-name { 41 | font-size: 20px; 42 | font-weight: bold; 43 | } 44 | 45 | .pokemoncard-bold { 46 | font-weight: bold; 47 | } 48 | 49 | .pokemon-description { 50 | color: #999999; 51 | font-style: italic; 52 | } 53 | 54 | .pokemon-types { 55 | display: flex; 56 | } 57 | 58 | .pokemon-types span { 59 | display: inline; 60 | } 61 | 62 | .moves-table { 63 | margin-left: 0.4em; 64 | } 65 | 66 | .canvas { 67 | border: 1px solid black; 68 | height: 500px; 69 | width: 500px; 70 | margin: auto; 71 | } 72 | 73 | .canvas-options { 74 | display: flex; 75 | justify-content: center; 76 | } 77 | 78 | .canvas-options button { 79 | margin: 5px; 80 | } 81 | 82 | .color-picker { 83 | display: flex; 84 | justify-content: center; 85 | margin: 5px; 86 | } -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /client/src/components/PokemonCard/index.jsx: -------------------------------------------------------------------------------- 1 | import React, { useRef, useEffect } from 'react'; 2 | import Move from '../Move'; 3 | import CanvasDraw from 'react-canvas-draw'; 4 | import './style.css'; 5 | 6 | const PokemonCard = (props) => { 7 | 8 | const loadableCanvas = useRef(); 9 | 10 | const displayedMoves = props.moves.map((move, key) => { 11 | return 12 | }); 13 | 14 | useEffect(() => { 15 | if (loadableCanvas == null) { return; } 16 | loadableCanvas.current.loadSaveData(props.image, true); 17 | }, [props.image]); 18 | 19 | return ( 20 |
21 |
22 | 30 | 31 |
32 |

{props.name}

33 |

{props.description}

34 |

35 | {props.type1} 36 | {props.type2} 37 |

38 |

Moves:

39 | 40 | 41 | {displayedMoves} 42 | 43 |
44 |
45 |
46 |
47 | ) 48 | }; 49 | 50 | export default PokemonCard; -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Hack School: Learn the MERN 2 | Repository for ACM's Hack School - Learn the MERN - Fall 2020 3 | 4 | ## Preparing for Hack School 5 | Follow the instructions found in our Workshop 0 preparing slide deck: https://acmurl.com/hackschool-fa20-pt0 6 | 7 | We do expect that you try to attend every workshop, however we do have a way to catch up if you have to miss a workshop. Instructions for catching up are always found here: https://acmurl.com/hackschool-fa20-pt0 8 | 9 | We will also record every workshop, which can be found here: https://acmurl.com/youtube as well as our [playlist](https://www.youtube.com/watch?v=VRifC6mFma4&list=PLpmCTDt8lemWE4CQ7shdIJ0VYXcErWw22) 10 | 11 | Reference Pokemon Generator: https://acmurl.com/pokemon-generator 12 | 13 | ## Get access to our resources 14 | We have a Discord where you can always ask questions during the workshop, as well as office hours you can attend. Links found below: 15 | - Discord: https://acmurl.com/hack-discord 16 | - Signup For Our Resources: https://acmurl.com/hackschool-signup 17 | - Calendar for Office Hours: http://acmurl.com/hackschool-oh 18 | 19 | 20 | ## Slides and Resources 21 | Part 1 (10/15) - HTML/CSS - [Slides Presentation](https://acmurl.com/hackschool-fa20-1) - [Solution Code](https://github.com/acmucsd/hackschool-fa20/tree/part-1) 22 | 23 | Part 2 (10/22) - Javascript/Node.js - [Slides Presentation](https://acmurl.com/hackschool-fa20-2) - [Solution Code](https://github.com/acmucsd/hackschool-fa20/tree/part-2) 24 | 25 | Part 3 (10/29) - DOM Manipulation + React pt1 - [Slides Presentation](https://acmurl.com/hackschool-fa20-3) - [Solution Code](https://github.com/acmucsd/hackschool-fa20/tree/part-3) 26 | 27 | Part 4 (11/5) - APIs + React pt2 - [Slides Presentation](https://acmurl.com/hackschool-fa20-4) - [Solution Code](https://github.com/acmucsd/hackschool-fa20/tree/part-4) 28 | 29 | Part 5 (11/12) - Databases + React pt3 - [Slides Presentation](https://acmurl.com/hackschool-fa20-5) - [Solution Code](https://github.com/acmucsd/hackschool-fa20/tree/part-5) 30 | 31 | Part 6 (11/19) - Testing + Continuous Integration & Deployment - [Slides Presentation](https://acmurl.com/hackschool-fa20-6) - [Solution Code](https://github.com/acmucsd/hackschool-fa20/tree/part-6) 32 | 33 | ## Give us Feedback! 34 | At ACM Hack, we want to ensure that our events are always of good quality. We appreciate any piece of feedback you may have, whether it's positive or negative. Feedback can be submitted here: http://acmurl.com/hackschool-feedback 35 | -------------------------------------------------------------------------------- /client/src/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `yarn start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 13 | 14 | The page will reload if you make edits.\ 15 | You will also see any lint errors in the console. 16 | 17 | ### `yarn test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `yarn build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `yarn eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!** 35 | 36 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. 39 | 40 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | 48 | ### Code Splitting 49 | 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) 51 | 52 | ### Analyzing the Bundle Size 53 | 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) 55 | 56 | ### Making a Progressive Web App 57 | 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) 59 | 60 | ### Advanced Configuration 61 | 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) 63 | 64 | ### Deployment 65 | 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 67 | 68 | ### `yarn build` fails to minify 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) 71 | -------------------------------------------------------------------------------- /client/src/pages/CreatePokemon.jsx: -------------------------------------------------------------------------------- 1 | import React, { useState, useRef } from 'react'; 2 | import './style.css'; 3 | import Navbar from '../components/Navbar'; 4 | import Type from '../components/Type'; 5 | import API from '../API'; 6 | import CanvasDraw from 'react-canvas-draw'; 7 | 8 | const CreatePokemon = () => { 9 | const [color, setColor] = useState('#000'); 10 | const canvasInput = useRef(); 11 | 12 | const createPokemon = async (e) => { 13 | e.preventDefault(); 14 | const req = e.target; 15 | const unfilteredMoves = [ 16 | { 17 | name: req.move1.value, 18 | type: req.move1type.value, 19 | power: req.move1power.value 20 | }, 21 | { 22 | name: req.move2.value, 23 | type: req.move2type.value, 24 | power: req.move2power.value 25 | }, 26 | { 27 | name: req.move3.value, 28 | type: req.move3type.value, 29 | power: req.move3power.value 30 | }, 31 | { 32 | name: req.move4.value, 33 | type: req.move4type.value, 34 | power: req.move4power.value 35 | } 36 | ] 37 | 38 | const moves = unfilteredMoves.filter((move) => { 39 | return move.name && move.type && move.power > 0; 40 | }); 41 | 42 | const payload = { 43 | pokemon: { 44 | name: req.name.value, 45 | description: req.desc.value, 46 | image: canvasInput.current.getSaveData(), 47 | type1: req.type1.value, 48 | type2: req.type2.value, 49 | moves, 50 | } 51 | }; 52 | await API.createPokemon(payload); 53 | alert('Created successfully') 54 | } 55 | 56 | return ( 57 |
58 | 59 |
60 |
61 |

Draw your Pokemon here!

62 |
63 | 72 |
73 |
74 |
75 | 76 | setColor(e.target.value)}> 77 |
78 | 82 | 86 |
87 |
88 | 89 |
90 |

Create a Pokemon

91 |
92 | 93 | 94 | 95 |
96 |
97 | 98 | 99 |
100 |
101 | 102 | 103 | 104 | 105 |
106 |
107 | 108 | 109 | 110 | 111 | 112 | 113 |
114 |
115 | 116 | 117 | 118 | 119 | 120 | 121 |
122 |
123 | 124 | 125 | 126 | 127 | 128 | 129 |
130 |
131 | 132 | 133 | 134 | 135 | 136 | 137 |
138 | 139 |
140 |
141 |
142 | ); 143 | }; 144 | 145 | export default CreatePokemon; -------------------------------------------------------------------------------- /server/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "server", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@sindresorhus/is": { 8 | "version": "0.14.0", 9 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", 10 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" 11 | }, 12 | "@szmarczak/http-timer": { 13 | "version": "1.1.2", 14 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", 15 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", 16 | "requires": { 17 | "defer-to-connect": "^1.0.1" 18 | } 19 | }, 20 | "abbrev": { 21 | "version": "1.1.1", 22 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 23 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 24 | }, 25 | "accepts": { 26 | "version": "1.3.7", 27 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 28 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", 29 | "requires": { 30 | "mime-types": "~2.1.24", 31 | "negotiator": "0.6.2" 32 | } 33 | }, 34 | "ansi-align": { 35 | "version": "3.0.0", 36 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", 37 | "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", 38 | "requires": { 39 | "string-width": "^3.0.0" 40 | }, 41 | "dependencies": { 42 | "string-width": { 43 | "version": "3.1.0", 44 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", 45 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", 46 | "requires": { 47 | "emoji-regex": "^7.0.1", 48 | "is-fullwidth-code-point": "^2.0.0", 49 | "strip-ansi": "^5.1.0" 50 | } 51 | } 52 | } 53 | }, 54 | "ansi-regex": { 55 | "version": "4.1.0", 56 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 57 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" 58 | }, 59 | "ansi-styles": { 60 | "version": "4.3.0", 61 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 62 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 63 | "requires": { 64 | "color-convert": "^2.0.1" 65 | } 66 | }, 67 | "anymatch": { 68 | "version": "3.1.1", 69 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", 70 | "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", 71 | "requires": { 72 | "normalize-path": "^3.0.0", 73 | "picomatch": "^2.0.4" 74 | } 75 | }, 76 | "array-flatten": { 77 | "version": "1.1.1", 78 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 79 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 80 | }, 81 | "balanced-match": { 82 | "version": "1.0.0", 83 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 84 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 85 | }, 86 | "binary-extensions": { 87 | "version": "2.1.0", 88 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", 89 | "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==" 90 | }, 91 | "bl": { 92 | "version": "2.2.1", 93 | "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", 94 | "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", 95 | "requires": { 96 | "readable-stream": "^2.3.5", 97 | "safe-buffer": "^5.1.1" 98 | } 99 | }, 100 | "bluebird": { 101 | "version": "3.5.1", 102 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", 103 | "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" 104 | }, 105 | "body-parser": { 106 | "version": "1.19.0", 107 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 108 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 109 | "requires": { 110 | "bytes": "3.1.0", 111 | "content-type": "~1.0.4", 112 | "debug": "2.6.9", 113 | "depd": "~1.1.2", 114 | "http-errors": "1.7.2", 115 | "iconv-lite": "0.4.24", 116 | "on-finished": "~2.3.0", 117 | "qs": "6.7.0", 118 | "raw-body": "2.4.0", 119 | "type-is": "~1.6.17" 120 | } 121 | }, 122 | "boxen": { 123 | "version": "4.2.0", 124 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", 125 | "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", 126 | "requires": { 127 | "ansi-align": "^3.0.0", 128 | "camelcase": "^5.3.1", 129 | "chalk": "^3.0.0", 130 | "cli-boxes": "^2.2.0", 131 | "string-width": "^4.1.0", 132 | "term-size": "^2.1.0", 133 | "type-fest": "^0.8.1", 134 | "widest-line": "^3.1.0" 135 | } 136 | }, 137 | "brace-expansion": { 138 | "version": "1.1.11", 139 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 140 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 141 | "requires": { 142 | "balanced-match": "^1.0.0", 143 | "concat-map": "0.0.1" 144 | } 145 | }, 146 | "braces": { 147 | "version": "3.0.2", 148 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 149 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 150 | "requires": { 151 | "fill-range": "^7.0.1" 152 | } 153 | }, 154 | "bson": { 155 | "version": "1.1.5", 156 | "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.5.tgz", 157 | "integrity": "sha512-kDuEzldR21lHciPQAIulLs1LZlCXdLziXI6Mb/TDkwXhb//UORJNPXgcRs2CuO4H0DcMkpfT3/ySsP3unoZjBg==" 158 | }, 159 | "bytes": { 160 | "version": "3.1.0", 161 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 162 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 163 | }, 164 | "cacheable-request": { 165 | "version": "6.1.0", 166 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", 167 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", 168 | "requires": { 169 | "clone-response": "^1.0.2", 170 | "get-stream": "^5.1.0", 171 | "http-cache-semantics": "^4.0.0", 172 | "keyv": "^3.0.0", 173 | "lowercase-keys": "^2.0.0", 174 | "normalize-url": "^4.1.0", 175 | "responselike": "^1.0.2" 176 | }, 177 | "dependencies": { 178 | "get-stream": { 179 | "version": "5.2.0", 180 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", 181 | "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", 182 | "requires": { 183 | "pump": "^3.0.0" 184 | } 185 | }, 186 | "lowercase-keys": { 187 | "version": "2.0.0", 188 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", 189 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" 190 | } 191 | } 192 | }, 193 | "camelcase": { 194 | "version": "5.3.1", 195 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", 196 | "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" 197 | }, 198 | "chalk": { 199 | "version": "3.0.0", 200 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", 201 | "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", 202 | "requires": { 203 | "ansi-styles": "^4.1.0", 204 | "supports-color": "^7.1.0" 205 | }, 206 | "dependencies": { 207 | "has-flag": { 208 | "version": "4.0.0", 209 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 210 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 211 | }, 212 | "supports-color": { 213 | "version": "7.2.0", 214 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 215 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 216 | "requires": { 217 | "has-flag": "^4.0.0" 218 | } 219 | } 220 | } 221 | }, 222 | "chokidar": { 223 | "version": "3.4.3", 224 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", 225 | "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==", 226 | "requires": { 227 | "anymatch": "~3.1.1", 228 | "braces": "~3.0.2", 229 | "fsevents": "~2.1.2", 230 | "glob-parent": "~5.1.0", 231 | "is-binary-path": "~2.1.0", 232 | "is-glob": "~4.0.1", 233 | "normalize-path": "~3.0.0", 234 | "readdirp": "~3.5.0" 235 | } 236 | }, 237 | "ci-info": { 238 | "version": "2.0.0", 239 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", 240 | "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" 241 | }, 242 | "cli-boxes": { 243 | "version": "2.2.1", 244 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", 245 | "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==" 246 | }, 247 | "clone-response": { 248 | "version": "1.0.2", 249 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", 250 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", 251 | "requires": { 252 | "mimic-response": "^1.0.0" 253 | } 254 | }, 255 | "color-convert": { 256 | "version": "2.0.1", 257 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 258 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 259 | "requires": { 260 | "color-name": "~1.1.4" 261 | } 262 | }, 263 | "color-name": { 264 | "version": "1.1.4", 265 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 266 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 267 | }, 268 | "concat-map": { 269 | "version": "0.0.1", 270 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 271 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 272 | }, 273 | "configstore": { 274 | "version": "5.0.1", 275 | "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", 276 | "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", 277 | "requires": { 278 | "dot-prop": "^5.2.0", 279 | "graceful-fs": "^4.1.2", 280 | "make-dir": "^3.0.0", 281 | "unique-string": "^2.0.0", 282 | "write-file-atomic": "^3.0.0", 283 | "xdg-basedir": "^4.0.0" 284 | } 285 | }, 286 | "content-disposition": { 287 | "version": "0.5.3", 288 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 289 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", 290 | "requires": { 291 | "safe-buffer": "5.1.2" 292 | } 293 | }, 294 | "content-type": { 295 | "version": "1.0.4", 296 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 297 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 298 | }, 299 | "cookie": { 300 | "version": "0.4.0", 301 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 302 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" 303 | }, 304 | "cookie-signature": { 305 | "version": "1.0.6", 306 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 307 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 308 | }, 309 | "core-util-is": { 310 | "version": "1.0.2", 311 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 312 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 313 | }, 314 | "cors": { 315 | "version": "2.8.5", 316 | "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", 317 | "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", 318 | "requires": { 319 | "object-assign": "^4", 320 | "vary": "^1" 321 | } 322 | }, 323 | "crypto-random-string": { 324 | "version": "2.0.0", 325 | "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", 326 | "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" 327 | }, 328 | "debug": { 329 | "version": "2.6.9", 330 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 331 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 332 | "requires": { 333 | "ms": "2.0.0" 334 | } 335 | }, 336 | "decompress-response": { 337 | "version": "3.3.0", 338 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", 339 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", 340 | "requires": { 341 | "mimic-response": "^1.0.0" 342 | } 343 | }, 344 | "deep-extend": { 345 | "version": "0.6.0", 346 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 347 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" 348 | }, 349 | "defer-to-connect": { 350 | "version": "1.1.3", 351 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", 352 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" 353 | }, 354 | "denque": { 355 | "version": "1.4.1", 356 | "resolved": "https://registry.npmjs.org/denque/-/denque-1.4.1.tgz", 357 | "integrity": "sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ==" 358 | }, 359 | "depd": { 360 | "version": "1.1.2", 361 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 362 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" 363 | }, 364 | "destroy": { 365 | "version": "1.0.4", 366 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 367 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 368 | }, 369 | "dot-prop": { 370 | "version": "5.3.0", 371 | "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", 372 | "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", 373 | "requires": { 374 | "is-obj": "^2.0.0" 375 | } 376 | }, 377 | "dotenv": { 378 | "version": "8.2.0", 379 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", 380 | "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==" 381 | }, 382 | "duplexer3": { 383 | "version": "0.1.4", 384 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", 385 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" 386 | }, 387 | "ee-first": { 388 | "version": "1.1.1", 389 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 390 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 391 | }, 392 | "emoji-regex": { 393 | "version": "7.0.3", 394 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 395 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" 396 | }, 397 | "encodeurl": { 398 | "version": "1.0.2", 399 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 400 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 401 | }, 402 | "end-of-stream": { 403 | "version": "1.4.4", 404 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 405 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 406 | "requires": { 407 | "once": "^1.4.0" 408 | } 409 | }, 410 | "escape-goat": { 411 | "version": "2.1.1", 412 | "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", 413 | "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==" 414 | }, 415 | "escape-html": { 416 | "version": "1.0.3", 417 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 418 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 419 | }, 420 | "etag": { 421 | "version": "1.8.1", 422 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 423 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 424 | }, 425 | "express": { 426 | "version": "4.17.1", 427 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 428 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", 429 | "requires": { 430 | "accepts": "~1.3.7", 431 | "array-flatten": "1.1.1", 432 | "body-parser": "1.19.0", 433 | "content-disposition": "0.5.3", 434 | "content-type": "~1.0.4", 435 | "cookie": "0.4.0", 436 | "cookie-signature": "1.0.6", 437 | "debug": "2.6.9", 438 | "depd": "~1.1.2", 439 | "encodeurl": "~1.0.2", 440 | "escape-html": "~1.0.3", 441 | "etag": "~1.8.1", 442 | "finalhandler": "~1.1.2", 443 | "fresh": "0.5.2", 444 | "merge-descriptors": "1.0.1", 445 | "methods": "~1.1.2", 446 | "on-finished": "~2.3.0", 447 | "parseurl": "~1.3.3", 448 | "path-to-regexp": "0.1.7", 449 | "proxy-addr": "~2.0.5", 450 | "qs": "6.7.0", 451 | "range-parser": "~1.2.1", 452 | "safe-buffer": "5.1.2", 453 | "send": "0.17.1", 454 | "serve-static": "1.14.1", 455 | "setprototypeof": "1.1.1", 456 | "statuses": "~1.5.0", 457 | "type-is": "~1.6.18", 458 | "utils-merge": "1.0.1", 459 | "vary": "~1.1.2" 460 | } 461 | }, 462 | "fill-range": { 463 | "version": "7.0.1", 464 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 465 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 466 | "requires": { 467 | "to-regex-range": "^5.0.1" 468 | } 469 | }, 470 | "finalhandler": { 471 | "version": "1.1.2", 472 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 473 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", 474 | "requires": { 475 | "debug": "2.6.9", 476 | "encodeurl": "~1.0.2", 477 | "escape-html": "~1.0.3", 478 | "on-finished": "~2.3.0", 479 | "parseurl": "~1.3.3", 480 | "statuses": "~1.5.0", 481 | "unpipe": "~1.0.0" 482 | } 483 | }, 484 | "forwarded": { 485 | "version": "0.1.2", 486 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 487 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 488 | }, 489 | "fresh": { 490 | "version": "0.5.2", 491 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 492 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 493 | }, 494 | "fsevents": { 495 | "version": "2.1.3", 496 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", 497 | "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", 498 | "optional": true 499 | }, 500 | "get-stream": { 501 | "version": "4.1.0", 502 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", 503 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", 504 | "requires": { 505 | "pump": "^3.0.0" 506 | } 507 | }, 508 | "glob-parent": { 509 | "version": "5.1.1", 510 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", 511 | "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", 512 | "requires": { 513 | "is-glob": "^4.0.1" 514 | } 515 | }, 516 | "global-dirs": { 517 | "version": "2.0.1", 518 | "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz", 519 | "integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A==", 520 | "requires": { 521 | "ini": "^1.3.5" 522 | } 523 | }, 524 | "got": { 525 | "version": "9.6.0", 526 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", 527 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", 528 | "requires": { 529 | "@sindresorhus/is": "^0.14.0", 530 | "@szmarczak/http-timer": "^1.1.2", 531 | "cacheable-request": "^6.0.0", 532 | "decompress-response": "^3.3.0", 533 | "duplexer3": "^0.1.4", 534 | "get-stream": "^4.1.0", 535 | "lowercase-keys": "^1.0.1", 536 | "mimic-response": "^1.0.1", 537 | "p-cancelable": "^1.0.0", 538 | "to-readable-stream": "^1.0.0", 539 | "url-parse-lax": "^3.0.0" 540 | } 541 | }, 542 | "graceful-fs": { 543 | "version": "4.2.4", 544 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", 545 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" 546 | }, 547 | "has-flag": { 548 | "version": "3.0.0", 549 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 550 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 551 | }, 552 | "has-yarn": { 553 | "version": "2.1.0", 554 | "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", 555 | "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==" 556 | }, 557 | "http-cache-semantics": { 558 | "version": "4.1.0", 559 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", 560 | "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" 561 | }, 562 | "http-errors": { 563 | "version": "1.7.2", 564 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 565 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", 566 | "requires": { 567 | "depd": "~1.1.2", 568 | "inherits": "2.0.3", 569 | "setprototypeof": "1.1.1", 570 | "statuses": ">= 1.5.0 < 2", 571 | "toidentifier": "1.0.0" 572 | } 573 | }, 574 | "iconv-lite": { 575 | "version": "0.4.24", 576 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 577 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 578 | "requires": { 579 | "safer-buffer": ">= 2.1.2 < 3" 580 | } 581 | }, 582 | "ignore-by-default": { 583 | "version": "1.0.1", 584 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 585 | "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=" 586 | }, 587 | "import-lazy": { 588 | "version": "2.1.0", 589 | "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", 590 | "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" 591 | }, 592 | "imurmurhash": { 593 | "version": "0.1.4", 594 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 595 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" 596 | }, 597 | "inherits": { 598 | "version": "2.0.3", 599 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 600 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 601 | }, 602 | "ini": { 603 | "version": "1.3.5", 604 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", 605 | "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" 606 | }, 607 | "ipaddr.js": { 608 | "version": "1.9.1", 609 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 610 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 611 | }, 612 | "is-binary-path": { 613 | "version": "2.1.0", 614 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 615 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 616 | "requires": { 617 | "binary-extensions": "^2.0.0" 618 | } 619 | }, 620 | "is-ci": { 621 | "version": "2.0.0", 622 | "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", 623 | "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", 624 | "requires": { 625 | "ci-info": "^2.0.0" 626 | } 627 | }, 628 | "is-extglob": { 629 | "version": "2.1.1", 630 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 631 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" 632 | }, 633 | "is-fullwidth-code-point": { 634 | "version": "2.0.0", 635 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 636 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 637 | }, 638 | "is-glob": { 639 | "version": "4.0.1", 640 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 641 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 642 | "requires": { 643 | "is-extglob": "^2.1.1" 644 | } 645 | }, 646 | "is-installed-globally": { 647 | "version": "0.3.2", 648 | "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", 649 | "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", 650 | "requires": { 651 | "global-dirs": "^2.0.1", 652 | "is-path-inside": "^3.0.1" 653 | } 654 | }, 655 | "is-npm": { 656 | "version": "4.0.0", 657 | "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", 658 | "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==" 659 | }, 660 | "is-number": { 661 | "version": "7.0.0", 662 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 663 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" 664 | }, 665 | "is-obj": { 666 | "version": "2.0.0", 667 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", 668 | "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" 669 | }, 670 | "is-path-inside": { 671 | "version": "3.0.2", 672 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", 673 | "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==" 674 | }, 675 | "is-typedarray": { 676 | "version": "1.0.0", 677 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 678 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" 679 | }, 680 | "is-yarn-global": { 681 | "version": "0.3.0", 682 | "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", 683 | "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" 684 | }, 685 | "isarray": { 686 | "version": "1.0.0", 687 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 688 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 689 | }, 690 | "json-buffer": { 691 | "version": "3.0.0", 692 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", 693 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" 694 | }, 695 | "kareem": { 696 | "version": "2.3.1", 697 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.1.tgz", 698 | "integrity": "sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw==" 699 | }, 700 | "keyv": { 701 | "version": "3.1.0", 702 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", 703 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", 704 | "requires": { 705 | "json-buffer": "3.0.0" 706 | } 707 | }, 708 | "latest-version": { 709 | "version": "5.1.0", 710 | "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", 711 | "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", 712 | "requires": { 713 | "package-json": "^6.3.0" 714 | } 715 | }, 716 | "lowercase-keys": { 717 | "version": "1.0.1", 718 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", 719 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" 720 | }, 721 | "make-dir": { 722 | "version": "3.1.0", 723 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", 724 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", 725 | "requires": { 726 | "semver": "^6.0.0" 727 | }, 728 | "dependencies": { 729 | "semver": { 730 | "version": "6.3.0", 731 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 732 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" 733 | } 734 | } 735 | }, 736 | "media-typer": { 737 | "version": "0.3.0", 738 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 739 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 740 | }, 741 | "memory-pager": { 742 | "version": "1.5.0", 743 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 744 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", 745 | "optional": true 746 | }, 747 | "merge-descriptors": { 748 | "version": "1.0.1", 749 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 750 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 751 | }, 752 | "methods": { 753 | "version": "1.1.2", 754 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 755 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 756 | }, 757 | "mime": { 758 | "version": "1.6.0", 759 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 760 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 761 | }, 762 | "mime-db": { 763 | "version": "1.44.0", 764 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 765 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 766 | }, 767 | "mime-types": { 768 | "version": "2.1.27", 769 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 770 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 771 | "requires": { 772 | "mime-db": "1.44.0" 773 | } 774 | }, 775 | "mimic-response": { 776 | "version": "1.0.1", 777 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", 778 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" 779 | }, 780 | "minimatch": { 781 | "version": "3.0.4", 782 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 783 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 784 | "requires": { 785 | "brace-expansion": "^1.1.7" 786 | } 787 | }, 788 | "minimist": { 789 | "version": "1.2.5", 790 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 791 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" 792 | }, 793 | "mongodb": { 794 | "version": "3.6.3", 795 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.3.tgz", 796 | "integrity": "sha512-rOZuR0QkodZiM+UbQE5kDsJykBqWi0CL4Ec2i1nrGrUI3KO11r6Fbxskqmq3JK2NH7aW4dcccBuUujAP0ERl5w==", 797 | "requires": { 798 | "bl": "^2.2.1", 799 | "bson": "^1.1.4", 800 | "denque": "^1.4.1", 801 | "require_optional": "^1.0.1", 802 | "safe-buffer": "^5.1.2", 803 | "saslprep": "^1.0.0" 804 | } 805 | }, 806 | "mongoose": { 807 | "version": "5.10.15", 808 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.15.tgz", 809 | "integrity": "sha512-3QUWCpMRdFCPIBZkjG/B2OkfMY2WLkR+hv335o4T2mn3ta9kx8qVvXeUDojp3OHMxBZVUyCA+hDyyP4/aKmHuA==", 810 | "requires": { 811 | "bson": "^1.1.4", 812 | "kareem": "2.3.1", 813 | "mongodb": "3.6.3", 814 | "mongoose-legacy-pluralize": "1.0.2", 815 | "mpath": "0.7.0", 816 | "mquery": "3.2.2", 817 | "ms": "2.1.2", 818 | "regexp-clone": "1.0.0", 819 | "safe-buffer": "5.2.1", 820 | "sift": "7.0.1", 821 | "sliced": "1.0.1" 822 | }, 823 | "dependencies": { 824 | "ms": { 825 | "version": "2.1.2", 826 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 827 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 828 | }, 829 | "safe-buffer": { 830 | "version": "5.2.1", 831 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 832 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 833 | } 834 | } 835 | }, 836 | "mongoose-legacy-pluralize": { 837 | "version": "1.0.2", 838 | "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", 839 | "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==" 840 | }, 841 | "mpath": { 842 | "version": "0.7.0", 843 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.7.0.tgz", 844 | "integrity": "sha512-Aiq04hILxhz1L+f7sjGyn7IxYzWm1zLNNXcfhDtx04kZ2Gk7uvFdgZ8ts1cWa/6d0TQmag2yR8zSGZUmp0tFNg==" 845 | }, 846 | "mquery": { 847 | "version": "3.2.2", 848 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.2.tgz", 849 | "integrity": "sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q==", 850 | "requires": { 851 | "bluebird": "3.5.1", 852 | "debug": "3.1.0", 853 | "regexp-clone": "^1.0.0", 854 | "safe-buffer": "5.1.2", 855 | "sliced": "1.0.1" 856 | }, 857 | "dependencies": { 858 | "debug": { 859 | "version": "3.1.0", 860 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", 861 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", 862 | "requires": { 863 | "ms": "2.0.0" 864 | } 865 | } 866 | } 867 | }, 868 | "ms": { 869 | "version": "2.0.0", 870 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 871 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 872 | }, 873 | "negotiator": { 874 | "version": "0.6.2", 875 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 876 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 877 | }, 878 | "nodemon": { 879 | "version": "2.0.6", 880 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.6.tgz", 881 | "integrity": "sha512-4I3YDSKXg6ltYpcnZeHompqac4E6JeAMpGm8tJnB9Y3T0ehasLa4139dJOcCrB93HHrUMsCrKtoAlXTqT5n4AQ==", 882 | "requires": { 883 | "chokidar": "^3.2.2", 884 | "debug": "^3.2.6", 885 | "ignore-by-default": "^1.0.1", 886 | "minimatch": "^3.0.4", 887 | "pstree.remy": "^1.1.7", 888 | "semver": "^5.7.1", 889 | "supports-color": "^5.5.0", 890 | "touch": "^3.1.0", 891 | "undefsafe": "^2.0.3", 892 | "update-notifier": "^4.1.0" 893 | }, 894 | "dependencies": { 895 | "debug": { 896 | "version": "3.2.6", 897 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 898 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 899 | "requires": { 900 | "ms": "^2.1.1" 901 | } 902 | }, 903 | "ms": { 904 | "version": "2.1.2", 905 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 906 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 907 | } 908 | } 909 | }, 910 | "nopt": { 911 | "version": "1.0.10", 912 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 913 | "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", 914 | "requires": { 915 | "abbrev": "1" 916 | } 917 | }, 918 | "normalize-path": { 919 | "version": "3.0.0", 920 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 921 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" 922 | }, 923 | "normalize-url": { 924 | "version": "4.5.0", 925 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", 926 | "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==" 927 | }, 928 | "object-assign": { 929 | "version": "4.1.1", 930 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 931 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 932 | }, 933 | "on-finished": { 934 | "version": "2.3.0", 935 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 936 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", 937 | "requires": { 938 | "ee-first": "1.1.1" 939 | } 940 | }, 941 | "once": { 942 | "version": "1.4.0", 943 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 944 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 945 | "requires": { 946 | "wrappy": "1" 947 | } 948 | }, 949 | "p-cancelable": { 950 | "version": "1.1.0", 951 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", 952 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" 953 | }, 954 | "package-json": { 955 | "version": "6.5.0", 956 | "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", 957 | "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", 958 | "requires": { 959 | "got": "^9.6.0", 960 | "registry-auth-token": "^4.0.0", 961 | "registry-url": "^5.0.0", 962 | "semver": "^6.2.0" 963 | }, 964 | "dependencies": { 965 | "semver": { 966 | "version": "6.3.0", 967 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 968 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" 969 | } 970 | } 971 | }, 972 | "parseurl": { 973 | "version": "1.3.3", 974 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 975 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 976 | }, 977 | "path-to-regexp": { 978 | "version": "0.1.7", 979 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 980 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 981 | }, 982 | "picomatch": { 983 | "version": "2.2.2", 984 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", 985 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" 986 | }, 987 | "prepend-http": { 988 | "version": "2.0.0", 989 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", 990 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" 991 | }, 992 | "process-nextick-args": { 993 | "version": "2.0.1", 994 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 995 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 996 | }, 997 | "proxy-addr": { 998 | "version": "2.0.6", 999 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", 1000 | "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", 1001 | "requires": { 1002 | "forwarded": "~0.1.2", 1003 | "ipaddr.js": "1.9.1" 1004 | } 1005 | }, 1006 | "pstree.remy": { 1007 | "version": "1.1.8", 1008 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 1009 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" 1010 | }, 1011 | "pump": { 1012 | "version": "3.0.0", 1013 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 1014 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 1015 | "requires": { 1016 | "end-of-stream": "^1.1.0", 1017 | "once": "^1.3.1" 1018 | } 1019 | }, 1020 | "pupa": { 1021 | "version": "2.1.1", 1022 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", 1023 | "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", 1024 | "requires": { 1025 | "escape-goat": "^2.0.0" 1026 | } 1027 | }, 1028 | "qs": { 1029 | "version": "6.7.0", 1030 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 1031 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" 1032 | }, 1033 | "range-parser": { 1034 | "version": "1.2.1", 1035 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1036 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 1037 | }, 1038 | "raw-body": { 1039 | "version": "2.4.0", 1040 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 1041 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", 1042 | "requires": { 1043 | "bytes": "3.1.0", 1044 | "http-errors": "1.7.2", 1045 | "iconv-lite": "0.4.24", 1046 | "unpipe": "1.0.0" 1047 | } 1048 | }, 1049 | "rc": { 1050 | "version": "1.2.8", 1051 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 1052 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 1053 | "requires": { 1054 | "deep-extend": "^0.6.0", 1055 | "ini": "~1.3.0", 1056 | "minimist": "^1.2.0", 1057 | "strip-json-comments": "~2.0.1" 1058 | } 1059 | }, 1060 | "readable-stream": { 1061 | "version": "2.3.7", 1062 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1063 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1064 | "requires": { 1065 | "core-util-is": "~1.0.0", 1066 | "inherits": "~2.0.3", 1067 | "isarray": "~1.0.0", 1068 | "process-nextick-args": "~2.0.0", 1069 | "safe-buffer": "~5.1.1", 1070 | "string_decoder": "~1.1.1", 1071 | "util-deprecate": "~1.0.1" 1072 | } 1073 | }, 1074 | "readdirp": { 1075 | "version": "3.5.0", 1076 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", 1077 | "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", 1078 | "requires": { 1079 | "picomatch": "^2.2.1" 1080 | } 1081 | }, 1082 | "regexp-clone": { 1083 | "version": "1.0.0", 1084 | "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", 1085 | "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw==" 1086 | }, 1087 | "registry-auth-token": { 1088 | "version": "4.2.0", 1089 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.0.tgz", 1090 | "integrity": "sha512-P+lWzPrsgfN+UEpDS3U8AQKg/UjZX6mQSJueZj3EK+vNESoqBSpBUD3gmu4sF9lOsjXWjF11dQKUqemf3veq1w==", 1091 | "requires": { 1092 | "rc": "^1.2.8" 1093 | } 1094 | }, 1095 | "registry-url": { 1096 | "version": "5.1.0", 1097 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", 1098 | "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", 1099 | "requires": { 1100 | "rc": "^1.2.8" 1101 | } 1102 | }, 1103 | "require_optional": { 1104 | "version": "1.0.1", 1105 | "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz", 1106 | "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==", 1107 | "requires": { 1108 | "resolve-from": "^2.0.0", 1109 | "semver": "^5.1.0" 1110 | } 1111 | }, 1112 | "resolve-from": { 1113 | "version": "2.0.0", 1114 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", 1115 | "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=" 1116 | }, 1117 | "responselike": { 1118 | "version": "1.0.2", 1119 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", 1120 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", 1121 | "requires": { 1122 | "lowercase-keys": "^1.0.0" 1123 | } 1124 | }, 1125 | "safe-buffer": { 1126 | "version": "5.1.2", 1127 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1128 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1129 | }, 1130 | "safer-buffer": { 1131 | "version": "2.1.2", 1132 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1133 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1134 | }, 1135 | "saslprep": { 1136 | "version": "1.0.3", 1137 | "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", 1138 | "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", 1139 | "optional": true, 1140 | "requires": { 1141 | "sparse-bitfield": "^3.0.3" 1142 | } 1143 | }, 1144 | "semver": { 1145 | "version": "5.7.1", 1146 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1147 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 1148 | }, 1149 | "semver-diff": { 1150 | "version": "3.1.1", 1151 | "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", 1152 | "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", 1153 | "requires": { 1154 | "semver": "^6.3.0" 1155 | }, 1156 | "dependencies": { 1157 | "semver": { 1158 | "version": "6.3.0", 1159 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 1160 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" 1161 | } 1162 | } 1163 | }, 1164 | "send": { 1165 | "version": "0.17.1", 1166 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 1167 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", 1168 | "requires": { 1169 | "debug": "2.6.9", 1170 | "depd": "~1.1.2", 1171 | "destroy": "~1.0.4", 1172 | "encodeurl": "~1.0.2", 1173 | "escape-html": "~1.0.3", 1174 | "etag": "~1.8.1", 1175 | "fresh": "0.5.2", 1176 | "http-errors": "~1.7.2", 1177 | "mime": "1.6.0", 1178 | "ms": "2.1.1", 1179 | "on-finished": "~2.3.0", 1180 | "range-parser": "~1.2.1", 1181 | "statuses": "~1.5.0" 1182 | }, 1183 | "dependencies": { 1184 | "ms": { 1185 | "version": "2.1.1", 1186 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 1187 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" 1188 | } 1189 | } 1190 | }, 1191 | "serve-static": { 1192 | "version": "1.14.1", 1193 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 1194 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", 1195 | "requires": { 1196 | "encodeurl": "~1.0.2", 1197 | "escape-html": "~1.0.3", 1198 | "parseurl": "~1.3.3", 1199 | "send": "0.17.1" 1200 | } 1201 | }, 1202 | "setprototypeof": { 1203 | "version": "1.1.1", 1204 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 1205 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 1206 | }, 1207 | "sift": { 1208 | "version": "7.0.1", 1209 | "resolved": "https://registry.npmjs.org/sift/-/sift-7.0.1.tgz", 1210 | "integrity": "sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g==" 1211 | }, 1212 | "signal-exit": { 1213 | "version": "3.0.3", 1214 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", 1215 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" 1216 | }, 1217 | "sliced": { 1218 | "version": "1.0.1", 1219 | "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", 1220 | "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" 1221 | }, 1222 | "sparse-bitfield": { 1223 | "version": "3.0.3", 1224 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 1225 | "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", 1226 | "optional": true, 1227 | "requires": { 1228 | "memory-pager": "^1.0.2" 1229 | } 1230 | }, 1231 | "statuses": { 1232 | "version": "1.5.0", 1233 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 1234 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" 1235 | }, 1236 | "string-width": { 1237 | "version": "4.2.0", 1238 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", 1239 | "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", 1240 | "requires": { 1241 | "emoji-regex": "^8.0.0", 1242 | "is-fullwidth-code-point": "^3.0.0", 1243 | "strip-ansi": "^6.0.0" 1244 | }, 1245 | "dependencies": { 1246 | "ansi-regex": { 1247 | "version": "5.0.0", 1248 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", 1249 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" 1250 | }, 1251 | "emoji-regex": { 1252 | "version": "8.0.0", 1253 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1254 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 1255 | }, 1256 | "is-fullwidth-code-point": { 1257 | "version": "3.0.0", 1258 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1259 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" 1260 | }, 1261 | "strip-ansi": { 1262 | "version": "6.0.0", 1263 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", 1264 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", 1265 | "requires": { 1266 | "ansi-regex": "^5.0.0" 1267 | } 1268 | } 1269 | } 1270 | }, 1271 | "string_decoder": { 1272 | "version": "1.1.1", 1273 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1274 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1275 | "requires": { 1276 | "safe-buffer": "~5.1.0" 1277 | } 1278 | }, 1279 | "strip-ansi": { 1280 | "version": "5.2.0", 1281 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 1282 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 1283 | "requires": { 1284 | "ansi-regex": "^4.1.0" 1285 | } 1286 | }, 1287 | "strip-json-comments": { 1288 | "version": "2.0.1", 1289 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1290 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" 1291 | }, 1292 | "supports-color": { 1293 | "version": "5.5.0", 1294 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1295 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1296 | "requires": { 1297 | "has-flag": "^3.0.0" 1298 | } 1299 | }, 1300 | "term-size": { 1301 | "version": "2.2.1", 1302 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", 1303 | "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" 1304 | }, 1305 | "to-readable-stream": { 1306 | "version": "1.0.0", 1307 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", 1308 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" 1309 | }, 1310 | "to-regex-range": { 1311 | "version": "5.0.1", 1312 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1313 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1314 | "requires": { 1315 | "is-number": "^7.0.0" 1316 | } 1317 | }, 1318 | "toidentifier": { 1319 | "version": "1.0.0", 1320 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 1321 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 1322 | }, 1323 | "touch": { 1324 | "version": "3.1.0", 1325 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 1326 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 1327 | "requires": { 1328 | "nopt": "~1.0.10" 1329 | } 1330 | }, 1331 | "type-fest": { 1332 | "version": "0.8.1", 1333 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", 1334 | "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" 1335 | }, 1336 | "type-is": { 1337 | "version": "1.6.18", 1338 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1339 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1340 | "requires": { 1341 | "media-typer": "0.3.0", 1342 | "mime-types": "~2.1.24" 1343 | } 1344 | }, 1345 | "typedarray-to-buffer": { 1346 | "version": "3.1.5", 1347 | "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", 1348 | "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", 1349 | "requires": { 1350 | "is-typedarray": "^1.0.0" 1351 | } 1352 | }, 1353 | "undefsafe": { 1354 | "version": "2.0.3", 1355 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.3.tgz", 1356 | "integrity": "sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A==", 1357 | "requires": { 1358 | "debug": "^2.2.0" 1359 | } 1360 | }, 1361 | "unique-string": { 1362 | "version": "2.0.0", 1363 | "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", 1364 | "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", 1365 | "requires": { 1366 | "crypto-random-string": "^2.0.0" 1367 | } 1368 | }, 1369 | "unpipe": { 1370 | "version": "1.0.0", 1371 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1372 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 1373 | }, 1374 | "update-notifier": { 1375 | "version": "4.1.3", 1376 | "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", 1377 | "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", 1378 | "requires": { 1379 | "boxen": "^4.2.0", 1380 | "chalk": "^3.0.0", 1381 | "configstore": "^5.0.1", 1382 | "has-yarn": "^2.1.0", 1383 | "import-lazy": "^2.1.0", 1384 | "is-ci": "^2.0.0", 1385 | "is-installed-globally": "^0.3.1", 1386 | "is-npm": "^4.0.0", 1387 | "is-yarn-global": "^0.3.0", 1388 | "latest-version": "^5.0.0", 1389 | "pupa": "^2.0.1", 1390 | "semver-diff": "^3.1.1", 1391 | "xdg-basedir": "^4.0.0" 1392 | } 1393 | }, 1394 | "url-parse-lax": { 1395 | "version": "3.0.0", 1396 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", 1397 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", 1398 | "requires": { 1399 | "prepend-http": "^2.0.0" 1400 | } 1401 | }, 1402 | "util-deprecate": { 1403 | "version": "1.0.2", 1404 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1405 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 1406 | }, 1407 | "utils-merge": { 1408 | "version": "1.0.1", 1409 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1410 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 1411 | }, 1412 | "vary": { 1413 | "version": "1.1.2", 1414 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1415 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 1416 | }, 1417 | "widest-line": { 1418 | "version": "3.1.0", 1419 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", 1420 | "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", 1421 | "requires": { 1422 | "string-width": "^4.0.0" 1423 | } 1424 | }, 1425 | "wrappy": { 1426 | "version": "1.0.2", 1427 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1428 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1429 | }, 1430 | "write-file-atomic": { 1431 | "version": "3.0.3", 1432 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", 1433 | "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", 1434 | "requires": { 1435 | "imurmurhash": "^0.1.4", 1436 | "is-typedarray": "^1.0.0", 1437 | "signal-exit": "^3.0.2", 1438 | "typedarray-to-buffer": "^3.1.5" 1439 | } 1440 | }, 1441 | "xdg-basedir": { 1442 | "version": "4.0.0", 1443 | "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", 1444 | "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" 1445 | } 1446 | } 1447 | } 1448 | --------------------------------------------------------------------------------