├── .codeclimate.yml ├── .dockerignore ├── .editorconfig ├── .env.example ├── .eslintrc ├── .gitattributes ├── .gitignore ├── .istanbul.yml ├── .travis.yml ├── .yarnrc ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── bin ├── development.sh └── test.sh ├── config ├── config.js ├── express.js ├── param-validation.js └── winston.js ├── docker-compose.test.yml ├── docker-compose.yml ├── index.js ├── index.route.js ├── package.json ├── server ├── auth │ ├── auth.controller.js │ ├── auth.route.js │ └── auth.test.js ├── helpers │ └── APIError.js ├── tests │ └── misc.test.js └── user │ ├── user.controller.js │ ├── user.model.js │ ├── user.route.js │ └── user.test.js └── yarn.lock /.codeclimate.yml: -------------------------------------------------------------------------------- 1 | engines: 2 | eslint: 3 | enabled: true 4 | ratings: 5 | paths: 6 | - server/** 7 | - config/** 8 | - "**.js" 9 | exclude_paths: 10 | - node_modules/**/* 11 | - server/tests/** 12 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # nyc test coverage 18 | .nyc_output 19 | 20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 21 | .grunt 22 | 23 | # node-waf configuration 24 | .lock-wscript 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directories 30 | node_modules 31 | jspm_packages 32 | 33 | # Optional npm cache directory 34 | .npm 35 | 36 | # Optional REPL history 37 | .node_repl_history 38 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=4040 3 | JWT_SECRET=0a6b944d-d2fb-46fc-a85e-0295c986cd9f 4 | MONGO_HOST=mongodb://localhost/express-mongoose-es6-rest-api-development 5 | MONGO_PORT=27017 6 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "indent": [ 4 | 2, 5 | 2, 6 | { 7 | "SwitchCase": 1 8 | } 9 | ], 10 | "space-before-function-paren": [ 11 | 2, 12 | { 13 | "anonymous": "always", 14 | "named": "never" 15 | } 16 | ], 17 | "no-use-before-define": [ 18 | 2, 19 | "nofunc" 20 | ], 21 | // TODO: turn on later 22 | "comma-dangle": [ 23 | 0 24 | ], 25 | "import/no-extraneous-dependencies": [ 26 | "error", 27 | { 28 | "devDependencies": true 29 | } 30 | ], 31 | "no-underscore-dangle": [ 32 | 0 33 | ] 34 | }, 35 | "env": { 36 | "node": true, 37 | "mocha": true 38 | }, 39 | "parserOptions": { 40 | "ecmaVersion": 6, 41 | "sourceType": "module" 42 | }, 43 | "extends": [ 44 | "eslint:recommended", 45 | "airbnb-base" 46 | ] 47 | } 48 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Convert text file line endings to lf 2 | * text=auto 3 | *.js text 4 | # Denote all files that are truly binary and should not be modified. 5 | *.mp4 binary 6 | *.jpg binary 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # IDE 12 | .idea 13 | 14 | # OS generated files 15 | .DS_Store 16 | .DS_Store? 17 | ._* 18 | .Spotlight-V100 19 | ehthumbs.db 20 | Icon? 21 | Thumbs.db 22 | 23 | # Babel ES6 compiles files 24 | dist 25 | 26 | # Directory for instrumented libs generated by jscoverage/JSCover 27 | lib-cov 28 | 29 | # Coverage directory used by tools like istanbul 30 | coverage 31 | 32 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 33 | .grunt 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (http://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directory 42 | node_modules 43 | 44 | # Optional npm cache directory 45 | .npm 46 | 47 | # Optional REPL history 48 | .node_repl_history 49 | 50 | # .env 51 | .env 52 | -------------------------------------------------------------------------------- /.istanbul.yml: -------------------------------------------------------------------------------- 1 | verbose: false 2 | instrumentation: 3 | excludes: ['dist/**', 'coverage/**', 'index.js'] 4 | include-all-sources: true 5 | reporting: 6 | print: summary 7 | reports: 8 | - lcov 9 | dir: ./coverage 10 | watermarks: 11 | statements: [50, 80] 12 | lines: [50, 80] 13 | functions: [50, 80] 14 | branches: [50, 80] 15 | check: 16 | global: 17 | statements: 50 18 | lines: 50 19 | branches: 50 20 | functions: 50 21 | each: 22 | statements: 50 23 | lines: 50 24 | branches: 30 25 | functions: 20 26 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8.10" 4 | - "9.9" 5 | services: 6 | - mongodb 7 | cache: 8 | directories: 9 | - node_modules 10 | git: 11 | depth: 3 12 | script: 13 | - yarn test:check-coverage 14 | after_script: 15 | - yarn report-coverage 16 | before_install: 17 | - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1 18 | - export PATH=$HOME/.yarn/bin:$PATH 19 | -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- 1 | save-prefix false 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Project 2 | 3 | All contributions are welcome! 4 | 5 | For contributing to this project, please: 6 | * fork the repository to your own account 7 | * clone the repository 8 | * make changes 9 | * submit a pull request with a unit test on `develop` branch 10 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # Use latest node version 8.x 2 | FROM node:8.10.0 3 | 4 | MAINTAINER Kunal Kapadia 5 | 6 | # create app directory in container 7 | RUN mkdir -p /app 8 | 9 | # set /app directory as default working directory 10 | WORKDIR /app 11 | 12 | # only copy package.json initially so that `RUN yarn` layer is recreated only 13 | # if there are changes in package.json 14 | ADD package.json yarn.lock /app/ 15 | 16 | # --pure-lockfile: Don’t generate a yarn.lock lockfile 17 | RUN yarn --pure-lockfile 18 | 19 | # copy all file from current dir to /app in container 20 | COPY . /app/ 21 | 22 | # expose port 4040 23 | EXPOSE 4040 24 | 25 | # cmd to start service 26 | CMD [ "yarn", "start" ] 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016-2017 Kunal Kapadia 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Express & mongoose REST API Boilerplate in ES6 with Code Coverage [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) 2 | 3 | [![Build Status](https://img.shields.io/travis/kunalkapadia/express-mongoose-es6-rest-api/master.svg?style=flat-square)](https://travis-ci.org/kunalkapadia/express-mongoose-es6-rest-api) 4 | [![Coverage Status](https://img.shields.io/coveralls/kunalkapadia/express-mongoose-es6-rest-api/master.svg?style=flat-square)](https://coveralls.io/github/kunalkapadia/express-mongoose-es6-rest-api?branch=master) 5 | [![Code Climate](https://img.shields.io/codeclimate/github/kunalkapadia/express-mongoose-es6-rest-api.svg?style=flat-square)](https://codeclimate.com/github/kunalkapadia/express-mongoose-es6-rest-api) 6 | [![bitHound Overall Score](https://www.bithound.io/github/kunalkapadia/express-es6-rest-api-starter/badges/score.svg)](https://www.bithound.io/github/kunalkapadia/express-es6-rest-api-starter) 7 | [![bitHound Dependencies](https://www.bithound.io/github/kunalkapadia/express-mongoose-es6-rest-api/badges/dependencies.svg)](https://www.bithound.io/github/kunalkapadia/express-mongoose-es6-rest-api/master/dependencies/npm) 8 | [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/) 9 | [![MIT License](https://img.shields.io/npm/l/stack-overflow-copy-paste.svg?style=flat-square)](http://opensource.org/licenses/MIT) 10 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) 11 | [![Support via Paypal](https://img.shields.io/badge/support-paypal-yellowgreen.svg?style=flat-square)](https://www.paypal.me/KunalKapadia) 12 | 13 | # [![Express ES6 REST API Starter](https://cloud.githubusercontent.com/assets/4172932/12660610/90f5b856-c63a-11e5-878e-c9f0bbf33090.jpg)](https://github.com/kunalkapadia/express-mongoose-es6-rest-api) 14 | 15 | ## Sponsor 16 | You can support the project by checking out our sponsor page. It takes only one click: 17 | 18 | Some great stuff 19 | 20 | ## Overview 21 | 22 | This is a boilerplate application for building REST APIs in Node.js using ES6 and Express with Code Coverage and JWT Authentication. Helps you stay productive by following best practices. Follows [Airbnb's Javascript style guide](https://github.com/airbnb/javascript). 23 | 24 | Heavily inspired from [Egghead.io - How to Write an Open Source JavaScript Library](https://egghead.io/courses/how-to-write-an-open-source-javascript-library). 25 | 26 | ### Features 27 | 28 | | Feature | Summary | 29 | |----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 30 | | ES6 via Babel | ES6 support using [Babel](https://babeljs.io/). | 31 | | Authentication via JsonWebToken | Supports authentication using [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken). | 32 | | Code Linting | JavaScript code linting is done using [ESLint](http://eslint.org) - a pluggable linter tool for identifying and reporting on patterns in JavaScript. Uses ESLint with [eslint-config-airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb), which tries to follow the Airbnb JavaScript style guide. | 33 | | Auto server restart | Restart the server using [nodemon](https://github.com/remy/nodemon) in real-time anytime an edit is made, with babel compilation and eslint. | 34 | | ES6 Code Coverage via [istanbul](https://www.npmjs.com/package/istanbul) | Supports code coverage of ES6 code using istanbul and mocha. Code coverage reports are saved in `coverage/` directory post `yarn test` execution. Open `coverage/lcov-report/index.html` to view coverage report. `yarn test` also displays code coverage summary on console. Code coverage can also be enforced overall and per file as well, configured via .istanbul.yml | 35 | | Debugging via [debug](https://www.npmjs.com/package/debug) | Instead of inserting and deleting console.log you can replace it with the debug function and just leave it there. You can then selectively debug portions of your code by setting DEBUG env variable. If DEBUG env variable is not set, nothing is displayed to the console. | 36 | | Promisified Code via [bluebird](https://github.com/petkaantonov/bluebird) | We love promise, don't we ? All our code is promisified and even so our tests via [supertest-as-promised](https://www.npmjs.com/package/supertest-as-promised). | 37 | | API parameter validation via [express-validation](https://www.npmjs.com/package/express-validation) | Validate body, params, query, headers and cookies of a request (via middleware) and return a response with errors; if any of the configured validation rules fail. You won't anymore need to make your route handler dirty with such validations. | 38 | | Pre-commit hooks | Runs lint and tests before any commit is made locally, making sure that only tested and quality code is committed 39 | | Secure app via [helmet](https://github.com/helmetjs/helmet) | Helmet helps secure Express apps by setting various HTTP headers. | 40 | | Uses [yarn](https://yarnpkg.com) over npm | Uses new released yarn package manager by facebook. You can read more about it [here](https://code.facebook.com/posts/1840075619545360) | 41 | 42 | - CORS support via [cors](https://github.com/expressjs/cors) 43 | - Uses [http-status](https://www.npmjs.com/package/http-status) to set http status code. It is recommended to use `httpStatus.INTERNAL_SERVER_ERROR` instead of directly using `500` when setting status code. 44 | - Has `.editorconfig` which helps developers define and maintain consistent coding styles between different editors and IDEs. 45 | 46 | ## Getting Started 47 | 48 | Clone the repo: 49 | ```sh 50 | git clone git@github.com:kunalkapadia/express-mongoose-es6-rest-api.git 51 | cd express-mongoose-es6-rest-api 52 | ``` 53 | 54 | Install yarn: 55 | ```js 56 | npm install -g yarn 57 | ``` 58 | 59 | Install dependencies: 60 | ```sh 61 | yarn 62 | ``` 63 | 64 | Set environment (vars): 65 | ```sh 66 | cp .env.example .env 67 | ``` 68 | 69 | Start server: 70 | ```sh 71 | # Start server 72 | yarn start 73 | 74 | # Selectively set DEBUG env var to get logs 75 | DEBUG=express-mongoose-es6-rest-api:* yarn start 76 | ``` 77 | Refer [debug](https://www.npmjs.com/package/debug) to know how to selectively turn on logs. 78 | 79 | 80 | Tests: 81 | ```sh 82 | # Run tests written in ES6 83 | yarn test 84 | 85 | # Run test along with code coverage 86 | yarn test:coverage 87 | 88 | # Run tests on file change 89 | yarn test:watch 90 | 91 | # Run tests enforcing code coverage (configured via .istanbul.yml) 92 | yarn test:check-coverage 93 | ``` 94 | 95 | Lint: 96 | ```sh 97 | # Lint code with ESLint 98 | yarn lint 99 | 100 | # Run lint on any file change 101 | yarn lint:watch 102 | ``` 103 | 104 | Other gulp tasks: 105 | ```sh 106 | # Wipe out dist and coverage directory 107 | gulp clean 108 | 109 | # Default task: Wipes out dist and coverage directory. Compiles using babel. 110 | gulp 111 | ``` 112 | 113 | ##### Deployment 114 | 115 | ```sh 116 | # compile to ES5 117 | 1. yarn build 118 | 119 | # upload dist/ to your server 120 | 2. scp -rp dist/ user@dest:/path 121 | 122 | # install production dependencies only 123 | 3. yarn --production 124 | 125 | # Use any process manager to start your services 126 | 4. pm2 start dist/index.js 127 | ``` 128 | 129 | In production you need to make sure your server is always up so you should ideally use any of the process manager recommended [here](http://expressjs.com/en/advanced/pm.html). 130 | We recommend [pm2](http://pm2.keymetrics.io/) as it has several useful features like it can be configured to auto-start your services if system is rebooted. 131 | 132 | ## Logging 133 | 134 | Universal logging library [winston](https://www.npmjs.com/package/winston) is used for logging. It has support for multiple transports. A transport is essentially a storage device for your logs. Each instance of a winston logger can have multiple transports configured at different levels. For example, one may want error logs to be stored in a persistent remote location (like a database), but all logs output to the console or a local file. We just log to the console for simplicity, you can configure more transports as per your requirement. 135 | 136 | #### API logging 137 | Logs detailed info about each api request to console during development. 138 | ![Detailed API logging](https://cloud.githubusercontent.com/assets/4172932/12563354/f0a4b558-c3cf-11e5-9d8c-66f7ca323eac.JPG) 139 | 140 | #### Error logging 141 | Logs stacktrace of error to console along with other details. You should ideally store all error messages persistently. 142 | ![Error logging](https://cloud.githubusercontent.com/assets/4172932/12563361/fb9ef108-c3cf-11e5-9a58-3c5c4936ae3e.JPG) 143 | 144 | ## Code Coverage 145 | Get code coverage summary on executing `yarn test` 146 | ![Code Coverage Text Summary](https://cloud.githubusercontent.com/assets/4172932/12827832/a0531e70-cba7-11e5-9b7c-9e7f833d8f9f.JPG) 147 | 148 | `yarn test` also generates HTML code coverage report in `coverage/` directory. Open `lcov-report/index.html` to view it. 149 | ![Code coverage HTML report](https://cloud.githubusercontent.com/assets/4172932/12625331/571a48fe-c559-11e5-8aa0-f9aacfb8c1cb.jpg) 150 | 151 | ## Docker 152 | 153 | #### Using Docker Compose for Development 154 | ```sh 155 | # service restarts on file change 156 | bash bin/development.sh 157 | ``` 158 | 159 | #### Building and running without Docker Compose 160 | ```bash 161 | # To use this option you need to make sure mongodb is listening on port 27017 162 | 163 | # Build docker 164 | docker build -t express-mongoose-es6-rest-api . 165 | 166 | # Run docker 167 | docker run -p 4040:4040 express-mongoose-es6-rest-api 168 | ``` 169 | 170 | 171 | ## A Boilerplate-only Option 172 | 173 | If you would prefer not to use any of our tooling, delete the following files from the project: `package.json`, `gulpfile.babel.js`, `.eslintrc` and `.travis.yml`. You can now safely use the boilerplate with an alternative build-system or no build-system at all if you choose. 174 | 175 | ## Docs and Recipes 176 | 177 | * [Gulp recipes](https://github.com/gulpjs/gulp/tree/master/docs/recipes) - the official Gulp recipes directory includes a comprehensive list of guides for different workflows you can add to your project. 178 | 179 | ## Contributing 180 | 181 | Contributions, questions and comments are all welcome and encouraged. For code contributions submit a pull request with unit test. 182 | 183 | ## License 184 | This project is licensed under the [MIT License](https://github.com/kunalkapadia/express-mongoose-es6-rest-api/blob/master/LICENSE) 185 | 186 | ## Support Development 187 | If this project saved your valuable time in getting your service up, and you feel like buying me coffee, you can donate either at my BTC address: `1LkW5UoERR1jjJsChMheKuo6vn95x2mzWg` or at [![Support via Paypal](https://img.shields.io/badge/support-paypal-yellowgreen.svg?style=flat-square)](https://www.paypal.me/KunalKapadia) 188 | 189 | Your support is greatly appreciated. 190 | 191 | ## Meta 192 | 193 | Kunal Kapadia – [@kunalkapadia12](https://twitter.com/kunalkapadia12) – kunalkapadia12@gmail.com 194 | 195 | -------------------------------------------------------------------------------- /bin/development.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # --build: Build images before starting containers. 4 | # --abort-on-container-exit: Stops all containers if any container is stopped 5 | docker-compose up --build --abort-on-container-exit 6 | -------------------------------------------------------------------------------- /bin/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # --build: Build images before starting containers. 4 | # --abort-on-container-exit: Stops all containers if any container is stopped 5 | docker-compose -f 'docker-compose.test.yml' -p ci up --build --abort-on-container-exit 6 | exit $(docker wait ci_express-mongoose-es6-rest-api_1) 7 | -------------------------------------------------------------------------------- /config/config.js: -------------------------------------------------------------------------------- 1 | const Joi = require('joi'); 2 | 3 | // require and configure dotenv, will load vars in .env in PROCESS.ENV 4 | require('dotenv').config(); 5 | 6 | // define validation for all the env vars 7 | const envVarsSchema = Joi.object({ 8 | NODE_ENV: Joi.string() 9 | .allow(['development', 'production', 'test', 'provision']) 10 | .default('development'), 11 | PORT: Joi.number() 12 | .default(4040), 13 | MONGOOSE_DEBUG: Joi.boolean() 14 | .when('NODE_ENV', { 15 | is: Joi.string().equal('development'), 16 | then: Joi.boolean().default(true), 17 | otherwise: Joi.boolean().default(false) 18 | }), 19 | JWT_SECRET: Joi.string().required() 20 | .description('JWT Secret required to sign'), 21 | MONGO_HOST: Joi.string().required() 22 | .description('Mongo DB host url'), 23 | MONGO_PORT: Joi.number() 24 | .default(27017) 25 | }).unknown() 26 | .required(); 27 | 28 | const { error, value: envVars } = Joi.validate(process.env, envVarsSchema); 29 | if (error) { 30 | throw new Error(`Config validation error: ${error.message}`); 31 | } 32 | 33 | const config = { 34 | env: envVars.NODE_ENV, 35 | port: envVars.PORT, 36 | mongooseDebug: envVars.MONGOOSE_DEBUG, 37 | jwtSecret: envVars.JWT_SECRET, 38 | mongo: { 39 | host: envVars.MONGO_HOST, 40 | port: envVars.MONGO_PORT 41 | } 42 | }; 43 | 44 | module.exports = config; 45 | -------------------------------------------------------------------------------- /config/express.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const logger = require('morgan'); 3 | const bodyParser = require('body-parser'); 4 | const cookieParser = require('cookie-parser'); 5 | const compress = require('compression'); 6 | const methodOverride = require('method-override'); 7 | const cors = require('cors'); 8 | const httpStatus = require('http-status'); 9 | const expressWinston = require('express-winston'); 10 | const expressValidation = require('express-validation'); 11 | const helmet = require('helmet'); 12 | const winstonInstance = require('./winston'); 13 | const routes = require('../index.route'); 14 | const config = require('./config'); 15 | const APIError = require('../server/helpers/APIError'); 16 | 17 | const app = express(); 18 | 19 | if (config.env === 'development') { 20 | app.use(logger('dev')); 21 | } 22 | 23 | // parse body params and attache them to req.body 24 | app.use(bodyParser.json()); 25 | app.use(bodyParser.urlencoded({ extended: true })); 26 | 27 | app.use(cookieParser()); 28 | app.use(compress()); 29 | app.use(methodOverride()); 30 | 31 | // secure apps by setting various HTTP headers 32 | app.use(helmet()); 33 | 34 | // enable CORS - Cross Origin Resource Sharing 35 | app.use(cors()); 36 | 37 | // enable detailed API logging in dev env 38 | if (config.env === 'development') { 39 | expressWinston.requestWhitelist.push('body'); 40 | expressWinston.responseWhitelist.push('body'); 41 | app.use(expressWinston.logger({ 42 | winstonInstance, 43 | meta: true, // optional: log meta data about request (defaults to true) 44 | msg: 'HTTP {{req.method}} {{req.url}} {{res.statusCode}} {{res.responseTime}}ms', 45 | colorStatus: true // Color the status code (default green, 3XX cyan, 4XX yellow, 5XX red). 46 | })); 47 | } 48 | 49 | // mount all routes on /api path 50 | app.use('/api', routes); 51 | 52 | // if error is not an instanceOf APIError, convert it. 53 | app.use((err, req, res, next) => { 54 | if (err instanceof expressValidation.ValidationError) { 55 | // validation error contains errors which is an array of error each containing message[] 56 | const unifiedErrorMessage = err.errors.map(error => error.messages.join('. ')).join(' and '); 57 | const error = new APIError(unifiedErrorMessage, err.status, true); 58 | return next(error); 59 | } else if (!(err instanceof APIError)) { 60 | const apiError = new APIError(err.message, err.status, err.isPublic); 61 | return next(apiError); 62 | } 63 | return next(err); 64 | }); 65 | 66 | // catch 404 and forward to error handler 67 | app.use((req, res, next) => { 68 | const err = new APIError('API not found', httpStatus.NOT_FOUND); 69 | return next(err); 70 | }); 71 | 72 | // log error in winston transports except when executing test suite 73 | if (config.env !== 'test') { 74 | app.use(expressWinston.errorLogger({ 75 | winstonInstance 76 | })); 77 | } 78 | 79 | // error handler, send stacktrace only during development 80 | app.use((err, req, res, next) => // eslint-disable-line no-unused-vars 81 | res.status(err.status).json({ 82 | message: err.isPublic ? err.message : httpStatus[err.status], 83 | stack: config.env === 'development' ? err.stack : {} 84 | }) 85 | ); 86 | 87 | module.exports = app; 88 | -------------------------------------------------------------------------------- /config/param-validation.js: -------------------------------------------------------------------------------- 1 | const Joi = require('joi'); 2 | 3 | module.exports = { 4 | // POST /api/users 5 | createUser: { 6 | body: { 7 | username: Joi.string().required(), 8 | mobileNumber: Joi.string().regex(/^[1-9][0-9]{9}$/).required() 9 | } 10 | }, 11 | 12 | // UPDATE /api/users/:userId 13 | updateUser: { 14 | body: { 15 | username: Joi.string().required(), 16 | mobileNumber: Joi.string().regex(/^[1-9][0-9]{9}$/).required() 17 | }, 18 | params: { 19 | userId: Joi.string().hex().required() 20 | } 21 | }, 22 | 23 | // POST /api/auth/login 24 | login: { 25 | body: { 26 | username: Joi.string().required(), 27 | password: Joi.string().required() 28 | } 29 | } 30 | }; 31 | -------------------------------------------------------------------------------- /config/winston.js: -------------------------------------------------------------------------------- 1 | const winston = require('winston'); 2 | 3 | const logger = new (winston.Logger)({ 4 | transports: [ 5 | new (winston.transports.Console)({ 6 | json: true, 7 | colorize: true 8 | }) 9 | ] 10 | }); 11 | 12 | module.exports = logger; 13 | -------------------------------------------------------------------------------- /docker-compose.test.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | 3 | services: 4 | express-mongoose-es6-rest-api: 5 | build: 6 | context: . 7 | 8 | image: express-mongoose-es6-rest-api:latest 9 | 10 | volumes: 11 | # Mounts the project directory on the host to /app inside the container, 12 | # allowing you to modify the code without having to rebuild the image. 13 | - .:/app 14 | # Just specify a path and let the Engine create a volume. 15 | # Data present in the base image at the specified mount point will be copied 16 | # over to the new volume upon volume initialization. 17 | # node_modules from this new volume will be used and not from your local dev env. 18 | - /app/node_modules/ 19 | 20 | # Set environment variables from this file 21 | env_file: 22 | - .env 23 | 24 | # Overwrite any env var defined in .env file (if required) 25 | environment: 26 | - MONGO_HOST=mongodb://mongo/express-mongoose-es6-rest-api-test 27 | - DEBUG=express-mongoose-es6-rest-api:* 28 | 29 | # Link to containers in another service. 30 | # Links also express dependency between services in the same way as depends_on, 31 | # so they determine the order of service startup. 32 | links: 33 | - mongo 34 | 35 | command: 36 | - /bin/bash 37 | - -c 38 | - yarn --pure-lockfile && yarn test 39 | mongo: 40 | image: "mongo:3.4.2" 41 | ports: 42 | - "27017:27017" 43 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | 3 | services: 4 | express-mongoose-es6-rest-api: 5 | build: 6 | context: . 7 | volumes: 8 | # Mounts the project directory on the host to /app inside the container, 9 | # allowing you to modify the code without having to rebuild the image. 10 | - .:/app 11 | # Just specify a path and let the Engine create a volume. 12 | # Data present in the base image at the specified mount point will be copied 13 | # over to the new volume upon volume initialization. 14 | # node_modules from this new volume will be used and not from your local dev env. 15 | - /app/node_modules/ 16 | 17 | # Expose ports [HOST:CONTAINER} 18 | ports: 19 | - "4040:4040" 20 | 21 | # Set environment variables from this file 22 | env_file: 23 | - .env 24 | 25 | # Overwrite any env var defined in .env file (if required) 26 | environment: 27 | - MONGO_HOST=mongodb://mongo/express-mongoose-es6-rest-api-development 28 | - DEBUG=express-mongoose-es6-rest-api:* 29 | 30 | # Link to containers in another service. 31 | # Links also express dependency between services in the same way as depends_on, 32 | # so they determine the order of service startup. 33 | links: 34 | - mongo 35 | mongo: 36 | image: "mongo:3.4" 37 | ports: 38 | - "27017:27017" 39 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | const util = require('util'); 3 | 4 | // config should be imported before importing any other file 5 | const config = require('./config/config'); 6 | const app = require('./config/express'); 7 | 8 | const debug = require('debug')('express-mongoose-es6-rest-api:index'); 9 | 10 | // make bluebird default Promise 11 | Promise = require('bluebird'); // eslint-disable-line no-global-assign 12 | 13 | // plugin bluebird promise in mongoose 14 | mongoose.Promise = Promise; 15 | 16 | // connect to mongo db 17 | const mongoUri = config.mongo.host; 18 | mongoose.connect(mongoUri, { server: { socketOptions: { keepAlive: 1 } } }); 19 | mongoose.connection.on('error', () => { 20 | throw new Error(`unable to connect to database: ${mongoUri}`); 21 | }); 22 | 23 | // print mongoose logs in dev env 24 | if (config.mongooseDebug) { 25 | mongoose.set('debug', (collectionName, method, query, doc) => { 26 | debug(`${collectionName}.${method}`, util.inspect(query, false, 20), doc); 27 | }); 28 | } 29 | 30 | // module.parent check is required to support mocha watch 31 | // src: https://github.com/mochajs/mocha/issues/1912 32 | if (!module.parent) { 33 | // listen on port config.port 34 | app.listen(config.port, () => { 35 | console.info(`server started on port ${config.port} (${config.env})`); // eslint-disable-line no-console 36 | }); 37 | } 38 | 39 | module.exports = app; 40 | -------------------------------------------------------------------------------- /index.route.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const userRoutes = require('./server/user/user.route'); 3 | const authRoutes = require('./server/auth/auth.route'); 4 | 5 | const router = express.Router(); // eslint-disable-line new-cap 6 | 7 | // TODO: use glob to match *.route files 8 | 9 | /** GET /health-check - Check service health */ 10 | router.get('/health-check', (req, res) => 11 | res.send('OK') 12 | ); 13 | 14 | // mount user routes at /users 15 | router.use('/users', userRoutes); 16 | 17 | // mount auth routes at /auth 18 | router.use('/auth', authRoutes); 19 | 20 | module.exports = router; 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "express-mongoose-es6-rest-api", 3 | "version": "5.0.0", 4 | "description": "A Boilerplate application for building REST APIs using express, mongoose in ES6 with code coverage", 5 | "author": "Kunal Kapadia ", 6 | "main": "index.js", 7 | "private": false, 8 | "engines": { 9 | "node": ">=8.10.0", 10 | "npm": ">=5.6.0", 11 | "yarn": ">=1.5.1" 12 | }, 13 | "scripts": { 14 | "start": "node index.js", 15 | "start:debug": "cross-env DEBUG=express-mongoose-es6-rest-api:* yarn start", 16 | "lint": "esw *.js server config --color", 17 | "lint:watch": "yarn lint -- --watch", 18 | "precommit": "yarn lint && yarn test", 19 | "test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha --ui bdd --reporter spec --colors server --recursive", 20 | "test:watch": "yarn test -- --watch", 21 | "test:coverage": "cross-env NODE_ENV=test ./node_modules/.bin/istanbul cover _mocha -- --ui bdd --reporter spec --colors server --recursive", 22 | "test:check-coverage": "yarn test:coverage && istanbul check-coverage", 23 | "report-coverage": "coveralls < ./coverage/lcov.info" 24 | }, 25 | "repository": { 26 | "type": "git", 27 | "url": "git@github.com:KunalKapadia/express-mongoose-es6-rest-api.git" 28 | }, 29 | "keywords": [ 30 | "express", 31 | "node", 32 | "node.js", 33 | "mongodb", 34 | "mongoose", 35 | "es6", 36 | "mocha", 37 | "istanbul", 38 | "REST", 39 | "API", 40 | "boilerplate" 41 | ], 42 | "dependencies": { 43 | "bluebird": "3.5.1", 44 | "body-parser": "1.18.2", 45 | "compression": "1.7.2", 46 | "cookie-parser": "1.4.3", 47 | "cors": "2.8.4", 48 | "debug": "^2.4.5", 49 | "dotenv": "^4.0.0", 50 | "express": "4.16.3", 51 | "express-jwt": "5.3.1", 52 | "express-validation": "1.0.2", 53 | "express-winston": "2.5.0", 54 | "helmet": "3.12.0", 55 | "http-status": "1.0.1", 56 | "joi": "10.6.0", 57 | "jsonwebtoken": "7.1.9", 58 | "method-override": "^2.3.10", 59 | "mongoose": "4.7.4", 60 | "morgan": "1.9.0", 61 | "winston": "2.4.1" 62 | }, 63 | "devDependencies": { 64 | "chai": "4.1.2", 65 | "commitizen": "^2.9.6", 66 | "coveralls": "^3.0.0", 67 | "cross-env": "5.1.4", 68 | "cz-conventional-changelog": "1.2.0", 69 | "eslint": "3.16.1", 70 | "eslint-config-airbnb-base": "7.1.0", 71 | "eslint-plugin-import": "1.16.0", 72 | "eslint-watch": "2.1.14", 73 | "husky": "0.14.3", 74 | "istanbul": "1.1.0-alpha.1", 75 | "mocha": "3.5.0", 76 | "supertest": "3.0.0", 77 | "supertest-as-promised": "4.0.2", 78 | "validate-commit-msg": "^2.14.0" 79 | }, 80 | "license": "MIT", 81 | "config": { 82 | "commitizen": { 83 | "path": "./node_modules/cz-conventional-changelog" 84 | } 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /server/auth/auth.controller.js: -------------------------------------------------------------------------------- 1 | const jwt = require('jsonwebtoken'); 2 | const httpStatus = require('http-status'); 3 | const APIError = require('../helpers/APIError'); 4 | const config = require('../../config/config'); 5 | 6 | // sample user, used for authentication 7 | const user = { 8 | username: 'react', 9 | password: 'express' 10 | }; 11 | 12 | /** 13 | * Returns jwt token if valid username and password is provided 14 | * @param req 15 | * @param res 16 | * @param next 17 | * @returns {*} 18 | */ 19 | function login(req, res, next) { 20 | // Ideally you'll fetch this from the db 21 | // Idea here was to show how jwt works with simplicity 22 | if (req.body.username === user.username && req.body.password === user.password) { 23 | const token = jwt.sign({ 24 | username: user.username 25 | }, config.jwtSecret); 26 | return res.json({ 27 | token, 28 | username: user.username 29 | }); 30 | } 31 | 32 | const err = new APIError('Authentication error', httpStatus.UNAUTHORIZED, true); 33 | return next(err); 34 | } 35 | 36 | /** 37 | * This is a protected route. Will return random number only if jwt token is provided in header. 38 | * @param req 39 | * @param res 40 | * @returns {*} 41 | */ 42 | function getRandomNumber(req, res) { 43 | // req.user is assigned by jwt middleware if valid token is provided 44 | return res.json({ 45 | user: req.user, 46 | num: Math.random() * 100 47 | }); 48 | } 49 | 50 | module.exports = { login, getRandomNumber }; 51 | -------------------------------------------------------------------------------- /server/auth/auth.route.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const validate = require('express-validation'); 3 | const expressJwt = require('express-jwt'); 4 | const paramValidation = require('../../config/param-validation'); 5 | const authCtrl = require('./auth.controller'); 6 | const config = require('../../config/config'); 7 | 8 | const router = express.Router(); // eslint-disable-line new-cap 9 | 10 | /** POST /api/auth/login - Returns token if correct username and password is provided */ 11 | router.route('/login') 12 | .post(validate(paramValidation.login), authCtrl.login); 13 | 14 | /** GET /api/auth/random-number - Protected route, 15 | * needs token returned by the above as header. Authorization: Bearer {token} */ 16 | router.route('/random-number') 17 | .get(expressJwt({ secret: config.jwtSecret }), authCtrl.getRandomNumber); 18 | 19 | module.exports = router; 20 | -------------------------------------------------------------------------------- /server/auth/auth.test.js: -------------------------------------------------------------------------------- 1 | const request = require('supertest-as-promised'); 2 | const httpStatus = require('http-status'); 3 | const jwt = require('jsonwebtoken'); 4 | const chai = require('chai'); // eslint-disable-line import/newline-after-import 5 | const expect = chai.expect; 6 | const app = require('../../index'); 7 | const config = require('../../config/config'); 8 | 9 | chai.config.includeStack = true; 10 | 11 | describe('## Auth APIs', () => { 12 | const validUserCredentials = { 13 | username: 'react', 14 | password: 'express' 15 | }; 16 | 17 | const invalidUserCredentials = { 18 | username: 'react', 19 | password: 'IDontKnow' 20 | }; 21 | 22 | let jwtToken; 23 | 24 | describe('# POST /api/auth/login', () => { 25 | it('should return Authentication error', (done) => { 26 | request(app) 27 | .post('/api/auth/login') 28 | .send(invalidUserCredentials) 29 | .expect(httpStatus.UNAUTHORIZED) 30 | .then((res) => { 31 | expect(res.body.message).to.equal('Authentication error'); 32 | done(); 33 | }) 34 | .catch(done); 35 | }); 36 | 37 | it('should get valid JWT token', (done) => { 38 | request(app) 39 | .post('/api/auth/login') 40 | .send(validUserCredentials) 41 | .expect(httpStatus.OK) 42 | .then((res) => { 43 | expect(res.body).to.have.property('token'); 44 | jwt.verify(res.body.token, config.jwtSecret, (err, decoded) => { 45 | expect(err).to.not.be.ok; // eslint-disable-line no-unused-expressions 46 | expect(decoded.username).to.equal(validUserCredentials.username); 47 | jwtToken = `Bearer ${res.body.token}`; 48 | done(); 49 | }); 50 | }) 51 | .catch(done); 52 | }); 53 | }); 54 | 55 | describe('# GET /api/auth/random-number', () => { 56 | it('should fail to get random number because of missing Authorization', (done) => { 57 | request(app) 58 | .get('/api/auth/random-number') 59 | .expect(httpStatus.UNAUTHORIZED) 60 | .then((res) => { 61 | expect(res.body.message).to.equal('Unauthorized'); 62 | done(); 63 | }) 64 | .catch(done); 65 | }); 66 | 67 | it('should fail to get random number because of wrong token', (done) => { 68 | request(app) 69 | .get('/api/auth/random-number') 70 | .set('Authorization', 'Bearer inValidToken') 71 | .expect(httpStatus.UNAUTHORIZED) 72 | .then((res) => { 73 | expect(res.body.message).to.equal('Unauthorized'); 74 | done(); 75 | }) 76 | .catch(done); 77 | }); 78 | 79 | it('should get a random number', (done) => { 80 | request(app) 81 | .get('/api/auth/random-number') 82 | .set('Authorization', jwtToken) 83 | .expect(httpStatus.OK) 84 | .then((res) => { 85 | expect(res.body.num).to.be.a('number'); 86 | done(); 87 | }) 88 | .catch(done); 89 | }); 90 | }); 91 | }); 92 | -------------------------------------------------------------------------------- /server/helpers/APIError.js: -------------------------------------------------------------------------------- 1 | const httpStatus = require('http-status'); 2 | 3 | /** 4 | * @extends Error 5 | */ 6 | class ExtendableError extends Error { 7 | constructor(message, status, isPublic) { 8 | super(message); 9 | this.name = this.constructor.name; 10 | this.message = message; 11 | this.status = status; 12 | this.isPublic = isPublic; 13 | this.isOperational = true; // This is required since bluebird 4 doesn't append it anymore. 14 | Error.captureStackTrace(this, this.constructor.name); 15 | } 16 | } 17 | 18 | /** 19 | * Class representing an API error. 20 | * @extends ExtendableError 21 | */ 22 | class APIError extends ExtendableError { 23 | /** 24 | * Creates an API error. 25 | * @param {string} message - Error message. 26 | * @param {number} status - HTTP status code of error. 27 | * @param {boolean} isPublic - Whether the message should be visible to user or not. 28 | */ 29 | constructor(message, status = httpStatus.INTERNAL_SERVER_ERROR, isPublic = false) { 30 | super(message, status, isPublic); 31 | } 32 | } 33 | 34 | 35 | module.exports = APIError; 36 | -------------------------------------------------------------------------------- /server/tests/misc.test.js: -------------------------------------------------------------------------------- 1 | const request = require('supertest-as-promised'); 2 | const httpStatus = require('http-status'); 3 | const chai = require('chai'); // eslint-disable-line import/newline-after-import 4 | const expect = chai.expect; 5 | const app = require('../../index'); 6 | 7 | chai.config.includeStack = true; 8 | 9 | describe('## Misc', () => { 10 | describe('# GET /api/health-check', () => { 11 | it('should return OK', (done) => { 12 | request(app) 13 | .get('/api/health-check') 14 | .expect(httpStatus.OK) 15 | .then((res) => { 16 | expect(res.text).to.equal('OK'); 17 | done(); 18 | }) 19 | .catch(done); 20 | }); 21 | }); 22 | 23 | describe('# GET /api/404', () => { 24 | it('should return 404 status', (done) => { 25 | request(app) 26 | .get('/api/404') 27 | .expect(httpStatus.NOT_FOUND) 28 | .then((res) => { 29 | expect(res.body.message).to.equal('Not Found'); 30 | done(); 31 | }) 32 | .catch(done); 33 | }); 34 | }); 35 | 36 | describe('# Error Handling', () => { 37 | it('should handle mongoose CastError - Cast to ObjectId failed', (done) => { 38 | request(app) 39 | .get('/api/users/56z787zzz67fc') 40 | .expect(httpStatus.INTERNAL_SERVER_ERROR) 41 | .then((res) => { 42 | expect(res.body.message).to.equal('Internal Server Error'); 43 | done(); 44 | }) 45 | .catch(done); 46 | }); 47 | 48 | it('should handle express validation error - username is required', (done) => { 49 | request(app) 50 | .post('/api/users') 51 | .send({ 52 | mobileNumber: '1234567890' 53 | }) 54 | .expect(httpStatus.BAD_REQUEST) 55 | .then((res) => { 56 | expect(res.body.message).to.equal('"username" is required'); 57 | done(); 58 | }) 59 | .catch(done); 60 | }); 61 | }); 62 | }); 63 | -------------------------------------------------------------------------------- /server/user/user.controller.js: -------------------------------------------------------------------------------- 1 | const User = require('./user.model'); 2 | 3 | /** 4 | * Load user and append to req. 5 | */ 6 | function load(req, res, next, id) { 7 | User.get(id) 8 | .then((user) => { 9 | req.user = user; // eslint-disable-line no-param-reassign 10 | return next(); 11 | }) 12 | .catch(e => next(e)); 13 | } 14 | 15 | /** 16 | * Get user 17 | * @returns {User} 18 | */ 19 | function get(req, res) { 20 | return res.json(req.user); 21 | } 22 | 23 | /** 24 | * Create new user 25 | * @property {string} req.body.username - The username of user. 26 | * @property {string} req.body.mobileNumber - The mobileNumber of user. 27 | * @returns {User} 28 | */ 29 | function create(req, res, next) { 30 | const user = new User({ 31 | username: req.body.username, 32 | mobileNumber: req.body.mobileNumber 33 | }); 34 | 35 | user.save() 36 | .then(savedUser => res.json(savedUser)) 37 | .catch(e => next(e)); 38 | } 39 | 40 | /** 41 | * Update existing user 42 | * @property {string} req.body.username - The username of user. 43 | * @property {string} req.body.mobileNumber - The mobileNumber of user. 44 | * @returns {User} 45 | */ 46 | function update(req, res, next) { 47 | const user = req.user; 48 | user.username = req.body.username; 49 | user.mobileNumber = req.body.mobileNumber; 50 | 51 | user.save() 52 | .then(savedUser => res.json(savedUser)) 53 | .catch(e => next(e)); 54 | } 55 | 56 | /** 57 | * Get user list. 58 | * @property {number} req.query.skip - Number of users to be skipped. 59 | * @property {number} req.query.limit - Limit number of users to be returned. 60 | * @returns {User[]} 61 | */ 62 | function list(req, res, next) { 63 | const { limit = 50, skip = 0 } = req.query; 64 | User.list({ limit, skip }) 65 | .then(users => res.json(users)) 66 | .catch(e => next(e)); 67 | } 68 | 69 | /** 70 | * Delete user. 71 | * @returns {User} 72 | */ 73 | function remove(req, res, next) { 74 | const user = req.user; 75 | user.remove() 76 | .then(deletedUser => res.json(deletedUser)) 77 | .catch(e => next(e)); 78 | } 79 | 80 | module.exports = { load, get, create, update, list, remove }; 81 | -------------------------------------------------------------------------------- /server/user/user.model.js: -------------------------------------------------------------------------------- 1 | const Promise = require('bluebird'); 2 | const mongoose = require('mongoose'); 3 | const httpStatus = require('http-status'); 4 | const APIError = require('../helpers/APIError'); 5 | 6 | /** 7 | * User Schema 8 | */ 9 | const UserSchema = new mongoose.Schema({ 10 | username: { 11 | type: String, 12 | required: true 13 | }, 14 | mobileNumber: { 15 | type: String, 16 | required: true, 17 | match: [/^[1-9][0-9]{9}$/, 'The value of path {PATH} ({VALUE}) is not a valid mobile number.'] 18 | }, 19 | createdAt: { 20 | type: Date, 21 | default: Date.now 22 | } 23 | }); 24 | 25 | /** 26 | * Add your 27 | * - pre-save hooks 28 | * - validations 29 | * - virtuals 30 | */ 31 | 32 | /** 33 | * Methods 34 | */ 35 | UserSchema.method({ 36 | }); 37 | 38 | /** 39 | * Statics 40 | */ 41 | UserSchema.statics = { 42 | /** 43 | * Get user 44 | * @param {ObjectId} id - The objectId of user. 45 | * @returns {Promise} 46 | */ 47 | get(id) { 48 | return this.findById(id) 49 | .exec() 50 | .then((user) => { 51 | if (user) { 52 | return user; 53 | } 54 | const err = new APIError('No such user exists!', httpStatus.NOT_FOUND); 55 | return Promise.reject(err); 56 | }); 57 | }, 58 | 59 | /** 60 | * List users in descending order of 'createdAt' timestamp. 61 | * @param {number} skip - Number of users to be skipped. 62 | * @param {number} limit - Limit number of users to be returned. 63 | * @returns {Promise} 64 | */ 65 | list({ skip = 0, limit = 50 } = {}) { 66 | return this.find() 67 | .sort({ createdAt: -1 }) 68 | .skip(+skip) 69 | .limit(+limit) 70 | .exec(); 71 | } 72 | }; 73 | 74 | /** 75 | * @typedef User 76 | */ 77 | module.exports = mongoose.model('User', UserSchema); 78 | -------------------------------------------------------------------------------- /server/user/user.route.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const validate = require('express-validation'); 3 | const paramValidation = require('../../config/param-validation'); 4 | const userCtrl = require('./user.controller'); 5 | 6 | const router = express.Router(); // eslint-disable-line new-cap 7 | 8 | router.route('/') 9 | /** GET /api/users - Get list of users */ 10 | .get(userCtrl.list) 11 | 12 | /** POST /api/users - Create new user */ 13 | .post(validate(paramValidation.createUser), userCtrl.create); 14 | 15 | router.route('/:userId') 16 | /** GET /api/users/:userId - Get user */ 17 | .get(userCtrl.get) 18 | 19 | /** PUT /api/users/:userId - Update user */ 20 | .put(validate(paramValidation.updateUser), userCtrl.update) 21 | 22 | /** DELETE /api/users/:userId - Delete user */ 23 | .delete(userCtrl.remove); 24 | 25 | /** Load user when API with userId route parameter is hit */ 26 | router.param('userId', userCtrl.load); 27 | 28 | module.exports = router; 29 | -------------------------------------------------------------------------------- /server/user/user.test.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | const request = require('supertest-as-promised'); 3 | const httpStatus = require('http-status'); 4 | const chai = require('chai'); // eslint-disable-line import/newline-after-import 5 | const expect = chai.expect; 6 | const app = require('../../index'); 7 | 8 | chai.config.includeStack = true; 9 | 10 | /** 11 | * root level hooks 12 | */ 13 | after((done) => { 14 | // required because https://github.com/Automattic/mongoose/issues/1251#issuecomment-65793092 15 | mongoose.models = {}; 16 | mongoose.modelSchemas = {}; 17 | mongoose.connection.close(); 18 | done(); 19 | }); 20 | 21 | describe('## User APIs', () => { 22 | let user = { 23 | username: 'KK123', 24 | mobileNumber: '1234567890' 25 | }; 26 | 27 | describe('# POST /api/users', () => { 28 | it('should create a new user', (done) => { 29 | request(app) 30 | .post('/api/users') 31 | .send(user) 32 | .expect(httpStatus.OK) 33 | .then((res) => { 34 | expect(res.body.username).to.equal(user.username); 35 | expect(res.body.mobileNumber).to.equal(user.mobileNumber); 36 | user = res.body; 37 | done(); 38 | }) 39 | .catch(done); 40 | }); 41 | }); 42 | 43 | describe('# GET /api/users/:userId', () => { 44 | it('should get user details', (done) => { 45 | request(app) 46 | .get(`/api/users/${user._id}`) 47 | .expect(httpStatus.OK) 48 | .then((res) => { 49 | expect(res.body.username).to.equal(user.username); 50 | expect(res.body.mobileNumber).to.equal(user.mobileNumber); 51 | done(); 52 | }) 53 | .catch(done); 54 | }); 55 | 56 | it('should report error with message - Not found, when user does not exists', (done) => { 57 | request(app) 58 | .get('/api/users/56c787ccc67fc16ccc1a5e92') 59 | .expect(httpStatus.NOT_FOUND) 60 | .then((res) => { 61 | expect(res.body.message).to.equal('Not Found'); 62 | done(); 63 | }) 64 | .catch(done); 65 | }); 66 | }); 67 | 68 | describe('# PUT /api/users/:userId', () => { 69 | it('should update user details', (done) => { 70 | user.username = 'KK'; 71 | request(app) 72 | .put(`/api/users/${user._id}`) 73 | .send(user) 74 | .expect(httpStatus.OK) 75 | .then((res) => { 76 | expect(res.body.username).to.equal('KK'); 77 | expect(res.body.mobileNumber).to.equal(user.mobileNumber); 78 | done(); 79 | }) 80 | .catch(done); 81 | }); 82 | }); 83 | 84 | describe('# GET /api/users/', () => { 85 | it('should get all users', (done) => { 86 | request(app) 87 | .get('/api/users') 88 | .expect(httpStatus.OK) 89 | .then((res) => { 90 | expect(res.body).to.be.an('array'); 91 | done(); 92 | }) 93 | .catch(done); 94 | }); 95 | 96 | it('should get all users (with limit and skip)', (done) => { 97 | request(app) 98 | .get('/api/users') 99 | .query({ limit: 10, skip: 1 }) 100 | .expect(httpStatus.OK) 101 | .then((res) => { 102 | expect(res.body).to.be.an('array'); 103 | done(); 104 | }) 105 | .catch(done); 106 | }); 107 | }); 108 | 109 | describe('# DELETE /api/users/', () => { 110 | it('should delete user', (done) => { 111 | request(app) 112 | .delete(`/api/users/${user._id}`) 113 | .expect(httpStatus.OK) 114 | .then((res) => { 115 | expect(res.body.username).to.equal('KK'); 116 | expect(res.body.mobileNumber).to.equal(user.mobileNumber); 117 | done(); 118 | }) 119 | .catch(done); 120 | }); 121 | }); 122 | }); 123 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | abbrev@1, abbrev@1.0.x: 6 | version "1.0.9" 7 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135" 8 | 9 | accepts@~1.3.4, accepts@~1.3.5: 10 | version "1.3.5" 11 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" 12 | dependencies: 13 | mime-types "~2.1.18" 14 | negotiator "0.6.1" 15 | 16 | acorn-jsx@^3.0.0: 17 | version "3.0.1" 18 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" 19 | dependencies: 20 | acorn "^3.0.4" 21 | 22 | acorn@^3.0.4: 23 | version "3.3.0" 24 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" 25 | 26 | acorn@^5.0.1: 27 | version "5.1.1" 28 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.1.1.tgz#53fe161111f912ab999ee887a90a0bc52822fd75" 29 | 30 | ajv-keywords@^1.0.0: 31 | version "1.5.0" 32 | resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.0.tgz#c11e6859eafff83e0dafc416929472eca946aa2c" 33 | 34 | ajv@^4.7.0: 35 | version "4.10.4" 36 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.10.4.tgz#c0974dd00b3464984892d6010aa9c2c945933254" 37 | dependencies: 38 | co "^4.6.0" 39 | json-stable-stringify "^1.0.1" 40 | 41 | align-text@^0.1.1, align-text@^0.1.3: 42 | version "0.1.4" 43 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 44 | dependencies: 45 | kind-of "^3.0.2" 46 | longest "^1.0.1" 47 | repeat-string "^1.5.2" 48 | 49 | amdefine@>=0.0.4: 50 | version "1.0.1" 51 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 52 | 53 | ansi-escapes@^1.1.0: 54 | version "1.4.0" 55 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" 56 | 57 | ansi-regex@^2.0.0: 58 | version "2.1.1" 59 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 60 | 61 | ansi-styles@^2.2.1: 62 | version "2.2.1" 63 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 64 | 65 | ansi-styles@~1.0.0: 66 | version "1.0.0" 67 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178" 68 | 69 | anymatch@^1.3.0: 70 | version "1.3.0" 71 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" 72 | dependencies: 73 | arrify "^1.0.0" 74 | micromatch "^2.1.5" 75 | 76 | append-transform@^0.4.0: 77 | version "0.4.0" 78 | resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" 79 | dependencies: 80 | default-require-extensions "^1.0.0" 81 | 82 | aproba@^1.0.3: 83 | version "1.0.4" 84 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.0.4.tgz#2713680775e7614c8ba186c065d4e2e52d1072c0" 85 | 86 | are-we-there-yet@~1.1.2: 87 | version "1.1.2" 88 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" 89 | dependencies: 90 | delegates "^1.0.0" 91 | readable-stream "^2.0.0 || ^1.1.13" 92 | 93 | argparse@^1.0.7: 94 | version "1.0.9" 95 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 96 | dependencies: 97 | sprintf-js "~1.0.2" 98 | 99 | arr-diff@^2.0.0: 100 | version "2.0.0" 101 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 102 | dependencies: 103 | arr-flatten "^1.0.1" 104 | 105 | arr-flatten@^1.0.1: 106 | version "1.0.1" 107 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" 108 | 109 | array-flatten@1.1.1: 110 | version "1.1.1" 111 | resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" 112 | 113 | array-union@^1.0.1: 114 | version "1.0.2" 115 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 116 | dependencies: 117 | array-uniq "^1.0.1" 118 | 119 | array-uniq@^1.0.1: 120 | version "1.0.3" 121 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 122 | 123 | array-unique@^0.2.1: 124 | version "0.2.1" 125 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 126 | 127 | arrify@^1.0.0: 128 | version "1.0.1" 129 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 130 | 131 | asn1@~0.2.3: 132 | version "0.2.3" 133 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 134 | 135 | assert-plus@^0.2.0: 136 | version "0.2.0" 137 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 138 | 139 | assert-plus@^1.0.0: 140 | version "1.0.0" 141 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 142 | 143 | assertion-error@^1.0.1: 144 | version "1.0.2" 145 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c" 146 | 147 | async-each@^1.0.0: 148 | version "1.0.1" 149 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 150 | 151 | async@1.x, async@^1.4.0, async@^1.5.0: 152 | version "1.5.2" 153 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 154 | 155 | async@2.1.4: 156 | version "2.1.4" 157 | resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4" 158 | dependencies: 159 | lodash "^4.14.0" 160 | 161 | async@^2.1.4: 162 | version "2.5.0" 163 | resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" 164 | dependencies: 165 | lodash "^4.14.0" 166 | 167 | async@~0.2.6: 168 | version "0.2.10" 169 | resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" 170 | 171 | async@~1.0.0: 172 | version "1.0.0" 173 | resolved "https://registry.yarnpkg.com/async/-/async-1.0.0.tgz#f8fc04ca3a13784ade9e1641af98578cfbd647a9" 174 | 175 | asynckit@^0.4.0: 176 | version "0.4.0" 177 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 178 | 179 | aws-sign2@~0.6.0: 180 | version "0.6.0" 181 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 182 | 183 | aws4@^1.2.1: 184 | version "1.5.0" 185 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.5.0.tgz#0a29ffb79c31c9e712eeb087e8e7a64b4a56d755" 186 | 187 | babel-code-frame@^6.16.0: 188 | version "6.22.0" 189 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" 190 | dependencies: 191 | chalk "^1.1.0" 192 | esutils "^2.0.2" 193 | js-tokens "^3.0.0" 194 | 195 | babel-code-frame@^6.26.0: 196 | version "6.26.0" 197 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 198 | dependencies: 199 | chalk "^1.1.3" 200 | esutils "^2.0.2" 201 | js-tokens "^3.0.2" 202 | 203 | babel-generator@^6.18.0: 204 | version "6.26.0" 205 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5" 206 | dependencies: 207 | babel-messages "^6.23.0" 208 | babel-runtime "^6.26.0" 209 | babel-types "^6.26.0" 210 | detect-indent "^4.0.0" 211 | jsesc "^1.3.0" 212 | lodash "^4.17.4" 213 | source-map "^0.5.6" 214 | trim-right "^1.0.1" 215 | 216 | babel-messages@^6.23.0: 217 | version "6.23.0" 218 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 219 | dependencies: 220 | babel-runtime "^6.22.0" 221 | 222 | babel-runtime@^6.22.0, babel-runtime@^6.26.0: 223 | version "6.26.0" 224 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 225 | dependencies: 226 | core-js "^2.4.0" 227 | regenerator-runtime "^0.11.0" 228 | 229 | babel-template@^6.16.0: 230 | version "6.26.0" 231 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" 232 | dependencies: 233 | babel-runtime "^6.26.0" 234 | babel-traverse "^6.26.0" 235 | babel-types "^6.26.0" 236 | babylon "^6.18.0" 237 | lodash "^4.17.4" 238 | 239 | babel-traverse@^6.18.0, babel-traverse@^6.26.0: 240 | version "6.26.0" 241 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 242 | dependencies: 243 | babel-code-frame "^6.26.0" 244 | babel-messages "^6.23.0" 245 | babel-runtime "^6.26.0" 246 | babel-types "^6.26.0" 247 | babylon "^6.18.0" 248 | debug "^2.6.8" 249 | globals "^9.18.0" 250 | invariant "^2.2.2" 251 | lodash "^4.17.4" 252 | 253 | babel-types@^6.18.0, babel-types@^6.26.0: 254 | version "6.26.0" 255 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 256 | dependencies: 257 | babel-runtime "^6.26.0" 258 | esutils "^2.0.2" 259 | lodash "^4.17.4" 260 | to-fast-properties "^1.0.3" 261 | 262 | babylon@^6.17.4, babylon@^6.18.0: 263 | version "6.18.0" 264 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 265 | 266 | balanced-match@^0.4.1: 267 | version "0.4.2" 268 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 269 | 270 | base64url@2.0.0, base64url@^2.0.0: 271 | version "2.0.0" 272 | resolved "https://registry.yarnpkg.com/base64url/-/base64url-2.0.0.tgz#eac16e03ea1438eff9423d69baa36262ed1f70bb" 273 | 274 | basic-auth@~2.0.0: 275 | version "2.0.0" 276 | resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.0.tgz#015db3f353e02e56377755f962742e8981e7bbba" 277 | dependencies: 278 | safe-buffer "5.1.1" 279 | 280 | bcrypt-pbkdf@^1.0.0: 281 | version "1.0.0" 282 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.0.tgz#3ca76b85241c7170bf7d9703e7b9aa74630040d4" 283 | dependencies: 284 | tweetnacl "^0.14.3" 285 | 286 | binary-extensions@^1.0.0: 287 | version "1.8.0" 288 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" 289 | 290 | block-stream@*: 291 | version "0.0.9" 292 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 293 | dependencies: 294 | inherits "~2.0.0" 295 | 296 | bluebird@2.10.2: 297 | version "2.10.2" 298 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.10.2.tgz#024a5517295308857f14f91f1106fc3b555f446b" 299 | 300 | bluebird@3.5.1: 301 | version "3.5.1" 302 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" 303 | 304 | bluebird@^3.3.1: 305 | version "3.4.6" 306 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.6.tgz#01da8d821d87813d158967e743d5fe6c62cf8c0f" 307 | 308 | body-parser@1.18.2: 309 | version "1.18.2" 310 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" 311 | dependencies: 312 | bytes "3.0.0" 313 | content-type "~1.0.4" 314 | debug "2.6.9" 315 | depd "~1.1.1" 316 | http-errors "~1.6.2" 317 | iconv-lite "0.4.19" 318 | on-finished "~2.3.0" 319 | qs "6.5.1" 320 | raw-body "2.3.2" 321 | type-is "~1.6.15" 322 | 323 | boom@2.x.x: 324 | version "2.10.1" 325 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 326 | dependencies: 327 | hoek "2.x.x" 328 | 329 | brace-expansion@^1.0.0: 330 | version "1.1.6" 331 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" 332 | dependencies: 333 | balanced-match "^0.4.1" 334 | concat-map "0.0.1" 335 | 336 | braces@^1.8.2: 337 | version "1.8.5" 338 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 339 | dependencies: 340 | expand-range "^1.8.1" 341 | preserve "^0.2.0" 342 | repeat-element "^1.1.2" 343 | 344 | browser-stdout@1.3.0: 345 | version "1.3.0" 346 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 347 | 348 | bson@~0.5.4: 349 | version "0.5.7" 350 | resolved "https://registry.yarnpkg.com/bson/-/bson-0.5.7.tgz#0d11fe0936c1fee029e11f7063f5d0ab2422ea3e" 351 | 352 | bson@~1.0.1: 353 | version "1.0.4" 354 | resolved "https://registry.yarnpkg.com/bson/-/bson-1.0.4.tgz#93c10d39eaa5b58415cbc4052f3e53e562b0b72c" 355 | 356 | buffer-equal-constant-time@1.0.1: 357 | version "1.0.1" 358 | resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" 359 | 360 | buffer-shims@^1.0.0: 361 | version "1.0.0" 362 | resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" 363 | 364 | builtin-modules@^1.1.1: 365 | version "1.1.1" 366 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 367 | 368 | bytes@3.0.0: 369 | version "3.0.0" 370 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" 371 | 372 | cachedir@^1.1.0: 373 | version "1.1.1" 374 | resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-1.1.1.tgz#e1363075ea206a12767d92bb711c8a2f76a10f62" 375 | dependencies: 376 | os-homedir "^1.0.1" 377 | 378 | caller-path@^0.1.0: 379 | version "0.1.0" 380 | resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" 381 | dependencies: 382 | callsites "^0.2.0" 383 | 384 | callsites@^0.2.0: 385 | version "0.2.0" 386 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 387 | 388 | camelcase@^1.0.2: 389 | version "1.2.1" 390 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 391 | 392 | camelize@1.0.0: 393 | version "1.0.0" 394 | resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" 395 | 396 | caseless@~0.11.0: 397 | version "0.11.0" 398 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" 399 | 400 | center-align@^0.1.1: 401 | version "0.1.3" 402 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 403 | dependencies: 404 | align-text "^0.1.3" 405 | lazy-cache "^1.0.3" 406 | 407 | chai@4.1.2: 408 | version "4.1.2" 409 | resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c" 410 | dependencies: 411 | assertion-error "^1.0.1" 412 | check-error "^1.0.1" 413 | deep-eql "^3.0.0" 414 | get-func-name "^2.0.0" 415 | pathval "^1.0.0" 416 | type-detect "^4.0.0" 417 | 418 | chalk@1.1.3, chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: 419 | version "1.1.3" 420 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 421 | dependencies: 422 | ansi-styles "^2.2.1" 423 | escape-string-regexp "^1.0.2" 424 | has-ansi "^2.0.0" 425 | strip-ansi "^3.0.0" 426 | supports-color "^2.0.0" 427 | 428 | chalk@~0.4.0: 429 | version "0.4.0" 430 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f" 431 | dependencies: 432 | ansi-styles "~1.0.0" 433 | has-color "~0.1.0" 434 | strip-ansi "~0.1.0" 435 | 436 | check-error@^1.0.1: 437 | version "1.0.2" 438 | resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" 439 | 440 | chokidar@^1.4.3: 441 | version "1.6.1" 442 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.1.tgz#2f4447ab5e96e50fb3d789fd90d4c72e0e4c70c2" 443 | dependencies: 444 | anymatch "^1.3.0" 445 | async-each "^1.0.0" 446 | glob-parent "^2.0.0" 447 | inherits "^2.0.1" 448 | is-binary-path "^1.0.0" 449 | is-glob "^2.0.0" 450 | path-is-absolute "^1.0.0" 451 | readdirp "^2.0.0" 452 | optionalDependencies: 453 | fsevents "^1.0.0" 454 | 455 | ci-info@^1.0.0: 456 | version "1.0.0" 457 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534" 458 | 459 | circular-json@^0.3.1: 460 | version "0.3.1" 461 | resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d" 462 | 463 | cli-cursor@^1.0.1: 464 | version "1.0.2" 465 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" 466 | dependencies: 467 | restore-cursor "^1.0.1" 468 | 469 | cli-width@^2.0.0: 470 | version "2.1.0" 471 | resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a" 472 | 473 | cliui@^2.1.0: 474 | version "2.1.0" 475 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 476 | dependencies: 477 | center-align "^0.1.1" 478 | right-align "^0.1.1" 479 | wordwrap "0.0.2" 480 | 481 | co@^4.6.0: 482 | version "4.6.0" 483 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 484 | 485 | code-point-at@^1.0.0: 486 | version "1.1.0" 487 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 488 | 489 | colors@1.0.x: 490 | version "1.0.3" 491 | resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" 492 | 493 | colors@~0.6.0-1: 494 | version "0.6.2" 495 | resolved "https://registry.yarnpkg.com/colors/-/colors-0.6.2.tgz#2423fe6678ac0c5dae8852e5d0e5be08c997abcc" 496 | 497 | combined-stream@^1.0.5, combined-stream@~1.0.5: 498 | version "1.0.5" 499 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 500 | dependencies: 501 | delayed-stream "~1.0.0" 502 | 503 | commander@2.9.0, commander@^2.9.0: 504 | version "2.9.0" 505 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 506 | dependencies: 507 | graceful-readlink ">= 1.0.0" 508 | 509 | commander@~2.1.0: 510 | version "2.1.0" 511 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz#d121bbae860d9992a3d517ba96f56588e47c6781" 512 | 513 | commitizen@^2.9.6: 514 | version "2.9.6" 515 | resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-2.9.6.tgz#c0d00535ef264da7f63737edfda4228983fa2291" 516 | dependencies: 517 | cachedir "^1.1.0" 518 | chalk "1.1.3" 519 | cz-conventional-changelog "1.2.0" 520 | dedent "0.6.0" 521 | detect-indent "4.0.0" 522 | find-node-modules "1.0.4" 523 | find-root "1.0.0" 524 | fs-extra "^1.0.0" 525 | glob "7.1.1" 526 | inquirer "1.2.3" 527 | lodash "4.17.2" 528 | minimist "1.2.0" 529 | path-exists "2.1.0" 530 | shelljs "0.7.6" 531 | strip-json-comments "2.0.1" 532 | 533 | component-emitter@^1.2.0: 534 | version "1.2.1" 535 | resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" 536 | 537 | compressible@~2.0.13: 538 | version "2.0.13" 539 | resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.13.tgz#0d1020ab924b2fdb4d6279875c7d6daba6baa7a9" 540 | dependencies: 541 | mime-db ">= 1.33.0 < 2" 542 | 543 | compression@1.7.2: 544 | version "1.7.2" 545 | resolved "http://registry.npmjs.org/compression/-/compression-1.7.2.tgz#aaffbcd6aaf854b44ebb280353d5ad1651f59a69" 546 | dependencies: 547 | accepts "~1.3.4" 548 | bytes "3.0.0" 549 | compressible "~2.0.13" 550 | debug "2.6.9" 551 | on-headers "~1.0.1" 552 | safe-buffer "5.1.1" 553 | vary "~1.1.2" 554 | 555 | concat-map@0.0.1: 556 | version "0.0.1" 557 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 558 | 559 | concat-stream@^1.4.6, concat-stream@^1.4.7: 560 | version "1.6.0" 561 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" 562 | dependencies: 563 | inherits "^2.0.3" 564 | readable-stream "^2.2.2" 565 | typedarray "^0.0.6" 566 | 567 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 568 | version "1.1.0" 569 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 570 | 571 | contains-path@^0.1.0: 572 | version "0.1.0" 573 | resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" 574 | 575 | content-disposition@0.5.2: 576 | version "0.5.2" 577 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 578 | 579 | content-security-policy-builder@2.0.0: 580 | version "2.0.0" 581 | resolved "https://registry.yarnpkg.com/content-security-policy-builder/-/content-security-policy-builder-2.0.0.tgz#8749a1d542fcbe82237281ea9f716ce68b394dd2" 582 | 583 | content-type@~1.0.4: 584 | version "1.0.4" 585 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 586 | 587 | conventional-commit-types@^2.0.0: 588 | version "2.1.0" 589 | resolved "https://registry.yarnpkg.com/conventional-commit-types/-/conventional-commit-types-2.1.0.tgz#45d860386c9a2e6537ee91d8a1b61bd0411b3d04" 590 | 591 | cookie-parser@1.4.3: 592 | version "1.4.3" 593 | resolved "https://registry.yarnpkg.com/cookie-parser/-/cookie-parser-1.4.3.tgz#0fe31fa19d000b95f4aadf1f53fdc2b8a203baa5" 594 | dependencies: 595 | cookie "0.3.1" 596 | cookie-signature "1.0.6" 597 | 598 | cookie-signature@1.0.6: 599 | version "1.0.6" 600 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" 601 | 602 | cookie@0.3.1: 603 | version "0.3.1" 604 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" 605 | 606 | cookiejar@^2.0.6: 607 | version "2.1.0" 608 | resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.0.tgz#86549689539b6d0e269b6637a304be508194d898" 609 | 610 | core-js@^2.4.0: 611 | version "2.5.0" 612 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.0.tgz#569c050918be6486b3837552028ae0466b717086" 613 | 614 | core-util-is@~1.0.0: 615 | version "1.0.2" 616 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 617 | 618 | cors@2.8.4: 619 | version "2.8.4" 620 | resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.4.tgz#2bd381f2eb201020105cd50ea59da63090694686" 621 | dependencies: 622 | object-assign "^4" 623 | vary "^1" 624 | 625 | coveralls@^3.0.0: 626 | version "3.0.0" 627 | resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.0.tgz#22ef730330538080d29b8c151dc9146afde88a99" 628 | dependencies: 629 | js-yaml "^3.6.1" 630 | lcov-parse "^0.0.10" 631 | log-driver "^1.2.5" 632 | minimist "^1.2.0" 633 | request "^2.79.0" 634 | 635 | cross-env@5.1.4: 636 | version "5.1.4" 637 | resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.4.tgz#f61c14291f7cc653bb86457002ea80a04699d022" 638 | dependencies: 639 | cross-spawn "^5.1.0" 640 | is-windows "^1.0.0" 641 | 642 | cross-spawn@^5.1.0: 643 | version "5.1.0" 644 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 645 | dependencies: 646 | lru-cache "^4.0.1" 647 | shebang-command "^1.2.0" 648 | which "^1.2.9" 649 | 650 | cryptiles@2.x.x: 651 | version "2.0.5" 652 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 653 | dependencies: 654 | boom "2.x.x" 655 | 656 | cycle@1.0.x: 657 | version "1.0.3" 658 | resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2" 659 | 660 | cz-conventional-changelog@1.2.0: 661 | version "1.2.0" 662 | resolved "https://registry.yarnpkg.com/cz-conventional-changelog/-/cz-conventional-changelog-1.2.0.tgz#2bca04964c8919b23f3fd6a89ef5e6008b31b3f8" 663 | dependencies: 664 | conventional-commit-types "^2.0.0" 665 | lodash.map "^4.5.1" 666 | longest "^1.0.1" 667 | pad-right "^0.2.2" 668 | right-pad "^1.0.1" 669 | word-wrap "^1.0.3" 670 | 671 | d@^0.1.1, d@~0.1.1: 672 | version "0.1.1" 673 | resolved "https://registry.yarnpkg.com/d/-/d-0.1.1.tgz#da184c535d18d8ee7ba2aa229b914009fae11309" 674 | dependencies: 675 | es5-ext "~0.10.2" 676 | 677 | dashdash@^1.12.0: 678 | version "1.14.1" 679 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 680 | dependencies: 681 | assert-plus "^1.0.0" 682 | 683 | dasherize@2.0.0: 684 | version "2.0.0" 685 | resolved "https://registry.yarnpkg.com/dasherize/-/dasherize-2.0.0.tgz#6d809c9cd0cf7bb8952d80fc84fa13d47ddb1308" 686 | 687 | debug@2.2.0, debug@~2.2.0: 688 | version "2.2.0" 689 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da" 690 | dependencies: 691 | ms "0.7.1" 692 | 693 | debug@2.6.8, debug@^2.6.3, debug@^2.6.8: 694 | version "2.6.8" 695 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" 696 | dependencies: 697 | ms "2.0.0" 698 | 699 | debug@2.6.9: 700 | version "2.6.9" 701 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 702 | dependencies: 703 | ms "2.0.0" 704 | 705 | debug@^2.1.1, debug@^2.2.0, debug@^2.4.5: 706 | version "2.6.0" 707 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b" 708 | dependencies: 709 | ms "0.7.2" 710 | 711 | decamelize@^1.0.0: 712 | version "1.2.0" 713 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 714 | 715 | dedent@0.6.0: 716 | version "0.6.0" 717 | resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.6.0.tgz#0e6da8f0ce52838ef5cec5c8f9396b0c1b64a3cb" 718 | 719 | deep-eql@^3.0.0: 720 | version "3.0.1" 721 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" 722 | dependencies: 723 | type-detect "^4.0.0" 724 | 725 | deep-extend@~0.4.0: 726 | version "0.4.1" 727 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" 728 | 729 | deep-is@~0.1.3: 730 | version "0.1.3" 731 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 732 | 733 | default-require-extensions@^1.0.0: 734 | version "1.0.0" 735 | resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" 736 | dependencies: 737 | strip-bom "^2.0.0" 738 | 739 | del@^2.0.2: 740 | version "2.2.2" 741 | resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 742 | dependencies: 743 | globby "^5.0.0" 744 | is-path-cwd "^1.0.0" 745 | is-path-in-cwd "^1.0.0" 746 | object-assign "^4.0.1" 747 | pify "^2.0.0" 748 | pinkie-promise "^2.0.0" 749 | rimraf "^2.2.8" 750 | 751 | delayed-stream@~1.0.0: 752 | version "1.0.0" 753 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 754 | 755 | delegates@^1.0.0: 756 | version "1.0.0" 757 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 758 | 759 | depd@1.1.1, depd@~1.1.1: 760 | version "1.1.1" 761 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" 762 | 763 | depd@~1.1.2: 764 | version "1.1.2" 765 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" 766 | 767 | destroy@~1.0.4: 768 | version "1.0.4" 769 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 770 | 771 | detect-file@^0.1.0: 772 | version "0.1.0" 773 | resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-0.1.0.tgz#4935dedfd9488648e006b0129566e9386711ea63" 774 | dependencies: 775 | fs-exists-sync "^0.1.0" 776 | 777 | detect-indent@4.0.0, detect-indent@^4.0.0: 778 | version "4.0.0" 779 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 780 | dependencies: 781 | repeating "^2.0.0" 782 | 783 | diff@3.2.0: 784 | version "3.2.0" 785 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 786 | 787 | dns-prefetch-control@0.1.0: 788 | version "0.1.0" 789 | resolved "https://registry.yarnpkg.com/dns-prefetch-control/-/dns-prefetch-control-0.1.0.tgz#60ddb457774e178f1f9415f0cabb0e85b0b300b2" 790 | 791 | doctrine@1.3.x: 792 | version "1.3.0" 793 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.3.0.tgz#13e75682b55518424276f7c173783456ef913d26" 794 | dependencies: 795 | esutils "^2.0.2" 796 | isarray "^1.0.0" 797 | 798 | doctrine@^1.2.2: 799 | version "1.5.0" 800 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" 801 | dependencies: 802 | esutils "^2.0.2" 803 | isarray "^1.0.0" 804 | 805 | dont-sniff-mimetype@1.0.0: 806 | version "1.0.0" 807 | resolved "https://registry.yarnpkg.com/dont-sniff-mimetype/-/dont-sniff-mimetype-1.0.0.tgz#5932890dc9f4e2f19e5eb02a20026e5e5efc8f58" 808 | 809 | dotenv@^4.0.0: 810 | version "4.0.0" 811 | resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d" 812 | 813 | ecc-jsbn@~0.1.1: 814 | version "0.1.1" 815 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 816 | dependencies: 817 | jsbn "~0.1.0" 818 | 819 | ecdsa-sig-formatter@1.0.9: 820 | version "1.0.9" 821 | resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.9.tgz#4bc926274ec3b5abb5016e7e1d60921ac262b2a1" 822 | dependencies: 823 | base64url "^2.0.0" 824 | safe-buffer "^5.0.1" 825 | 826 | ee-first@1.1.1: 827 | version "1.1.1" 828 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 829 | 830 | encodeurl@~1.0.2: 831 | version "1.0.2" 832 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" 833 | 834 | es5-ext@^0.10.7, es5-ext@^0.10.8, es5-ext@~0.10.11, es5-ext@~0.10.2, es5-ext@~0.10.7: 835 | version "0.10.12" 836 | resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.12.tgz#aa84641d4db76b62abba5e45fd805ecbab140047" 837 | dependencies: 838 | es6-iterator "2" 839 | es6-symbol "~3.1" 840 | 841 | es6-iterator@2: 842 | version "2.0.0" 843 | resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.0.tgz#bd968567d61635e33c0b80727613c9cb4b096bac" 844 | dependencies: 845 | d "^0.1.1" 846 | es5-ext "^0.10.7" 847 | es6-symbol "3" 848 | 849 | es6-map@^0.1.3: 850 | version "0.1.4" 851 | resolved "https://registry.yarnpkg.com/es6-map/-/es6-map-0.1.4.tgz#a34b147be224773a4d7da8072794cefa3632b897" 852 | dependencies: 853 | d "~0.1.1" 854 | es5-ext "~0.10.11" 855 | es6-iterator "2" 856 | es6-set "~0.1.3" 857 | es6-symbol "~3.1.0" 858 | event-emitter "~0.3.4" 859 | 860 | es6-promise@3.2.1: 861 | version "3.2.1" 862 | resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.2.1.tgz#ec56233868032909207170c39448e24449dd1fc4" 863 | 864 | es6-set@^0.1.4, es6-set@~0.1.3: 865 | version "0.1.4" 866 | resolved "https://registry.yarnpkg.com/es6-set/-/es6-set-0.1.4.tgz#9516b6761c2964b92ff479456233a247dc707ce8" 867 | dependencies: 868 | d "~0.1.1" 869 | es5-ext "~0.10.11" 870 | es6-iterator "2" 871 | es6-symbol "3" 872 | event-emitter "~0.3.4" 873 | 874 | es6-symbol@3, es6-symbol@~3.1, es6-symbol@~3.1.0: 875 | version "3.1.0" 876 | resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.0.tgz#94481c655e7a7cad82eba832d97d5433496d7ffa" 877 | dependencies: 878 | d "~0.1.1" 879 | es5-ext "~0.10.11" 880 | 881 | es6-weak-map@^2.0.1: 882 | version "2.0.1" 883 | resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.1.tgz#0d2bbd8827eb5fb4ba8f97fbfea50d43db21ea81" 884 | dependencies: 885 | d "^0.1.1" 886 | es5-ext "^0.10.8" 887 | es6-iterator "2" 888 | es6-symbol "3" 889 | 890 | escape-html@~1.0.3: 891 | version "1.0.3" 892 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 893 | 894 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 895 | version "1.0.5" 896 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 897 | 898 | escope@^3.6.0: 899 | version "3.6.0" 900 | resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3" 901 | dependencies: 902 | es6-map "^0.1.3" 903 | es6-weak-map "^2.0.1" 904 | esrecurse "^4.1.0" 905 | estraverse "^4.1.1" 906 | 907 | eslint-config-airbnb-base@7.1.0: 908 | version "7.1.0" 909 | resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-7.1.0.tgz#6d3d82d11a057bec2c08098a0723109ad3bbf3f4" 910 | 911 | eslint-import-resolver-node@^0.2.0: 912 | version "0.2.3" 913 | resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz#5add8106e8c928db2cba232bcd9efa846e3da16c" 914 | dependencies: 915 | debug "^2.2.0" 916 | object-assign "^4.0.1" 917 | resolve "^1.1.6" 918 | 919 | eslint-plugin-import@1.16.0: 920 | version "1.16.0" 921 | resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-1.16.0.tgz#b2fa07ebcc53504d0f2a4477582ec8bff1871b9f" 922 | dependencies: 923 | builtin-modules "^1.1.1" 924 | contains-path "^0.1.0" 925 | debug "^2.2.0" 926 | doctrine "1.3.x" 927 | es6-map "^0.1.3" 928 | es6-set "^0.1.4" 929 | eslint-import-resolver-node "^0.2.0" 930 | has "^1.0.1" 931 | lodash.cond "^4.3.0" 932 | lodash.endswith "^4.0.1" 933 | lodash.find "^4.3.0" 934 | lodash.findindex "^4.3.0" 935 | minimatch "^3.0.3" 936 | object-assign "^4.0.1" 937 | pkg-dir "^1.0.0" 938 | pkg-up "^1.0.0" 939 | 940 | eslint-watch@2.1.14: 941 | version "2.1.14" 942 | resolved "https://registry.yarnpkg.com/eslint-watch/-/eslint-watch-2.1.14.tgz#a9d200aefb158349f3631ec91a2ec484d152cbfe" 943 | dependencies: 944 | chalk "^1.1.3" 945 | chokidar "^1.4.3" 946 | debug "^2.2.0" 947 | keypress "^0.2.1" 948 | lodash "^4.13.1" 949 | optionator "^0.8.1" 950 | text-table "^0.2.0" 951 | 952 | eslint@3.16.1: 953 | version "3.16.1" 954 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.16.1.tgz#9bc31fc7341692cf772e80607508f67d711c5609" 955 | dependencies: 956 | babel-code-frame "^6.16.0" 957 | chalk "^1.1.3" 958 | concat-stream "^1.4.6" 959 | debug "^2.1.1" 960 | doctrine "^1.2.2" 961 | escope "^3.6.0" 962 | espree "^3.4.0" 963 | estraverse "^4.2.0" 964 | esutils "^2.0.2" 965 | file-entry-cache "^2.0.0" 966 | glob "^7.0.3" 967 | globals "^9.14.0" 968 | ignore "^3.2.0" 969 | imurmurhash "^0.1.4" 970 | inquirer "^0.12.0" 971 | is-my-json-valid "^2.10.0" 972 | is-resolvable "^1.0.0" 973 | js-yaml "^3.5.1" 974 | json-stable-stringify "^1.0.0" 975 | levn "^0.3.0" 976 | lodash "^4.0.0" 977 | mkdirp "^0.5.0" 978 | natural-compare "^1.4.0" 979 | optionator "^0.8.2" 980 | path-is-inside "^1.0.1" 981 | pluralize "^1.2.1" 982 | progress "^1.1.8" 983 | require-uncached "^1.0.2" 984 | shelljs "^0.7.5" 985 | strip-bom "^3.0.0" 986 | strip-json-comments "~2.0.1" 987 | table "^3.7.8" 988 | text-table "~0.2.0" 989 | user-home "^2.0.0" 990 | 991 | espree@^3.4.0: 992 | version "3.4.3" 993 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.3.tgz#2910b5ccd49ce893c2ffffaab4fd8b3a31b82374" 994 | dependencies: 995 | acorn "^5.0.1" 996 | acorn-jsx "^3.0.0" 997 | 998 | esprima@^2.6.0: 999 | version "2.7.3" 1000 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" 1001 | 1002 | esprima@^4.0.0: 1003 | version "4.0.0" 1004 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 1005 | 1006 | esrecurse@^4.1.0: 1007 | version "4.1.0" 1008 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.1.0.tgz#4713b6536adf7f2ac4f327d559e7756bff648220" 1009 | dependencies: 1010 | estraverse "~4.1.0" 1011 | object-assign "^4.0.1" 1012 | 1013 | estraverse@^4.1.1, estraverse@^4.2.0: 1014 | version "4.2.0" 1015 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 1016 | 1017 | estraverse@~4.1.0: 1018 | version "4.1.1" 1019 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.1.1.tgz#f6caca728933a850ef90661d0e17982ba47111a2" 1020 | 1021 | esutils@^2.0.2: 1022 | version "2.0.2" 1023 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 1024 | 1025 | etag@~1.8.1: 1026 | version "1.8.1" 1027 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 1028 | 1029 | event-emitter@~0.3.4: 1030 | version "0.3.4" 1031 | resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.4.tgz#8d63ddfb4cfe1fae3b32ca265c4c720222080bb5" 1032 | dependencies: 1033 | d "~0.1.1" 1034 | es5-ext "~0.10.7" 1035 | 1036 | exit-hook@^1.0.0: 1037 | version "1.1.1" 1038 | resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" 1039 | 1040 | expand-brackets@^0.1.4: 1041 | version "0.1.5" 1042 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 1043 | dependencies: 1044 | is-posix-bracket "^0.1.0" 1045 | 1046 | expand-range@^1.8.1: 1047 | version "1.8.2" 1048 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 1049 | dependencies: 1050 | fill-range "^2.1.0" 1051 | 1052 | expand-tilde@^1.2.2: 1053 | version "1.2.2" 1054 | resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-1.2.2.tgz#0b81eba897e5a3d31d1c3d102f8f01441e559449" 1055 | dependencies: 1056 | os-homedir "^1.0.1" 1057 | 1058 | expect-ct@0.1.0: 1059 | version "0.1.0" 1060 | resolved "https://registry.yarnpkg.com/expect-ct/-/expect-ct-0.1.0.tgz#52735678de18530890d8d7b95f0ac63640958094" 1061 | 1062 | express-jwt@5.3.1: 1063 | version "5.3.1" 1064 | resolved "https://registry.yarnpkg.com/express-jwt/-/express-jwt-5.3.1.tgz#66f05c7dddb5409c037346a98b88965bb10ea4ae" 1065 | dependencies: 1066 | async "^1.5.0" 1067 | express-unless "^0.3.0" 1068 | jsonwebtoken "^8.1.0" 1069 | lodash.set "^4.0.0" 1070 | 1071 | express-unless@^0.3.0: 1072 | version "0.3.0" 1073 | resolved "https://registry.yarnpkg.com/express-unless/-/express-unless-0.3.0.tgz#5c795e7392571512dd28f520b3857a52b21261a2" 1074 | 1075 | express-validation@1.0.2: 1076 | version "1.0.2" 1077 | resolved "https://registry.yarnpkg.com/express-validation/-/express-validation-1.0.2.tgz#7d589dd3b257c55b3e004665b6c69cb12cc2b142" 1078 | dependencies: 1079 | lodash "^4.9.0" 1080 | 1081 | express-winston@2.5.0: 1082 | version "2.5.0" 1083 | resolved "https://registry.yarnpkg.com/express-winston/-/express-winston-2.5.0.tgz#afaf005b62ad4469b0692ea22f745a06a5ebbead" 1084 | dependencies: 1085 | chalk "~0.4.0" 1086 | lodash "~4.17.5" 1087 | 1088 | express@4.16.3: 1089 | version "4.16.3" 1090 | resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53" 1091 | dependencies: 1092 | accepts "~1.3.5" 1093 | array-flatten "1.1.1" 1094 | body-parser "1.18.2" 1095 | content-disposition "0.5.2" 1096 | content-type "~1.0.4" 1097 | cookie "0.3.1" 1098 | cookie-signature "1.0.6" 1099 | debug "2.6.9" 1100 | depd "~1.1.2" 1101 | encodeurl "~1.0.2" 1102 | escape-html "~1.0.3" 1103 | etag "~1.8.1" 1104 | finalhandler "1.1.1" 1105 | fresh "0.5.2" 1106 | merge-descriptors "1.0.1" 1107 | methods "~1.1.2" 1108 | on-finished "~2.3.0" 1109 | parseurl "~1.3.2" 1110 | path-to-regexp "0.1.7" 1111 | proxy-addr "~2.0.3" 1112 | qs "6.5.1" 1113 | range-parser "~1.2.0" 1114 | safe-buffer "5.1.1" 1115 | send "0.16.2" 1116 | serve-static "1.13.2" 1117 | setprototypeof "1.1.0" 1118 | statuses "~1.4.0" 1119 | type-is "~1.6.16" 1120 | utils-merge "1.0.1" 1121 | vary "~1.1.2" 1122 | 1123 | extend@^3.0.0, extend@~3.0.0: 1124 | version "3.0.0" 1125 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" 1126 | 1127 | external-editor@^1.1.0: 1128 | version "1.1.1" 1129 | resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-1.1.1.tgz#12d7b0db850f7ff7e7081baf4005700060c4600b" 1130 | dependencies: 1131 | extend "^3.0.0" 1132 | spawn-sync "^1.0.15" 1133 | tmp "^0.0.29" 1134 | 1135 | extglob@^0.3.1: 1136 | version "0.3.2" 1137 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 1138 | dependencies: 1139 | is-extglob "^1.0.0" 1140 | 1141 | extsprintf@1.0.2: 1142 | version "1.0.2" 1143 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 1144 | 1145 | eyes@0.1.x: 1146 | version "0.1.8" 1147 | resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" 1148 | 1149 | fast-levenshtein@~2.0.4: 1150 | version "2.0.6" 1151 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 1152 | 1153 | figures@^1.3.5: 1154 | version "1.7.0" 1155 | resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" 1156 | dependencies: 1157 | escape-string-regexp "^1.0.5" 1158 | object-assign "^4.1.0" 1159 | 1160 | file-entry-cache@^2.0.0: 1161 | version "2.0.0" 1162 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" 1163 | dependencies: 1164 | flat-cache "^1.2.1" 1165 | object-assign "^4.0.1" 1166 | 1167 | filename-regex@^2.0.0: 1168 | version "2.0.0" 1169 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" 1170 | 1171 | fileset@^2.0.2: 1172 | version "2.0.3" 1173 | resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" 1174 | dependencies: 1175 | glob "^7.0.3" 1176 | minimatch "^3.0.3" 1177 | 1178 | fill-range@^2.1.0: 1179 | version "2.2.3" 1180 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 1181 | dependencies: 1182 | is-number "^2.1.0" 1183 | isobject "^2.0.0" 1184 | randomatic "^1.1.3" 1185 | repeat-element "^1.1.2" 1186 | repeat-string "^1.5.2" 1187 | 1188 | finalhandler@1.1.1: 1189 | version "1.1.1" 1190 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" 1191 | dependencies: 1192 | debug "2.6.9" 1193 | encodeurl "~1.0.2" 1194 | escape-html "~1.0.3" 1195 | on-finished "~2.3.0" 1196 | parseurl "~1.3.2" 1197 | statuses "~1.4.0" 1198 | unpipe "~1.0.0" 1199 | 1200 | find-node-modules@1.0.4: 1201 | version "1.0.4" 1202 | resolved "https://registry.yarnpkg.com/find-node-modules/-/find-node-modules-1.0.4.tgz#b6deb3cccb699c87037677bcede2c5f5862b2550" 1203 | dependencies: 1204 | findup-sync "0.4.2" 1205 | merge "^1.2.0" 1206 | 1207 | find-parent-dir@^0.3.0: 1208 | version "0.3.0" 1209 | resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54" 1210 | 1211 | find-root@1.0.0: 1212 | version "1.0.0" 1213 | resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.0.0.tgz#962ff211aab25c6520feeeb8d6287f8f6e95807a" 1214 | 1215 | find-up@^1.0.0: 1216 | version "1.1.2" 1217 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 1218 | dependencies: 1219 | path-exists "^2.0.0" 1220 | pinkie-promise "^2.0.0" 1221 | 1222 | findup-sync@0.4.2: 1223 | version "0.4.2" 1224 | resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.2.tgz#a8117d0f73124f5a4546839579fe52d7129fb5e5" 1225 | dependencies: 1226 | detect-file "^0.1.0" 1227 | is-glob "^2.0.1" 1228 | micromatch "^2.3.7" 1229 | resolve-dir "^0.1.0" 1230 | 1231 | findup@0.1.5: 1232 | version "0.1.5" 1233 | resolved "https://registry.yarnpkg.com/findup/-/findup-0.1.5.tgz#8ad929a3393bac627957a7e5de4623b06b0e2ceb" 1234 | dependencies: 1235 | colors "~0.6.0-1" 1236 | commander "~2.1.0" 1237 | 1238 | flat-cache@^1.2.1: 1239 | version "1.2.2" 1240 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.2.2.tgz#fa86714e72c21db88601761ecf2f555d1abc6b96" 1241 | dependencies: 1242 | circular-json "^0.3.1" 1243 | del "^2.0.2" 1244 | graceful-fs "^4.1.2" 1245 | write "^0.2.1" 1246 | 1247 | for-in@^0.1.5: 1248 | version "0.1.6" 1249 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.6.tgz#c9f96e89bfad18a545af5ec3ed352a1d9e5b4dc8" 1250 | 1251 | for-own@^0.1.4: 1252 | version "0.1.4" 1253 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.4.tgz#0149b41a39088c7515f51ebe1c1386d45f935072" 1254 | dependencies: 1255 | for-in "^0.1.5" 1256 | 1257 | forever-agent@~0.6.1: 1258 | version "0.6.1" 1259 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1260 | 1261 | form-data@^2.1.1: 1262 | version "2.2.0" 1263 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.2.0.tgz#9a5e3b9295f980b2623cf64fa238b14cebca707b" 1264 | dependencies: 1265 | asynckit "^0.4.0" 1266 | combined-stream "^1.0.5" 1267 | mime-types "^2.1.12" 1268 | 1269 | form-data@~2.1.1: 1270 | version "2.1.2" 1271 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4" 1272 | dependencies: 1273 | asynckit "^0.4.0" 1274 | combined-stream "^1.0.5" 1275 | mime-types "^2.1.12" 1276 | 1277 | formidable@^1.1.1: 1278 | version "1.1.1" 1279 | resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.1.1.tgz#96b8886f7c3c3508b932d6bd70c4d3a88f35f1a9" 1280 | 1281 | forwarded@~0.1.2: 1282 | version "0.1.2" 1283 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" 1284 | 1285 | frameguard@3.0.0: 1286 | version "3.0.0" 1287 | resolved "https://registry.yarnpkg.com/frameguard/-/frameguard-3.0.0.tgz#7bcad469ee7b96e91d12ceb3959c78235a9272e9" 1288 | 1289 | fresh@0.5.2: 1290 | version "0.5.2" 1291 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 1292 | 1293 | fs-exists-sync@^0.1.0: 1294 | version "0.1.0" 1295 | resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" 1296 | 1297 | fs-extra@^1.0.0: 1298 | version "1.0.0" 1299 | resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950" 1300 | dependencies: 1301 | graceful-fs "^4.1.2" 1302 | jsonfile "^2.1.0" 1303 | klaw "^1.0.0" 1304 | 1305 | fs.realpath@^1.0.0: 1306 | version "1.0.0" 1307 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1308 | 1309 | fsevents@^1.0.0: 1310 | version "1.0.17" 1311 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.0.17.tgz#8537f3f12272678765b4fd6528c0f1f66f8f4558" 1312 | dependencies: 1313 | nan "^2.3.0" 1314 | node-pre-gyp "^0.6.29" 1315 | 1316 | fstream-ignore@~1.0.5: 1317 | version "1.0.5" 1318 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 1319 | dependencies: 1320 | fstream "^1.0.0" 1321 | inherits "2" 1322 | minimatch "^3.0.0" 1323 | 1324 | fstream@^1.0.0, fstream@^1.0.2, fstream@~1.0.10: 1325 | version "1.0.10" 1326 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.10.tgz#604e8a92fe26ffd9f6fae30399d4984e1ab22822" 1327 | dependencies: 1328 | graceful-fs "^4.1.2" 1329 | inherits "~2.0.0" 1330 | mkdirp ">=0.5 0" 1331 | rimraf "2" 1332 | 1333 | function-bind@^1.0.2: 1334 | version "1.1.0" 1335 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771" 1336 | 1337 | gauge@~2.7.1: 1338 | version "2.7.2" 1339 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.2.tgz#15cecc31b02d05345a5d6b0e171cdb3ad2307774" 1340 | dependencies: 1341 | aproba "^1.0.3" 1342 | console-control-strings "^1.0.0" 1343 | has-unicode "^2.0.0" 1344 | object-assign "^4.1.0" 1345 | signal-exit "^3.0.0" 1346 | string-width "^1.0.1" 1347 | strip-ansi "^3.0.1" 1348 | supports-color "^0.2.0" 1349 | wide-align "^1.1.0" 1350 | 1351 | generate-function@^2.0.0: 1352 | version "2.0.0" 1353 | resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" 1354 | 1355 | generate-object-property@^1.1.0: 1356 | version "1.2.0" 1357 | resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" 1358 | dependencies: 1359 | is-property "^1.0.0" 1360 | 1361 | get-func-name@^2.0.0: 1362 | version "2.0.0" 1363 | resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" 1364 | 1365 | getpass@^0.1.1: 1366 | version "0.1.6" 1367 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" 1368 | dependencies: 1369 | assert-plus "^1.0.0" 1370 | 1371 | glob-base@^0.3.0: 1372 | version "0.3.0" 1373 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 1374 | dependencies: 1375 | glob-parent "^2.0.0" 1376 | is-glob "^2.0.0" 1377 | 1378 | glob-parent@^2.0.0: 1379 | version "2.0.0" 1380 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 1381 | dependencies: 1382 | is-glob "^2.0.0" 1383 | 1384 | glob@7.1.1, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5: 1385 | version "7.1.1" 1386 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 1387 | dependencies: 1388 | fs.realpath "^1.0.0" 1389 | inflight "^1.0.4" 1390 | inherits "2" 1391 | minimatch "^3.0.2" 1392 | once "^1.3.0" 1393 | path-is-absolute "^1.0.0" 1394 | 1395 | global-modules@^0.2.3: 1396 | version "0.2.3" 1397 | resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-0.2.3.tgz#ea5a3bed42c6d6ce995a4f8a1269b5dae223828d" 1398 | dependencies: 1399 | global-prefix "^0.1.4" 1400 | is-windows "^0.2.0" 1401 | 1402 | global-prefix@^0.1.4: 1403 | version "0.1.5" 1404 | resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-0.1.5.tgz#8d3bc6b8da3ca8112a160d8d496ff0462bfef78f" 1405 | dependencies: 1406 | homedir-polyfill "^1.0.0" 1407 | ini "^1.3.4" 1408 | is-windows "^0.2.0" 1409 | which "^1.2.12" 1410 | 1411 | globals@^9.14.0: 1412 | version "9.14.0" 1413 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.14.0.tgz#8859936af0038741263053b39d0e76ca241e4034" 1414 | 1415 | globals@^9.18.0: 1416 | version "9.18.0" 1417 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 1418 | 1419 | globby@^5.0.0: 1420 | version "5.0.0" 1421 | resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 1422 | dependencies: 1423 | array-union "^1.0.1" 1424 | arrify "^1.0.0" 1425 | glob "^7.0.3" 1426 | object-assign "^4.0.1" 1427 | pify "^2.0.0" 1428 | pinkie-promise "^2.0.0" 1429 | 1430 | graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: 1431 | version "4.1.11" 1432 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1433 | 1434 | "graceful-readlink@>= 1.0.0": 1435 | version "1.0.1" 1436 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 1437 | 1438 | growl@1.9.2: 1439 | version "1.9.2" 1440 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" 1441 | 1442 | handlebars@^4.0.3: 1443 | version "4.0.10" 1444 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f" 1445 | dependencies: 1446 | async "^1.4.0" 1447 | optimist "^0.6.1" 1448 | source-map "^0.4.4" 1449 | optionalDependencies: 1450 | uglify-js "^2.6" 1451 | 1452 | har-validator@~2.0.6: 1453 | version "2.0.6" 1454 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" 1455 | dependencies: 1456 | chalk "^1.1.1" 1457 | commander "^2.9.0" 1458 | is-my-json-valid "^2.12.4" 1459 | pinkie-promise "^2.0.0" 1460 | 1461 | has-ansi@^2.0.0: 1462 | version "2.0.0" 1463 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1464 | dependencies: 1465 | ansi-regex "^2.0.0" 1466 | 1467 | has-color@~0.1.0: 1468 | version "0.1.7" 1469 | resolved "https://registry.yarnpkg.com/has-color/-/has-color-0.1.7.tgz#67144a5260c34fc3cca677d041daf52fe7b78b2f" 1470 | 1471 | has-flag@^1.0.0: 1472 | version "1.0.0" 1473 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1474 | 1475 | has-unicode@^2.0.0: 1476 | version "2.0.1" 1477 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1478 | 1479 | has@^1.0.1: 1480 | version "1.0.1" 1481 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" 1482 | dependencies: 1483 | function-bind "^1.0.2" 1484 | 1485 | hawk@~3.1.3: 1486 | version "3.1.3" 1487 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1488 | dependencies: 1489 | boom "2.x.x" 1490 | cryptiles "2.x.x" 1491 | hoek "2.x.x" 1492 | sntp "1.x.x" 1493 | 1494 | helmet-csp@2.7.0: 1495 | version "2.7.0" 1496 | resolved "https://registry.yarnpkg.com/helmet-csp/-/helmet-csp-2.7.0.tgz#7934094617d1feb7bb2dc43bb7d9e8830f774716" 1497 | dependencies: 1498 | camelize "1.0.0" 1499 | content-security-policy-builder "2.0.0" 1500 | dasherize "2.0.0" 1501 | lodash.reduce "4.6.0" 1502 | platform "1.3.5" 1503 | 1504 | helmet@3.12.0: 1505 | version "3.12.0" 1506 | resolved "https://registry.yarnpkg.com/helmet/-/helmet-3.12.0.tgz#2098e35cf4e51c64c2f1d38670b7d382a377d92c" 1507 | dependencies: 1508 | dns-prefetch-control "0.1.0" 1509 | dont-sniff-mimetype "1.0.0" 1510 | expect-ct "0.1.0" 1511 | frameguard "3.0.0" 1512 | helmet-csp "2.7.0" 1513 | hide-powered-by "1.0.0" 1514 | hpkp "2.0.0" 1515 | hsts "2.1.0" 1516 | ienoopen "1.0.0" 1517 | nocache "2.0.0" 1518 | referrer-policy "1.1.0" 1519 | x-xss-protection "1.1.0" 1520 | 1521 | hide-powered-by@1.0.0: 1522 | version "1.0.0" 1523 | resolved "https://registry.yarnpkg.com/hide-powered-by/-/hide-powered-by-1.0.0.tgz#4a85ad65881f62857fc70af7174a1184dccce32b" 1524 | 1525 | hoek@2.x.x: 1526 | version "2.16.3" 1527 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1528 | 1529 | hoek@4.x.x: 1530 | version "4.1.0" 1531 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.1.0.tgz#4a4557460f69842ed463aa00628cc26d2683afa7" 1532 | 1533 | homedir-polyfill@^1.0.0: 1534 | version "1.0.1" 1535 | resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" 1536 | dependencies: 1537 | parse-passwd "^1.0.0" 1538 | 1539 | hooks-fixed@1.2.0: 1540 | version "1.2.0" 1541 | resolved "https://registry.yarnpkg.com/hooks-fixed/-/hooks-fixed-1.2.0.tgz#0d2772d4d7d685ff9244724a9f0b5b2559aac96b" 1542 | 1543 | hpkp@2.0.0: 1544 | version "2.0.0" 1545 | resolved "https://registry.yarnpkg.com/hpkp/-/hpkp-2.0.0.tgz#10e142264e76215a5d30c44ec43de64dee6d1672" 1546 | 1547 | hsts@2.1.0: 1548 | version "2.1.0" 1549 | resolved "https://registry.yarnpkg.com/hsts/-/hsts-2.1.0.tgz#cbd6c918a2385fee1dd5680bfb2b3a194c0121cc" 1550 | 1551 | http-errors@1.6.2, http-errors@~1.6.2: 1552 | version "1.6.2" 1553 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" 1554 | dependencies: 1555 | depd "1.1.1" 1556 | inherits "2.0.3" 1557 | setprototypeof "1.0.3" 1558 | statuses ">= 1.3.1 < 2" 1559 | 1560 | http-signature@~1.1.0: 1561 | version "1.1.1" 1562 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1563 | dependencies: 1564 | assert-plus "^0.2.0" 1565 | jsprim "^1.2.2" 1566 | sshpk "^1.7.0" 1567 | 1568 | http-status@1.0.1: 1569 | version "1.0.1" 1570 | resolved "https://registry.yarnpkg.com/http-status/-/http-status-1.0.1.tgz#dc43001a8bfc50ac87d485a892f7578964bc94a2" 1571 | 1572 | husky@0.14.3: 1573 | version "0.14.3" 1574 | resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3" 1575 | dependencies: 1576 | is-ci "^1.0.10" 1577 | normalize-path "^1.0.0" 1578 | strip-indent "^2.0.0" 1579 | 1580 | iconv-lite@0.4.19: 1581 | version "0.4.19" 1582 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 1583 | 1584 | ienoopen@1.0.0: 1585 | version "1.0.0" 1586 | resolved "https://registry.yarnpkg.com/ienoopen/-/ienoopen-1.0.0.tgz#346a428f474aac8f50cf3784ea2d0f16f62bda6b" 1587 | 1588 | ignore@^3.2.0: 1589 | version "3.2.0" 1590 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.0.tgz#8d88f03c3002a0ac52114db25d2c673b0bf1e435" 1591 | 1592 | imurmurhash@^0.1.4: 1593 | version "0.1.4" 1594 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 1595 | 1596 | inflight@^1.0.4: 1597 | version "1.0.6" 1598 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1599 | dependencies: 1600 | once "^1.3.0" 1601 | wrappy "1" 1602 | 1603 | inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1: 1604 | version "2.0.3" 1605 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1606 | 1607 | ini@^1.3.4, ini@~1.3.0: 1608 | version "1.3.4" 1609 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 1610 | 1611 | inquirer@1.2.3: 1612 | version "1.2.3" 1613 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-1.2.3.tgz#4dec6f32f37ef7bb0b2ed3f1d1a5c3f545074918" 1614 | dependencies: 1615 | ansi-escapes "^1.1.0" 1616 | chalk "^1.0.0" 1617 | cli-cursor "^1.0.1" 1618 | cli-width "^2.0.0" 1619 | external-editor "^1.1.0" 1620 | figures "^1.3.5" 1621 | lodash "^4.3.0" 1622 | mute-stream "0.0.6" 1623 | pinkie-promise "^2.0.0" 1624 | run-async "^2.2.0" 1625 | rx "^4.1.0" 1626 | string-width "^1.0.1" 1627 | strip-ansi "^3.0.0" 1628 | through "^2.3.6" 1629 | 1630 | inquirer@^0.12.0: 1631 | version "0.12.0" 1632 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-0.12.0.tgz#1ef2bfd63504df0bc75785fff8c2c41df12f077e" 1633 | dependencies: 1634 | ansi-escapes "^1.1.0" 1635 | ansi-regex "^2.0.0" 1636 | chalk "^1.0.0" 1637 | cli-cursor "^1.0.1" 1638 | cli-width "^2.0.0" 1639 | figures "^1.3.5" 1640 | lodash "^4.3.0" 1641 | readline2 "^1.0.1" 1642 | run-async "^0.1.0" 1643 | rx-lite "^3.1.2" 1644 | string-width "^1.0.1" 1645 | strip-ansi "^3.0.0" 1646 | through "^2.3.6" 1647 | 1648 | interpret@^1.0.0: 1649 | version "1.0.1" 1650 | resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c" 1651 | 1652 | invariant@^2.2.2: 1653 | version "2.2.2" 1654 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1655 | dependencies: 1656 | loose-envify "^1.0.0" 1657 | 1658 | ipaddr.js@1.6.0: 1659 | version "1.6.0" 1660 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b" 1661 | 1662 | is-binary-path@^1.0.0: 1663 | version "1.0.1" 1664 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 1665 | dependencies: 1666 | binary-extensions "^1.0.0" 1667 | 1668 | is-buffer@^1.0.2: 1669 | version "1.1.4" 1670 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.4.tgz#cfc86ccd5dc5a52fa80489111c6920c457e2d98b" 1671 | 1672 | is-ci@^1.0.10: 1673 | version "1.0.10" 1674 | resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" 1675 | dependencies: 1676 | ci-info "^1.0.0" 1677 | 1678 | is-dotfile@^1.0.0: 1679 | version "1.0.2" 1680 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" 1681 | 1682 | is-equal-shallow@^0.1.3: 1683 | version "0.1.3" 1684 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1685 | dependencies: 1686 | is-primitive "^2.0.0" 1687 | 1688 | is-extendable@^0.1.1: 1689 | version "0.1.1" 1690 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1691 | 1692 | is-extglob@^1.0.0: 1693 | version "1.0.0" 1694 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1695 | 1696 | is-finite@^1.0.0: 1697 | version "1.0.2" 1698 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1699 | dependencies: 1700 | number-is-nan "^1.0.0" 1701 | 1702 | is-fullwidth-code-point@^1.0.0: 1703 | version "1.0.0" 1704 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1705 | dependencies: 1706 | number-is-nan "^1.0.0" 1707 | 1708 | is-fullwidth-code-point@^2.0.0: 1709 | version "2.0.0" 1710 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 1711 | 1712 | is-glob@^2.0.0, is-glob@^2.0.1: 1713 | version "2.0.1" 1714 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1715 | dependencies: 1716 | is-extglob "^1.0.0" 1717 | 1718 | is-my-json-valid@^2.10.0, is-my-json-valid@^2.12.4: 1719 | version "2.15.0" 1720 | resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz#936edda3ca3c211fd98f3b2d3e08da43f7b2915b" 1721 | dependencies: 1722 | generate-function "^2.0.0" 1723 | generate-object-property "^1.1.0" 1724 | jsonpointer "^4.0.0" 1725 | xtend "^4.0.0" 1726 | 1727 | is-number@^2.0.2, is-number@^2.1.0: 1728 | version "2.1.0" 1729 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1730 | dependencies: 1731 | kind-of "^3.0.2" 1732 | 1733 | is-path-cwd@^1.0.0: 1734 | version "1.0.0" 1735 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 1736 | 1737 | is-path-in-cwd@^1.0.0: 1738 | version "1.0.0" 1739 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" 1740 | dependencies: 1741 | is-path-inside "^1.0.0" 1742 | 1743 | is-path-inside@^1.0.0: 1744 | version "1.0.0" 1745 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f" 1746 | dependencies: 1747 | path-is-inside "^1.0.1" 1748 | 1749 | is-posix-bracket@^0.1.0: 1750 | version "0.1.1" 1751 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1752 | 1753 | is-primitive@^2.0.0: 1754 | version "2.0.0" 1755 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1756 | 1757 | is-promise@^2.1.0: 1758 | version "2.1.0" 1759 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 1760 | 1761 | is-property@^1.0.0: 1762 | version "1.0.2" 1763 | resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" 1764 | 1765 | is-resolvable@^1.0.0: 1766 | version "1.0.0" 1767 | resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.0.tgz#8df57c61ea2e3c501408d100fb013cf8d6e0cc62" 1768 | dependencies: 1769 | tryit "^1.0.1" 1770 | 1771 | is-typedarray@~1.0.0: 1772 | version "1.0.0" 1773 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1774 | 1775 | is-utf8@^0.2.0: 1776 | version "0.2.1" 1777 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1778 | 1779 | is-windows@^0.2.0: 1780 | version "0.2.0" 1781 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-0.2.0.tgz#de1aa6d63ea29dd248737b69f1ff8b8002d2108c" 1782 | 1783 | is-windows@^1.0.0: 1784 | version "1.0.1" 1785 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.1.tgz#310db70f742d259a16a369202b51af84233310d9" 1786 | 1787 | isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: 1788 | version "1.0.0" 1789 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1790 | 1791 | isemail@1.x.x: 1792 | version "1.2.0" 1793 | resolved "https://registry.yarnpkg.com/isemail/-/isemail-1.2.0.tgz#be03df8cc3e29de4d2c5df6501263f1fa4595e9a" 1794 | 1795 | isemail@2.x.x: 1796 | version "2.2.1" 1797 | resolved "https://registry.yarnpkg.com/isemail/-/isemail-2.2.1.tgz#0353d3d9a62951080c262c2aa0a42b8ea8e9e2a6" 1798 | 1799 | isexe@^1.1.1: 1800 | version "1.1.2" 1801 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-1.1.2.tgz#36f3e22e60750920f5e7241a476a8c6a42275ad0" 1802 | 1803 | isobject@^2.0.0: 1804 | version "2.1.0" 1805 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1806 | dependencies: 1807 | isarray "1.0.0" 1808 | 1809 | isstream@0.1.x, isstream@~0.1.2: 1810 | version "0.1.2" 1811 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1812 | 1813 | istanbul-api@^1.1.0-alpha: 1814 | version "1.1.11" 1815 | resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.1.11.tgz#fcc0b461e2b3bda71e305155138238768257d9de" 1816 | dependencies: 1817 | async "^2.1.4" 1818 | fileset "^2.0.2" 1819 | istanbul-lib-coverage "^1.1.1" 1820 | istanbul-lib-hook "^1.0.7" 1821 | istanbul-lib-instrument "^1.7.4" 1822 | istanbul-lib-report "^1.1.1" 1823 | istanbul-lib-source-maps "^1.2.1" 1824 | istanbul-reports "^1.1.1" 1825 | js-yaml "^3.7.0" 1826 | mkdirp "^0.5.1" 1827 | once "^1.4.0" 1828 | 1829 | istanbul-lib-coverage@^1.1.1: 1830 | version "1.1.1" 1831 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz#73bfb998885299415c93d38a3e9adf784a77a9da" 1832 | 1833 | istanbul-lib-hook@^1.0.7: 1834 | version "1.0.7" 1835 | resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.0.7.tgz#dd6607f03076578fe7d6f2a630cf143b49bacddc" 1836 | dependencies: 1837 | append-transform "^0.4.0" 1838 | 1839 | istanbul-lib-instrument@^1.7.4: 1840 | version "1.7.4" 1841 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.4.tgz#e9fd920e4767f3d19edc765e2d6b3f5ccbd0eea8" 1842 | dependencies: 1843 | babel-generator "^6.18.0" 1844 | babel-template "^6.16.0" 1845 | babel-traverse "^6.18.0" 1846 | babel-types "^6.18.0" 1847 | babylon "^6.17.4" 1848 | istanbul-lib-coverage "^1.1.1" 1849 | semver "^5.3.0" 1850 | 1851 | istanbul-lib-report@^1.1.1: 1852 | version "1.1.1" 1853 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz#f0e55f56655ffa34222080b7a0cd4760e1405fc9" 1854 | dependencies: 1855 | istanbul-lib-coverage "^1.1.1" 1856 | mkdirp "^0.5.1" 1857 | path-parse "^1.0.5" 1858 | supports-color "^3.1.2" 1859 | 1860 | istanbul-lib-source-maps@^1.2.1: 1861 | version "1.2.1" 1862 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.1.tgz#a6fe1acba8ce08eebc638e572e294d267008aa0c" 1863 | dependencies: 1864 | debug "^2.6.3" 1865 | istanbul-lib-coverage "^1.1.1" 1866 | mkdirp "^0.5.1" 1867 | rimraf "^2.6.1" 1868 | source-map "^0.5.3" 1869 | 1870 | istanbul-reports@^1.1.1: 1871 | version "1.1.1" 1872 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.1.tgz#042be5c89e175bc3f86523caab29c014e77fee4e" 1873 | dependencies: 1874 | handlebars "^4.0.3" 1875 | 1876 | istanbul@1.1.0-alpha.1: 1877 | version "1.1.0-alpha.1" 1878 | resolved "https://registry.yarnpkg.com/istanbul/-/istanbul-1.1.0-alpha.1.tgz#781795656018a2174c5f60f367ee5d361cb57b77" 1879 | dependencies: 1880 | abbrev "1.0.x" 1881 | async "1.x" 1882 | istanbul-api "^1.1.0-alpha" 1883 | js-yaml "3.x" 1884 | mkdirp "0.5.x" 1885 | nopt "3.x" 1886 | which "^1.1.1" 1887 | wordwrap "^1.0.0" 1888 | 1889 | items@2.x.x: 1890 | version "2.1.1" 1891 | resolved "https://registry.yarnpkg.com/items/-/items-2.1.1.tgz#8bd16d9c83b19529de5aea321acaada78364a198" 1892 | 1893 | jodid25519@^1.0.0: 1894 | version "1.0.2" 1895 | resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" 1896 | dependencies: 1897 | jsbn "~0.1.0" 1898 | 1899 | joi@10.6.0: 1900 | version "10.6.0" 1901 | resolved "https://registry.yarnpkg.com/joi/-/joi-10.6.0.tgz#52587f02d52b8b75cdb0c74f0b164a191a0e1fc2" 1902 | dependencies: 1903 | hoek "4.x.x" 1904 | isemail "2.x.x" 1905 | items "2.x.x" 1906 | topo "2.x.x" 1907 | 1908 | joi@^6.10.1: 1909 | version "6.10.1" 1910 | resolved "https://registry.yarnpkg.com/joi/-/joi-6.10.1.tgz#4d50c318079122000fe5f16af1ff8e1917b77e06" 1911 | dependencies: 1912 | hoek "2.x.x" 1913 | isemail "1.x.x" 1914 | moment "2.x.x" 1915 | topo "1.x.x" 1916 | 1917 | js-tokens@^3.0.0: 1918 | version "3.0.0" 1919 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.0.tgz#a2f2a969caae142fb3cd56228358c89366957bd1" 1920 | 1921 | js-tokens@^3.0.2: 1922 | version "3.0.2" 1923 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 1924 | 1925 | js-yaml@3.x, js-yaml@^3.5.1: 1926 | version "3.6.1" 1927 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30" 1928 | dependencies: 1929 | argparse "^1.0.7" 1930 | esprima "^2.6.0" 1931 | 1932 | js-yaml@^3.6.1: 1933 | version "3.11.0" 1934 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.11.0.tgz#597c1a8bd57152f26d622ce4117851a51f5ebaef" 1935 | dependencies: 1936 | argparse "^1.0.7" 1937 | esprima "^4.0.0" 1938 | 1939 | js-yaml@^3.7.0: 1940 | version "3.9.1" 1941 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0" 1942 | dependencies: 1943 | argparse "^1.0.7" 1944 | esprima "^4.0.0" 1945 | 1946 | jsbn@~0.1.0: 1947 | version "0.1.0" 1948 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.0.tgz#650987da0dd74f4ebf5a11377a2aa2d273e97dfd" 1949 | 1950 | jsesc@^1.3.0: 1951 | version "1.3.0" 1952 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1953 | 1954 | json-schema@0.2.3: 1955 | version "0.2.3" 1956 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1957 | 1958 | json-stable-stringify@^1.0.0, json-stable-stringify@^1.0.1: 1959 | version "1.0.1" 1960 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1961 | dependencies: 1962 | jsonify "~0.0.0" 1963 | 1964 | json-stringify-safe@~5.0.1: 1965 | version "5.0.1" 1966 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1967 | 1968 | json3@3.3.2: 1969 | version "3.3.2" 1970 | resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" 1971 | 1972 | jsonfile@^2.1.0: 1973 | version "2.4.0" 1974 | resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" 1975 | optionalDependencies: 1976 | graceful-fs "^4.1.6" 1977 | 1978 | jsonify@~0.0.0: 1979 | version "0.0.0" 1980 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1981 | 1982 | jsonpointer@^4.0.0: 1983 | version "4.0.1" 1984 | resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" 1985 | 1986 | jsonwebtoken@7.1.9: 1987 | version "7.1.9" 1988 | resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-7.1.9.tgz#847804e5258bec5a9499a8dc4a5e7a3bae08d58a" 1989 | dependencies: 1990 | joi "^6.10.1" 1991 | jws "^3.1.3" 1992 | lodash.once "^4.0.0" 1993 | ms "^0.7.1" 1994 | xtend "^4.0.1" 1995 | 1996 | jsonwebtoken@^8.1.0: 1997 | version "8.2.0" 1998 | resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.2.0.tgz#690ec3a9e7e95e2884347ce3e9eb9d389aa598b3" 1999 | dependencies: 2000 | jws "^3.1.4" 2001 | lodash.includes "^4.3.0" 2002 | lodash.isboolean "^3.0.3" 2003 | lodash.isinteger "^4.0.4" 2004 | lodash.isnumber "^3.0.3" 2005 | lodash.isplainobject "^4.0.6" 2006 | lodash.isstring "^4.0.1" 2007 | lodash.once "^4.0.0" 2008 | ms "^2.1.1" 2009 | xtend "^4.0.1" 2010 | 2011 | jsprim@^1.2.2: 2012 | version "1.3.1" 2013 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.3.1.tgz#2a7256f70412a29ee3670aaca625994c4dcff252" 2014 | dependencies: 2015 | extsprintf "1.0.2" 2016 | json-schema "0.2.3" 2017 | verror "1.3.6" 2018 | 2019 | jwa@^1.1.4: 2020 | version "1.1.5" 2021 | resolved "https://registry.yarnpkg.com/jwa/-/jwa-1.1.5.tgz#a0552ce0220742cd52e153774a32905c30e756e5" 2022 | dependencies: 2023 | base64url "2.0.0" 2024 | buffer-equal-constant-time "1.0.1" 2025 | ecdsa-sig-formatter "1.0.9" 2026 | safe-buffer "^5.0.1" 2027 | 2028 | jws@^3.1.3, jws@^3.1.4: 2029 | version "3.1.4" 2030 | resolved "https://registry.yarnpkg.com/jws/-/jws-3.1.4.tgz#f9e8b9338e8a847277d6444b1464f61880e050a2" 2031 | dependencies: 2032 | base64url "^2.0.0" 2033 | jwa "^1.1.4" 2034 | safe-buffer "^5.0.1" 2035 | 2036 | kareem@1.1.5: 2037 | version "1.1.5" 2038 | resolved "https://registry.yarnpkg.com/kareem/-/kareem-1.1.5.tgz#fd5657d5731cc5901c870f3a448105b40ca7de8a" 2039 | 2040 | keypress@^0.2.1: 2041 | version "0.2.1" 2042 | resolved "https://registry.yarnpkg.com/keypress/-/keypress-0.2.1.tgz#1e80454250018dbad4c3fe94497d6e67b6269c77" 2043 | 2044 | kind-of@^3.0.2: 2045 | version "3.1.0" 2046 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" 2047 | dependencies: 2048 | is-buffer "^1.0.2" 2049 | 2050 | klaw@^1.0.0: 2051 | version "1.3.1" 2052 | resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" 2053 | optionalDependencies: 2054 | graceful-fs "^4.1.9" 2055 | 2056 | lazy-cache@^1.0.3: 2057 | version "1.0.4" 2058 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 2059 | 2060 | lcov-parse@^0.0.10: 2061 | version "0.0.10" 2062 | resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3" 2063 | 2064 | levn@^0.3.0, levn@~0.3.0: 2065 | version "0.3.0" 2066 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 2067 | dependencies: 2068 | prelude-ls "~1.1.2" 2069 | type-check "~0.3.2" 2070 | 2071 | lodash._baseassign@^3.0.0: 2072 | version "3.2.0" 2073 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 2074 | dependencies: 2075 | lodash._basecopy "^3.0.0" 2076 | lodash.keys "^3.0.0" 2077 | 2078 | lodash._basecopy@^3.0.0: 2079 | version "3.0.1" 2080 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 2081 | 2082 | lodash._basecreate@^3.0.0: 2083 | version "3.0.3" 2084 | resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" 2085 | 2086 | lodash._getnative@^3.0.0: 2087 | version "3.9.1" 2088 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 2089 | 2090 | lodash._isiterateecall@^3.0.0: 2091 | version "3.0.9" 2092 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 2093 | 2094 | lodash.cond@^4.3.0: 2095 | version "4.5.2" 2096 | resolved "https://registry.yarnpkg.com/lodash.cond/-/lodash.cond-4.5.2.tgz#f471a1da486be60f6ab955d17115523dd1d255d5" 2097 | 2098 | lodash.create@3.1.1: 2099 | version "3.1.1" 2100 | resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" 2101 | dependencies: 2102 | lodash._baseassign "^3.0.0" 2103 | lodash._basecreate "^3.0.0" 2104 | lodash._isiterateecall "^3.0.0" 2105 | 2106 | lodash.endswith@^4.0.1: 2107 | version "4.2.1" 2108 | resolved "https://registry.yarnpkg.com/lodash.endswith/-/lodash.endswith-4.2.1.tgz#fed59ac1738ed3e236edd7064ec456448b37bc09" 2109 | 2110 | lodash.find@^4.3.0: 2111 | version "4.6.0" 2112 | resolved "https://registry.yarnpkg.com/lodash.find/-/lodash.find-4.6.0.tgz#cb0704d47ab71789ffa0de8b97dd926fb88b13b1" 2113 | 2114 | lodash.findindex@^4.3.0: 2115 | version "4.6.0" 2116 | resolved "https://registry.yarnpkg.com/lodash.findindex/-/lodash.findindex-4.6.0.tgz#a3245dee61fb9b6e0624b535125624bb69c11106" 2117 | 2118 | lodash.includes@^4.3.0: 2119 | version "4.3.0" 2120 | resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" 2121 | 2122 | lodash.isarguments@^3.0.0: 2123 | version "3.1.0" 2124 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 2125 | 2126 | lodash.isarray@^3.0.0: 2127 | version "3.0.4" 2128 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 2129 | 2130 | lodash.isboolean@^3.0.3: 2131 | version "3.0.3" 2132 | resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" 2133 | 2134 | lodash.isinteger@^4.0.4: 2135 | version "4.0.4" 2136 | resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" 2137 | 2138 | lodash.isnumber@^3.0.3: 2139 | version "3.0.3" 2140 | resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc" 2141 | 2142 | lodash.isplainobject@^4.0.6: 2143 | version "4.0.6" 2144 | resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" 2145 | 2146 | lodash.isstring@^4.0.1: 2147 | version "4.0.1" 2148 | resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" 2149 | 2150 | lodash.keys@^3.0.0: 2151 | version "3.1.2" 2152 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 2153 | dependencies: 2154 | lodash._getnative "^3.0.0" 2155 | lodash.isarguments "^3.0.0" 2156 | lodash.isarray "^3.0.0" 2157 | 2158 | lodash.map@^4.5.1: 2159 | version "4.6.0" 2160 | resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" 2161 | 2162 | lodash.once@^4.0.0: 2163 | version "4.1.1" 2164 | resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" 2165 | 2166 | lodash.reduce@4.6.0: 2167 | version "4.6.0" 2168 | resolved "https://registry.yarnpkg.com/lodash.reduce/-/lodash.reduce-4.6.0.tgz#f1ab6b839299ad48f784abbf476596f03b914d3b" 2169 | 2170 | lodash.set@^4.0.0: 2171 | version "4.3.2" 2172 | resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" 2173 | 2174 | lodash@4.17.2: 2175 | version "4.17.2" 2176 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42" 2177 | 2178 | lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.9.0: 2179 | version "4.17.4" 2180 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 2181 | 2182 | lodash@~4.17.5: 2183 | version "4.17.5" 2184 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" 2185 | 2186 | log-driver@^1.2.5: 2187 | version "1.2.7" 2188 | resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" 2189 | 2190 | longest@^1.0.1: 2191 | version "1.0.1" 2192 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 2193 | 2194 | loose-envify@^1.0.0: 2195 | version "1.3.1" 2196 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 2197 | dependencies: 2198 | js-tokens "^3.0.0" 2199 | 2200 | lru-cache@^4.0.1: 2201 | version "4.0.2" 2202 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" 2203 | dependencies: 2204 | pseudomap "^1.0.1" 2205 | yallist "^2.0.0" 2206 | 2207 | media-typer@0.3.0: 2208 | version "0.3.0" 2209 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 2210 | 2211 | merge-descriptors@1.0.1: 2212 | version "1.0.1" 2213 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" 2214 | 2215 | merge@^1.2.0: 2216 | version "1.2.0" 2217 | resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" 2218 | 2219 | method-override@^2.3.10: 2220 | version "2.3.10" 2221 | resolved "https://registry.yarnpkg.com/method-override/-/method-override-2.3.10.tgz#e3daf8d5dee10dd2dce7d4ae88d62bbee77476b4" 2222 | dependencies: 2223 | debug "2.6.9" 2224 | methods "~1.1.2" 2225 | parseurl "~1.3.2" 2226 | vary "~1.1.2" 2227 | 2228 | methods@^1.1.1, methods@~1.1.2: 2229 | version "1.1.2" 2230 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 2231 | 2232 | micromatch@^2.1.5, micromatch@^2.3.7: 2233 | version "2.3.11" 2234 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 2235 | dependencies: 2236 | arr-diff "^2.0.0" 2237 | array-unique "^0.2.1" 2238 | braces "^1.8.2" 2239 | expand-brackets "^0.1.4" 2240 | extglob "^0.3.1" 2241 | filename-regex "^2.0.0" 2242 | is-extglob "^1.0.0" 2243 | is-glob "^2.0.1" 2244 | kind-of "^3.0.2" 2245 | normalize-path "^2.0.1" 2246 | object.omit "^2.0.0" 2247 | parse-glob "^3.0.4" 2248 | regex-cache "^0.4.2" 2249 | 2250 | "mime-db@>= 1.33.0 < 2", mime-db@~1.33.0: 2251 | version "1.33.0" 2252 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" 2253 | 2254 | mime-db@~1.26.0: 2255 | version "1.26.0" 2256 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.26.0.tgz#eaffcd0e4fc6935cf8134da246e2e6c35305adff" 2257 | 2258 | mime-db@~1.29.0: 2259 | version "1.29.0" 2260 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.29.0.tgz#48d26d235589651704ac5916ca06001914266878" 2261 | 2262 | mime-types@^2.1.12, mime-types@~2.1.7: 2263 | version "2.1.14" 2264 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.14.tgz#f7ef7d97583fcaf3b7d282b6f8b5679dab1e94ee" 2265 | dependencies: 2266 | mime-db "~1.26.0" 2267 | 2268 | mime-types@~2.1.15: 2269 | version "2.1.16" 2270 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.16.tgz#2b858a52e5ecd516db897ac2be87487830698e23" 2271 | dependencies: 2272 | mime-db "~1.29.0" 2273 | 2274 | mime-types@~2.1.18: 2275 | version "2.1.18" 2276 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" 2277 | dependencies: 2278 | mime-db "~1.33.0" 2279 | 2280 | mime@1.4.1: 2281 | version "1.4.1" 2282 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" 2283 | 2284 | mime@^1.3.4: 2285 | version "1.3.4" 2286 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" 2287 | 2288 | minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3: 2289 | version "3.0.3" 2290 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 2291 | dependencies: 2292 | brace-expansion "^1.0.0" 2293 | 2294 | minimist@0.0.8, minimist@~0.0.1: 2295 | version "0.0.8" 2296 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 2297 | 2298 | minimist@1.2.0, minimist@^1.2.0: 2299 | version "1.2.0" 2300 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 2301 | 2302 | mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1: 2303 | version "0.5.1" 2304 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 2305 | dependencies: 2306 | minimist "0.0.8" 2307 | 2308 | mocha@3.5.0: 2309 | version "3.5.0" 2310 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.0.tgz#1328567d2717f997030f8006234bce9b8cd72465" 2311 | dependencies: 2312 | browser-stdout "1.3.0" 2313 | commander "2.9.0" 2314 | debug "2.6.8" 2315 | diff "3.2.0" 2316 | escape-string-regexp "1.0.5" 2317 | glob "7.1.1" 2318 | growl "1.9.2" 2319 | json3 "3.3.2" 2320 | lodash.create "3.1.1" 2321 | mkdirp "0.5.1" 2322 | supports-color "3.1.2" 2323 | 2324 | moment@2.x.x: 2325 | version "2.17.1" 2326 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.17.1.tgz#fed9506063f36b10f066c8b59a144d7faebe1d82" 2327 | 2328 | mongodb-core@2.1.2: 2329 | version "2.1.2" 2330 | resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-2.1.2.tgz#a11db773d34819cbeb97751241827137ab535aab" 2331 | dependencies: 2332 | bson "~1.0.1" 2333 | require_optional "~1.0.0" 2334 | 2335 | mongodb@2.2.16: 2336 | version "2.2.16" 2337 | resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-2.2.16.tgz#e32ba91cf9e29f371fb38ba0c4a71c3b1f5fae77" 2338 | dependencies: 2339 | es6-promise "3.2.1" 2340 | mongodb-core "2.1.2" 2341 | readable-stream "2.1.5" 2342 | 2343 | mongoose@4.7.4: 2344 | version "4.7.4" 2345 | resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-4.7.4.tgz#e92e16ec75ad62f3b56f7209612d65dd25b3f0bd" 2346 | dependencies: 2347 | async "2.1.4" 2348 | bson "~0.5.4" 2349 | hooks-fixed "1.2.0" 2350 | kareem "1.1.5" 2351 | mongodb "2.2.16" 2352 | mpath "0.2.1" 2353 | mpromise "0.5.5" 2354 | mquery "2.0.0" 2355 | ms "0.7.2" 2356 | muri "1.1.1" 2357 | regexp-clone "0.0.1" 2358 | sliced "1.0.1" 2359 | 2360 | morgan@1.9.0: 2361 | version "1.9.0" 2362 | resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.9.0.tgz#d01fa6c65859b76fcf31b3cb53a3821a311d8051" 2363 | dependencies: 2364 | basic-auth "~2.0.0" 2365 | debug "2.6.9" 2366 | depd "~1.1.1" 2367 | on-finished "~2.3.0" 2368 | on-headers "~1.0.1" 2369 | 2370 | mpath@0.2.1: 2371 | version "0.2.1" 2372 | resolved "https://registry.yarnpkg.com/mpath/-/mpath-0.2.1.tgz#3a4e829359801de96309c27a6b2e102e89f9e96e" 2373 | 2374 | mpromise@0.5.5: 2375 | version "0.5.5" 2376 | resolved "https://registry.yarnpkg.com/mpromise/-/mpromise-0.5.5.tgz#f5b24259d763acc2257b0a0c8c6d866fd51732e6" 2377 | 2378 | mquery@2.0.0: 2379 | version "2.0.0" 2380 | resolved "https://registry.yarnpkg.com/mquery/-/mquery-2.0.0.tgz#b5abc850b90dffc3e10ae49b4b6e7a479752df22" 2381 | dependencies: 2382 | bluebird "2.10.2" 2383 | debug "2.2.0" 2384 | regexp-clone "0.0.1" 2385 | sliced "0.0.5" 2386 | 2387 | ms@0.7.1: 2388 | version "0.7.1" 2389 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098" 2390 | 2391 | ms@0.7.2, ms@^0.7.1: 2392 | version "0.7.2" 2393 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 2394 | 2395 | ms@2.0.0: 2396 | version "2.0.0" 2397 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 2398 | 2399 | ms@^2.1.1: 2400 | version "2.1.1" 2401 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" 2402 | 2403 | muri@1.1.1: 2404 | version "1.1.1" 2405 | resolved "https://registry.yarnpkg.com/muri/-/muri-1.1.1.tgz#64bd904eaf8ff89600c994441fad3c5195905ac2" 2406 | 2407 | mute-stream@0.0.5: 2408 | version "0.0.5" 2409 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0" 2410 | 2411 | mute-stream@0.0.6: 2412 | version "0.0.6" 2413 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db" 2414 | 2415 | nan@^2.3.0: 2416 | version "2.5.0" 2417 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.0.tgz#aa8f1e34531d807e9e27755b234b4a6ec0c152a8" 2418 | 2419 | natural-compare@^1.4.0: 2420 | version "1.4.0" 2421 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 2422 | 2423 | negotiator@0.6.1: 2424 | version "0.6.1" 2425 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" 2426 | 2427 | nocache@2.0.0: 2428 | version "2.0.0" 2429 | resolved "https://registry.yarnpkg.com/nocache/-/nocache-2.0.0.tgz#202b48021a0c4cbde2df80de15a17443c8b43980" 2430 | 2431 | node-pre-gyp@^0.6.29: 2432 | version "0.6.32" 2433 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.32.tgz#fc452b376e7319b3d255f5f34853ef6fd8fe1fd5" 2434 | dependencies: 2435 | mkdirp "~0.5.1" 2436 | nopt "~3.0.6" 2437 | npmlog "^4.0.1" 2438 | rc "~1.1.6" 2439 | request "^2.79.0" 2440 | rimraf "~2.5.4" 2441 | semver "~5.3.0" 2442 | tar "~2.2.1" 2443 | tar-pack "~3.3.0" 2444 | 2445 | nopt@3.x, nopt@~3.0.6: 2446 | version "3.0.6" 2447 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" 2448 | dependencies: 2449 | abbrev "1" 2450 | 2451 | normalize-path@^1.0.0: 2452 | version "1.0.0" 2453 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379" 2454 | 2455 | normalize-path@^2.0.1: 2456 | version "2.0.1" 2457 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.0.1.tgz#47886ac1662760d4261b7d979d241709d3ce3f7a" 2458 | 2459 | npmlog@^4.0.1: 2460 | version "4.0.2" 2461 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f" 2462 | dependencies: 2463 | are-we-there-yet "~1.1.2" 2464 | console-control-strings "~1.1.0" 2465 | gauge "~2.7.1" 2466 | set-blocking "~2.0.0" 2467 | 2468 | number-is-nan@^1.0.0: 2469 | version "1.0.1" 2470 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 2471 | 2472 | oauth-sign@~0.8.1: 2473 | version "0.8.2" 2474 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 2475 | 2476 | object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0: 2477 | version "4.1.1" 2478 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 2479 | 2480 | object.omit@^2.0.0: 2481 | version "2.0.1" 2482 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 2483 | dependencies: 2484 | for-own "^0.1.4" 2485 | is-extendable "^0.1.1" 2486 | 2487 | on-finished@~2.3.0: 2488 | version "2.3.0" 2489 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 2490 | dependencies: 2491 | ee-first "1.1.1" 2492 | 2493 | on-headers@~1.0.1: 2494 | version "1.0.1" 2495 | resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" 2496 | 2497 | once@^1.3.0, once@^1.4.0: 2498 | version "1.4.0" 2499 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 2500 | dependencies: 2501 | wrappy "1" 2502 | 2503 | once@~1.3.3: 2504 | version "1.3.3" 2505 | resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" 2506 | dependencies: 2507 | wrappy "1" 2508 | 2509 | onetime@^1.0.0: 2510 | version "1.1.0" 2511 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" 2512 | 2513 | optimist@^0.6.1: 2514 | version "0.6.1" 2515 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 2516 | dependencies: 2517 | minimist "~0.0.1" 2518 | wordwrap "~0.0.2" 2519 | 2520 | optionator@^0.8.1, optionator@^0.8.2: 2521 | version "0.8.2" 2522 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 2523 | dependencies: 2524 | deep-is "~0.1.3" 2525 | fast-levenshtein "~2.0.4" 2526 | levn "~0.3.0" 2527 | prelude-ls "~1.1.2" 2528 | type-check "~0.3.2" 2529 | wordwrap "~1.0.0" 2530 | 2531 | os-homedir@^1.0.0, os-homedir@^1.0.1: 2532 | version "1.0.2" 2533 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 2534 | 2535 | os-shim@^0.1.2: 2536 | version "0.1.3" 2537 | resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" 2538 | 2539 | os-tmpdir@~1.0.1: 2540 | version "1.0.2" 2541 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 2542 | 2543 | pad-right@^0.2.2: 2544 | version "0.2.2" 2545 | resolved "https://registry.yarnpkg.com/pad-right/-/pad-right-0.2.2.tgz#6fbc924045d244f2a2a244503060d3bfc6009774" 2546 | dependencies: 2547 | repeat-string "^1.5.2" 2548 | 2549 | parse-glob@^3.0.4: 2550 | version "3.0.4" 2551 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 2552 | dependencies: 2553 | glob-base "^0.3.0" 2554 | is-dotfile "^1.0.0" 2555 | is-extglob "^1.0.0" 2556 | is-glob "^2.0.0" 2557 | 2558 | parse-passwd@^1.0.0: 2559 | version "1.0.0" 2560 | resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" 2561 | 2562 | parseurl@~1.3.2: 2563 | version "1.3.2" 2564 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" 2565 | 2566 | path-exists@2.1.0, path-exists@^2.0.0: 2567 | version "2.1.0" 2568 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 2569 | dependencies: 2570 | pinkie-promise "^2.0.0" 2571 | 2572 | path-is-absolute@^1.0.0: 2573 | version "1.0.1" 2574 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 2575 | 2576 | path-is-inside@^1.0.1: 2577 | version "1.0.2" 2578 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 2579 | 2580 | path-parse@^1.0.5: 2581 | version "1.0.5" 2582 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 2583 | 2584 | path-to-regexp@0.1.7: 2585 | version "0.1.7" 2586 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" 2587 | 2588 | pathval@^1.0.0: 2589 | version "1.1.0" 2590 | resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" 2591 | 2592 | pify@^2.0.0: 2593 | version "2.3.0" 2594 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 2595 | 2596 | pinkie-promise@^2.0.0: 2597 | version "2.0.1" 2598 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 2599 | dependencies: 2600 | pinkie "^2.0.0" 2601 | 2602 | pinkie@^2.0.0: 2603 | version "2.0.4" 2604 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 2605 | 2606 | pkg-dir@^1.0.0: 2607 | version "1.0.0" 2608 | resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" 2609 | dependencies: 2610 | find-up "^1.0.0" 2611 | 2612 | pkg-up@^1.0.0: 2613 | version "1.0.0" 2614 | resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-1.0.0.tgz#3e08fb461525c4421624a33b9f7e6d0af5b05a26" 2615 | dependencies: 2616 | find-up "^1.0.0" 2617 | 2618 | platform@1.3.5: 2619 | version "1.3.5" 2620 | resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.5.tgz#fb6958c696e07e2918d2eeda0f0bc9448d733444" 2621 | 2622 | pluralize@^1.2.1: 2623 | version "1.2.1" 2624 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45" 2625 | 2626 | prelude-ls@~1.1.2: 2627 | version "1.1.2" 2628 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 2629 | 2630 | preserve@^0.2.0: 2631 | version "0.2.0" 2632 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 2633 | 2634 | process-nextick-args@~1.0.6: 2635 | version "1.0.7" 2636 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 2637 | 2638 | progress@^1.1.8: 2639 | version "1.1.8" 2640 | resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be" 2641 | 2642 | proxy-addr@~2.0.3: 2643 | version "2.0.3" 2644 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341" 2645 | dependencies: 2646 | forwarded "~0.1.2" 2647 | ipaddr.js "1.6.0" 2648 | 2649 | pseudomap@^1.0.1: 2650 | version "1.0.2" 2651 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 2652 | 2653 | punycode@^1.4.1: 2654 | version "1.4.1" 2655 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 2656 | 2657 | qs@6.5.1: 2658 | version "6.5.1" 2659 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 2660 | 2661 | qs@^6.1.0: 2662 | version "6.2.0" 2663 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.2.0.tgz#3b7848c03c2dece69a9522b0fae8c4126d745f3b" 2664 | 2665 | qs@~6.3.0: 2666 | version "6.3.0" 2667 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.0.tgz#f403b264f23bc01228c74131b407f18d5ea5d442" 2668 | 2669 | randomatic@^1.1.3: 2670 | version "1.1.6" 2671 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" 2672 | dependencies: 2673 | is-number "^2.0.2" 2674 | kind-of "^3.0.2" 2675 | 2676 | range-parser@~1.2.0: 2677 | version "1.2.0" 2678 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" 2679 | 2680 | raw-body@2.3.2: 2681 | version "2.3.2" 2682 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" 2683 | dependencies: 2684 | bytes "3.0.0" 2685 | http-errors "1.6.2" 2686 | iconv-lite "0.4.19" 2687 | unpipe "1.0.0" 2688 | 2689 | rc@~1.1.6: 2690 | version "1.1.6" 2691 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.6.tgz#43651b76b6ae53b5c802f1151fa3fc3b059969c9" 2692 | dependencies: 2693 | deep-extend "~0.4.0" 2694 | ini "~1.3.0" 2695 | minimist "^1.2.0" 2696 | strip-json-comments "~1.0.4" 2697 | 2698 | readable-stream@2.1.5, readable-stream@~2.1.4: 2699 | version "2.1.5" 2700 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz#66fa8b720e1438b364681f2ad1a63c618448c9d0" 2701 | dependencies: 2702 | buffer-shims "^1.0.0" 2703 | core-util-is "~1.0.0" 2704 | inherits "~2.0.1" 2705 | isarray "~1.0.0" 2706 | process-nextick-args "~1.0.6" 2707 | string_decoder "~0.10.x" 2708 | util-deprecate "~1.0.1" 2709 | 2710 | "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.2.2: 2711 | version "2.2.2" 2712 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.2.tgz#a9e6fec3c7dda85f8bb1b3ba7028604556fc825e" 2713 | dependencies: 2714 | buffer-shims "^1.0.0" 2715 | core-util-is "~1.0.0" 2716 | inherits "~2.0.1" 2717 | isarray "~1.0.0" 2718 | process-nextick-args "~1.0.6" 2719 | string_decoder "~0.10.x" 2720 | util-deprecate "~1.0.1" 2721 | 2722 | readdirp@^2.0.0: 2723 | version "2.1.0" 2724 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 2725 | dependencies: 2726 | graceful-fs "^4.1.2" 2727 | minimatch "^3.0.2" 2728 | readable-stream "^2.0.2" 2729 | set-immediate-shim "^1.0.1" 2730 | 2731 | readline2@^1.0.1: 2732 | version "1.0.1" 2733 | resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" 2734 | dependencies: 2735 | code-point-at "^1.0.0" 2736 | is-fullwidth-code-point "^1.0.0" 2737 | mute-stream "0.0.5" 2738 | 2739 | rechoir@^0.6.2: 2740 | version "0.6.2" 2741 | resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" 2742 | dependencies: 2743 | resolve "^1.1.6" 2744 | 2745 | referrer-policy@1.1.0: 2746 | version "1.1.0" 2747 | resolved "https://registry.yarnpkg.com/referrer-policy/-/referrer-policy-1.1.0.tgz#35774eb735bf50fb6c078e83334b472350207d79" 2748 | 2749 | regenerator-runtime@^0.11.0: 2750 | version "0.11.0" 2751 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" 2752 | 2753 | regex-cache@^0.4.2: 2754 | version "0.4.3" 2755 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 2756 | dependencies: 2757 | is-equal-shallow "^0.1.3" 2758 | is-primitive "^2.0.0" 2759 | 2760 | regexp-clone@0.0.1: 2761 | version "0.0.1" 2762 | resolved "https://registry.yarnpkg.com/regexp-clone/-/regexp-clone-0.0.1.tgz#a7c2e09891fdbf38fbb10d376fb73003e68ac589" 2763 | 2764 | repeat-element@^1.1.2: 2765 | version "1.1.2" 2766 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 2767 | 2768 | repeat-string@^1.5.2: 2769 | version "1.6.1" 2770 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2771 | 2772 | repeating@^2.0.0: 2773 | version "2.0.1" 2774 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2775 | dependencies: 2776 | is-finite "^1.0.0" 2777 | 2778 | request@^2.79.0: 2779 | version "2.79.0" 2780 | resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" 2781 | dependencies: 2782 | aws-sign2 "~0.6.0" 2783 | aws4 "^1.2.1" 2784 | caseless "~0.11.0" 2785 | combined-stream "~1.0.5" 2786 | extend "~3.0.0" 2787 | forever-agent "~0.6.1" 2788 | form-data "~2.1.1" 2789 | har-validator "~2.0.6" 2790 | hawk "~3.1.3" 2791 | http-signature "~1.1.0" 2792 | is-typedarray "~1.0.0" 2793 | isstream "~0.1.2" 2794 | json-stringify-safe "~5.0.1" 2795 | mime-types "~2.1.7" 2796 | oauth-sign "~0.8.1" 2797 | qs "~6.3.0" 2798 | stringstream "~0.0.4" 2799 | tough-cookie "~2.3.0" 2800 | tunnel-agent "~0.4.1" 2801 | uuid "^3.0.0" 2802 | 2803 | require-uncached@^1.0.2: 2804 | version "1.0.3" 2805 | resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" 2806 | dependencies: 2807 | caller-path "^0.1.0" 2808 | resolve-from "^1.0.0" 2809 | 2810 | require_optional@~1.0.0: 2811 | version "1.0.0" 2812 | resolved "https://registry.yarnpkg.com/require_optional/-/require_optional-1.0.0.tgz#52a86137a849728eb60a55533617f8f914f59abf" 2813 | dependencies: 2814 | resolve-from "^2.0.0" 2815 | semver "^5.1.0" 2816 | 2817 | resolve-dir@^0.1.0: 2818 | version "0.1.1" 2819 | resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-0.1.1.tgz#b219259a5602fac5c5c496ad894a6e8cc430261e" 2820 | dependencies: 2821 | expand-tilde "^1.2.2" 2822 | global-modules "^0.2.3" 2823 | 2824 | resolve-from@^1.0.0: 2825 | version "1.0.1" 2826 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" 2827 | 2828 | resolve-from@^2.0.0: 2829 | version "2.0.0" 2830 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57" 2831 | 2832 | resolve@^1.1.6: 2833 | version "1.2.0" 2834 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.2.0.tgz#9589c3f2f6149d1417a40becc1663db6ec6bc26c" 2835 | 2836 | restore-cursor@^1.0.1: 2837 | version "1.0.1" 2838 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" 2839 | dependencies: 2840 | exit-hook "^1.0.0" 2841 | onetime "^1.0.0" 2842 | 2843 | right-align@^0.1.1: 2844 | version "0.1.3" 2845 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 2846 | dependencies: 2847 | align-text "^0.1.1" 2848 | 2849 | right-pad@^1.0.1: 2850 | version "1.0.1" 2851 | resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" 2852 | 2853 | rimraf@2, rimraf@^2.2.8, rimraf@~2.5.1, rimraf@~2.5.4: 2854 | version "2.5.4" 2855 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04" 2856 | dependencies: 2857 | glob "^7.0.5" 2858 | 2859 | rimraf@^2.6.1: 2860 | version "2.6.1" 2861 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 2862 | dependencies: 2863 | glob "^7.0.5" 2864 | 2865 | run-async@^0.1.0: 2866 | version "0.1.0" 2867 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389" 2868 | dependencies: 2869 | once "^1.3.0" 2870 | 2871 | run-async@^2.2.0: 2872 | version "2.3.0" 2873 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" 2874 | dependencies: 2875 | is-promise "^2.1.0" 2876 | 2877 | rx-lite@^3.1.2: 2878 | version "3.1.2" 2879 | resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" 2880 | 2881 | rx@^4.1.0: 2882 | version "4.1.0" 2883 | resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" 2884 | 2885 | safe-buffer@5.1.1: 2886 | version "5.1.1" 2887 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 2888 | 2889 | safe-buffer@^5.0.1: 2890 | version "5.0.1" 2891 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" 2892 | 2893 | semver-regex@1.0.0: 2894 | version "1.0.0" 2895 | resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-1.0.0.tgz#92a4969065f9c70c694753d55248fc68f8f652c9" 2896 | 2897 | semver@^5.1.0, semver@~5.3.0: 2898 | version "5.3.0" 2899 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 2900 | 2901 | semver@^5.3.0: 2902 | version "5.4.1" 2903 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" 2904 | 2905 | send@0.16.2: 2906 | version "0.16.2" 2907 | resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1" 2908 | dependencies: 2909 | debug "2.6.9" 2910 | depd "~1.1.2" 2911 | destroy "~1.0.4" 2912 | encodeurl "~1.0.2" 2913 | escape-html "~1.0.3" 2914 | etag "~1.8.1" 2915 | fresh "0.5.2" 2916 | http-errors "~1.6.2" 2917 | mime "1.4.1" 2918 | ms "2.0.0" 2919 | on-finished "~2.3.0" 2920 | range-parser "~1.2.0" 2921 | statuses "~1.4.0" 2922 | 2923 | serve-static@1.13.2: 2924 | version "1.13.2" 2925 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1" 2926 | dependencies: 2927 | encodeurl "~1.0.2" 2928 | escape-html "~1.0.3" 2929 | parseurl "~1.3.2" 2930 | send "0.16.2" 2931 | 2932 | set-blocking@~2.0.0: 2933 | version "2.0.0" 2934 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2935 | 2936 | set-immediate-shim@^1.0.1: 2937 | version "1.0.1" 2938 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 2939 | 2940 | setprototypeof@1.0.3: 2941 | version "1.0.3" 2942 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" 2943 | 2944 | setprototypeof@1.1.0: 2945 | version "1.1.0" 2946 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" 2947 | 2948 | shebang-command@^1.2.0: 2949 | version "1.2.0" 2950 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 2951 | dependencies: 2952 | shebang-regex "^1.0.0" 2953 | 2954 | shebang-regex@^1.0.0: 2955 | version "1.0.0" 2956 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 2957 | 2958 | shelljs@0.7.6: 2959 | version "0.7.6" 2960 | resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad" 2961 | dependencies: 2962 | glob "^7.0.0" 2963 | interpret "^1.0.0" 2964 | rechoir "^0.6.2" 2965 | 2966 | shelljs@^0.7.5: 2967 | version "0.7.5" 2968 | resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.5.tgz#2eef7a50a21e1ccf37da00df767ec69e30ad0675" 2969 | dependencies: 2970 | glob "^7.0.0" 2971 | interpret "^1.0.0" 2972 | rechoir "^0.6.2" 2973 | 2974 | signal-exit@^3.0.0: 2975 | version "3.0.2" 2976 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2977 | 2978 | slice-ansi@0.0.4: 2979 | version "0.0.4" 2980 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" 2981 | 2982 | sliced@0.0.5: 2983 | version "0.0.5" 2984 | resolved "https://registry.yarnpkg.com/sliced/-/sliced-0.0.5.tgz#5edc044ca4eb6f7816d50ba2fc63e25d8fe4707f" 2985 | 2986 | sliced@1.0.1: 2987 | version "1.0.1" 2988 | resolved "https://registry.yarnpkg.com/sliced/-/sliced-1.0.1.tgz#0b3a662b5d04c3177b1926bea82b03f837a2ef41" 2989 | 2990 | sntp@1.x.x: 2991 | version "1.0.9" 2992 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 2993 | dependencies: 2994 | hoek "2.x.x" 2995 | 2996 | source-map@^0.4.4: 2997 | version "0.4.4" 2998 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 2999 | dependencies: 3000 | amdefine ">=0.0.4" 3001 | 3002 | source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: 3003 | version "0.5.6" 3004 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 3005 | 3006 | spawn-sync@^1.0.15: 3007 | version "1.0.15" 3008 | resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476" 3009 | dependencies: 3010 | concat-stream "^1.4.7" 3011 | os-shim "^0.1.2" 3012 | 3013 | sprintf-js@~1.0.2: 3014 | version "1.0.3" 3015 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 3016 | 3017 | sshpk@^1.7.0: 3018 | version "1.10.2" 3019 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.10.2.tgz#d5a804ce22695515638e798dbe23273de070a5fa" 3020 | dependencies: 3021 | asn1 "~0.2.3" 3022 | assert-plus "^1.0.0" 3023 | dashdash "^1.12.0" 3024 | getpass "^0.1.1" 3025 | optionalDependencies: 3026 | bcrypt-pbkdf "^1.0.0" 3027 | ecc-jsbn "~0.1.1" 3028 | jodid25519 "^1.0.0" 3029 | jsbn "~0.1.0" 3030 | tweetnacl "~0.14.0" 3031 | 3032 | stack-trace@0.0.x: 3033 | version "0.0.9" 3034 | resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.9.tgz#a8f6eaeca90674c333e7c43953f275b451510695" 3035 | 3036 | "statuses@>= 1.3.1 < 2": 3037 | version "1.3.1" 3038 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" 3039 | 3040 | statuses@~1.4.0: 3041 | version "1.4.0" 3042 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" 3043 | 3044 | string-width@^1.0.1: 3045 | version "1.0.2" 3046 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 3047 | dependencies: 3048 | code-point-at "^1.0.0" 3049 | is-fullwidth-code-point "^1.0.0" 3050 | strip-ansi "^3.0.0" 3051 | 3052 | string-width@^2.0.0: 3053 | version "2.0.0" 3054 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.0.0.tgz#635c5436cc72a6e0c387ceca278d4e2eec52687e" 3055 | dependencies: 3056 | is-fullwidth-code-point "^2.0.0" 3057 | strip-ansi "^3.0.0" 3058 | 3059 | string_decoder@~0.10.x: 3060 | version "0.10.31" 3061 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 3062 | 3063 | stringstream@~0.0.4: 3064 | version "0.0.5" 3065 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 3066 | 3067 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 3068 | version "3.0.1" 3069 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 3070 | dependencies: 3071 | ansi-regex "^2.0.0" 3072 | 3073 | strip-ansi@~0.1.0: 3074 | version "0.1.1" 3075 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.1.1.tgz#39e8a98d044d150660abe4a6808acf70bb7bc991" 3076 | 3077 | strip-bom@^2.0.0: 3078 | version "2.0.0" 3079 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 3080 | dependencies: 3081 | is-utf8 "^0.2.0" 3082 | 3083 | strip-bom@^3.0.0: 3084 | version "3.0.0" 3085 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 3086 | 3087 | strip-indent@^2.0.0: 3088 | version "2.0.0" 3089 | resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" 3090 | 3091 | strip-json-comments@2.0.1, strip-json-comments@~2.0.1: 3092 | version "2.0.1" 3093 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 3094 | 3095 | strip-json-comments@~1.0.4: 3096 | version "1.0.4" 3097 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91" 3098 | 3099 | superagent@^3.0.0: 3100 | version "3.5.2" 3101 | resolved "https://registry.yarnpkg.com/superagent/-/superagent-3.5.2.tgz#3361a3971567504c351063abeaae0faa23dbf3f8" 3102 | dependencies: 3103 | component-emitter "^1.2.0" 3104 | cookiejar "^2.0.6" 3105 | debug "^2.2.0" 3106 | extend "^3.0.0" 3107 | form-data "^2.1.1" 3108 | formidable "^1.1.1" 3109 | methods "^1.1.1" 3110 | mime "^1.3.4" 3111 | qs "^6.1.0" 3112 | readable-stream "^2.0.5" 3113 | 3114 | supertest-as-promised@4.0.2: 3115 | version "4.0.2" 3116 | resolved "https://registry.yarnpkg.com/supertest-as-promised/-/supertest-as-promised-4.0.2.tgz#0464f2bd256568d4a59bce84269c0548f6879f1a" 3117 | dependencies: 3118 | bluebird "^3.3.1" 3119 | methods "^1.1.1" 3120 | 3121 | supertest@3.0.0: 3122 | version "3.0.0" 3123 | resolved "https://registry.yarnpkg.com/supertest/-/supertest-3.0.0.tgz#8d4bb68fd1830ee07033b1c5a5a9a4021c965296" 3124 | dependencies: 3125 | methods "~1.1.2" 3126 | superagent "^3.0.0" 3127 | 3128 | supports-color@3.1.2: 3129 | version "3.1.2" 3130 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" 3131 | dependencies: 3132 | has-flag "^1.0.0" 3133 | 3134 | supports-color@^0.2.0: 3135 | version "0.2.0" 3136 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" 3137 | 3138 | supports-color@^2.0.0: 3139 | version "2.0.0" 3140 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 3141 | 3142 | supports-color@^3.1.2: 3143 | version "3.2.3" 3144 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 3145 | dependencies: 3146 | has-flag "^1.0.0" 3147 | 3148 | table@^3.7.8: 3149 | version "3.8.3" 3150 | resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f" 3151 | dependencies: 3152 | ajv "^4.7.0" 3153 | ajv-keywords "^1.0.0" 3154 | chalk "^1.1.1" 3155 | lodash "^4.0.0" 3156 | slice-ansi "0.0.4" 3157 | string-width "^2.0.0" 3158 | 3159 | tar-pack@~3.3.0: 3160 | version "3.3.0" 3161 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.3.0.tgz#30931816418f55afc4d21775afdd6720cee45dae" 3162 | dependencies: 3163 | debug "~2.2.0" 3164 | fstream "~1.0.10" 3165 | fstream-ignore "~1.0.5" 3166 | once "~1.3.3" 3167 | readable-stream "~2.1.4" 3168 | rimraf "~2.5.1" 3169 | tar "~2.2.1" 3170 | uid-number "~0.0.6" 3171 | 3172 | tar@~2.2.1: 3173 | version "2.2.1" 3174 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 3175 | dependencies: 3176 | block-stream "*" 3177 | fstream "^1.0.2" 3178 | inherits "2" 3179 | 3180 | text-table@^0.2.0, text-table@~0.2.0: 3181 | version "0.2.0" 3182 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 3183 | 3184 | through@^2.3.6: 3185 | version "2.3.8" 3186 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 3187 | 3188 | tmp@^0.0.29: 3189 | version "0.0.29" 3190 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.29.tgz#f25125ff0dd9da3ccb0c2dd371ee1288bb9128c0" 3191 | dependencies: 3192 | os-tmpdir "~1.0.1" 3193 | 3194 | to-fast-properties@^1.0.3: 3195 | version "1.0.3" 3196 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 3197 | 3198 | topo@1.x.x: 3199 | version "1.1.0" 3200 | resolved "https://registry.yarnpkg.com/topo/-/topo-1.1.0.tgz#e9d751615d1bb87dc865db182fa1ca0a5ef536d5" 3201 | dependencies: 3202 | hoek "2.x.x" 3203 | 3204 | topo@2.x.x: 3205 | version "2.0.2" 3206 | resolved "https://registry.yarnpkg.com/topo/-/topo-2.0.2.tgz#cd5615752539057c0dc0491a621c3bc6fbe1d182" 3207 | dependencies: 3208 | hoek "4.x.x" 3209 | 3210 | tough-cookie@~2.3.0: 3211 | version "2.3.2" 3212 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" 3213 | dependencies: 3214 | punycode "^1.4.1" 3215 | 3216 | trim-right@^1.0.1: 3217 | version "1.0.1" 3218 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 3219 | 3220 | tryit@^1.0.1: 3221 | version "1.0.3" 3222 | resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb" 3223 | 3224 | tunnel-agent@~0.4.1: 3225 | version "0.4.3" 3226 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" 3227 | 3228 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 3229 | version "0.14.5" 3230 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 3231 | 3232 | type-check@~0.3.2: 3233 | version "0.3.2" 3234 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 3235 | dependencies: 3236 | prelude-ls "~1.1.2" 3237 | 3238 | type-detect@^4.0.0: 3239 | version "4.0.3" 3240 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.3.tgz#0e3f2670b44099b0b46c284d136a7ef49c74c2ea" 3241 | 3242 | type-is@~1.6.15: 3243 | version "1.6.15" 3244 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410" 3245 | dependencies: 3246 | media-typer "0.3.0" 3247 | mime-types "~2.1.15" 3248 | 3249 | type-is@~1.6.16: 3250 | version "1.6.16" 3251 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" 3252 | dependencies: 3253 | media-typer "0.3.0" 3254 | mime-types "~2.1.18" 3255 | 3256 | typedarray@^0.0.6: 3257 | version "0.0.6" 3258 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 3259 | 3260 | uglify-js@^2.6: 3261 | version "2.7.5" 3262 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.7.5.tgz#4612c0c7baaee2ba7c487de4904ae122079f2ca8" 3263 | dependencies: 3264 | async "~0.2.6" 3265 | source-map "~0.5.1" 3266 | uglify-to-browserify "~1.0.0" 3267 | yargs "~3.10.0" 3268 | 3269 | uglify-to-browserify@~1.0.0: 3270 | version "1.0.2" 3271 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 3272 | 3273 | uid-number@~0.0.6: 3274 | version "0.0.6" 3275 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 3276 | 3277 | unpipe@1.0.0, unpipe@~1.0.0: 3278 | version "1.0.0" 3279 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 3280 | 3281 | user-home@^2.0.0: 3282 | version "2.0.0" 3283 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f" 3284 | dependencies: 3285 | os-homedir "^1.0.0" 3286 | 3287 | util-deprecate@~1.0.1: 3288 | version "1.0.2" 3289 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 3290 | 3291 | utils-merge@1.0.1: 3292 | version "1.0.1" 3293 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" 3294 | 3295 | uuid@^3.0.0: 3296 | version "3.0.1" 3297 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" 3298 | 3299 | validate-commit-msg@^2.14.0: 3300 | version "2.14.0" 3301 | resolved "https://registry.yarnpkg.com/validate-commit-msg/-/validate-commit-msg-2.14.0.tgz#e5383691012cbb270dcc0bc2a4effebe14890eac" 3302 | dependencies: 3303 | conventional-commit-types "^2.0.0" 3304 | find-parent-dir "^0.3.0" 3305 | findup "0.1.5" 3306 | semver-regex "1.0.0" 3307 | 3308 | vary@^1: 3309 | version "1.1.0" 3310 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.0.tgz#e1e5affbbd16ae768dd2674394b9ad3022653140" 3311 | 3312 | vary@~1.1.2: 3313 | version "1.1.2" 3314 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 3315 | 3316 | verror@1.3.6: 3317 | version "1.3.6" 3318 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 3319 | dependencies: 3320 | extsprintf "1.0.2" 3321 | 3322 | which@^1.1.1, which@^1.2.12, which@^1.2.9: 3323 | version "1.2.12" 3324 | resolved "https://registry.yarnpkg.com/which/-/which-1.2.12.tgz#de67b5e450269f194909ef23ece4ebe416fa1192" 3325 | dependencies: 3326 | isexe "^1.1.1" 3327 | 3328 | wide-align@^1.1.0: 3329 | version "1.1.0" 3330 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" 3331 | dependencies: 3332 | string-width "^1.0.1" 3333 | 3334 | window-size@0.1.0: 3335 | version "0.1.0" 3336 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 3337 | 3338 | winston@2.4.1: 3339 | version "2.4.1" 3340 | resolved "https://registry.yarnpkg.com/winston/-/winston-2.4.1.tgz#a3a9265105564263c6785b4583b8c8aca26fded6" 3341 | dependencies: 3342 | async "~1.0.0" 3343 | colors "1.0.x" 3344 | cycle "1.0.x" 3345 | eyes "0.1.x" 3346 | isstream "0.1.x" 3347 | stack-trace "0.0.x" 3348 | 3349 | word-wrap@^1.0.3: 3350 | version "1.2.0" 3351 | resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.0.tgz#ee971b6b7ce9ecae73a4b89a1cfdaa48dcf38ce7" 3352 | 3353 | wordwrap@0.0.2: 3354 | version "0.0.2" 3355 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 3356 | 3357 | wordwrap@^1.0.0, wordwrap@~1.0.0: 3358 | version "1.0.0" 3359 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 3360 | 3361 | wordwrap@~0.0.2: 3362 | version "0.0.3" 3363 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 3364 | 3365 | wrappy@1: 3366 | version "1.0.2" 3367 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 3368 | 3369 | write@^0.2.1: 3370 | version "0.2.1" 3371 | resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" 3372 | dependencies: 3373 | mkdirp "^0.5.1" 3374 | 3375 | x-xss-protection@1.1.0: 3376 | version "1.1.0" 3377 | resolved "https://registry.yarnpkg.com/x-xss-protection/-/x-xss-protection-1.1.0.tgz#4f1898c332deb1e7f2be1280efb3e2c53d69c1a7" 3378 | 3379 | xtend@^4.0.0, xtend@^4.0.1: 3380 | version "4.0.1" 3381 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 3382 | 3383 | yallist@^2.0.0: 3384 | version "2.0.0" 3385 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.0.0.tgz#306c543835f09ee1a4cb23b7bce9ab341c91cdd4" 3386 | 3387 | yargs@~3.10.0: 3388 | version "3.10.0" 3389 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 3390 | dependencies: 3391 | camelcase "^1.0.2" 3392 | cliui "^2.1.0" 3393 | decamelize "^1.0.0" 3394 | window-size "0.1.0" 3395 | --------------------------------------------------------------------------------