├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmignore ├── .nvmrc ├── LICENSE ├── README.md ├── TODO.md ├── example └── index.js ├── package.json ├── proxy ├── gcm.js └── index.js ├── scripts ├── listen │ └── index.js ├── register │ └── index.js └── send │ └── index.js ├── src ├── client.js ├── constants.js ├── fcm │ ├── index.js │ └── server-key │ │ └── index.js ├── gcm │ ├── android_checkin.proto │ ├── checkin.proto │ └── index.js ├── index.js ├── mcs.proto ├── parser.js ├── register │ └── index.js └── utils │ ├── base64 │ └── index.js │ ├── decrypt │ └── index.js │ ├── request │ └── index.js │ └── timeout │ └── index.js ├── test ├── 4kb.js ├── keys.template.js └── notification.test.js └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | npm-debug.log 4 | coverage 5 | *.pem 6 | storage.json 7 | web/ 8 | .esm-cache 9 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", // https://github.com/babel/babel-eslint 3 | // Extend existing configuration from ESlint and eslint-plugin-react defaults. 4 | "extends": [ 5 | "eslint:recommended", // http://eslint.org/docs/rules/ 6 | ], 7 | // Enable ES6 support. If you want to use custom Babel 8 | // features, you will need to enable a custom parser 9 | // as described in a section below. 10 | "parserOptions": { 11 | "ecmaVersion": 6, 12 | "sourceType": "module" 13 | }, 14 | "env": { 15 | "browser": true, 16 | "node": true, 17 | "es6": true, 18 | "jest": true 19 | }, 20 | // Enable custom plugin known as eslint-plugin-jest 21 | "plugins": [ 22 | "jest" 23 | ], 24 | "rules": { 25 | // Default to single quotes and raise an error if something 26 | // else is used 27 | "quotes": [2, "single"], 28 | //Variables 29 | "no-shadow": 2, // http://eslint.org/docs/rules/no-shadow 30 | "no-shadow-restricted-names": 2, // http://eslint.org/docs/rules/no-shadow-restricted-names 31 | "no-use-before-define": 0, // http://eslint.org/docs/rules/no-use-before-define 32 | //Possible errors 33 | "no-alert": 2, // http://eslint.org/docs/rules/no-alert 34 | "block-scoped-var": 0, // http://eslint.org/docs/rules/block-scoped-var 35 | //ES6 36 | "no-var": 2, // http://eslint.org/docs/rules/no-var 37 | "prefer-const": 2, // http://eslint.org/docs/rules/prefer-const 38 | //Best Practices 39 | "curly": [2, "multi-line"], // http://eslint.org/docs/rules/curly 40 | "default-case": 2, // http://eslint.org/docs/rules/default-case 41 | "dot-notation": [2, { // http://eslint.org/docs/rules/dot-notation 42 | "allowKeywords": true, 43 | "allowPattern": "^[a-z]+(-[a-z]+)+$", 44 | }], 45 | "comma-dangle": [2, //http://eslint.org/docs/rules/comma-dangle 46 | "always-multiline" 47 | ], 48 | "eqeqeq": 2, // http://eslint.org/docs/rules/eqeqeq 49 | "guard-for-in": 0, // http://eslint.org/docs/rules/guard-for-in 50 | "no-caller": 2, // http://eslint.org/docs/rules/no-caller 51 | "no-eq-null": 2, // http://eslint.org/docs/rules/no-eq-null 52 | "no-eval": 2, // http://eslint.org/docs/rules/no-eval 53 | "no-extend-native": 2, // http://eslint.org/docs/rules/no-extend-native 54 | "no-extra-bind": 2, // http://eslint.org/docs/rules/no-extra-bind 55 | "no-fallthrough": 2, // http://eslint.org/docs/rules/no-fallthrough 56 | "no-floating-decimal": 2, // http://eslint.org/docs/rules/no-floating-decimal 57 | "no-implied-eval": 2, // http://eslint.org/docs/rules/no-implied-eval 58 | "no-lone-blocks": 2, // http://eslint.org/docs/rules/no-lone-blocks 59 | "no-loop-func": 2, // http://eslint.org/docs/rules/no-loop-func 60 | "no-multi-str": 2, // http://eslint.org/docs/rules/no-multi-str 61 | "no-native-reassign": 2, // http://eslint.org/docs/rules/no-native-reassign 62 | "no-new": 2, // http://eslint.org/docs/rules/no-new 63 | "no-new-func": 2, // http://eslint.org/docs/rules/no-new-func 64 | "no-new-wrappers": 2, // http://eslint.org/docs/rules/no-new-wrappers 65 | "no-octal-escape": 2, // http://eslint.org/docs/rules/no-octal-escape 66 | "no-param-reassign": 2, // http://eslint.org/docs/rules/no-param-reassign 67 | "no-proto": 2, // http://eslint.org/docs/rules/no-proto 68 | "no-redeclare": 2, // http://eslint.org/docs/rules/no-redeclare 69 | "no-return-assign": 2, // http://eslint.org/docs/rules/no-return-assign 70 | "no-script-url": 2, // http://eslint.org/docs/rules/no-script-url 71 | "no-self-compare": 2, // http://eslint.org/docs/rules/no-self-compare 72 | "no-sequences": 2, // http://eslint.org/docs/rules/no-sequences 73 | "no-throw-literal": 2, // http://eslint.org/docs/rules/no-throw-literal 74 | "no-trailing-spaces": 2, //http://eslint.org/docs/rules/no-trailing-spaces 75 | "no-underscore-dangle": 0, //http://eslint.org/docs/rules/no-underscore-dangle 76 | "no-with": 2, // http://eslint.org/docs/rules/no-with 77 | "radix": 2, // http://eslint.org/docs/rules/radix 78 | "semi": [2, "always", { //http://eslint.org/docs/rules/semi 79 | "omitLastInOneLineBlock": true 80 | }], 81 | "vars-on-top": 2, // http://eslint.org/docs/rules/vars-on-top 82 | "wrap-iife": [2, "any"], // http://eslint.org/docs/rules/wrap-iife 83 | "yoda": 2, // http://eslint.org/docs/rules/yoda 84 | "no-console": 0, 85 | "no-unused-vars": [2, { "ignoreRestSiblings": true }], 86 | "key-spacing": [2, { 87 | "beforeColon": true, 88 | "afterColon": true, 89 | "mode": "minimum", 90 | "align": { 91 | "beforeColon": true, 92 | "afterColon": true, 93 | "on": "colon", 94 | "mode": "strict" 95 | } 96 | }] 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | npm-debug.log 4 | coverage 5 | *.pem 6 | storage.json 7 | web/ 8 | .esm-cache 9 | test/keys.js 10 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .eslintignore 2 | .eslintrc 3 | .gitignore 4 | web 5 | proxy 6 | scripts 7 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Matthieu Lemoine 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 | # push-receiver 2 | 3 | A library to subscribe to GCM/FCM and receive notifications within a node process. 4 | 5 | For [Electron](https://github.com/electron/electron), you can use [electron-push-receiver](https://github.com/MatthieuLemoine/electron-push-receiver) instead which provides a convenient wrapper. 6 | 7 | See [this blog post](https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0) for more details. 8 | 9 | ## When should I use `push-receiver` ? 10 | 11 | - I want to **receive** push notifications sent using Firebase Cloud Messaging in an [electron](https://github.com/electron/electron) desktop application. 12 | - I want to communicate with a node process/server using Firebase Cloud Messaging infrastructure. 13 | 14 | ## When should I not use `push-receiver` ? 15 | 16 | - I want to **send** push notifications (use the firebase SDK instead) 17 | - My application is running on a FCM supported platform (Android, iOS, Web). 18 | 19 | ## Install 20 | 21 | ` 22 | npm i -S push-receiver 23 | ` 24 | 25 | ## Requirements 26 | 27 | - Node v8 (async/await support) 28 | - Firebase sender id to receive notification 29 | - Firebase serverKey to send notification (optional) 30 | 31 | ## Usage 32 | 33 | ### Electron 34 | 35 | You can use [electron-push-receiver](https://github.com/MatthieuLemoine/electron-push-receiver) instead which provides a convenient wrapper. 36 | 37 | ### Node 38 | 39 | ```javascript 40 | const { register, listen } = require('push-receiver'); 41 | 42 | // First time 43 | // Register to GCM and FCM 44 | const credentials = await register(senderId); // You should call register only once and then store the credentials somewhere 45 | storeCredentials(credentials) // Store credentials to use it later 46 | const fcmToken = credentials.fcm.token; // Token to use to send notifications 47 | sendTokenToBackendOrWhatever(fcmToken); 48 | 49 | 50 | // Next times 51 | const credentials = getSavedCredentials() // get your saved credentials from somewhere (file, db, etc...) 52 | // persistentIds is the list of notification ids received to avoid receiving all already received notifications on start. 53 | const persistentIds = getPersistentIds() || [] // get all previous persistentIds from somewhere (file, db, etc...) 54 | await listen({ ...credentials, persistentIds}, onNotification); 55 | 56 | // Called on new notification 57 | function onNotification({ notification, persistentId }) { 58 | // Update list of persistentId in file/db/... 59 | updatePersistentIds([...persistentIds, persistentId]); 60 | // Do someting with the notification 61 | display(notification) 62 | } 63 | ``` 64 | 65 | ### Test notification 66 | 67 | To test, you can use the [send script](scripts/send/index.js) provided in this repo, you need to pass your serverKey and the FCM token as arguments : 68 | 69 | ``` 70 | node scripts/send --serverKey="" --token="" 71 | ``` 72 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | # TODO 2 | 3 | - Pass persistentId during login to avoid duplicate notifications 4 | - FCM token expiration 5 | -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- 1 | const { register, listen } = require('../src'); 2 | const senderId = require('yargs').argv.senderId; 3 | 4 | if (!senderId) { 5 | console.error('Missing senderId'); 6 | return; 7 | } 8 | 9 | (async () => { 10 | // First time 11 | // Register to GCM and FCM 12 | const credentials = await register(senderId); // You should call register only once and then store the credentials somewhere 13 | const fcmToken = credentials.fcm.token; // Token to use to send notifications 14 | console.log('Use this following token to send a notification', fcmToken); 15 | // persistentIds is the list of notification ids received to avoid receiving all already received notifications on start. 16 | const persistentIds = []; // get all previous persistentIds from somewhere (file, db, etc...) 17 | await listen({ ...credentials, persistentIds }, onNotification); 18 | })(); 19 | 20 | // Called on new notification 21 | function onNotification({ notification }) { 22 | // Do someting with the notification 23 | console.log('Notification received'); 24 | console.log(notification); 25 | } 26 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "push-receiver", 3 | "version": "2.1.1", 4 | "description": 5 | "A module to subscribe to GCM/FCM and receive notifications within a node process.", 6 | "main": "src/index.js", 7 | "scripts": { 8 | "start": "node scripts/listen", 9 | "register": "node scripts/register", 10 | "send": "node scripts/send", 11 | "pretty": 12 | "prettier-eslint --single-quote --trailing-comma es5 --write \"**/*.js\" \"**/*.json\"", 13 | "pretty:check": 14 | "prettier-eslint --single-quote --trailing-comma es5 --list-different --log-level silent \"**/*.js\" \"**/*.json\"", 15 | "lint": "eslint 'src/**/*.js'", 16 | "lint:fix": "eslint 'src/**/*.js' --fix", 17 | "test": "jest", 18 | "precommit": "lint-staged" 19 | }, 20 | "lint-staged": { 21 | "*.js": [ 22 | "eslint --fix", 23 | "prettier-eslint --single-quote --trailing-comma es5 --write" 24 | ], 25 | "*.json": ["prettier-eslint --single-quote --trailing-comma es5 --write"] 26 | }, 27 | "repository": { 28 | "type": "git", 29 | "url": "git+ssh://git@github.com/MatthieuLemoine/push-receiver.git" 30 | }, 31 | "keywords": [ 32 | "push", 33 | "service", 34 | "fcm", 35 | "gcm", 36 | "notifications", 37 | "node", 38 | "electron", 39 | "receiver" 40 | ], 41 | "author": "MatthieuLemoine", 42 | "license": "MIT", 43 | "bugs": { 44 | "url": "https://github.com/MatthieuLemoine/push-receiver/issues" 45 | }, 46 | "homepage": "https://github.com/MatthieuLemoine/push-receiver#readme", 47 | "devDependencies": { 48 | "babel-eslint": "^7.2.3", 49 | "eslint": "^4.4.1", 50 | "eslint-plugin-jest": "^20.0.3", 51 | "http-proxy": "^1.16.2", 52 | "husky": "^0.14.3", 53 | "jest": "^22.2.2", 54 | "lint-staged": "^6.1.0", 55 | "prettier": "^1.6.1", 56 | "prettier-eslint": "^7.0.0", 57 | "prettier-eslint-cli": "^4.3.0", 58 | "yargs": "^10.0.3" 59 | }, 60 | "dependencies": { 61 | "http_ece": "^1.0.5", 62 | "long": "^3.2.0", 63 | "protobufjs": "^6.8.0", 64 | "request": "^2.81.0", 65 | "request-promise": "^4.2.1", 66 | "uuid": "^3.1.0" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /proxy/gcm.js: -------------------------------------------------------------------------------- 1 | const https = require('https'); 2 | const fs = require('fs'); 3 | const path = require('path'); 4 | const protobuf = require('protobufjs'); 5 | const httpProxy = require('http-proxy'); 6 | const proxy = httpProxy.createProxyServer({}); 7 | const { warn, info } = require('../src/logger'); 8 | 9 | const HOST = 'https://216.58.198.206'; 10 | let root; 11 | 12 | const options = { 13 | key : fs.readFileSync(path.join(__dirname, 'android_key.pem')), 14 | cert : fs.readFileSync(path.join(__dirname, 'android_cert.pem')), 15 | }; 16 | 17 | proxy.on('proxyRes', (proxyRes, req) => { 18 | proxyRes.on('data', data => { 19 | info('REQUEST RESPONSE :'); 20 | try { 21 | if (req.url === '/checkin') { 22 | const AndroidCheckinResponse = root.lookupType( 23 | 'checkin_proto.AndroidCheckinResponse' 24 | ); 25 | console.log(AndroidCheckinResponse.decode(data)); 26 | } else if (req.url === '/c2dm/register3') { 27 | console.log(data.toString('utf8')); 28 | } 29 | } catch (e) { 30 | console.log(e); 31 | logBuffer(data); 32 | warn('Error while decoding response'); 33 | } 34 | }); 35 | }); 36 | 37 | https 38 | .createServer(options, (req, res) => { 39 | console.log(req.url); 40 | req.on('data', data => { 41 | info('REQUEST DATA :'); 42 | try { 43 | if (req.url === '/checkin') { 44 | const AndroidCheckinRequest = root.lookupType( 45 | 'checkin_proto.AndroidCheckinRequest' 46 | ); 47 | console.log(AndroidCheckinRequest.decode(data)); 48 | } else if (req.url === '/c2dm/register3') { 49 | console.log(data.toString('utf8')); 50 | } 51 | } catch (e) { 52 | warn('Error while decoding'); 53 | } 54 | //logBuffer(data); 55 | }); 56 | proxy.web(req, res, { target : HOST }); 57 | }) 58 | .listen(443); 59 | 60 | loadProtoFile() 61 | .then(r => (root = r)) 62 | .catch(console.error); 63 | 64 | function loadProtoFile() { 65 | return protobuf.load( 66 | path.join(__dirname, '..', 'src', 'gcm', 'checkin.proto') 67 | ); 68 | } 69 | 70 | function logBuffer(buffer) { 71 | console.log( 72 | Array.from(buffer.values()) 73 | .reduce((string, item) => `${string} ${item.toString(16)}`, '') 74 | .slice(1) 75 | ); 76 | } 77 | -------------------------------------------------------------------------------- /proxy/index.js: -------------------------------------------------------------------------------- 1 | const tls = require('tls'); 2 | const fs = require('fs'); 3 | const path = require('path'); 4 | const protobuf = require('protobufjs'); 5 | 6 | const mtalkOptions = { 7 | key : fs.readFileSync(path.join(__dirname, 'key.pem')), 8 | cert : fs.readFileSync(path.join(__dirname, 'cert.pem')), 9 | }; 10 | let root; 11 | 12 | const server = tls.createServer(mtalkOptions, socket => { 13 | console.info('socket connected'); 14 | const proxySocket = new tls.TLSSocket(); 15 | let connected = false; 16 | socket.on('data', data => { 17 | console.info('SOCKET DATA :'); 18 | try { 19 | const LoginRequestType = root.lookupType('mcs_proto.LoginRequest'); 20 | console.log(LoginRequestType.decode(data)); 21 | } catch (e) {} 22 | logBuffer(data); 23 | console.info('*******'); 24 | if (connected) { 25 | proxySocket.write(data); 26 | } else { 27 | proxySocket.connect( 28 | { 29 | host : '64.233.166.188', 30 | port : 5228, 31 | }, 32 | () => { 33 | connected = true; 34 | proxySocket.write(data); 35 | } 36 | ); 37 | } 38 | }); 39 | socket.on('error', error => { 40 | console.info('Error'); 41 | console.info(error); 42 | }); 43 | socket.on('end', () => { 44 | console.info('end'); 45 | proxySocket.end(); 46 | }); 47 | proxySocket.on('close', () => console.warn('Socket closed')); 48 | proxySocket.on('data', buffer => { 49 | console.warn('PROXY DATA :'); 50 | logBuffer(buffer); 51 | console.warn('*******'); 52 | socket.write(buffer); 53 | }); 54 | proxySocket.on('error', err => { 55 | console.warn('proxy error'); 56 | console.warn(err); 57 | }); 58 | proxySocket.on('end', () => { 59 | console.warn('proxy end'); 60 | socket.end(); 61 | }); 62 | }); 63 | server.listen(5228, () => { 64 | console.log('server bound'); 65 | }); 66 | 67 | loadProtoFile() 68 | .then(r => (root = r)) 69 | .catch(console.error); 70 | 71 | function loadProtoFile() { 72 | return protobuf.load( 73 | path.join(__dirname, '..', 'src', 'client', 'mcs.proto') 74 | ); 75 | } 76 | 77 | function logBuffer(buffer) { 78 | console.log( 79 | Array.from(buffer.values()) 80 | .reduce((string, item) => `${string} ${item.toString(16)}`, '') 81 | .slice(1) 82 | ); 83 | } 84 | -------------------------------------------------------------------------------- /scripts/listen/index.js: -------------------------------------------------------------------------------- 1 | const { listen } = require('../../src'); 2 | 3 | (async () => { 4 | try { 5 | await listen(); 6 | console.log('Connected'); 7 | } catch (e) { 8 | console.error('Error during notification listening'); 9 | console.error(e); 10 | } 11 | })(); 12 | -------------------------------------------------------------------------------- /scripts/register/index.js: -------------------------------------------------------------------------------- 1 | const { register } = require('../../src'); 2 | const senderId = require('yargs').argv.senderId; 3 | 4 | if (!senderId) { 5 | console.error('Missing senderId'); 6 | return; 7 | } 8 | 9 | (async () => { 10 | try { 11 | await register(senderId); 12 | console.log('Successfully registered'); 13 | } catch (e) { 14 | console.error('Error during registration'); 15 | console.error(e); 16 | } 17 | })(); 18 | -------------------------------------------------------------------------------- /scripts/send/index.js: -------------------------------------------------------------------------------- 1 | const request = require('request-promise'); 2 | const argv = require('yargs').argv; 3 | 4 | const serverKey = argv.serverKey; 5 | const token = argv.token; 6 | 7 | if (!serverKey) { 8 | console.error('Missing serverKey argument'); 9 | return; 10 | } 11 | 12 | if (!token) { 13 | console.error('Missing token argument'); 14 | return; 15 | } 16 | 17 | (async () => { 18 | try { 19 | const response = await request({ 20 | method : 'POST', 21 | url : 'https://fcm.googleapis.com/fcm/send', 22 | json : true, 23 | body : { 24 | to : token, 25 | notification : { 26 | title : 'Hello world', 27 | body : 'Test', 28 | }, 29 | }, 30 | headers : { 31 | Authorization : `key=${serverKey}`, 32 | }, 33 | }); 34 | console.log(response); 35 | } catch (e) { 36 | console.error(e.message); 37 | } 38 | })(); 39 | -------------------------------------------------------------------------------- /src/client.js: -------------------------------------------------------------------------------- 1 | const EventEmitter = require('events'); 2 | const Long = require('long'); 3 | const Parser = require('./parser'); 4 | const decrypt = require('./utils/decrypt'); 5 | const path = require('path'); 6 | const tls = require('tls'); 7 | const { checkIn } = require('./gcm'); 8 | const { 9 | kMCSVersion, 10 | kLoginRequestTag, 11 | kDataMessageStanzaTag, 12 | kLoginResponseTag, 13 | } = require('./constants'); 14 | const { load } = require('protobufjs'); 15 | 16 | const HOST = 'mtalk.google.com'; 17 | const PORT = 5228; 18 | const MAX_RETRY_TIMEOUT = 15; 19 | 20 | let proto = null; 21 | 22 | module.exports = class Client extends EventEmitter { 23 | static async init() { 24 | if (proto) { 25 | return; 26 | } 27 | proto = await load(path.resolve(__dirname, 'mcs.proto')); 28 | } 29 | 30 | constructor(credentials, persistentIds) { 31 | super(); 32 | this._credentials = credentials; 33 | this._persistentIds = persistentIds || []; 34 | this._retryCount = 0; 35 | this._onSocketConnect = this._onSocketConnect.bind(this); 36 | this._onSocketClose = this._onSocketClose.bind(this); 37 | this._onSocketError = this._onSocketError.bind(this); 38 | this._onMessage = this._onMessage.bind(this); 39 | this._onParserError = this._onParserError.bind(this); 40 | } 41 | 42 | async connect() { 43 | await Client.init(); 44 | await this._checkIn(); 45 | this._connect(); 46 | // can happen if the socket immediately closes after being created 47 | if (!this._socket) { 48 | return; 49 | } 50 | await Parser.init(); 51 | // can happen if the socket immediately closes after being created 52 | if (!this._socket) { 53 | return; 54 | } 55 | this._parser = new Parser(this._socket); 56 | this._parser.on('message', this._onMessage); 57 | this._parser.on('error', this._onParserError); 58 | } 59 | 60 | destroy() { 61 | this._destroy(); 62 | } 63 | 64 | async _checkIn() { 65 | return checkIn( 66 | this._credentials.gcm.androidId, 67 | this._credentials.gcm.securityToken 68 | ); 69 | } 70 | 71 | _connect() { 72 | this._socket = new tls.TLSSocket(); 73 | this._socket.setKeepAlive(true); 74 | this._socket.on('connect', this._onSocketConnect); 75 | this._socket.on('close', this._onSocketClose); 76 | this._socket.on('error', this._onSocketError); 77 | this._socket.connect({ host : HOST, port : PORT }); 78 | this._socket.write(this._loginBuffer()); 79 | } 80 | 81 | _destroy() { 82 | clearTimeout(this._retryTimeout); 83 | if (this._socket) { 84 | this._socket.removeListener('connect', this._onSocketConnect); 85 | this._socket.removeListener('close', this._onSocketClose); 86 | this._socket.removeListener('error', this._onSocketError); 87 | this._socket.destroy(); 88 | this._socket = null; 89 | } 90 | if (this._parser) { 91 | this._parser.removeListener('message', this._onMessage); 92 | this._parser.removeListener('error', this._onParserError); 93 | this._parser.destroy(); 94 | this._parser = null; 95 | } 96 | } 97 | 98 | _loginBuffer() { 99 | const LoginRequestType = proto.lookupType('mcs_proto.LoginRequest'); 100 | const hexAndroidId = Long.fromString( 101 | this._credentials.gcm.androidId 102 | ).toString(16); 103 | const loginRequest = { 104 | adaptiveHeartbeat : false, 105 | authService : 2, 106 | authToken : this._credentials.gcm.securityToken, 107 | id : 'chrome-63.0.3234.0', 108 | domain : 'mcs.android.com', 109 | deviceId : `android-${hexAndroidId}`, 110 | networkType : 1, 111 | resource : this._credentials.gcm.androidId, 112 | user : this._credentials.gcm.androidId, 113 | useRmq2 : true, 114 | setting : [{ name : 'new_vc', value : '1' }], 115 | // Id of the last notification received 116 | clientEvent : [], 117 | receivedPersistentId : this._persistentIds, 118 | }; 119 | 120 | const errorMessage = LoginRequestType.verify(loginRequest); 121 | if (errorMessage) { 122 | throw new Error(errorMessage); 123 | } 124 | 125 | const buffer = LoginRequestType.encodeDelimited(loginRequest).finish(); 126 | 127 | return Buffer.concat([ 128 | Buffer.from([kMCSVersion, kLoginRequestTag]), 129 | buffer, 130 | ]); 131 | } 132 | 133 | _onSocketConnect() { 134 | this._retryCount = 0; 135 | this.emit('connect'); 136 | } 137 | 138 | _onSocketClose() { 139 | this.emit('disconnect') 140 | this._retry(); 141 | } 142 | 143 | _onSocketError(error) { 144 | // ignore, the close handler takes care of retry 145 | } 146 | 147 | _onParserError(error) { 148 | this._retry(); 149 | } 150 | 151 | _retry() { 152 | this._destroy(); 153 | const timeout = Math.min(++this._retryCount, MAX_RETRY_TIMEOUT) * 1000; 154 | this._retryTimeout = setTimeout(this.connect.bind(this), timeout); 155 | } 156 | 157 | _onMessage({ tag, object }) { 158 | if (tag === kLoginResponseTag) { 159 | // clear persistent ids, as we just sent them to the server while logging 160 | // in 161 | this._persistentIds = []; 162 | } else if (tag === kDataMessageStanzaTag) { 163 | this._onDataMessage(object); 164 | } 165 | } 166 | 167 | _onDataMessage(object) { 168 | if (this._persistentIds.includes(object.persistentId)) { 169 | return; 170 | } 171 | 172 | let message; 173 | try { 174 | message = decrypt(object, this._credentials.keys); 175 | } catch (error) { 176 | switch (true) { 177 | case error.message.includes( 178 | 'Unsupported state or unable to authenticate data' 179 | ): 180 | case error.message.includes('crypto-key is missing'): 181 | case error.message.includes('salt is missing'): 182 | // NOTE(ibash) Periodically we're unable to decrypt notifications. In 183 | // all cases we've been able to receive future notifications using the 184 | // same keys. So, we silently drop this notification. 185 | console.warn( 186 | 'Message dropped as it could not be decrypted: ' + error.message 187 | ); 188 | this._persistentIds.push(object.persistentId); 189 | return; 190 | default: { 191 | throw error; 192 | } 193 | } 194 | } 195 | 196 | // Maintain persistentIds updated with the very last received value 197 | this._persistentIds.push(object.persistentId); 198 | // Send notification 199 | this.emit('ON_NOTIFICATION_RECEIVED', { 200 | notification : message, 201 | // Needs to be saved by the client 202 | persistentId : object.persistentId, 203 | }); 204 | } 205 | }; 206 | -------------------------------------------------------------------------------- /src/constants.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | // enum ProcessingState 3 | // 4 | // Processing the version, tag, and size packets (assuming minimum length 5 | // size packet). Only used during the login handshake. 6 | MCS_VERSION_TAG_AND_SIZE : 0, 7 | // Processing the tag and size packets (assuming minimum length size 8 | // packet). Used for normal messages. 9 | MCS_TAG_AND_SIZE : 1, 10 | // Processing the size packet alone. 11 | MCS_SIZE : 2, 12 | // Processing the protocol buffer bytes (for those messages with non-zero 13 | // sizes). 14 | MCS_PROTO_BYTES : 3, 15 | 16 | // # of bytes a MCS version packet consumes. 17 | kVersionPacketLen : 1, 18 | // # of bytes a tag packet consumes. 19 | kTagPacketLen : 1, 20 | // Max # of bytes a length packet consumes. A Varint32 can consume up to 5 bytes 21 | // (the msb in each byte is reserved for denoting whether more bytes follow). 22 | // Although the protocol only allows for 4KiB payloads currently, and the socket 23 | // stream buffer is only of size 8KiB, it's possible for certain applications to 24 | // have larger message sizes. When payload is larger than 4KiB, an temporary 25 | // in-memory buffer is used instead of the normal in-place socket stream buffer. 26 | kSizePacketLenMin : 1, 27 | kSizePacketLenMax : 5, 28 | 29 | // The current MCS protocol version. 30 | kMCSVersion : 41, 31 | 32 | // MCS Message tags. 33 | // WARNING: the order of these tags must remain the same, as the tag values 34 | // must be consistent with those used on the server. 35 | // enum MCSProtoTag { 36 | kHeartbeatPingTag : 0, 37 | kHeartbeatAckTag : 1, 38 | kLoginRequestTag : 2, 39 | kLoginResponseTag : 3, 40 | kCloseTag : 4, 41 | kMessageStanzaTag : 5, 42 | kPresenceStanzaTag : 6, 43 | kIqStanzaTag : 7, 44 | kDataMessageStanzaTag : 8, 45 | kBatchPresenceStanzaTag : 9, 46 | kStreamErrorStanzaTag : 10, 47 | kHttpRequestTag : 11, 48 | kHttpResponseTag : 12, 49 | kBindAccountRequestTag : 13, 50 | kBindAccountResponseTag : 14, 51 | kTalkMetadataTag : 15, 52 | kNumProtoTypes : 16, 53 | }; 54 | -------------------------------------------------------------------------------- /src/fcm/index.js: -------------------------------------------------------------------------------- 1 | const crypto = require('crypto'); 2 | const request = require('request-promise'); 3 | const { escape } = require('../utils/base64'); 4 | 5 | const FCM_SUBSCRIBE = 'https://fcm.googleapis.com/fcm/connect/subscribe'; 6 | const FCM_ENDPOINT = 'https://fcm.googleapis.com/fcm/send'; 7 | 8 | module.exports = registerFCM; 9 | 10 | async function registerFCM({ senderId, token }) { 11 | const keys = await createKeys(); 12 | const response = await request({ 13 | url : FCM_SUBSCRIBE, 14 | method : 'POST', 15 | headers : { 16 | 'Content-Type' : 'application/x-www-form-urlencoded', 17 | }, 18 | form : { 19 | authorized_entity : senderId, 20 | endpoint : `${FCM_ENDPOINT}/${token}`, 21 | encryption_key : keys.publicKey 22 | .replace(/=/g, '') 23 | .replace(/\+/g, '-') 24 | .replace(/\//g, '_'), 25 | encryption_auth : keys.authSecret 26 | .replace(/=/g, '') 27 | .replace(/\+/g, '-') 28 | .replace(/\//g, '_'), 29 | }, 30 | }); 31 | return { 32 | keys, 33 | fcm : JSON.parse(response), 34 | }; 35 | } 36 | 37 | function createKeys() { 38 | return new Promise((resolve, reject) => { 39 | const dh = crypto.createECDH('prime256v1'); 40 | dh.generateKeys(); 41 | crypto.randomBytes(16, (err, buf) => { 42 | if (err) { 43 | return reject(err); 44 | } 45 | return resolve({ 46 | privateKey : escape(dh.getPrivateKey('base64')), 47 | publicKey : escape(dh.getPublicKey('base64')), 48 | authSecret : escape(buf.toString('base64')), 49 | }); 50 | }); 51 | }); 52 | } 53 | -------------------------------------------------------------------------------- /src/fcm/server-key/index.js: -------------------------------------------------------------------------------- 1 | module.exports = [ 2 | 0x04, 3 | 0x33, 4 | 0x94, 5 | 0xf7, 6 | 0xdf, 7 | 0xa1, 8 | 0xeb, 9 | 0xb1, 10 | 0xdc, 11 | 0x03, 12 | 0xa2, 13 | 0x5e, 14 | 0x15, 15 | 0x71, 16 | 0xdb, 17 | 0x48, 18 | 0xd3, 19 | 0x2e, 20 | 0xed, 21 | 0xed, 22 | 0xb2, 23 | 0x34, 24 | 0xdb, 25 | 0xb7, 26 | 0x47, 27 | 0x3a, 28 | 0x0c, 29 | 0x8f, 30 | 0xc4, 31 | 0xcc, 32 | 0xe1, 33 | 0x6f, 34 | 0x3c, 35 | 0x8c, 36 | 0x84, 37 | 0xdf, 38 | 0xab, 39 | 0xb6, 40 | 0x66, 41 | 0x3e, 42 | 0xf2, 43 | 0x0c, 44 | 0xd4, 45 | 0x8b, 46 | 0xfe, 47 | 0xe3, 48 | 0xf9, 49 | 0x76, 50 | 0x2f, 51 | 0x14, 52 | 0x1c, 53 | 0x63, 54 | 0x08, 55 | 0x6a, 56 | 0x6f, 57 | 0x2d, 58 | 0xb1, 59 | 0x1a, 60 | 0x95, 61 | 0xb0, 62 | 0xce, 63 | 0x37, 64 | 0xc0, 65 | 0x9c, 66 | 0x6e, 67 | ]; 68 | -------------------------------------------------------------------------------- /src/gcm/android_checkin.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Chromium Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | // 5 | // Logging information for Android "checkin" events (automatic, periodic 6 | // requests made by Android devices to the server). 7 | 8 | syntax = "proto2"; 9 | 10 | option optimize_for = LITE_RUNTIME; 11 | package checkin_proto; 12 | 13 | // Build characteristics unique to the Chrome browser, and Chrome OS 14 | message ChromeBuildProto { 15 | enum Platform { 16 | PLATFORM_WIN = 1; 17 | PLATFORM_MAC = 2; 18 | PLATFORM_LINUX = 3; 19 | PLATFORM_CROS = 4; 20 | PLATFORM_IOS = 5; 21 | // Just a placeholder. Likely don't need it due to the presence of the 22 | // Android GCM on phone/tablet devices. 23 | PLATFORM_ANDROID = 6; 24 | } 25 | 26 | enum Channel { 27 | CHANNEL_STABLE = 1; 28 | CHANNEL_BETA = 2; 29 | CHANNEL_DEV = 3; 30 | CHANNEL_CANARY = 4; 31 | CHANNEL_UNKNOWN = 5; // for tip of tree or custom builds 32 | } 33 | 34 | // The platform of the device. 35 | optional Platform platform = 1; 36 | 37 | // The Chrome instance's version. 38 | optional string chrome_version = 2; 39 | 40 | // The Channel (build type) of Chrome. 41 | optional Channel channel = 3; 42 | } 43 | 44 | // Information sent by the device in a "checkin" request. 45 | message AndroidCheckinProto { 46 | // Miliseconds since the Unix epoch of the device's last successful checkin. 47 | optional int64 last_checkin_msec = 2; 48 | 49 | // The current MCC+MNC of the mobile device's current cell. 50 | optional string cell_operator = 6; 51 | 52 | // The MCC+MNC of the SIM card (different from operator if the 53 | // device is roaming, for instance). 54 | optional string sim_operator = 7; 55 | 56 | // The device's current roaming state (reported starting in eclair builds). 57 | // Currently one of "{,not}mobile-{,not}roaming", if it is present at all. 58 | optional string roaming = 8; 59 | 60 | // For devices supporting multiple user profiles (which may be 61 | // supported starting in jellybean), the ordinal number of the 62 | // profile that is checking in. This is 0 for the primary profile 63 | // (which can't be changed without wiping the device), and 1,2,3,... 64 | // for additional profiles (which can be added and deleted freely). 65 | optional int32 user_number = 9; 66 | 67 | // Class of device. Indicates the type of build proto 68 | // (IosBuildProto/ChromeBuildProto/AndroidBuildProto) 69 | // That is included in this proto 70 | optional DeviceType type = 12 [default = DEVICE_ANDROID_OS]; 71 | 72 | // For devices running MCS on Chrome, build-specific characteristics 73 | // of the browser. There are no hardware aspects (except for ChromeOS). 74 | // This will only be populated for Chrome builds/ChromeOS devices 75 | optional checkin_proto.ChromeBuildProto chrome_build = 13; 76 | 77 | // Note: Some of the Android specific optional fields were skipped to limit 78 | // the protobuf definition. 79 | // Next 14 80 | } 81 | 82 | // enum values correspond to the type of device. 83 | // Used in the AndroidCheckinProto and Device proto. 84 | enum DeviceType { 85 | // Android Device 86 | DEVICE_ANDROID_OS = 1; 87 | 88 | // Apple IOS device 89 | DEVICE_IOS_OS = 2; 90 | 91 | // Chrome browser - Not Chrome OS. No hardware records. 92 | DEVICE_CHROME_BROWSER = 3; 93 | 94 | // Chrome OS 95 | DEVICE_CHROME_OS = 4; 96 | } 97 | -------------------------------------------------------------------------------- /src/gcm/checkin.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Chromium Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | // 5 | // Request and reply to the "checkin server" devices poll every few hours. 6 | 7 | syntax = "proto2"; 8 | 9 | option optimize_for = LITE_RUNTIME; 10 | 11 | package checkin_proto; 12 | 13 | import "android_checkin.proto"; 14 | 15 | // A concrete name/value pair sent to the device's Gservices database. 16 | message GservicesSetting { 17 | required bytes name = 1; 18 | required bytes value = 2; 19 | } 20 | 21 | // Devices send this every few hours to tell us how they're doing. 22 | message AndroidCheckinRequest { 23 | // IMEI (used by GSM phones) is sent and stored as 15 decimal 24 | // digits; the 15th is a check digit. 25 | optional string imei = 1; // IMEI, reported but not logged. 26 | 27 | // MEID (used by CDMA phones) is sent and stored as 14 hexadecimal 28 | // digits (no check digit). 29 | optional string meid = 10; // MEID, reported but not logged. 30 | 31 | // MAC address (used by non-phone devices). 12 hexadecimal digits; 32 | // no separators (eg "0016E6513AC2", not "00:16:E6:51:3A:C2"). 33 | repeated string mac_addr = 9; // MAC address, reported but not logged. 34 | 35 | // An array parallel to mac_addr, describing the type of interface. 36 | // Currently accepted values: "wifi", "ethernet", "bluetooth". If 37 | // not present, "wifi" is assumed. 38 | repeated string mac_addr_type = 19; 39 | 40 | // Serial number (a manufacturer-defined unique hardware 41 | // identifier). Alphanumeric, case-insensitive. 42 | optional string serial_number = 16; 43 | 44 | // Older CDMA networks use an ESN (8 hex digits) instead of an MEID. 45 | optional string esn = 17; // ESN, reported but not logged 46 | 47 | optional int64 id = 2; // Android device ID, not logged 48 | optional int64 logging_id = 7; // Pseudonymous logging ID for Sawmill 49 | optional string digest = 3; // Digest of device provisioning, not logged. 50 | optional string locale = 6; // Current locale in standard (xx_XX) format 51 | required AndroidCheckinProto checkin = 4; 52 | 53 | // DEPRECATED, see AndroidCheckinProto.requested_group 54 | optional string desired_build = 5; 55 | 56 | // Blob of data from the Market app to be passed to Market API server 57 | optional string market_checkin = 8; 58 | 59 | // SID cookies of any google accounts stored on the phone. Not logged. 60 | repeated string account_cookie = 11; 61 | 62 | // Time zone. Not currently logged. 63 | optional string time_zone = 12; 64 | 65 | // Security token used to validate the checkin request. 66 | // Required for android IDs issued to Froyo+ devices, not for legacy IDs. 67 | optional fixed64 security_token = 13; 68 | 69 | // Version of checkin protocol. 70 | // 71 | // There are currently two versions: 72 | // 73 | // - version field missing: android IDs are assigned based on 74 | // hardware identifiers. unsecured in the sense that you can 75 | // "unregister" someone's phone by sending a registration request 76 | // with their IMEI/MEID/MAC. 77 | // 78 | // - version=2: android IDs are assigned randomly. The device is 79 | // sent a security token that must be included in all future 80 | // checkins for that android id. 81 | // 82 | // - version=3: same as version 2, but the 'fragment' field is 83 | // provided, and the device understands incremental updates to the 84 | // gservices table (ie, only returning the keys whose values have 85 | // changed.) 86 | // 87 | // (version=1 was skipped to avoid confusion with the "missing" 88 | // version field that is effectively version 1.) 89 | optional int32 version = 14; 90 | 91 | // OTA certs accepted by device (base-64 SHA-1 of cert files). Not 92 | // logged. 93 | repeated string ota_cert = 15; 94 | 95 | // Honeycomb and newer devices send configuration data with their checkin. 96 | // optional DeviceConfigurationProto device_configuration = 18; 97 | 98 | // A single CheckinTask on the device may lead to multiple checkin 99 | // requests if there is too much log data to upload in a single 100 | // request. For version 3 and up, this field will be filled in with 101 | // the number of the request, starting with 0. 102 | optional int32 fragment = 20; 103 | 104 | // For devices supporting multiple users, the name of the current 105 | // profile (they all check in independently, just as if they were 106 | // multiple physical devices). This may not be set, even if the 107 | // device is using multiuser. (checkin.user_number should be set to 108 | // the ordinal of the user.) 109 | optional string user_name = 21; 110 | 111 | // For devices supporting multiple user profiles, the serial number 112 | // for the user checking in. Not logged. May not be set, even if 113 | // the device supportes multiuser. checkin.user_number is the 114 | // ordinal of the user (0, 1, 2, ...), which may be reused if users 115 | // are deleted and re-created. user_serial_number is never reused 116 | // (unless the device is wiped). 117 | optional int32 user_serial_number = 22; 118 | 119 | // NEXT TAG: 23 120 | } 121 | 122 | // The response to the device. 123 | message AndroidCheckinResponse { 124 | required bool stats_ok = 1; // Whether statistics were recorded properly. 125 | optional int64 time_msec = 3; // Time of day from server (Java epoch). 126 | // repeated AndroidIntentProto intent = 2; 127 | 128 | // Provisioning is sent if the request included an obsolete digest. 129 | // 130 | // For version <= 2, 'digest' contains the digest that should be 131 | // sent back to the server on the next checkin, and 'setting' 132 | // contains the entire gservices table (which replaces the entire 133 | // current table on the device). 134 | // 135 | // for version >= 3, 'digest' will be absent. If 'settings_diff' 136 | // is false, then 'setting' contains the entire table, as in version 137 | // 2. If 'settings_diff' is true, then 'delete_setting' contains 138 | // the keys to delete, and 'setting' contains only keys to be added 139 | // or for which the value has changed. All other keys in the 140 | // current table should be left untouched. If 'settings_diff' is 141 | // absent, don't touch the existing gservices table. 142 | // 143 | optional string digest = 4; 144 | optional bool settings_diff = 9; 145 | repeated string delete_setting = 10; 146 | repeated GservicesSetting setting = 5; 147 | 148 | optional bool market_ok = 6; // If Market got the market_checkin data OK. 149 | 150 | optional fixed64 android_id = 7; // From the request, or newly assigned 151 | optional fixed64 security_token = 8; // The associated security token 152 | 153 | optional string version_info = 11; 154 | // NEXT TAG: 12 155 | } 156 | -------------------------------------------------------------------------------- /src/gcm/index.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | const request = require('../utils/request'); 3 | const protobuf = require('protobufjs'); 4 | const Long = require('long'); 5 | const { waitFor } = require('../utils/timeout'); 6 | const fcmKey = require('../fcm/server-key'); 7 | const { toBase64 } = require('../utils/base64'); 8 | 9 | // Hack to fix PHONE_REGISTRATION_ERROR #17 when bundled with webpack 10 | // https://github.com/dcodeIO/protobuf.js#browserify-integration 11 | protobuf.util.Long = Long 12 | protobuf.configure() 13 | 14 | const serverKey = toBase64(Buffer.from(fcmKey)); 15 | 16 | const REGISTER_URL = 'https://android.clients.google.com/c2dm/register3'; 17 | const CHECKIN_URL = 'https://android.clients.google.com/checkin'; 18 | 19 | let root; 20 | let AndroidCheckinResponse; 21 | 22 | module.exports = { 23 | register, 24 | checkIn, 25 | }; 26 | 27 | async function register(appId) { 28 | const options = await checkIn(); 29 | const credentials = await doRegister(options, appId); 30 | return credentials; 31 | } 32 | 33 | async function checkIn(androidId, securityToken) { 34 | await loadProtoFile(); 35 | const buffer = getCheckinRequest(androidId, securityToken); 36 | const body = await request({ 37 | url : CHECKIN_URL, 38 | method : 'POST', 39 | headers : { 40 | 'Content-Type' : 'application/x-protobuf', 41 | }, 42 | body : buffer, 43 | encoding : null, 44 | }); 45 | const message = AndroidCheckinResponse.decode(body); 46 | const object = AndroidCheckinResponse.toObject(message, { 47 | longs : String, 48 | enums : String, 49 | bytes : String, 50 | }); 51 | return object; 52 | } 53 | 54 | async function doRegister({ androidId, securityToken }, appId) { 55 | const body = { 56 | app : 'org.chromium.linux', 57 | 'X-subtype' : appId, 58 | device : androidId, 59 | sender : serverKey, 60 | }; 61 | const response = await postRegister({ androidId, securityToken, body }); 62 | const token = response.split('=')[1]; 63 | return { 64 | token, 65 | androidId, 66 | securityToken, 67 | appId, 68 | }; 69 | } 70 | 71 | async function postRegister({ androidId, securityToken, body, retry = 0 }) { 72 | const response = await request({ 73 | url : REGISTER_URL, 74 | method : 'POST', 75 | headers : { 76 | Authorization : `AidLogin ${androidId}:${securityToken}`, 77 | 'Content-Type' : 'application/x-www-form-urlencoded', 78 | }, 79 | form : body, 80 | }); 81 | if (response.includes('Error')) { 82 | console.warn(`Register request has failed with ${response}`); 83 | if (retry >= 5) { 84 | throw new Error('GCM register has failed'); 85 | } 86 | console.warn(`Retry... ${retry + 1}`); 87 | await waitFor(1000); 88 | return postRegister({ androidId, securityToken, body, retry : retry + 1 }); 89 | } 90 | return response; 91 | } 92 | 93 | async function loadProtoFile() { 94 | if (root) { 95 | return; 96 | } 97 | root = await protobuf.load(path.join(__dirname, 'checkin.proto')); 98 | return root; 99 | } 100 | 101 | function getCheckinRequest(androidId, securityToken) { 102 | const AndroidCheckinRequest = root.lookupType( 103 | 'checkin_proto.AndroidCheckinRequest' 104 | ); 105 | AndroidCheckinResponse = root.lookupType( 106 | 'checkin_proto.AndroidCheckinResponse' 107 | ); 108 | const payload = { 109 | userSerialNumber : 0, 110 | checkin : { 111 | type : 3, 112 | chromeBuild : { 113 | platform : 2, 114 | chromeVersion : '63.0.3234.0', 115 | channel : 1, 116 | }, 117 | }, 118 | version : 3, 119 | id : androidId ? Long.fromString(androidId) : undefined, 120 | securityToken : securityToken 121 | ? Long.fromString(securityToken, true) 122 | : undefined, 123 | }; 124 | const errMsg = AndroidCheckinRequest.verify(payload); 125 | if (errMsg) throw Error(errMsg); 126 | const message = AndroidCheckinRequest.create(payload); 127 | return AndroidCheckinRequest.encode(message).finish(); 128 | } 129 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | const register = require('./register'); 2 | const Client = require('./client.js'); 3 | 4 | module.exports = { 5 | listen, 6 | register, 7 | }; 8 | 9 | async function listen(credentials, notificationCallback) { 10 | if (!credentials) { 11 | throw new Error('Missing credentials'); 12 | } 13 | if (!credentials.gcm) { 14 | throw new Error('Missing gcm object in credentials'); 15 | } 16 | if (!credentials.gcm.androidId) { 17 | throw new Error('Missing gcm.androidId in credentials'); 18 | } 19 | if (!credentials.gcm.securityToken) { 20 | throw new Error('Missing gcm.securityToken in credentials'); 21 | } 22 | if (!credentials.keys) { 23 | throw new Error('Missing keys object in credentials'); 24 | } 25 | if (!credentials.keys.privateKey) { 26 | throw new Error('Missing keys.privateKey in credentials'); 27 | } 28 | if (!credentials.keys.authSecret) { 29 | throw new Error('Missing keys.authSecret in credentials'); 30 | } 31 | 32 | const client = new Client(credentials, credentials.persistentIds); 33 | client.on('ON_NOTIFICATION_RECEIVED', notificationCallback); 34 | client.connect(); 35 | return client; 36 | } 37 | -------------------------------------------------------------------------------- /src/mcs.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Chromium Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | // 5 | // MCS protocol for communication between Chrome client and Mobile Connection 6 | // Server . 7 | 8 | syntax = "proto2"; 9 | 10 | option optimize_for = LITE_RUNTIME; 11 | 12 | package mcs_proto; 13 | 14 | /* 15 | Common fields/comments: 16 | 17 | stream_id: no longer sent by server, each side keeps a counter 18 | last_stream_id_received: sent only if a packet was received since last time 19 | a last_stream was sent 20 | status: new bitmask including the 'idle' as bit 0. 21 | 22 | */ 23 | 24 | /** 25 | TAG: 0 26 | */ 27 | message HeartbeatPing { 28 | optional int32 stream_id = 1; 29 | optional int32 last_stream_id_received = 2; 30 | optional int64 status = 3; 31 | } 32 | 33 | /** 34 | TAG: 1 35 | */ 36 | message HeartbeatAck { 37 | optional int32 stream_id = 1; 38 | optional int32 last_stream_id_received = 2; 39 | optional int64 status = 3; 40 | } 41 | 42 | message ErrorInfo { 43 | required int32 code = 1; 44 | optional string message = 2; 45 | optional string type = 3; 46 | optional Extension extension = 4; 47 | } 48 | 49 | // MobileSettings class. 50 | // "u:f", "u:b", "u:s" - multi user devices reporting foreground, background 51 | // and stopped users. 52 | // hbping: heatbeat ping interval 53 | // rmq2v: include explicit stream IDs 54 | 55 | message Setting { 56 | required string name = 1; 57 | required string value = 2; 58 | } 59 | 60 | message HeartbeatStat { 61 | required string ip = 1; 62 | required bool timeout = 2; 63 | required int32 interval_ms = 3; 64 | } 65 | 66 | message HeartbeatConfig { 67 | optional bool upload_stat = 1; 68 | optional string ip = 2; 69 | optional int32 interval_ms = 3; 70 | } 71 | 72 | // ClientEvents are used to inform the server of failed and successful 73 | // connections. 74 | message ClientEvent { 75 | enum Type { 76 | UNKNOWN = 0; 77 | // Count of discarded events if the buffer filled up and was trimmed. 78 | DISCARDED_EVENTS = 1; 79 | // Failed connection event: the connection failed to be established or we 80 | // had a login error. 81 | FAILED_CONNECTION = 2; 82 | // Successful connection event: information about the last successful 83 | // connection, including the time at which it was established. 84 | SUCCESSFUL_CONNECTION = 3; 85 | } 86 | 87 | // Common fields [1-99] 88 | optional Type type = 1; 89 | 90 | // Fields for DISCARDED_EVENTS messages [100-199] 91 | optional uint32 number_discarded_events = 100; 92 | 93 | // Fields for FAILED_CONNECTION and SUCCESSFUL_CONNECTION messages [200-299] 94 | // Network type is a value in net::NetworkChangeNotifier::ConnectionType. 95 | optional int32 network_type = 200; 96 | // Reserved for network_port. 97 | reserved 201; 98 | optional uint64 time_connection_started_ms = 202; 99 | optional uint64 time_connection_ended_ms = 203; 100 | // Error code should be a net::Error value. 101 | optional int32 error_code = 204; 102 | 103 | // Fields for SUCCESSFUL_CONNECTION messages [300-399] 104 | optional uint64 time_connection_established_ms = 300; 105 | } 106 | 107 | /** 108 | TAG: 2 109 | */ 110 | message LoginRequest { 111 | enum AuthService { 112 | ANDROID_ID = 2; 113 | } 114 | required string id = 1; // Must be present ( proto required ), may be empty 115 | // string. 116 | // mcs.android.com. 117 | required string domain = 2; 118 | // Decimal android ID 119 | required string user = 3; 120 | 121 | required string resource = 4; 122 | 123 | // Secret 124 | required string auth_token = 5; 125 | 126 | // Format is: android-HEX_DEVICE_ID 127 | // The user is the decimal value. 128 | optional string device_id = 6; 129 | 130 | // RMQ1 - no longer used 131 | optional int64 last_rmq_id = 7; 132 | 133 | repeated Setting setting = 8; 134 | //optional int32 compress = 9; 135 | repeated string received_persistent_id = 10; 136 | 137 | // Replaced by "rmq2v" setting 138 | // optional bool include_stream_ids = 11; 139 | 140 | optional bool adaptive_heartbeat = 12; 141 | optional HeartbeatStat heartbeat_stat = 13; 142 | // Must be true. 143 | optional bool use_rmq2 = 14; 144 | optional int64 account_id = 15; 145 | 146 | // ANDROID_ID = 2 147 | optional AuthService auth_service = 16; 148 | 149 | optional int32 network_type = 17; 150 | optional int64 status = 18; 151 | 152 | // 19, 20, and 21 are not currently populated by Chrome. 153 | reserved 19, 20, 21; 154 | 155 | // Events recorded on the client after the last successful connection. 156 | repeated ClientEvent client_event = 22; 157 | } 158 | 159 | /** 160 | * TAG: 3 161 | */ 162 | message LoginResponse { 163 | required string id = 1; 164 | // Not used. 165 | optional string jid = 2; 166 | // Null if login was ok. 167 | optional ErrorInfo error = 3; 168 | repeated Setting setting = 4; 169 | optional int32 stream_id = 5; 170 | // Should be "1" 171 | optional int32 last_stream_id_received = 6; 172 | optional HeartbeatConfig heartbeat_config = 7; 173 | // used by the client to synchronize with the server timestamp. 174 | optional int64 server_timestamp = 8; 175 | } 176 | 177 | message StreamErrorStanza { 178 | required string type = 1; 179 | optional string text = 2; 180 | } 181 | 182 | /** 183 | * TAG: 4 184 | */ 185 | message Close { 186 | } 187 | 188 | message Extension { 189 | // 12: SelectiveAck 190 | // 13: StreamAck 191 | required int32 id = 1; 192 | required bytes data = 2; 193 | } 194 | 195 | /** 196 | * TAG: 7 197 | * IqRequest must contain a single extension. IqResponse may contain 0 or 1 198 | * extensions. 199 | */ 200 | message IqStanza { 201 | enum IqType { 202 | GET = 0; 203 | SET = 1; 204 | RESULT = 2; 205 | IQ_ERROR = 3; 206 | } 207 | 208 | optional int64 rmq_id = 1; 209 | required IqType type = 2; 210 | required string id = 3; 211 | optional string from = 4; 212 | optional string to = 5; 213 | optional ErrorInfo error = 6; 214 | 215 | // Only field used in the 38+ protocol (besides common last_stream_id_received, status, rmq_id) 216 | optional Extension extension = 7; 217 | 218 | optional string persistent_id = 8; 219 | optional int32 stream_id = 9; 220 | optional int32 last_stream_id_received = 10; 221 | optional int64 account_id = 11; 222 | optional int64 status = 12; 223 | } 224 | 225 | message AppData { 226 | required string key = 1; 227 | required string value = 2; 228 | } 229 | 230 | /** 231 | * TAG: 8 232 | */ 233 | message DataMessageStanza { 234 | // Not used. 235 | // optional int64 rmq_id = 1; 236 | 237 | // This is the message ID, set by client, DMP.9 (message_id) 238 | optional string id = 2; 239 | 240 | // Project ID of the sender, DMP.1 241 | required string from = 3; 242 | 243 | // Part of DMRequest - also the key in DataMessageProto. 244 | optional string to = 4; 245 | 246 | // Package name. DMP.2 247 | required string category = 5; 248 | 249 | // The collapsed key, DMP.3 250 | optional string token = 6; 251 | 252 | // User data + GOOGLE. prefixed special entries, DMP.4 253 | repeated AppData app_data = 7; 254 | 255 | // Not used. 256 | optional bool from_trusted_server = 8; 257 | 258 | // Part of the ACK protocol, returned in DataMessageResponse on server side. 259 | // It's part of the key of DMP. 260 | optional string persistent_id = 9; 261 | 262 | // In-stream ack. Increments on each message sent - a bit redundant 263 | // Not used in DMP/DMR. 264 | optional int32 stream_id = 10; 265 | optional int32 last_stream_id_received = 11; 266 | 267 | // Not used. 268 | // optional string permission = 12; 269 | 270 | // Sent by the device shortly after registration. 271 | optional string reg_id = 13; 272 | 273 | // Not used. 274 | // optional string pkg_signature = 14; 275 | // Not used. 276 | // optional string client_id = 15; 277 | 278 | // serial number of the target user, DMP.8 279 | // It is the 'serial number' according to user manager. 280 | optional int64 device_user_id = 16; 281 | 282 | // Time to live, in seconds. 283 | optional int32 ttl = 17; 284 | // Timestamp ( according to client ) when message was sent by app, in seconds 285 | optional int64 sent = 18; 286 | 287 | // How long has the message been queued before the flush, in seconds. 288 | // This is needed to account for the time difference between server and 289 | // client: server should adjust 'sent' based on its 'receive' time. 290 | optional int32 queued = 19; 291 | 292 | optional int64 status = 20; 293 | 294 | // Optional field containing the binary payload of the message. 295 | optional bytes raw_data = 21; 296 | 297 | // Not used. 298 | // The maximum delay of the message, in seconds. 299 | // optional int32 max_delay = 22; 300 | 301 | // Not used. 302 | // How long the message was delayed before it was sent, in seconds. 303 | // optional int32 actual_delay = 23; 304 | 305 | // If set the server requests immediate ack. Used for important messages and 306 | // for testing. 307 | optional bool immediate_ack = 24; 308 | 309 | // Not used. 310 | // Enables message receipts from MCS/GCM back to CCS clients 311 | // optional bool delivery_receipt_requested = 25; 312 | } 313 | 314 | /** 315 | Included in IQ with ID 13, sent from client or server after 10 unconfirmed 316 | messages. 317 | */ 318 | message StreamAck { 319 | // No last_streamid_received required. This is included within an IqStanza, 320 | // which includes the last_stream_id_received. 321 | } 322 | 323 | /** 324 | Included in IQ sent after LoginResponse from server with ID 12. 325 | */ 326 | message SelectiveAck { 327 | repeated string id = 1; 328 | } 329 | -------------------------------------------------------------------------------- /src/parser.js: -------------------------------------------------------------------------------- 1 | const EventEmitter = require('events'); 2 | const path = require('path'); 3 | const { load, BufferReader } = require('protobufjs'); 4 | const { 5 | MCS_VERSION_TAG_AND_SIZE, 6 | MCS_TAG_AND_SIZE, 7 | MCS_SIZE, 8 | MCS_PROTO_BYTES, 9 | 10 | kVersionPacketLen, 11 | kTagPacketLen, 12 | kSizePacketLenMin, 13 | kMCSVersion, 14 | 15 | kHeartbeatPingTag, 16 | kHeartbeatAckTag, 17 | kLoginRequestTag, 18 | kLoginResponseTag, 19 | kCloseTag, 20 | kIqStanzaTag, 21 | kDataMessageStanzaTag, 22 | kStreamErrorStanzaTag, 23 | } = require('./constants'); 24 | 25 | const DEBUG = () => {}; 26 | // uncomment the line below to output debug messages 27 | // const DEBUG = console.log; 28 | 29 | let proto = null; 30 | 31 | // Parser parses wire data from gcm. 32 | // This takes the role of WaitForData in the chromium connection handler. 33 | // 34 | // The main differences from the chromium implementation are: 35 | // - Did not use a max packet length (kDefaultDataPacketLimit), instead we just 36 | // buffer data in this._data 37 | // - Error handling around protobufs 38 | // - Setting timeouts while waiting for data 39 | // 40 | // ref: https://cs.chromium.org/chromium/src/google_apis/gcm/engine/connection_handler_impl.cc?rcl=dc7c41bc0ee5fee0ed269495dde6b8c40df43e40&l=178 41 | module.exports = class Parser extends EventEmitter { 42 | static async init() { 43 | if (proto) { 44 | return; 45 | } 46 | proto = await load(path.resolve(__dirname, 'mcs.proto')); 47 | } 48 | 49 | constructor(socket) { 50 | super(); 51 | this._socket = socket; 52 | this._state = MCS_VERSION_TAG_AND_SIZE; 53 | this._data = Buffer.alloc(0); 54 | this._sizePacketSoFar = 0; 55 | this._messageTag = 0; 56 | this._messageSize = 0; 57 | this._handshakeComplete = false; 58 | this._isWaitingForData = true; 59 | this._onData = this._onData.bind(this); 60 | this._socket.on('data', this._onData); 61 | } 62 | 63 | destroy() { 64 | this._isWaitingForData = false; 65 | this._socket.removeListener('data', this._onData); 66 | } 67 | 68 | _emitError(error) { 69 | this.destroy(); 70 | this.emit('error', error); 71 | } 72 | 73 | _onData(buffer) { 74 | DEBUG(`Got data: ${buffer.length}`); 75 | this._data = Buffer.concat([this._data, buffer]); 76 | if (this._isWaitingForData) { 77 | this._isWaitingForData = false; 78 | this._waitForData(); 79 | } 80 | } 81 | 82 | _waitForData() { 83 | DEBUG(`waitForData state: ${this._state}`); 84 | 85 | let minBytesNeeded = 0; 86 | 87 | switch (this._state) { 88 | case MCS_VERSION_TAG_AND_SIZE: 89 | minBytesNeeded = kVersionPacketLen + kTagPacketLen + kSizePacketLenMin; 90 | break; 91 | case MCS_TAG_AND_SIZE: 92 | minBytesNeeded = kTagPacketLen + kSizePacketLenMin; 93 | break; 94 | case MCS_SIZE: 95 | minBytesNeeded = this._sizePacketSoFar + 1; 96 | break; 97 | case MCS_PROTO_BYTES: 98 | minBytesNeeded = this._messageSize; 99 | break; 100 | default: 101 | this._emitError(new Error(`Unexpected state: ${this._state}`)); 102 | return; 103 | } 104 | 105 | if (this._data.length < minBytesNeeded) { 106 | // TODO(ibash) set a timeout and check for socket disconnect 107 | DEBUG( 108 | `Socket read finished prematurely. Waiting for ${minBytesNeeded - 109 | this._data.length} more bytes` 110 | ); 111 | this._isWaitingForData = true; 112 | return; 113 | } 114 | 115 | DEBUG(`Processing MCS data: state == ${this._state}`); 116 | 117 | switch (this._state) { 118 | case MCS_VERSION_TAG_AND_SIZE: 119 | this._onGotVersion(); 120 | break; 121 | case MCS_TAG_AND_SIZE: 122 | this._onGotMessageTag(); 123 | break; 124 | case MCS_SIZE: 125 | this._onGotMessageSize(); 126 | break; 127 | case MCS_PROTO_BYTES: 128 | this._onGotMessageBytes(); 129 | break; 130 | default: 131 | this._emitError(new Error(`Unexpected state: ${this._state}`)); 132 | return; 133 | } 134 | } 135 | 136 | _onGotVersion() { 137 | const version = this._data.readInt8(0); 138 | this._data = this._data.slice(1); 139 | DEBUG(`VERSION IS ${version}`); 140 | 141 | if (version < kMCSVersion && version !== 38) { 142 | this._emitError(new Error(`Got wrong version: ${version}`)); 143 | return; 144 | } 145 | 146 | // Process the LoginResponse message tag. 147 | this._onGotMessageTag(); 148 | } 149 | 150 | _onGotMessageTag() { 151 | this._messageTag = this._data.readInt8(0); 152 | this._data = this._data.slice(1); 153 | DEBUG(`RECEIVED PROTO OF TYPE ${this._messageTag}`); 154 | 155 | this._onGotMessageSize(); 156 | } 157 | 158 | _onGotMessageSize() { 159 | let incompleteSizePacket = false; 160 | const reader = new BufferReader(this._data); 161 | 162 | try { 163 | this._messageSize = reader.int32(); 164 | } catch (error) { 165 | if (error.message.startsWith('index out of range:')) { 166 | incompleteSizePacket = true; 167 | } else { 168 | this._emitError(error); 169 | return; 170 | } 171 | } 172 | 173 | // TODO(ibash) in chromium code there is an extra check here of: 174 | // if prev_byte_count >= kSizePacketLenMax then something else went wrong 175 | // NOTE(ibash) I could only test this case by manually cutting the buffer 176 | // above to be mid-packet like: new BufferReader(this._data.slice(0, 1)) 177 | if (incompleteSizePacket) { 178 | this._sizePacketSoFar = reader.pos; 179 | this._state = MCS_SIZE; 180 | this._waitForData(); 181 | return; 182 | } 183 | 184 | this._data = this._data.slice(reader.pos); 185 | 186 | DEBUG(`Proto size: ${this._messageSize}`); 187 | this._sizePacketSoFar = 0; 188 | 189 | if (this._messageSize > 0) { 190 | this._state = MCS_PROTO_BYTES; 191 | this._waitForData(); 192 | } else { 193 | this._onGotMessageBytes(); 194 | } 195 | } 196 | 197 | _onGotMessageBytes() { 198 | const protobuf = this._buildProtobufFromTag(this._messageTag); 199 | if (!protobuf) { 200 | this._emitError(new Error('Unknown tag')); 201 | return; 202 | } 203 | 204 | // Messages with no content are valid; just use the default protobuf for 205 | // that tag. 206 | if (this._messageSize === 0) { 207 | this.emit('message', {tag: this._messageTag, object: {}}); 208 | this._getNextMessage(); 209 | return; 210 | } 211 | 212 | if (this._data.length < this._messageSize) { 213 | // Continue reading data. 214 | DEBUG( 215 | `Continuing data read. Buffer size is ${this._data.length}, expecting ${ 216 | this._messageSize 217 | }` 218 | ); 219 | this._state = MCS_PROTO_BYTES; 220 | this._waitForData(); 221 | return; 222 | } 223 | 224 | const buffer = this._data.slice(0, this._messageSize); 225 | this._data = this._data.slice(this._messageSize); 226 | const message = protobuf.decode(buffer); 227 | const object = protobuf.toObject(message, { 228 | longs : String, 229 | enums : String, 230 | bytes : Buffer, 231 | }); 232 | 233 | this.emit('message', {tag: this._messageTag, object: object}); 234 | 235 | if (this._messageTag === kLoginResponseTag) { 236 | if (this._handshakeComplete) { 237 | console.error('Unexpected login response'); 238 | } else { 239 | this._handshakeComplete = true; 240 | DEBUG('GCM Handshake complete.'); 241 | } 242 | } 243 | 244 | this._getNextMessage(); 245 | } 246 | 247 | _getNextMessage() { 248 | this._messageTag = 0; 249 | this._messageSize = 0; 250 | this._state = MCS_TAG_AND_SIZE; 251 | this._waitForData(); 252 | } 253 | 254 | _buildProtobufFromTag(tag) { 255 | switch (tag) { 256 | case kHeartbeatPingTag: 257 | return proto.lookupType('mcs_proto.HeartbeatPing'); 258 | case kHeartbeatAckTag: 259 | return proto.lookupType('mcs_proto.HeartbeatAck'); 260 | case kLoginRequestTag: 261 | return proto.lookupType('mcs_proto.LoginRequest'); 262 | case kLoginResponseTag: 263 | return proto.lookupType('mcs_proto.LoginResponse'); 264 | case kCloseTag: 265 | return proto.lookupType('mcs_proto.Close'); 266 | case kIqStanzaTag: 267 | return proto.lookupType('mcs_proto.IqStanza'); 268 | case kDataMessageStanzaTag: 269 | return proto.lookupType('mcs_proto.DataMessageStanza'); 270 | case kStreamErrorStanzaTag: 271 | return proto.lookupType('mcs_proto.StreamErrorStanza'); 272 | default: 273 | return null; 274 | } 275 | } 276 | }; 277 | -------------------------------------------------------------------------------- /src/register/index.js: -------------------------------------------------------------------------------- 1 | const uuidv4 = require('uuid/v4'); 2 | const { register: registerGCM } = require('../gcm'); 3 | const registerFCM = require('../fcm'); 4 | 5 | module.exports = register; 6 | 7 | async function register(senderId) { 8 | // Should be unique by app - One GCM registration/token by app/appId 9 | const appId = `wp:receiver.push.com#${uuidv4()}`; 10 | const subscription = await registerGCM(appId); 11 | const result = await registerFCM({ 12 | token : subscription.token, 13 | senderId, 14 | appId, 15 | }); 16 | // Need to be saved by the client 17 | return Object.assign({}, result, { gcm : subscription }); 18 | } 19 | -------------------------------------------------------------------------------- /src/utils/base64/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | escape, 3 | toBase64, 4 | }; 5 | 6 | function escape(string) { 7 | return string 8 | .replace(/=/g, '') 9 | .replace(/\+/g, '-') 10 | .replace(/\//g, '_'); 11 | } 12 | 13 | function toBase64(input) { 14 | return escape(input.toString('base64')); 15 | } 16 | -------------------------------------------------------------------------------- /src/utils/decrypt/index.js: -------------------------------------------------------------------------------- 1 | const crypto = require('crypto'); 2 | const ece = require('http_ece'); 3 | 4 | module.exports = decrypt; 5 | 6 | // https://tools.ietf.org/html/draft-ietf-webpush-encryption-03 7 | function decrypt(object, keys) { 8 | const cryptoKey = object.appData.find(item => item.key === 'crypto-key'); 9 | if (!cryptoKey) throw new Error('crypto-key is missing'); 10 | const salt = object.appData.find(item => item.key === 'encryption'); 11 | if (!salt) throw new Error('salt is missing'); 12 | const dh = crypto.createECDH('prime256v1'); 13 | dh.setPrivateKey(keys.privateKey, 'base64'); 14 | const params = { 15 | version : 'aesgcm', 16 | authSecret : keys.authSecret, 17 | dh : cryptoKey.value.slice(3), 18 | privateKey : dh, 19 | salt : salt.value.slice(5), 20 | }; 21 | const decrypted = ece.decrypt(object.rawData, params); 22 | return JSON.parse(decrypted); 23 | } 24 | -------------------------------------------------------------------------------- /src/utils/request/index.js: -------------------------------------------------------------------------------- 1 | const request = require('request-promise'); 2 | const { waitFor } = require('../timeout'); 3 | 4 | // In seconds 5 | const MAX_RETRY_TIMEOUT = 15; 6 | // Step in seconds 7 | const RETRY_STEP = 5; 8 | 9 | module.exports = requestWithRety; 10 | 11 | function requestWithRety(...args) { 12 | return retry(0, ...args); 13 | } 14 | 15 | async function retry(retryCount = 0, ...args) { 16 | try { 17 | const result = await request(...args); 18 | return result; 19 | } catch (e) { 20 | const timeout = Math.min(retryCount * RETRY_STEP, MAX_RETRY_TIMEOUT); 21 | console.error(`Request failed : ${e.message}`); 22 | console.error(`Retrying in ${timeout} seconds`); 23 | await waitFor(timeout * 1000); 24 | const result = await retry(retryCount + 1, ...args); 25 | return result; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/utils/timeout/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | waitFor, 3 | }; 4 | 5 | function waitFor(timeout) { 6 | return new Promise(resolve => setTimeout(resolve, timeout)); 7 | } 8 | -------------------------------------------------------------------------------- /test/4kb.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | 'iVBORw0KGgoAAAANSUhEUgAAAAwAAAACCAYAAABsfz2XAAAMFGlDQ1BJQ0MgUHJvZmlsZQAASImVVwdUk8kWnr+kEBJaINIJvQnSq0DoIAhIBxshCRBKgISgYkcXFVy7WFBUdAVE0bUAshZE7CyCvT8QUVlZFws2VN6kgK6vnXfPmX++3Ln3zncnd+bMAKBsx87Ly0ZVAMgRFAijg/2YiUnJTFIPwIAe0AA6QIvNEeX5RkWFAyij/d/l3S2ASPrrNpJY/zr+X0WVyxNxAECiIE7lijg5EB8FANfk5AkLACC0Q73xrII8CR6EWF0ICQJAxCU4XYY1JThVhsdLbWKj/SFmAUCmstnCdACUJLyZhZx0GEdJwtFOwOULIN4GsTcng82F+AHE43NyciFWJkNskfpdnPS/xUwdi8lmp49hWS5SIQfwRXnZ7Dn/53L8b8nJFo/OYQQbNUMYEi3JGa5bTVZumARTIT4hSI2IhFgN4ot8rtRegu9liEPi5PYDHJE/XDPAAAAFXHZAGMS6EDPEWXG+cuzAFkp9oT0awS8IjZXjVGFutDw+WijIjgiXx1mewQsdxZU8UWDMqE0aPygUYlhp6NGijNgEGU+0rZAfHwGxEsSdoqyYMLnvo6IM/4hRG6E4WsLZBOK3acKgaJkNppkjGs0Ls+WwpXPBWsBYBRmxITJfLJEnSgwf5cDlBQTKOGBcniBOzg2D1eUXLfctycuOkttjlbzs4GjZOmOHRIUxo77XCmCBydYBe5zJnhQln+tdXkFUrIwbjoJw4A8CABOIYUsFuSAT8DsGGgfgL9lIEGADIUgHPGAj14x6JEhHBPAbA4rAnxDxgGjMz086ygOFUP9lTCv72oA06Wih1CMLPIU4B9fGvXFPPBx+WbA54G64+6gfU3l0VmIgMYAYQgwiWo7x4EDW2bAJAf/f6MJgz4PZSbgIRnP4Fo/wlNBFeEy4Segm3AXx4Ik0itxqJr9Y+ANzJpgMumG0IHl2qd9nh5tB1s64H+4F+UPuOAPXBja4E8zEF/eBuTlD7fcMxWPcvq3lj/NJWH+fj1yvZKXkLGeROvbP+I9Z/RjF/7s14sI+7EdLbDl2BLuAncEuYSewRsDETmNNWDt2UoLHKuGJtBJGZ4uWcsuCcfijNnZ1dv12n3+Ymy2fX7JeogLe7ALJZvDPzZsj5KdnFDB94WnMY4YKOLbjmQ529q4ASM522dHxhiE9sxHG5W+6/BYA3EuhMv2bjm0MwPGnANDffdMZv4blvgaAk50csbBQppMcx4AAKEAZ7gotoA+MgQXMxwG4AE/AAoFgEogEsSAJzIArngFyIOdZYB5YDEpAGVgDNoKtYAfYDWrAAXAYNIIT4Aw4D66ATnAT3Id10QdegEHwDgwjCEJCaAgd0UIMEFPEGnFA3BBvJBAJR6KRJCQFSUcEiBiZhyxBypB1yFZkF1KL/IocR84gl5Au5C7Sg/Qjr5FPKIZSUXVUDzVDJ6BuqC8ahsai09F0NB8tQpeiq9DNaBW6H21Az6BX0JtoN/oCHcIApogxMEPMBnPD/LFILBlLw4TYAqwUK8eqsHqsGf7P17FubAD7iBNxOs7EbWBthuBxOAfPxxfgK/GteA3egLfh1/EefBD/SqARdAnWBA9CKCGRkE6YRSghlBP2Eo4RzsF900d4RyQSGURzoivcl0nETOJc4kriduJBYguxi9hLHCKRSFoka5IXKZLEJhWQSkhbSPtJp0nXSH2kD2RFsgHZgRxETiYLyMXkcvI+8inyNfIz8rCCioKpgodCpAJXYY7CaoU9Cs0KVxX6FIYpqhRzihcllpJJWUzZTKmnnKM8oLxRVFQ0UnRXnKLIV1ykuFnxkOJFxR7Fj1Q1qhXVnzqNKqauolZTW6h3qW9oNJoZjUVLphXQVtFqaWdpj2gflOhKtkqhSlylhUoVSg1K15ReKisomyr7Ks9QLlIuVz6ifFV5QEVBxUzFX4WtskClQuW4ym2VIVW6qr1qpGqO6krVfaqXVJ+rkdTM1ALVuGpL1XarnVXrpWN0Y7o/nUNfQt9DP0fvUyeqm6uHqmeql6kfUO9QH9RQ03DSiNeYrVGhcVKjm4ExzBihjGzGasZhxi3Gp3F643zH8catGFc/7tq495o6mixNnmap5kHNm5qftJhagVpZWmu1GrUeauPaVtpTtGdpV2qf0x7QUdfx1OHolOoc1rmni+pa6UbrztXdrduuO6Snrxesl6e3Re+s3oA+Q5+ln6m/Qf+Ufr8B3cDbgG+wweC0wR9MDaYvM5u5mdnGHDTUNQwxFBvuMuwwHDYyN4ozKjY6aPTQmGLsZpxmvMG41XjQxMBkssk8kzqTe6YKpm6mGaabTC+YvjczN0swW2bWaPbcXNM81LzIvM78gQXNwsci36LK4oYl0dLNMstyu2WnFWrlbJVhVWF11Rq1drHmW2+37hpPGO8+XjC+avxtG6qNr02hTZ1Njy3DNty22LbR9uUEkwnJE9ZOuDDhq52zXbbdHrv79mr2k+yL7ZvtXztYOXAcKhxuONIcgxwXOjY5vnKyduI5VTrdcaY7T3Ze5tzq/MXF1UXoUu/S72rimuK6zfW2m7pblNtKt4vuBHc/94XuJ9w/erh4FHgc9vjL08Yzy3Of5/OJ5hN5E/dM7PUy8mJ77fLq9mZ6p3jv9O72MfRh+1T5PGYZs7isvaxnvpa+mb77fV/62fkJ/Y75vff38J/v3xKABQQHlAZ0BKoFxgVuDXwUZBSUHlQXNBjsHDw3uCWEEBIWsjbkdqheKCe0NnRwkuuk+ZPawqhhMWFbwx6HW4ULw5sno5MnTV4/+UGEaYQgojESRIZGro98GGUelR/12xTilKgpFVOeRttHz4u+EEOPmRmzL+ZdrF/s6tj7cRZx4rjWeOX4afG18e8TAhLWJXQnTkicn3glSTuJn9SUTEqOT96bPDQ1cOrGqX3TnKeVTLs13Xz67OmXZmjPyJ5xcqbyTPbMIymElISUfSmf2ZHsKvZQamjqttRBjj9nE+cFl8XdwO3nefHW8Z6leaWtS3ue7pW+Pr0/wyejPGOA78/fyn+VGZK5I/N9VmRWddZIdkL2wRxyTkrOcYGaIEvQlqufOzu3K886rySvO98jf2P+oDBMuFeEiKaLmgrU4TWnXWwh/kncU+hdWFH4YVb8rCOzVWcLZrfPsZqzYs6zoqCiX+biczlzW+cZzls8r2e+7/xdC5AFqQtaFxovXLqwb1HwoprFlMVZi38vtiteV/x2ScKS5qV6Sxct7f0p+Ke6EqUSYcntZZ7LdizHl/OXd6xwXLFlxddSbunlMruy8rLPKzkrL/9s//Pmn0dWpa3qWO2yunINcY1gza21Pmtr1qmuK1rXu37y+oYNzA2lG95unLnxUrlT+Y5NlE3iTd2bwzc3bTHZsmbL560ZW29W+FUc3Ka7bcW299u5269Vsirrd+jtKNvxaSd/551dwbsaqsyqyncTdxfufronfs+FX9x+qd2rvbds75dqQXV3TXRNW61rbe0+3X2r69A6cV3//mn7Ow8EHGiqt6nfdZBxsOwQOCQ+9MevKb/eOhx2uPWI25H6o6ZHtx2jHyttQBrmNAw2ZjR2NyU1dR2fdLy12bP52G+2v1WfMDxRcVLj5OpTlFNLT42cLjo91JLXMnAm/Uxv68zW+2cTz95om9LWcS7s3MXzQefPXvC9cPqi18UTlzwuHb/sdrnxisuVhnbn9mO/O/9+rMOlo+Gq69WmTvfO5q6JXaeu+Vw7cz3g+vkboTeu3Iy42XUr7tad29Nud9/h3nl+N/vuq3uF94bvL3pAeFD6UOVh+SPdR1X/sPzHwW6X7pM9AT3tj2Me3+/l9L54InryuW/pU9rT8mcGz2qfOzw/0R/U3/nH1D/6XuS9GB4o+'; 3 | -------------------------------------------------------------------------------- /test/keys.template.js: -------------------------------------------------------------------------------- 1 | // Set a sender id and server key and save this under test/keys.js 2 | module.exports = { 3 | SENDER_ID : 'Your sender id here', 4 | SERVER_KEY : 'Your server key here', 5 | }; 6 | -------------------------------------------------------------------------------- /test/notification.test.js: -------------------------------------------------------------------------------- 1 | const request = require('request-promise'); 2 | const { SENDER_ID, SERVER_KEY } = require('./keys'); 3 | const { register, listen } = require('../src/index'); 4 | 5 | const NOTIFICATIONS = { 6 | SIMPLE : { title : 'Hello world ', body : 'Test' }, 7 | LARGE : { title : 'Hello world ', body : require('./4kb') }, 8 | }; 9 | 10 | let credentials; 11 | let client; 12 | describe('Parser', function() { 13 | beforeEach(async function() { 14 | credentials = await register(SENDER_ID); 15 | }); 16 | 17 | afterEach(async function() { 18 | client.destroy(); 19 | credentials = null; 20 | }); 21 | 22 | it('should receive a simple notification', async function() { 23 | await send(NOTIFICATIONS.SIMPLE); 24 | const notifications = await receive(1); 25 | expect(notifications.length).toEqual(1); 26 | expect(notifications[0].notification.notification).toEqual( 27 | NOTIFICATIONS.SIMPLE 28 | ); 29 | }); 30 | 31 | it('should receive a large notification', async function() { 32 | await send(NOTIFICATIONS.LARGE); 33 | const notifications = await receive(1); 34 | expect(notifications.length).toEqual(1); 35 | expect(notifications[0].notification.notification).toEqual( 36 | NOTIFICATIONS.LARGE 37 | ); 38 | }); 39 | 40 | it('should receive multiple notifications', async function() { 41 | await send(NOTIFICATIONS.SIMPLE); 42 | await send(NOTIFICATIONS.LARGE); 43 | await send(NOTIFICATIONS.SIMPLE); 44 | 45 | const notifications = await receive(3); 46 | expect(notifications.length).toEqual(3); 47 | expect(notifications[0].notification.notification).toEqual( 48 | NOTIFICATIONS.SIMPLE 49 | ); 50 | expect(notifications[1].notification.notification).toEqual( 51 | NOTIFICATIONS.LARGE 52 | ); 53 | expect(notifications[2].notification.notification).toEqual( 54 | NOTIFICATIONS.SIMPLE 55 | ); 56 | }); 57 | }); 58 | 59 | async function send(notification) { 60 | const response = await request({ 61 | method : 'POST', 62 | url : 'https://fcm.googleapis.com/fcm/send', 63 | json : true, 64 | body : { 65 | to : credentials.fcm.token, 66 | notification : notification, 67 | }, 68 | headers : { Authorization : `key=${SERVER_KEY}` }, 69 | }); 70 | try { 71 | expect(response.success).toEqual(1); 72 | } catch (e) { 73 | throw new Error( 74 | `sending of notification failed: ${JSON.stringify(response)}` 75 | ); 76 | } 77 | return response; 78 | } 79 | 80 | async function receive(n) { 81 | const received = []; 82 | return new Promise(async resolve => { 83 | const onNotification = notification => { 84 | received.push(notification); 85 | if (received.length === n) { 86 | resolve(received); 87 | } 88 | }; 89 | credentials.persistentIds = []; 90 | client = await listen(credentials, onNotification); 91 | }); 92 | } 93 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@babel/code-frame@^7.0.0-beta.35": 6 | version "7.0.0-beta.39" 7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.39.tgz#91c90bb65207fc5a55128cb54956ded39e850457" 8 | dependencies: 9 | chalk "^2.0.0" 10 | esutils "^2.0.2" 11 | js-tokens "^3.0.0" 12 | 13 | "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": 14 | version "1.1.2" 15 | resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" 16 | 17 | "@protobufjs/base64@^1.1.2": 18 | version "1.1.2" 19 | resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" 20 | 21 | "@protobufjs/codegen@^2.0.4": 22 | version "2.0.4" 23 | resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" 24 | 25 | "@protobufjs/eventemitter@^1.1.0": 26 | version "1.1.0" 27 | resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" 28 | 29 | "@protobufjs/fetch@^1.1.0": 30 | version "1.1.0" 31 | resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" 32 | dependencies: 33 | "@protobufjs/aspromise" "^1.1.1" 34 | "@protobufjs/inquire" "^1.1.0" 35 | 36 | "@protobufjs/float@^1.0.2": 37 | version "1.0.2" 38 | resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" 39 | 40 | "@protobufjs/inquire@^1.1.0": 41 | version "1.1.0" 42 | resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" 43 | 44 | "@protobufjs/path@^1.1.2": 45 | version "1.1.2" 46 | resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" 47 | 48 | "@protobufjs/pool@^1.1.0": 49 | version "1.1.0" 50 | resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" 51 | 52 | "@protobufjs/utf8@^1.1.0": 53 | version "1.1.0" 54 | resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" 55 | 56 | "@types/long@^3.0.32": 57 | version "3.0.32" 58 | resolved "https://registry.yarnpkg.com/@types/long/-/long-3.0.32.tgz#f4e5af31e9e9b196d8e5fca8a5e2e20aa3d60b69" 59 | 60 | "@types/node@^8.5.5": 61 | version "8.5.10" 62 | resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.10.tgz#49bd3637125dea5f55d7d1e8f51efd6cb835e1f7" 63 | 64 | abab@^1.0.4: 65 | version "1.0.4" 66 | resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e" 67 | 68 | abbrev@1: 69 | version "1.1.1" 70 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 71 | 72 | acorn-globals@^4.1.0: 73 | version "4.1.0" 74 | resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.1.0.tgz#ab716025dbe17c54d3ef81d32ece2b2d99fe2538" 75 | dependencies: 76 | acorn "^5.0.0" 77 | 78 | acorn-jsx@^3.0.0: 79 | version "3.0.1" 80 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" 81 | dependencies: 82 | acorn "^3.0.4" 83 | 84 | acorn@^3.0.4: 85 | version "3.3.0" 86 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" 87 | 88 | acorn@^5.0.0, acorn@^5.3.0, acorn@^5.4.0: 89 | version "5.4.1" 90 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.4.1.tgz#fdc58d9d17f4a4e98d102ded826a9b9759125102" 91 | 92 | ajv-keywords@^2.1.0: 93 | version "2.1.1" 94 | resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" 95 | 96 | ajv@^4.9.1: 97 | version "4.11.8" 98 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" 99 | dependencies: 100 | co "^4.6.0" 101 | json-stable-stringify "^1.0.1" 102 | 103 | ajv@^5.1.0, ajv@^5.2.3, ajv@^5.3.0: 104 | version "5.5.2" 105 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" 106 | dependencies: 107 | co "^4.6.0" 108 | fast-deep-equal "^1.0.0" 109 | fast-json-stable-stringify "^2.0.0" 110 | json-schema-traverse "^0.3.0" 111 | 112 | align-text@^0.1.1, align-text@^0.1.3: 113 | version "0.1.4" 114 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 115 | dependencies: 116 | kind-of "^3.0.2" 117 | longest "^1.0.1" 118 | repeat-string "^1.5.2" 119 | 120 | amdefine@>=0.0.4: 121 | version "1.0.1" 122 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 123 | 124 | ansi-escapes@^1.0.0: 125 | version "1.4.0" 126 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" 127 | 128 | ansi-escapes@^3.0.0: 129 | version "3.0.0" 130 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92" 131 | 132 | ansi-regex@^2.0.0, ansi-regex@^2.1.1: 133 | version "2.1.1" 134 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 135 | 136 | ansi-regex@^3.0.0: 137 | version "3.0.0" 138 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 139 | 140 | ansi-styles@^2.2.1: 141 | version "2.2.1" 142 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 143 | 144 | ansi-styles@^3.0.0, ansi-styles@^3.1.0, ansi-styles@^3.2.0: 145 | version "3.2.0" 146 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" 147 | dependencies: 148 | color-convert "^1.9.0" 149 | 150 | any-observable@^0.2.0: 151 | version "0.2.0" 152 | resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.2.0.tgz#c67870058003579009083f54ac0abafb5c33d242" 153 | 154 | anymatch@^1.3.0: 155 | version "1.3.2" 156 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" 157 | dependencies: 158 | micromatch "^2.1.5" 159 | normalize-path "^2.0.0" 160 | 161 | app-root-path@^2.0.0: 162 | version "2.0.1" 163 | resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-2.0.1.tgz#cd62dcf8e4fd5a417efc664d2e5b10653c651b46" 164 | 165 | append-transform@^0.4.0: 166 | version "0.4.0" 167 | resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" 168 | dependencies: 169 | default-require-extensions "^1.0.0" 170 | 171 | aproba@^1.0.3: 172 | version "1.2.0" 173 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 174 | 175 | are-we-there-yet@~1.1.2: 176 | version "1.1.4" 177 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 178 | dependencies: 179 | delegates "^1.0.0" 180 | readable-stream "^2.0.6" 181 | 182 | argparse@^1.0.7: 183 | version "1.0.9" 184 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 185 | dependencies: 186 | sprintf-js "~1.0.2" 187 | 188 | arr-diff@^2.0.0: 189 | version "2.0.0" 190 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 191 | dependencies: 192 | arr-flatten "^1.0.1" 193 | 194 | arr-flatten@^1.0.1: 195 | version "1.1.0" 196 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 197 | 198 | array-equal@^1.0.0: 199 | version "1.0.0" 200 | resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" 201 | 202 | array-union@^1.0.1: 203 | version "1.0.2" 204 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 205 | dependencies: 206 | array-uniq "^1.0.1" 207 | 208 | array-uniq@^1.0.1: 209 | version "1.0.3" 210 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 211 | 212 | array-unique@^0.2.1: 213 | version "0.2.1" 214 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 215 | 216 | arrify@^1.0.0, arrify@^1.0.1: 217 | version "1.0.1" 218 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 219 | 220 | asn1@~0.2.3: 221 | version "0.2.3" 222 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 223 | 224 | assert-plus@1.0.0, assert-plus@^1.0.0: 225 | version "1.0.0" 226 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 227 | 228 | assert-plus@^0.2.0: 229 | version "0.2.0" 230 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 231 | 232 | astral-regex@^1.0.0: 233 | version "1.0.0" 234 | resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" 235 | 236 | async-limiter@~1.0.0: 237 | version "1.0.0" 238 | resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" 239 | 240 | async@^1.4.0: 241 | version "1.5.2" 242 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 243 | 244 | async@^2.1.4: 245 | version "2.6.0" 246 | resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" 247 | dependencies: 248 | lodash "^4.14.0" 249 | 250 | asynckit@^0.4.0: 251 | version "0.4.0" 252 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 253 | 254 | aws-sign2@~0.6.0: 255 | version "0.6.0" 256 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 257 | 258 | aws-sign2@~0.7.0: 259 | version "0.7.0" 260 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 261 | 262 | aws4@^1.2.1, aws4@^1.6.0: 263 | version "1.6.0" 264 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 265 | 266 | babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: 267 | version "6.26.0" 268 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 269 | dependencies: 270 | chalk "^1.1.3" 271 | esutils "^2.0.2" 272 | js-tokens "^3.0.2" 273 | 274 | babel-core@^6.0.0, babel-core@^6.26.0: 275 | version "6.26.0" 276 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.0.tgz#af32f78b31a6fcef119c87b0fd8d9753f03a0bb8" 277 | dependencies: 278 | babel-code-frame "^6.26.0" 279 | babel-generator "^6.26.0" 280 | babel-helpers "^6.24.1" 281 | babel-messages "^6.23.0" 282 | babel-register "^6.26.0" 283 | babel-runtime "^6.26.0" 284 | babel-template "^6.26.0" 285 | babel-traverse "^6.26.0" 286 | babel-types "^6.26.0" 287 | babylon "^6.18.0" 288 | convert-source-map "^1.5.0" 289 | debug "^2.6.8" 290 | json5 "^0.5.1" 291 | lodash "^4.17.4" 292 | minimatch "^3.0.4" 293 | path-is-absolute "^1.0.1" 294 | private "^0.1.7" 295 | slash "^1.0.0" 296 | source-map "^0.5.6" 297 | 298 | babel-eslint@^7.2.3: 299 | version "7.2.3" 300 | resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-7.2.3.tgz#b2fe2d80126470f5c19442dc757253a897710827" 301 | dependencies: 302 | babel-code-frame "^6.22.0" 303 | babel-traverse "^6.23.1" 304 | babel-types "^6.23.0" 305 | babylon "^6.17.0" 306 | 307 | babel-generator@^6.18.0, babel-generator@^6.26.0: 308 | version "6.26.1" 309 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" 310 | dependencies: 311 | babel-messages "^6.23.0" 312 | babel-runtime "^6.26.0" 313 | babel-types "^6.26.0" 314 | detect-indent "^4.0.0" 315 | jsesc "^1.3.0" 316 | lodash "^4.17.4" 317 | source-map "^0.5.7" 318 | trim-right "^1.0.1" 319 | 320 | babel-helpers@^6.24.1: 321 | version "6.24.1" 322 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 323 | dependencies: 324 | babel-runtime "^6.22.0" 325 | babel-template "^6.24.1" 326 | 327 | babel-jest@^22.2.2: 328 | version "22.2.2" 329 | resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.2.2.tgz#eda38dca284e32cc5257f96a9b51351975de4e04" 330 | dependencies: 331 | babel-plugin-istanbul "^4.1.5" 332 | babel-preset-jest "^22.2.0" 333 | 334 | babel-messages@^6.23.0: 335 | version "6.23.0" 336 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 337 | dependencies: 338 | babel-runtime "^6.22.0" 339 | 340 | babel-plugin-istanbul@^4.1.5: 341 | version "4.1.5" 342 | resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.5.tgz#6760cdd977f411d3e175bb064f2bc327d99b2b6e" 343 | dependencies: 344 | find-up "^2.1.0" 345 | istanbul-lib-instrument "^1.7.5" 346 | test-exclude "^4.1.1" 347 | 348 | babel-plugin-jest-hoist@^22.2.0: 349 | version "22.2.0" 350 | resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.2.0.tgz#bd34f39d652406669713b8c89e23ef25c890b993" 351 | 352 | babel-plugin-syntax-object-rest-spread@^6.13.0: 353 | version "6.13.0" 354 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" 355 | 356 | babel-preset-jest@^22.2.0: 357 | version "22.2.0" 358 | resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.2.0.tgz#f77b43f06ef4d8547214b2e206cc76a25c3ba0e2" 359 | dependencies: 360 | babel-plugin-jest-hoist "^22.2.0" 361 | babel-plugin-syntax-object-rest-spread "^6.13.0" 362 | 363 | babel-register@^6.26.0: 364 | version "6.26.0" 365 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" 366 | dependencies: 367 | babel-core "^6.26.0" 368 | babel-runtime "^6.26.0" 369 | core-js "^2.5.0" 370 | home-or-tmp "^2.0.0" 371 | lodash "^4.17.4" 372 | mkdirp "^0.5.1" 373 | source-map-support "^0.4.15" 374 | 375 | babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0: 376 | version "6.26.0" 377 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 378 | dependencies: 379 | core-js "^2.4.0" 380 | regenerator-runtime "^0.11.0" 381 | 382 | babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.26.0: 383 | version "6.26.0" 384 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" 385 | dependencies: 386 | babel-runtime "^6.26.0" 387 | babel-traverse "^6.26.0" 388 | babel-types "^6.26.0" 389 | babylon "^6.18.0" 390 | lodash "^4.17.4" 391 | 392 | babel-traverse@^6.18.0, babel-traverse@^6.23.1, babel-traverse@^6.26.0: 393 | version "6.26.0" 394 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 395 | dependencies: 396 | babel-code-frame "^6.26.0" 397 | babel-messages "^6.23.0" 398 | babel-runtime "^6.26.0" 399 | babel-types "^6.26.0" 400 | babylon "^6.18.0" 401 | debug "^2.6.8" 402 | globals "^9.18.0" 403 | invariant "^2.2.2" 404 | lodash "^4.17.4" 405 | 406 | babel-types@^6.18.0, babel-types@^6.23.0, babel-types@^6.26.0: 407 | version "6.26.0" 408 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 409 | dependencies: 410 | babel-runtime "^6.26.0" 411 | esutils "^2.0.2" 412 | lodash "^4.17.4" 413 | to-fast-properties "^1.0.3" 414 | 415 | babylon@^6.17.0, babylon@^6.18.0: 416 | version "6.18.0" 417 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 418 | 419 | balanced-match@^1.0.0: 420 | version "1.0.0" 421 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 422 | 423 | bcrypt-pbkdf@^1.0.0: 424 | version "1.0.1" 425 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 426 | dependencies: 427 | tweetnacl "^0.14.3" 428 | 429 | block-stream@*: 430 | version "0.0.9" 431 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 432 | dependencies: 433 | inherits "~2.0.0" 434 | 435 | bluebird@^3.5.0: 436 | version "3.5.1" 437 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" 438 | 439 | boolify@^1.0.0: 440 | version "1.0.1" 441 | resolved "https://registry.yarnpkg.com/boolify/-/boolify-1.0.1.tgz#b5c09e17cacd113d11b7bb3ed384cc012994d86b" 442 | 443 | boom@2.x.x: 444 | version "2.10.1" 445 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 446 | dependencies: 447 | hoek "2.x.x" 448 | 449 | boom@4.x.x: 450 | version "4.3.1" 451 | resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31" 452 | dependencies: 453 | hoek "4.x.x" 454 | 455 | boom@5.x.x: 456 | version "5.2.0" 457 | resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02" 458 | dependencies: 459 | hoek "4.x.x" 460 | 461 | brace-expansion@^1.1.7: 462 | version "1.1.8" 463 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 464 | dependencies: 465 | balanced-match "^1.0.0" 466 | concat-map "0.0.1" 467 | 468 | braces@^1.8.2: 469 | version "1.8.5" 470 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 471 | dependencies: 472 | expand-range "^1.8.1" 473 | preserve "^0.2.0" 474 | repeat-element "^1.1.2" 475 | 476 | browser-process-hrtime@^0.1.2: 477 | version "0.1.2" 478 | resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e" 479 | 480 | browser-resolve@^1.11.2: 481 | version "1.11.2" 482 | resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" 483 | dependencies: 484 | resolve "1.1.7" 485 | 486 | bser@^2.0.0: 487 | version "2.0.0" 488 | resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" 489 | dependencies: 490 | node-int64 "^0.4.0" 491 | 492 | builtin-modules@^1.0.0: 493 | version "1.1.1" 494 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 495 | 496 | caller-path@^0.1.0: 497 | version "0.1.0" 498 | resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" 499 | dependencies: 500 | callsites "^0.2.0" 501 | 502 | callsites@^0.2.0: 503 | version "0.2.0" 504 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 505 | 506 | callsites@^2.0.0: 507 | version "2.0.0" 508 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" 509 | 510 | camelcase-keys@^4.1.0: 511 | version "4.2.0" 512 | resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77" 513 | dependencies: 514 | camelcase "^4.1.0" 515 | map-obj "^2.0.0" 516 | quick-lru "^1.0.0" 517 | 518 | camelcase@^1.0.2: 519 | version "1.2.1" 520 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 521 | 522 | camelcase@^4.1.0: 523 | version "4.1.0" 524 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" 525 | 526 | caseless@~0.12.0: 527 | version "0.12.0" 528 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 529 | 530 | center-align@^0.1.1: 531 | version "0.1.3" 532 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 533 | dependencies: 534 | align-text "^0.1.3" 535 | lazy-cache "^1.0.3" 536 | 537 | chalk@2.3.0, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0: 538 | version "2.3.0" 539 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" 540 | dependencies: 541 | ansi-styles "^3.1.0" 542 | escape-string-regexp "^1.0.5" 543 | supports-color "^4.0.0" 544 | 545 | chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: 546 | version "1.1.3" 547 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 548 | dependencies: 549 | ansi-styles "^2.2.1" 550 | escape-string-regexp "^1.0.2" 551 | has-ansi "^2.0.0" 552 | strip-ansi "^3.0.0" 553 | supports-color "^2.0.0" 554 | 555 | chardet@^0.4.0: 556 | version "0.4.2" 557 | resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" 558 | 559 | ci-info@^1.0.0: 560 | version "1.1.2" 561 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.2.tgz#03561259db48d0474c8bdc90f5b47b068b6bbfb4" 562 | 563 | circular-json@^0.3.1: 564 | version "0.3.3" 565 | resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" 566 | 567 | cli-cursor@^1.0.2: 568 | version "1.0.2" 569 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" 570 | dependencies: 571 | restore-cursor "^1.0.1" 572 | 573 | cli-cursor@^2.1.0: 574 | version "2.1.0" 575 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" 576 | dependencies: 577 | restore-cursor "^2.0.0" 578 | 579 | cli-spinners@^0.1.2: 580 | version "0.1.2" 581 | resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-0.1.2.tgz#bb764d88e185fb9e1e6a2a1f19772318f605e31c" 582 | 583 | cli-truncate@^0.2.1: 584 | version "0.2.1" 585 | resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" 586 | dependencies: 587 | slice-ansi "0.0.4" 588 | string-width "^1.0.1" 589 | 590 | cli-width@^2.0.0: 591 | version "2.2.0" 592 | resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" 593 | 594 | cliui@^2.1.0: 595 | version "2.1.0" 596 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 597 | dependencies: 598 | center-align "^0.1.1" 599 | right-align "^0.1.1" 600 | wordwrap "0.0.2" 601 | 602 | cliui@^3.2.0: 603 | version "3.2.0" 604 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 605 | dependencies: 606 | string-width "^1.0.1" 607 | strip-ansi "^3.0.1" 608 | wrap-ansi "^2.0.0" 609 | 610 | cliui@^4.0.0: 611 | version "4.0.0" 612 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc" 613 | dependencies: 614 | string-width "^2.1.1" 615 | strip-ansi "^4.0.0" 616 | wrap-ansi "^2.0.0" 617 | 618 | co@^4.6.0: 619 | version "4.6.0" 620 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 621 | 622 | code-point-at@^1.0.0: 623 | version "1.1.0" 624 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 625 | 626 | color-convert@^1.9.0: 627 | version "1.9.1" 628 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" 629 | dependencies: 630 | color-name "^1.1.1" 631 | 632 | color-name@^1.1.1: 633 | version "1.1.3" 634 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 635 | 636 | combined-stream@^1.0.5, combined-stream@~1.0.5: 637 | version "1.0.5" 638 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 639 | dependencies: 640 | delayed-stream "~1.0.0" 641 | 642 | commander@^2.11.0, commander@^2.9.0: 643 | version "2.14.1" 644 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.14.1.tgz#2235123e37af8ca3c65df45b026dbd357b01b9aa" 645 | 646 | common-tags@^1.4.0: 647 | version "1.7.2" 648 | resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.7.2.tgz#24d9768c63d253a56ecff93845b44b4df1d52771" 649 | dependencies: 650 | babel-runtime "^6.26.0" 651 | 652 | concat-map@0.0.1: 653 | version "0.0.1" 654 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 655 | 656 | concat-stream@^1.6.0: 657 | version "1.6.0" 658 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" 659 | dependencies: 660 | inherits "^2.0.3" 661 | readable-stream "^2.2.2" 662 | typedarray "^0.0.6" 663 | 664 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 665 | version "1.1.0" 666 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 667 | 668 | content-type-parser@^1.0.2: 669 | version "1.0.2" 670 | resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7" 671 | 672 | convert-source-map@^1.4.0, convert-source-map@^1.5.0: 673 | version "1.5.1" 674 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" 675 | 676 | core-js@^2.4.0, core-js@^2.5.0: 677 | version "2.5.3" 678 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e" 679 | 680 | core-util-is@1.0.2, core-util-is@~1.0.0: 681 | version "1.0.2" 682 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 683 | 684 | cosmiconfig@^4.0.0: 685 | version "4.0.0" 686 | resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-4.0.0.tgz#760391549580bbd2df1e562bc177b13c290972dc" 687 | dependencies: 688 | is-directory "^0.3.1" 689 | js-yaml "^3.9.0" 690 | parse-json "^4.0.0" 691 | require-from-string "^2.0.1" 692 | 693 | cross-spawn@^5.0.1, cross-spawn@^5.1.0: 694 | version "5.1.0" 695 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 696 | dependencies: 697 | lru-cache "^4.0.1" 698 | shebang-command "^1.2.0" 699 | which "^1.2.9" 700 | 701 | cryptiles@2.x.x: 702 | version "2.0.5" 703 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 704 | dependencies: 705 | boom "2.x.x" 706 | 707 | cryptiles@3.x.x: 708 | version "3.1.2" 709 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe" 710 | dependencies: 711 | boom "5.x.x" 712 | 713 | cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": 714 | version "0.3.2" 715 | resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b" 716 | 717 | "cssstyle@>= 0.2.37 < 0.3.0": 718 | version "0.2.37" 719 | resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" 720 | dependencies: 721 | cssom "0.3.x" 722 | 723 | dashdash@^1.12.0: 724 | version "1.14.1" 725 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 726 | dependencies: 727 | assert-plus "^1.0.0" 728 | 729 | date-fns@^1.27.2: 730 | version "1.29.0" 731 | resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" 732 | 733 | debug@^2.2.0, debug@^2.6.8: 734 | version "2.6.9" 735 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 736 | dependencies: 737 | ms "2.0.0" 738 | 739 | debug@^3.1.0: 740 | version "3.1.0" 741 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 742 | dependencies: 743 | ms "2.0.0" 744 | 745 | decamelize@^1.0.0, decamelize@^1.1.1: 746 | version "1.2.0" 747 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 748 | 749 | dedent@^0.7.0: 750 | version "0.7.0" 751 | resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" 752 | 753 | deep-extend@~0.4.0: 754 | version "0.4.2" 755 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" 756 | 757 | deep-is@~0.1.3: 758 | version "0.1.3" 759 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 760 | 761 | default-require-extensions@^1.0.0: 762 | version "1.0.0" 763 | resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" 764 | dependencies: 765 | strip-bom "^2.0.0" 766 | 767 | define-properties@^1.1.2: 768 | version "1.1.2" 769 | resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" 770 | dependencies: 771 | foreach "^2.0.5" 772 | object-keys "^1.0.8" 773 | 774 | del@^2.0.2: 775 | version "2.2.2" 776 | resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 777 | dependencies: 778 | globby "^5.0.0" 779 | is-path-cwd "^1.0.0" 780 | is-path-in-cwd "^1.0.0" 781 | object-assign "^4.0.1" 782 | pify "^2.0.0" 783 | pinkie-promise "^2.0.0" 784 | rimraf "^2.2.8" 785 | 786 | delayed-stream@~1.0.0: 787 | version "1.0.0" 788 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 789 | 790 | delegates@^1.0.0: 791 | version "1.0.0" 792 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 793 | 794 | detect-indent@^4.0.0: 795 | version "4.0.0" 796 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 797 | dependencies: 798 | repeating "^2.0.0" 799 | 800 | detect-libc@^1.0.2: 801 | version "1.0.3" 802 | resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 803 | 804 | detect-newline@^2.1.0: 805 | version "2.1.0" 806 | resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" 807 | 808 | diff@^3.2.0: 809 | version "3.4.0" 810 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c" 811 | 812 | dlv@^1.1.0: 813 | version "1.1.1" 814 | resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.1.tgz#c79d96bfe659a5568001250ed2aaf653992bdd3f" 815 | 816 | doctrine@^2.1.0: 817 | version "2.1.0" 818 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" 819 | dependencies: 820 | esutils "^2.0.2" 821 | 822 | domexception@^1.0.0: 823 | version "1.0.1" 824 | resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" 825 | dependencies: 826 | webidl-conversions "^4.0.2" 827 | 828 | ecc-jsbn@~0.1.1: 829 | version "0.1.1" 830 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 831 | dependencies: 832 | jsbn "~0.1.0" 833 | 834 | elegant-spinner@^1.0.1: 835 | version "1.0.1" 836 | resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" 837 | 838 | error-ex@^1.2.0, error-ex@^1.3.1: 839 | version "1.3.1" 840 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 841 | dependencies: 842 | is-arrayish "^0.2.1" 843 | 844 | es-abstract@^1.5.1: 845 | version "1.10.0" 846 | resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" 847 | dependencies: 848 | es-to-primitive "^1.1.1" 849 | function-bind "^1.1.1" 850 | has "^1.0.1" 851 | is-callable "^1.1.3" 852 | is-regex "^1.0.4" 853 | 854 | es-to-primitive@^1.1.1: 855 | version "1.1.1" 856 | resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" 857 | dependencies: 858 | is-callable "^1.1.1" 859 | is-date-object "^1.0.1" 860 | is-symbol "^1.0.1" 861 | 862 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 863 | version "1.0.5" 864 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 865 | 866 | escodegen@^1.9.0: 867 | version "1.9.0" 868 | resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.9.0.tgz#9811a2f265dc1cd3894420ee3717064b632b8852" 869 | dependencies: 870 | esprima "^3.1.3" 871 | estraverse "^4.2.0" 872 | esutils "^2.0.2" 873 | optionator "^0.8.1" 874 | optionalDependencies: 875 | source-map "~0.5.6" 876 | 877 | eslint-plugin-jest@^20.0.3: 878 | version "20.0.3" 879 | resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-20.0.3.tgz#ec15eba6ac0ab44a67ebf6e02672ca9d7e7cba29" 880 | 881 | eslint-scope@^3.7.1: 882 | version "3.7.1" 883 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" 884 | dependencies: 885 | esrecurse "^4.1.0" 886 | estraverse "^4.1.1" 887 | 888 | eslint-visitor-keys@^1.0.0: 889 | version "1.0.0" 890 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" 891 | 892 | eslint@^4.0.0, eslint@^4.4.1, eslint@^4.5.0: 893 | version "4.17.0" 894 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf" 895 | dependencies: 896 | ajv "^5.3.0" 897 | babel-code-frame "^6.22.0" 898 | chalk "^2.1.0" 899 | concat-stream "^1.6.0" 900 | cross-spawn "^5.1.0" 901 | debug "^3.1.0" 902 | doctrine "^2.1.0" 903 | eslint-scope "^3.7.1" 904 | eslint-visitor-keys "^1.0.0" 905 | espree "^3.5.2" 906 | esquery "^1.0.0" 907 | esutils "^2.0.2" 908 | file-entry-cache "^2.0.0" 909 | functional-red-black-tree "^1.0.1" 910 | glob "^7.1.2" 911 | globals "^11.0.1" 912 | ignore "^3.3.3" 913 | imurmurhash "^0.1.4" 914 | inquirer "^3.0.6" 915 | is-resolvable "^1.0.0" 916 | js-yaml "^3.9.1" 917 | json-stable-stringify-without-jsonify "^1.0.1" 918 | levn "^0.3.0" 919 | lodash "^4.17.4" 920 | minimatch "^3.0.2" 921 | mkdirp "^0.5.1" 922 | natural-compare "^1.4.0" 923 | optionator "^0.8.2" 924 | path-is-inside "^1.0.2" 925 | pluralize "^7.0.0" 926 | progress "^2.0.0" 927 | require-uncached "^1.0.3" 928 | semver "^5.3.0" 929 | strip-ansi "^4.0.0" 930 | strip-json-comments "~2.0.1" 931 | table "^4.0.1" 932 | text-table "~0.2.0" 933 | 934 | espree@^3.5.2: 935 | version "3.5.3" 936 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.3.tgz#931e0af64e7fbbed26b050a29daad1fc64799fa6" 937 | dependencies: 938 | acorn "^5.4.0" 939 | acorn-jsx "^3.0.0" 940 | 941 | esprima@^3.1.3: 942 | version "3.1.3" 943 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" 944 | 945 | esprima@^4.0.0: 946 | version "4.0.0" 947 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 948 | 949 | esquery@^1.0.0: 950 | version "1.0.0" 951 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa" 952 | dependencies: 953 | estraverse "^4.0.0" 954 | 955 | esrecurse@^4.1.0: 956 | version "4.2.0" 957 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.0.tgz#fa9568d98d3823f9a41d91e902dcab9ea6e5b163" 958 | dependencies: 959 | estraverse "^4.1.0" 960 | object-assign "^4.0.1" 961 | 962 | estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: 963 | version "4.2.0" 964 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 965 | 966 | esutils@^2.0.2: 967 | version "2.0.2" 968 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 969 | 970 | eventemitter3@1.x.x: 971 | version "1.2.0" 972 | resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508" 973 | 974 | exec-sh@^0.2.0: 975 | version "0.2.1" 976 | resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.1.tgz#163b98a6e89e6b65b47c2a28d215bc1f63989c38" 977 | dependencies: 978 | merge "^1.1.3" 979 | 980 | execa@^0.7.0: 981 | version "0.7.0" 982 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" 983 | dependencies: 984 | cross-spawn "^5.0.1" 985 | get-stream "^3.0.0" 986 | is-stream "^1.1.0" 987 | npm-run-path "^2.0.0" 988 | p-finally "^1.0.0" 989 | signal-exit "^3.0.0" 990 | strip-eof "^1.0.0" 991 | 992 | execa@^0.8.0: 993 | version "0.8.0" 994 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" 995 | dependencies: 996 | cross-spawn "^5.0.1" 997 | get-stream "^3.0.0" 998 | is-stream "^1.1.0" 999 | npm-run-path "^2.0.0" 1000 | p-finally "^1.0.0" 1001 | signal-exit "^3.0.0" 1002 | strip-eof "^1.0.0" 1003 | 1004 | exit-hook@^1.0.0: 1005 | version "1.1.1" 1006 | resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" 1007 | 1008 | exit@^0.1.2: 1009 | version "0.1.2" 1010 | resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" 1011 | 1012 | expand-brackets@^0.1.4: 1013 | version "0.1.5" 1014 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 1015 | dependencies: 1016 | is-posix-bracket "^0.1.0" 1017 | 1018 | expand-range@^1.8.1: 1019 | version "1.8.2" 1020 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 1021 | dependencies: 1022 | fill-range "^2.1.0" 1023 | 1024 | expect@^22.2.2: 1025 | version "22.2.2" 1026 | resolved "https://registry.yarnpkg.com/expect/-/expect-22.2.2.tgz#6cb6ae2eeb651a4187b9096de70333a018fab63f" 1027 | dependencies: 1028 | ansi-styles "^3.2.0" 1029 | jest-diff "^22.1.0" 1030 | jest-get-type "^22.1.0" 1031 | jest-matcher-utils "^22.2.0" 1032 | jest-message-util "^22.2.0" 1033 | jest-regex-util "^22.1.0" 1034 | 1035 | extend@~3.0.0, extend@~3.0.1: 1036 | version "3.0.1" 1037 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 1038 | 1039 | external-editor@^2.0.4: 1040 | version "2.1.0" 1041 | resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.1.0.tgz#3d026a21b7f95b5726387d4200ac160d372c3b48" 1042 | dependencies: 1043 | chardet "^0.4.0" 1044 | iconv-lite "^0.4.17" 1045 | tmp "^0.0.33" 1046 | 1047 | extglob@^0.3.1: 1048 | version "0.3.2" 1049 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 1050 | dependencies: 1051 | is-extglob "^1.0.0" 1052 | 1053 | extsprintf@1.3.0: 1054 | version "1.3.0" 1055 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 1056 | 1057 | extsprintf@^1.2.0: 1058 | version "1.4.0" 1059 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 1060 | 1061 | fast-deep-equal@^1.0.0: 1062 | version "1.0.0" 1063 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" 1064 | 1065 | fast-json-stable-stringify@^2.0.0: 1066 | version "2.0.0" 1067 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 1068 | 1069 | fast-levenshtein@~2.0.4: 1070 | version "2.0.6" 1071 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 1072 | 1073 | fb-watchman@^2.0.0: 1074 | version "2.0.0" 1075 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" 1076 | dependencies: 1077 | bser "^2.0.0" 1078 | 1079 | figures@^1.7.0: 1080 | version "1.7.0" 1081 | resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" 1082 | dependencies: 1083 | escape-string-regexp "^1.0.5" 1084 | object-assign "^4.1.0" 1085 | 1086 | figures@^2.0.0: 1087 | version "2.0.0" 1088 | resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" 1089 | dependencies: 1090 | escape-string-regexp "^1.0.5" 1091 | 1092 | file-entry-cache@^2.0.0: 1093 | version "2.0.0" 1094 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" 1095 | dependencies: 1096 | flat-cache "^1.2.1" 1097 | object-assign "^4.0.1" 1098 | 1099 | filename-regex@^2.0.0: 1100 | version "2.0.1" 1101 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 1102 | 1103 | fileset@^2.0.2: 1104 | version "2.0.3" 1105 | resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" 1106 | dependencies: 1107 | glob "^7.0.3" 1108 | minimatch "^3.0.3" 1109 | 1110 | fill-range@^2.1.0: 1111 | version "2.2.3" 1112 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 1113 | dependencies: 1114 | is-number "^2.1.0" 1115 | isobject "^2.0.0" 1116 | randomatic "^1.1.3" 1117 | repeat-element "^1.1.2" 1118 | repeat-string "^1.5.2" 1119 | 1120 | find-parent-dir@^0.3.0: 1121 | version "0.3.0" 1122 | resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54" 1123 | 1124 | find-up@^1.0.0: 1125 | version "1.1.2" 1126 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 1127 | dependencies: 1128 | path-exists "^2.0.0" 1129 | pinkie-promise "^2.0.0" 1130 | 1131 | find-up@^2.1.0: 1132 | version "2.1.0" 1133 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 1134 | dependencies: 1135 | locate-path "^2.0.0" 1136 | 1137 | flat-cache@^1.2.1: 1138 | version "1.3.0" 1139 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" 1140 | dependencies: 1141 | circular-json "^0.3.1" 1142 | del "^2.0.2" 1143 | graceful-fs "^4.1.2" 1144 | write "^0.2.1" 1145 | 1146 | for-in@^1.0.1: 1147 | version "1.0.2" 1148 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 1149 | 1150 | for-own@^0.1.4: 1151 | version "0.1.5" 1152 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 1153 | dependencies: 1154 | for-in "^1.0.1" 1155 | 1156 | foreach@^2.0.5: 1157 | version "2.0.5" 1158 | resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" 1159 | 1160 | forever-agent@~0.6.1: 1161 | version "0.6.1" 1162 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1163 | 1164 | form-data@~2.1.1: 1165 | version "2.1.4" 1166 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" 1167 | dependencies: 1168 | asynckit "^0.4.0" 1169 | combined-stream "^1.0.5" 1170 | mime-types "^2.1.12" 1171 | 1172 | form-data@~2.3.1: 1173 | version "2.3.1" 1174 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" 1175 | dependencies: 1176 | asynckit "^0.4.0" 1177 | combined-stream "^1.0.5" 1178 | mime-types "^2.1.12" 1179 | 1180 | fs.realpath@^1.0.0: 1181 | version "1.0.0" 1182 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1183 | 1184 | fsevents@^1.1.1: 1185 | version "1.1.3" 1186 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" 1187 | dependencies: 1188 | nan "^2.3.0" 1189 | node-pre-gyp "^0.6.39" 1190 | 1191 | fstream-ignore@^1.0.5: 1192 | version "1.0.5" 1193 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 1194 | dependencies: 1195 | fstream "^1.0.0" 1196 | inherits "2" 1197 | minimatch "^3.0.0" 1198 | 1199 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 1200 | version "1.0.11" 1201 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 1202 | dependencies: 1203 | graceful-fs "^4.1.2" 1204 | inherits "~2.0.0" 1205 | mkdirp ">=0.5 0" 1206 | rimraf "2" 1207 | 1208 | function-bind@^1.0.2, function-bind@^1.1.1: 1209 | version "1.1.1" 1210 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 1211 | 1212 | functional-red-black-tree@^1.0.1: 1213 | version "1.0.1" 1214 | resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" 1215 | 1216 | gauge@~2.7.3: 1217 | version "2.7.4" 1218 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 1219 | dependencies: 1220 | aproba "^1.0.3" 1221 | console-control-strings "^1.0.0" 1222 | has-unicode "^2.0.0" 1223 | object-assign "^4.1.0" 1224 | signal-exit "^3.0.0" 1225 | string-width "^1.0.1" 1226 | strip-ansi "^3.0.1" 1227 | wide-align "^1.1.0" 1228 | 1229 | get-caller-file@^1.0.1: 1230 | version "1.0.2" 1231 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 1232 | 1233 | get-own-enumerable-property-symbols@^2.0.1: 1234 | version "2.0.1" 1235 | resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz#5c4ad87f2834c4b9b4e84549dc1e0650fb38c24b" 1236 | 1237 | get-stdin@^5.0.1: 1238 | version "5.0.1" 1239 | resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-5.0.1.tgz#122e161591e21ff4c52530305693f20e6393a398" 1240 | 1241 | get-stream@^3.0.0: 1242 | version "3.0.0" 1243 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 1244 | 1245 | getpass@^0.1.1: 1246 | version "0.1.7" 1247 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 1248 | dependencies: 1249 | assert-plus "^1.0.0" 1250 | 1251 | glob-base@^0.3.0: 1252 | version "0.3.0" 1253 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 1254 | dependencies: 1255 | glob-parent "^2.0.0" 1256 | is-glob "^2.0.0" 1257 | 1258 | glob-parent@^2.0.0: 1259 | version "2.0.0" 1260 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 1261 | dependencies: 1262 | is-glob "^2.0.0" 1263 | 1264 | glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: 1265 | version "7.1.2" 1266 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 1267 | dependencies: 1268 | fs.realpath "^1.0.0" 1269 | inflight "^1.0.4" 1270 | inherits "2" 1271 | minimatch "^3.0.4" 1272 | once "^1.3.0" 1273 | path-is-absolute "^1.0.0" 1274 | 1275 | glob@~7.0.6: 1276 | version "7.0.6" 1277 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.6.tgz#211bafaf49e525b8cd93260d14ab136152b3f57a" 1278 | dependencies: 1279 | fs.realpath "^1.0.0" 1280 | inflight "^1.0.4" 1281 | inherits "2" 1282 | minimatch "^3.0.2" 1283 | once "^1.3.0" 1284 | path-is-absolute "^1.0.0" 1285 | 1286 | globals@^11.0.1: 1287 | version "11.3.0" 1288 | resolved "https://registry.yarnpkg.com/globals/-/globals-11.3.0.tgz#e04fdb7b9796d8adac9c8f64c14837b2313378b0" 1289 | 1290 | globals@^9.18.0: 1291 | version "9.18.0" 1292 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 1293 | 1294 | globby@^5.0.0: 1295 | version "5.0.0" 1296 | resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 1297 | dependencies: 1298 | array-union "^1.0.1" 1299 | arrify "^1.0.0" 1300 | glob "^7.0.3" 1301 | object-assign "^4.0.1" 1302 | pify "^2.0.0" 1303 | pinkie-promise "^2.0.0" 1304 | 1305 | graceful-fs@^4.1.11, graceful-fs@^4.1.2: 1306 | version "4.1.11" 1307 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1308 | 1309 | growly@^1.3.0: 1310 | version "1.3.0" 1311 | resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" 1312 | 1313 | handlebars@^4.0.3: 1314 | version "4.0.11" 1315 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc" 1316 | dependencies: 1317 | async "^1.4.0" 1318 | optimist "^0.6.1" 1319 | source-map "^0.4.4" 1320 | optionalDependencies: 1321 | uglify-js "^2.6" 1322 | 1323 | har-schema@^1.0.5: 1324 | version "1.0.5" 1325 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 1326 | 1327 | har-schema@^2.0.0: 1328 | version "2.0.0" 1329 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 1330 | 1331 | har-validator@~4.2.1: 1332 | version "4.2.1" 1333 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 1334 | dependencies: 1335 | ajv "^4.9.1" 1336 | har-schema "^1.0.5" 1337 | 1338 | har-validator@~5.0.3: 1339 | version "5.0.3" 1340 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" 1341 | dependencies: 1342 | ajv "^5.1.0" 1343 | har-schema "^2.0.0" 1344 | 1345 | has-ansi@^2.0.0: 1346 | version "2.0.0" 1347 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1348 | dependencies: 1349 | ansi-regex "^2.0.0" 1350 | 1351 | has-flag@^1.0.0: 1352 | version "1.0.0" 1353 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1354 | 1355 | has-flag@^2.0.0: 1356 | version "2.0.0" 1357 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" 1358 | 1359 | has-unicode@^2.0.0: 1360 | version "2.0.1" 1361 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1362 | 1363 | has@^1.0.1: 1364 | version "1.0.1" 1365 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" 1366 | dependencies: 1367 | function-bind "^1.0.2" 1368 | 1369 | hawk@3.1.3, hawk@~3.1.3: 1370 | version "3.1.3" 1371 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1372 | dependencies: 1373 | boom "2.x.x" 1374 | cryptiles "2.x.x" 1375 | hoek "2.x.x" 1376 | sntp "1.x.x" 1377 | 1378 | hawk@~6.0.2: 1379 | version "6.0.2" 1380 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038" 1381 | dependencies: 1382 | boom "4.x.x" 1383 | cryptiles "3.x.x" 1384 | hoek "4.x.x" 1385 | sntp "2.x.x" 1386 | 1387 | hoek@2.x.x: 1388 | version "2.16.3" 1389 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1390 | 1391 | hoek@4.x.x: 1392 | version "4.2.0" 1393 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d" 1394 | 1395 | home-or-tmp@^2.0.0: 1396 | version "2.0.0" 1397 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1398 | dependencies: 1399 | os-homedir "^1.0.0" 1400 | os-tmpdir "^1.0.1" 1401 | 1402 | hosted-git-info@^2.1.4: 1403 | version "2.5.0" 1404 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" 1405 | 1406 | html-encoding-sniffer@^1.0.2: 1407 | version "1.0.2" 1408 | resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" 1409 | dependencies: 1410 | whatwg-encoding "^1.0.1" 1411 | 1412 | http-proxy@^1.16.2: 1413 | version "1.16.2" 1414 | resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742" 1415 | dependencies: 1416 | eventemitter3 "1.x.x" 1417 | requires-port "1.x.x" 1418 | 1419 | http-signature@~1.1.0: 1420 | version "1.1.1" 1421 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1422 | dependencies: 1423 | assert-plus "^0.2.0" 1424 | jsprim "^1.2.2" 1425 | sshpk "^1.7.0" 1426 | 1427 | http-signature@~1.2.0: 1428 | version "1.2.0" 1429 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 1430 | dependencies: 1431 | assert-plus "^1.0.0" 1432 | jsprim "^1.2.2" 1433 | sshpk "^1.7.0" 1434 | 1435 | http_ece@^1.0.5: 1436 | version "1.0.5" 1437 | resolved "https://registry.yarnpkg.com/http_ece/-/http_ece-1.0.5.tgz#b60660faaf14215102d1493ea720dcd92b53372f" 1438 | dependencies: 1439 | urlsafe-base64 "~1.0.0" 1440 | 1441 | husky@^0.14.3: 1442 | version "0.14.3" 1443 | resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3" 1444 | dependencies: 1445 | is-ci "^1.0.10" 1446 | normalize-path "^1.0.0" 1447 | strip-indent "^2.0.0" 1448 | 1449 | iconv-lite@0.4.19, iconv-lite@^0.4.17: 1450 | version "0.4.19" 1451 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 1452 | 1453 | ignore@^3.2.7, ignore@^3.3.3: 1454 | version "3.3.7" 1455 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021" 1456 | 1457 | import-local@^1.0.0: 1458 | version "1.0.0" 1459 | resolved "https://registry.yarnpkg.com/import-local/-/import-local-1.0.0.tgz#5e4ffdc03f4fe6c009c6729beb29631c2f8227bc" 1460 | dependencies: 1461 | pkg-dir "^2.0.0" 1462 | resolve-cwd "^2.0.0" 1463 | 1464 | imurmurhash@^0.1.4: 1465 | version "0.1.4" 1466 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 1467 | 1468 | indent-string@^2.1.0: 1469 | version "2.1.0" 1470 | resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" 1471 | dependencies: 1472 | repeating "^2.0.0" 1473 | 1474 | indent-string@^3.0.0, indent-string@^3.1.0, indent-string@^3.2.0: 1475 | version "3.2.0" 1476 | resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" 1477 | 1478 | inflight@^1.0.4: 1479 | version "1.0.6" 1480 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1481 | dependencies: 1482 | once "^1.3.0" 1483 | wrappy "1" 1484 | 1485 | inherits@2, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.3: 1486 | version "2.0.3" 1487 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1488 | 1489 | ini@~1.3.0: 1490 | version "1.3.5" 1491 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 1492 | 1493 | inquirer@^3.0.6: 1494 | version "3.3.0" 1495 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" 1496 | dependencies: 1497 | ansi-escapes "^3.0.0" 1498 | chalk "^2.0.0" 1499 | cli-cursor "^2.1.0" 1500 | cli-width "^2.0.0" 1501 | external-editor "^2.0.4" 1502 | figures "^2.0.0" 1503 | lodash "^4.3.0" 1504 | mute-stream "0.0.7" 1505 | run-async "^2.2.0" 1506 | rx-lite "^4.0.8" 1507 | rx-lite-aggregates "^4.0.8" 1508 | string-width "^2.1.0" 1509 | strip-ansi "^4.0.0" 1510 | through "^2.3.6" 1511 | 1512 | invariant@^2.2.2: 1513 | version "2.2.2" 1514 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1515 | dependencies: 1516 | loose-envify "^1.0.0" 1517 | 1518 | invert-kv@^1.0.0: 1519 | version "1.0.0" 1520 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 1521 | 1522 | is-arrayish@^0.2.1: 1523 | version "0.2.1" 1524 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1525 | 1526 | is-buffer@^1.1.5: 1527 | version "1.1.6" 1528 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 1529 | 1530 | is-builtin-module@^1.0.0: 1531 | version "1.0.0" 1532 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 1533 | dependencies: 1534 | builtin-modules "^1.0.0" 1535 | 1536 | is-callable@^1.1.1, is-callable@^1.1.3: 1537 | version "1.1.3" 1538 | resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" 1539 | 1540 | is-ci@^1.0.10: 1541 | version "1.1.0" 1542 | resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5" 1543 | dependencies: 1544 | ci-info "^1.0.0" 1545 | 1546 | is-date-object@^1.0.1: 1547 | version "1.0.1" 1548 | resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" 1549 | 1550 | is-directory@^0.3.1: 1551 | version "0.3.1" 1552 | resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" 1553 | 1554 | is-dotfile@^1.0.0: 1555 | version "1.0.3" 1556 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 1557 | 1558 | is-equal-shallow@^0.1.3: 1559 | version "0.1.3" 1560 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1561 | dependencies: 1562 | is-primitive "^2.0.0" 1563 | 1564 | is-extendable@^0.1.1: 1565 | version "0.1.1" 1566 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1567 | 1568 | is-extglob@^1.0.0: 1569 | version "1.0.0" 1570 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1571 | 1572 | is-extglob@^2.1.1: 1573 | version "2.1.1" 1574 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 1575 | 1576 | is-finite@^1.0.0: 1577 | version "1.0.2" 1578 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1579 | dependencies: 1580 | number-is-nan "^1.0.0" 1581 | 1582 | is-fullwidth-code-point@^1.0.0: 1583 | version "1.0.0" 1584 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1585 | dependencies: 1586 | number-is-nan "^1.0.0" 1587 | 1588 | is-fullwidth-code-point@^2.0.0: 1589 | version "2.0.0" 1590 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 1591 | 1592 | is-generator-fn@^1.0.0: 1593 | version "1.0.0" 1594 | resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" 1595 | 1596 | is-glob@^2.0.0, is-glob@^2.0.1: 1597 | version "2.0.1" 1598 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1599 | dependencies: 1600 | is-extglob "^1.0.0" 1601 | 1602 | is-glob@^4.0.0: 1603 | version "4.0.0" 1604 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" 1605 | dependencies: 1606 | is-extglob "^2.1.1" 1607 | 1608 | is-number@^2.1.0: 1609 | version "2.1.0" 1610 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1611 | dependencies: 1612 | kind-of "^3.0.2" 1613 | 1614 | is-number@^3.0.0: 1615 | version "3.0.0" 1616 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 1617 | dependencies: 1618 | kind-of "^3.0.2" 1619 | 1620 | is-obj@^1.0.1: 1621 | version "1.0.1" 1622 | resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" 1623 | 1624 | is-observable@^0.2.0: 1625 | version "0.2.0" 1626 | resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-0.2.0.tgz#b361311d83c6e5d726cabf5e250b0237106f5ae2" 1627 | dependencies: 1628 | symbol-observable "^0.2.2" 1629 | 1630 | is-path-cwd@^1.0.0: 1631 | version "1.0.0" 1632 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 1633 | 1634 | is-path-in-cwd@^1.0.0: 1635 | version "1.0.0" 1636 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" 1637 | dependencies: 1638 | is-path-inside "^1.0.0" 1639 | 1640 | is-path-inside@^1.0.0: 1641 | version "1.0.1" 1642 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" 1643 | dependencies: 1644 | path-is-inside "^1.0.1" 1645 | 1646 | is-posix-bracket@^0.1.0: 1647 | version "0.1.1" 1648 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1649 | 1650 | is-primitive@^2.0.0: 1651 | version "2.0.0" 1652 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1653 | 1654 | is-promise@^2.1.0: 1655 | version "2.1.0" 1656 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 1657 | 1658 | is-regex@^1.0.4: 1659 | version "1.0.4" 1660 | resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" 1661 | dependencies: 1662 | has "^1.0.1" 1663 | 1664 | is-regexp@^1.0.0: 1665 | version "1.0.0" 1666 | resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" 1667 | 1668 | is-resolvable@^1.0.0: 1669 | version "1.1.0" 1670 | resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" 1671 | 1672 | is-stream@^1.1.0: 1673 | version "1.1.0" 1674 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 1675 | 1676 | is-symbol@^1.0.1: 1677 | version "1.0.1" 1678 | resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" 1679 | 1680 | is-typedarray@~1.0.0: 1681 | version "1.0.0" 1682 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1683 | 1684 | is-utf8@^0.2.0: 1685 | version "0.2.1" 1686 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1687 | 1688 | isarray@1.0.0, isarray@~1.0.0: 1689 | version "1.0.0" 1690 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1691 | 1692 | isexe@^2.0.0: 1693 | version "2.0.0" 1694 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1695 | 1696 | isobject@^2.0.0: 1697 | version "2.1.0" 1698 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1699 | dependencies: 1700 | isarray "1.0.0" 1701 | 1702 | isstream@~0.1.2: 1703 | version "0.1.2" 1704 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1705 | 1706 | istanbul-api@^1.1.14: 1707 | version "1.2.1" 1708 | resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.2.1.tgz#0c60a0515eb11c7d65c6b50bba2c6e999acd8620" 1709 | dependencies: 1710 | async "^2.1.4" 1711 | fileset "^2.0.2" 1712 | istanbul-lib-coverage "^1.1.1" 1713 | istanbul-lib-hook "^1.1.0" 1714 | istanbul-lib-instrument "^1.9.1" 1715 | istanbul-lib-report "^1.1.2" 1716 | istanbul-lib-source-maps "^1.2.2" 1717 | istanbul-reports "^1.1.3" 1718 | js-yaml "^3.7.0" 1719 | mkdirp "^0.5.1" 1720 | once "^1.4.0" 1721 | 1722 | istanbul-lib-coverage@^1.1.1: 1723 | version "1.1.1" 1724 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz#73bfb998885299415c93d38a3e9adf784a77a9da" 1725 | 1726 | istanbul-lib-hook@^1.1.0: 1727 | version "1.1.0" 1728 | resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.1.0.tgz#8538d970372cb3716d53e55523dd54b557a8d89b" 1729 | dependencies: 1730 | append-transform "^0.4.0" 1731 | 1732 | istanbul-lib-instrument@^1.7.5, istanbul-lib-instrument@^1.8.0, istanbul-lib-instrument@^1.9.1: 1733 | version "1.9.1" 1734 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.9.1.tgz#250b30b3531e5d3251299fdd64b0b2c9db6b558e" 1735 | dependencies: 1736 | babel-generator "^6.18.0" 1737 | babel-template "^6.16.0" 1738 | babel-traverse "^6.18.0" 1739 | babel-types "^6.18.0" 1740 | babylon "^6.18.0" 1741 | istanbul-lib-coverage "^1.1.1" 1742 | semver "^5.3.0" 1743 | 1744 | istanbul-lib-report@^1.1.2: 1745 | version "1.1.2" 1746 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.2.tgz#922be27c13b9511b979bd1587359f69798c1d425" 1747 | dependencies: 1748 | istanbul-lib-coverage "^1.1.1" 1749 | mkdirp "^0.5.1" 1750 | path-parse "^1.0.5" 1751 | supports-color "^3.1.2" 1752 | 1753 | istanbul-lib-source-maps@^1.2.1, istanbul-lib-source-maps@^1.2.2: 1754 | version "1.2.2" 1755 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.2.tgz#750578602435f28a0c04ee6d7d9e0f2960e62c1c" 1756 | dependencies: 1757 | debug "^3.1.0" 1758 | istanbul-lib-coverage "^1.1.1" 1759 | mkdirp "^0.5.1" 1760 | rimraf "^2.6.1" 1761 | source-map "^0.5.3" 1762 | 1763 | istanbul-reports@^1.1.3: 1764 | version "1.1.3" 1765 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.3.tgz#3b9e1e8defb6d18b1d425da8e8b32c5a163f2d10" 1766 | dependencies: 1767 | handlebars "^4.0.3" 1768 | 1769 | jest-changed-files@^22.2.0: 1770 | version "22.2.0" 1771 | resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.2.0.tgz#517610c4a8ca0925bdc88b0ca53bd678aa8d019e" 1772 | dependencies: 1773 | throat "^4.0.0" 1774 | 1775 | jest-cli@^22.2.2: 1776 | version "22.2.2" 1777 | resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.2.2.tgz#4431a93a29549da5dcb6d4a41dd03503c9198cd6" 1778 | dependencies: 1779 | ansi-escapes "^3.0.0" 1780 | chalk "^2.0.1" 1781 | exit "^0.1.2" 1782 | glob "^7.1.2" 1783 | graceful-fs "^4.1.11" 1784 | import-local "^1.0.0" 1785 | is-ci "^1.0.10" 1786 | istanbul-api "^1.1.14" 1787 | istanbul-lib-coverage "^1.1.1" 1788 | istanbul-lib-instrument "^1.8.0" 1789 | istanbul-lib-source-maps "^1.2.1" 1790 | jest-changed-files "^22.2.0" 1791 | jest-config "^22.2.2" 1792 | jest-environment-jsdom "^22.2.2" 1793 | jest-get-type "^22.1.0" 1794 | jest-haste-map "^22.2.2" 1795 | jest-message-util "^22.2.0" 1796 | jest-regex-util "^22.1.0" 1797 | jest-resolve-dependencies "^22.1.0" 1798 | jest-runner "^22.2.2" 1799 | jest-runtime "^22.2.2" 1800 | jest-snapshot "^22.2.0" 1801 | jest-util "^22.2.2" 1802 | jest-worker "^22.2.2" 1803 | micromatch "^2.3.11" 1804 | node-notifier "^5.2.1" 1805 | realpath-native "^1.0.0" 1806 | rimraf "^2.5.4" 1807 | slash "^1.0.0" 1808 | string-length "^2.0.0" 1809 | strip-ansi "^4.0.0" 1810 | which "^1.2.12" 1811 | yargs "^10.0.3" 1812 | 1813 | jest-config@^22.2.2: 1814 | version "22.2.2" 1815 | resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.2.2.tgz#6b8ed615bc51239847d15460086f174dad4a7015" 1816 | dependencies: 1817 | chalk "^2.0.1" 1818 | glob "^7.1.1" 1819 | jest-environment-jsdom "^22.2.2" 1820 | jest-environment-node "^22.2.2" 1821 | jest-get-type "^22.1.0" 1822 | jest-jasmine2 "^22.2.2" 1823 | jest-regex-util "^22.1.0" 1824 | jest-resolve "^22.2.2" 1825 | jest-util "^22.2.2" 1826 | jest-validate "^22.2.2" 1827 | pretty-format "^22.1.0" 1828 | 1829 | jest-diff@^22.1.0: 1830 | version "22.1.0" 1831 | resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-22.1.0.tgz#0fad9d96c87b453896bf939df3dc8aac6919ac38" 1832 | dependencies: 1833 | chalk "^2.0.1" 1834 | diff "^3.2.0" 1835 | jest-get-type "^22.1.0" 1836 | pretty-format "^22.1.0" 1837 | 1838 | jest-docblock@^22.2.2: 1839 | version "22.2.2" 1840 | resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.2.2.tgz#617f13edb16ec64202002b3c336cd14ae36c0631" 1841 | dependencies: 1842 | detect-newline "^2.1.0" 1843 | 1844 | jest-environment-jsdom@^22.2.2: 1845 | version "22.2.2" 1846 | resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.2.2.tgz#3513ccdccc2bc41daf9cdee199b7069b0d9feebc" 1847 | dependencies: 1848 | jest-mock "^22.2.0" 1849 | jest-util "^22.2.2" 1850 | jsdom "^11.5.1" 1851 | 1852 | jest-environment-node@^22.2.2: 1853 | version "22.2.2" 1854 | resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.2.2.tgz#570896eef2dd0f939c71bd5712ef4321958c1270" 1855 | dependencies: 1856 | jest-mock "^22.2.0" 1857 | jest-util "^22.2.2" 1858 | 1859 | jest-get-type@^21.2.0: 1860 | version "21.2.0" 1861 | resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.2.0.tgz#f6376ab9db4b60d81e39f30749c6c466f40d4a23" 1862 | 1863 | jest-get-type@^22.1.0: 1864 | version "22.1.0" 1865 | resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.1.0.tgz#4e90af298ed6181edc85d2da500dbd2753e0d5a9" 1866 | 1867 | jest-haste-map@^22.2.2: 1868 | version "22.2.2" 1869 | resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.2.2.tgz#9d3d5a14bd5e05ab9176979f2a5fbb4ddc80eb20" 1870 | dependencies: 1871 | fb-watchman "^2.0.0" 1872 | graceful-fs "^4.1.11" 1873 | jest-docblock "^22.2.2" 1874 | jest-worker "^22.2.2" 1875 | micromatch "^2.3.11" 1876 | sane "^2.0.0" 1877 | 1878 | jest-jasmine2@^22.2.2: 1879 | version "22.2.2" 1880 | resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.2.2.tgz#9065255c8f635ae9dfa33fc66068f59adf53c9aa" 1881 | dependencies: 1882 | callsites "^2.0.0" 1883 | chalk "^2.0.1" 1884 | co "^4.6.0" 1885 | expect "^22.2.2" 1886 | graceful-fs "^4.1.11" 1887 | is-generator-fn "^1.0.0" 1888 | jest-diff "^22.1.0" 1889 | jest-matcher-utils "^22.2.0" 1890 | jest-message-util "^22.2.0" 1891 | jest-snapshot "^22.2.0" 1892 | source-map-support "^0.5.0" 1893 | 1894 | jest-leak-detector@^22.1.0: 1895 | version "22.1.0" 1896 | resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-22.1.0.tgz#08376644cee07103da069baac19adb0299b772c2" 1897 | dependencies: 1898 | pretty-format "^22.1.0" 1899 | 1900 | jest-matcher-utils@^22.2.0: 1901 | version "22.2.0" 1902 | resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.2.0.tgz#5390f823c18c748543d463825aa8e4df0db253ca" 1903 | dependencies: 1904 | chalk "^2.0.1" 1905 | jest-get-type "^22.1.0" 1906 | pretty-format "^22.1.0" 1907 | 1908 | jest-message-util@^22.2.0: 1909 | version "22.2.0" 1910 | resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.2.0.tgz#84a6bb34186d8b9af7e0732fabbef63f7355f7b2" 1911 | dependencies: 1912 | "@babel/code-frame" "^7.0.0-beta.35" 1913 | chalk "^2.0.1" 1914 | micromatch "^2.3.11" 1915 | slash "^1.0.0" 1916 | stack-utils "^1.0.1" 1917 | 1918 | jest-mock@^22.2.0: 1919 | version "22.2.0" 1920 | resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-22.2.0.tgz#444b3f9488a7473adae09bc8a77294afded397a7" 1921 | 1922 | jest-regex-util@^22.1.0: 1923 | version "22.1.0" 1924 | resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-22.1.0.tgz#5daf2fe270074b6da63e5d85f1c9acc866768f53" 1925 | 1926 | jest-resolve-dependencies@^22.1.0: 1927 | version "22.1.0" 1928 | resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-22.1.0.tgz#340e4139fb13315cd43abc054e6c06136be51e31" 1929 | dependencies: 1930 | jest-regex-util "^22.1.0" 1931 | 1932 | jest-resolve@^22.2.2: 1933 | version "22.2.2" 1934 | resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.2.2.tgz#6f49d91e3680c86a4d5e5f72ccdab3996d1cbc19" 1935 | dependencies: 1936 | browser-resolve "^1.11.2" 1937 | chalk "^2.0.1" 1938 | 1939 | jest-runner@^22.2.2: 1940 | version "22.2.2" 1941 | resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.2.2.tgz#17fff27a61b63b58cf104c9cdcc0fdfccd3878ce" 1942 | dependencies: 1943 | exit "^0.1.2" 1944 | jest-config "^22.2.2" 1945 | jest-docblock "^22.2.2" 1946 | jest-haste-map "^22.2.2" 1947 | jest-jasmine2 "^22.2.2" 1948 | jest-leak-detector "^22.1.0" 1949 | jest-message-util "^22.2.0" 1950 | jest-runtime "^22.2.2" 1951 | jest-util "^22.2.2" 1952 | jest-worker "^22.2.2" 1953 | throat "^4.0.0" 1954 | 1955 | jest-runtime@^22.2.2: 1956 | version "22.2.2" 1957 | resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.2.2.tgz#256d0efb65deae1c23b819d88cec5ab43d7a4ed6" 1958 | dependencies: 1959 | babel-core "^6.0.0" 1960 | babel-jest "^22.2.2" 1961 | babel-plugin-istanbul "^4.1.5" 1962 | chalk "^2.0.1" 1963 | convert-source-map "^1.4.0" 1964 | exit "^0.1.2" 1965 | graceful-fs "^4.1.11" 1966 | jest-config "^22.2.2" 1967 | jest-haste-map "^22.2.2" 1968 | jest-regex-util "^22.1.0" 1969 | jest-resolve "^22.2.2" 1970 | jest-util "^22.2.2" 1971 | json-stable-stringify "^1.0.1" 1972 | micromatch "^2.3.11" 1973 | realpath-native "^1.0.0" 1974 | slash "^1.0.0" 1975 | strip-bom "3.0.0" 1976 | write-file-atomic "^2.1.0" 1977 | yargs "^10.0.3" 1978 | 1979 | jest-snapshot@^22.2.0: 1980 | version "22.2.0" 1981 | resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.2.0.tgz#0c0ba152d296ef70fa198cc84977a2cc269ee4cf" 1982 | dependencies: 1983 | chalk "^2.0.1" 1984 | jest-diff "^22.1.0" 1985 | jest-matcher-utils "^22.2.0" 1986 | mkdirp "^0.5.1" 1987 | natural-compare "^1.4.0" 1988 | pretty-format "^22.1.0" 1989 | 1990 | jest-util@^22.2.2: 1991 | version "22.2.2" 1992 | resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.2.2.tgz#335484b6aeae0c5a1ae498401630324977fe3465" 1993 | dependencies: 1994 | callsites "^2.0.0" 1995 | chalk "^2.0.1" 1996 | graceful-fs "^4.1.11" 1997 | is-ci "^1.0.10" 1998 | jest-message-util "^22.2.0" 1999 | jest-validate "^22.2.2" 2000 | mkdirp "^0.5.1" 2001 | 2002 | jest-validate@^21.1.0: 2003 | version "21.2.1" 2004 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.2.1.tgz#cc0cbca653cd54937ba4f2a111796774530dd3c7" 2005 | dependencies: 2006 | chalk "^2.0.1" 2007 | jest-get-type "^21.2.0" 2008 | leven "^2.1.0" 2009 | pretty-format "^21.2.1" 2010 | 2011 | jest-validate@^22.2.2: 2012 | version "22.2.2" 2013 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.2.2.tgz#9cdce422c93cc28395e907ac6bbc929158d9a6ba" 2014 | dependencies: 2015 | chalk "^2.0.1" 2016 | jest-get-type "^22.1.0" 2017 | leven "^2.1.0" 2018 | pretty-format "^22.1.0" 2019 | 2020 | jest-worker@^22.2.2: 2021 | version "22.2.2" 2022 | resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.2.2.tgz#c1f5dc39976884b81f68ec50cb8532b2cbab3390" 2023 | dependencies: 2024 | merge-stream "^1.0.1" 2025 | 2026 | jest@^22.2.2: 2027 | version "22.2.2" 2028 | resolved "https://registry.yarnpkg.com/jest/-/jest-22.2.2.tgz#26aca0f5e4eaa76d52f2792b14033a3d1e7be2bd" 2029 | dependencies: 2030 | import-local "^1.0.0" 2031 | jest-cli "^22.2.2" 2032 | 2033 | js-tokens@^3.0.0, js-tokens@^3.0.2: 2034 | version "3.0.2" 2035 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 2036 | 2037 | js-yaml@^3.7.0, js-yaml@^3.9.0, js-yaml@^3.9.1: 2038 | version "3.10.0" 2039 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" 2040 | dependencies: 2041 | argparse "^1.0.7" 2042 | esprima "^4.0.0" 2043 | 2044 | jsbn@~0.1.0: 2045 | version "0.1.1" 2046 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 2047 | 2048 | jsdom@^11.5.1: 2049 | version "11.6.2" 2050 | resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-11.6.2.tgz#25d1ef332d48adf77fc5221fe2619967923f16bb" 2051 | dependencies: 2052 | abab "^1.0.4" 2053 | acorn "^5.3.0" 2054 | acorn-globals "^4.1.0" 2055 | array-equal "^1.0.0" 2056 | browser-process-hrtime "^0.1.2" 2057 | content-type-parser "^1.0.2" 2058 | cssom ">= 0.3.2 < 0.4.0" 2059 | cssstyle ">= 0.2.37 < 0.3.0" 2060 | domexception "^1.0.0" 2061 | escodegen "^1.9.0" 2062 | html-encoding-sniffer "^1.0.2" 2063 | left-pad "^1.2.0" 2064 | nwmatcher "^1.4.3" 2065 | parse5 "4.0.0" 2066 | pn "^1.1.0" 2067 | request "^2.83.0" 2068 | request-promise-native "^1.0.5" 2069 | sax "^1.2.4" 2070 | symbol-tree "^3.2.2" 2071 | tough-cookie "^2.3.3" 2072 | w3c-hr-time "^1.0.1" 2073 | webidl-conversions "^4.0.2" 2074 | whatwg-encoding "^1.0.3" 2075 | whatwg-url "^6.4.0" 2076 | ws "^4.0.0" 2077 | xml-name-validator "^3.0.0" 2078 | 2079 | jsesc@^1.3.0: 2080 | version "1.3.0" 2081 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 2082 | 2083 | json-parse-better-errors@^1.0.1: 2084 | version "1.0.1" 2085 | resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a" 2086 | 2087 | json-schema-traverse@^0.3.0: 2088 | version "0.3.1" 2089 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 2090 | 2091 | json-schema@0.2.3: 2092 | version "0.2.3" 2093 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 2094 | 2095 | json-stable-stringify-without-jsonify@^1.0.1: 2096 | version "1.0.1" 2097 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" 2098 | 2099 | json-stable-stringify@^1.0.1: 2100 | version "1.0.1" 2101 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 2102 | dependencies: 2103 | jsonify "~0.0.0" 2104 | 2105 | json-stringify-safe@~5.0.1: 2106 | version "5.0.1" 2107 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 2108 | 2109 | json5@^0.5.1: 2110 | version "0.5.1" 2111 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 2112 | 2113 | jsonify@~0.0.0: 2114 | version "0.0.0" 2115 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 2116 | 2117 | jsprim@^1.2.2: 2118 | version "1.4.1" 2119 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 2120 | dependencies: 2121 | assert-plus "1.0.0" 2122 | extsprintf "1.3.0" 2123 | json-schema "0.2.3" 2124 | verror "1.10.0" 2125 | 2126 | kind-of@^3.0.2: 2127 | version "3.2.2" 2128 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 2129 | dependencies: 2130 | is-buffer "^1.1.5" 2131 | 2132 | kind-of@^4.0.0: 2133 | version "4.0.0" 2134 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 2135 | dependencies: 2136 | is-buffer "^1.1.5" 2137 | 2138 | lazy-cache@^1.0.3: 2139 | version "1.0.4" 2140 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 2141 | 2142 | lcid@^1.0.0: 2143 | version "1.0.0" 2144 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 2145 | dependencies: 2146 | invert-kv "^1.0.0" 2147 | 2148 | left-pad@^1.2.0: 2149 | version "1.2.0" 2150 | resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee" 2151 | 2152 | leven@^2.1.0: 2153 | version "2.1.0" 2154 | resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" 2155 | 2156 | levn@^0.3.0, levn@~0.3.0: 2157 | version "0.3.0" 2158 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 2159 | dependencies: 2160 | prelude-ls "~1.1.2" 2161 | type-check "~0.3.2" 2162 | 2163 | lint-staged@^6.1.0: 2164 | version "6.1.0" 2165 | resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-6.1.0.tgz#28f600c10a6cbd249ceb003118a1552e53544a93" 2166 | dependencies: 2167 | app-root-path "^2.0.0" 2168 | chalk "^2.1.0" 2169 | commander "^2.11.0" 2170 | cosmiconfig "^4.0.0" 2171 | debug "^3.1.0" 2172 | dedent "^0.7.0" 2173 | execa "^0.8.0" 2174 | find-parent-dir "^0.3.0" 2175 | is-glob "^4.0.0" 2176 | jest-validate "^21.1.0" 2177 | listr "^0.13.0" 2178 | lodash "^4.17.4" 2179 | log-symbols "^2.0.0" 2180 | minimatch "^3.0.0" 2181 | npm-which "^3.0.1" 2182 | p-map "^1.1.1" 2183 | path-is-inside "^1.0.2" 2184 | pify "^3.0.0" 2185 | staged-git-files "0.0.4" 2186 | stringify-object "^3.2.0" 2187 | 2188 | listr-silent-renderer@^1.1.1: 2189 | version "1.1.1" 2190 | resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" 2191 | 2192 | listr-update-renderer@^0.4.0: 2193 | version "0.4.0" 2194 | resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz#344d980da2ca2e8b145ba305908f32ae3f4cc8a7" 2195 | dependencies: 2196 | chalk "^1.1.3" 2197 | cli-truncate "^0.2.1" 2198 | elegant-spinner "^1.0.1" 2199 | figures "^1.7.0" 2200 | indent-string "^3.0.0" 2201 | log-symbols "^1.0.2" 2202 | log-update "^1.0.2" 2203 | strip-ansi "^3.0.1" 2204 | 2205 | listr-verbose-renderer@^0.4.0: 2206 | version "0.4.1" 2207 | resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#8206f4cf6d52ddc5827e5fd14989e0e965933a35" 2208 | dependencies: 2209 | chalk "^1.1.3" 2210 | cli-cursor "^1.0.2" 2211 | date-fns "^1.27.2" 2212 | figures "^1.7.0" 2213 | 2214 | listr@^0.13.0: 2215 | version "0.13.0" 2216 | resolved "https://registry.yarnpkg.com/listr/-/listr-0.13.0.tgz#20bb0ba30bae660ee84cc0503df4be3d5623887d" 2217 | dependencies: 2218 | chalk "^1.1.3" 2219 | cli-truncate "^0.2.1" 2220 | figures "^1.7.0" 2221 | indent-string "^2.1.0" 2222 | is-observable "^0.2.0" 2223 | is-promise "^2.1.0" 2224 | is-stream "^1.1.0" 2225 | listr-silent-renderer "^1.1.1" 2226 | listr-update-renderer "^0.4.0" 2227 | listr-verbose-renderer "^0.4.0" 2228 | log-symbols "^1.0.2" 2229 | log-update "^1.0.2" 2230 | ora "^0.2.3" 2231 | p-map "^1.1.1" 2232 | rxjs "^5.4.2" 2233 | stream-to-observable "^0.2.0" 2234 | strip-ansi "^3.0.1" 2235 | 2236 | load-json-file@^1.0.0: 2237 | version "1.1.0" 2238 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 2239 | dependencies: 2240 | graceful-fs "^4.1.2" 2241 | parse-json "^2.2.0" 2242 | pify "^2.0.0" 2243 | pinkie-promise "^2.0.0" 2244 | strip-bom "^2.0.0" 2245 | 2246 | locate-path@^2.0.0: 2247 | version "2.0.0" 2248 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 2249 | dependencies: 2250 | p-locate "^2.0.0" 2251 | path-exists "^3.0.0" 2252 | 2253 | lodash.memoize@^4.1.2: 2254 | version "4.1.2" 2255 | resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" 2256 | 2257 | lodash.merge@^4.6.0: 2258 | version "4.6.1" 2259 | resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54" 2260 | 2261 | lodash.sortby@^4.7.0: 2262 | version "4.7.0" 2263 | resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" 2264 | 2265 | lodash.unescape@4.0.1: 2266 | version "4.0.1" 2267 | resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" 2268 | 2269 | lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.3.0: 2270 | version "4.17.5" 2271 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" 2272 | 2273 | log-symbols@^1.0.2: 2274 | version "1.0.2" 2275 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" 2276 | dependencies: 2277 | chalk "^1.0.0" 2278 | 2279 | log-symbols@^2.0.0: 2280 | version "2.2.0" 2281 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" 2282 | dependencies: 2283 | chalk "^2.0.1" 2284 | 2285 | log-update@^1.0.2: 2286 | version "1.0.2" 2287 | resolved "https://registry.yarnpkg.com/log-update/-/log-update-1.0.2.tgz#19929f64c4093d2d2e7075a1dad8af59c296b8d1" 2288 | dependencies: 2289 | ansi-escapes "^1.0.0" 2290 | cli-cursor "^1.0.2" 2291 | 2292 | loglevel-colored-level-prefix@^1.0.0: 2293 | version "1.0.0" 2294 | resolved "https://registry.yarnpkg.com/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz#6a40218fdc7ae15fc76c3d0f3e676c465388603e" 2295 | dependencies: 2296 | chalk "^1.1.3" 2297 | loglevel "^1.4.1" 2298 | 2299 | loglevel@^1.4.1: 2300 | version "1.6.1" 2301 | resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa" 2302 | 2303 | long@^3.2.0: 2304 | version "3.2.0" 2305 | resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" 2306 | 2307 | longest@^1.0.1: 2308 | version "1.0.1" 2309 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 2310 | 2311 | loose-envify@^1.0.0: 2312 | version "1.3.1" 2313 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 2314 | dependencies: 2315 | js-tokens "^3.0.0" 2316 | 2317 | lru-cache@^4.0.1: 2318 | version "4.1.1" 2319 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" 2320 | dependencies: 2321 | pseudomap "^1.0.2" 2322 | yallist "^2.1.2" 2323 | 2324 | make-plural@^4.1.1: 2325 | version "4.1.1" 2326 | resolved "https://registry.yarnpkg.com/make-plural/-/make-plural-4.1.1.tgz#5658ce9d337487077daed221854c8cef9dd75749" 2327 | optionalDependencies: 2328 | minimist "^1.2.0" 2329 | 2330 | makeerror@1.0.x: 2331 | version "1.0.11" 2332 | resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" 2333 | dependencies: 2334 | tmpl "1.0.x" 2335 | 2336 | map-obj@^2.0.0: 2337 | version "2.0.0" 2338 | resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" 2339 | 2340 | mem@^1.1.0: 2341 | version "1.1.0" 2342 | resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" 2343 | dependencies: 2344 | mimic-fn "^1.0.0" 2345 | 2346 | merge-stream@^1.0.1: 2347 | version "1.0.1" 2348 | resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" 2349 | dependencies: 2350 | readable-stream "^2.0.1" 2351 | 2352 | merge@^1.1.3: 2353 | version "1.2.0" 2354 | resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" 2355 | 2356 | messageformat-parser@^1.1.0: 2357 | version "1.1.0" 2358 | resolved "https://registry.yarnpkg.com/messageformat-parser/-/messageformat-parser-1.1.0.tgz#13ba2250a76bbde8e0fca0dbb3475f95c594a90a" 2359 | 2360 | messageformat@^1.0.2: 2361 | version "1.1.1" 2362 | resolved "https://registry.yarnpkg.com/messageformat/-/messageformat-1.1.1.tgz#ceaa2e6c86929d4807058275a7372b1bd963bdf6" 2363 | dependencies: 2364 | glob "~7.0.6" 2365 | make-plural "^4.1.1" 2366 | messageformat-parser "^1.1.0" 2367 | nopt "~3.0.6" 2368 | reserved-words "^0.1.2" 2369 | 2370 | micromatch@^2.1.5, micromatch@^2.3.11: 2371 | version "2.3.11" 2372 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 2373 | dependencies: 2374 | arr-diff "^2.0.0" 2375 | array-unique "^0.2.1" 2376 | braces "^1.8.2" 2377 | expand-brackets "^0.1.4" 2378 | extglob "^0.3.1" 2379 | filename-regex "^2.0.0" 2380 | is-extglob "^1.0.0" 2381 | is-glob "^2.0.1" 2382 | kind-of "^3.0.2" 2383 | normalize-path "^2.0.1" 2384 | object.omit "^2.0.0" 2385 | parse-glob "^3.0.4" 2386 | regex-cache "^0.4.2" 2387 | 2388 | mime-db@~1.30.0: 2389 | version "1.30.0" 2390 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" 2391 | 2392 | mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.7: 2393 | version "2.1.17" 2394 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" 2395 | dependencies: 2396 | mime-db "~1.30.0" 2397 | 2398 | mimic-fn@^1.0.0: 2399 | version "1.2.0" 2400 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" 2401 | 2402 | minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: 2403 | version "3.0.4" 2404 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 2405 | dependencies: 2406 | brace-expansion "^1.1.7" 2407 | 2408 | minimist@0.0.8: 2409 | version "0.0.8" 2410 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 2411 | 2412 | minimist@^1.1.1, minimist@^1.2.0: 2413 | version "1.2.0" 2414 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 2415 | 2416 | minimist@~0.0.1: 2417 | version "0.0.10" 2418 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" 2419 | 2420 | "mkdirp@>=0.5 0", mkdirp@^0.5.1: 2421 | version "0.5.1" 2422 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 2423 | dependencies: 2424 | minimist "0.0.8" 2425 | 2426 | ms@2.0.0: 2427 | version "2.0.0" 2428 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 2429 | 2430 | mute-stream@0.0.7: 2431 | version "0.0.7" 2432 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 2433 | 2434 | nan@^2.3.0: 2435 | version "2.8.0" 2436 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a" 2437 | 2438 | natural-compare@^1.4.0: 2439 | version "1.4.0" 2440 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 2441 | 2442 | node-int64@^0.4.0: 2443 | version "0.4.0" 2444 | resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" 2445 | 2446 | node-notifier@^5.2.1: 2447 | version "5.2.1" 2448 | resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.2.1.tgz#fa313dd08f5517db0e2502e5758d664ac69f9dea" 2449 | dependencies: 2450 | growly "^1.3.0" 2451 | semver "^5.4.1" 2452 | shellwords "^0.1.1" 2453 | which "^1.3.0" 2454 | 2455 | node-pre-gyp@^0.6.39: 2456 | version "0.6.39" 2457 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz#c00e96860b23c0e1420ac7befc5044e1d78d8649" 2458 | dependencies: 2459 | detect-libc "^1.0.2" 2460 | hawk "3.1.3" 2461 | mkdirp "^0.5.1" 2462 | nopt "^4.0.1" 2463 | npmlog "^4.0.2" 2464 | rc "^1.1.7" 2465 | request "2.81.0" 2466 | rimraf "^2.6.1" 2467 | semver "^5.3.0" 2468 | tar "^2.2.1" 2469 | tar-pack "^3.4.0" 2470 | 2471 | nopt@^4.0.1: 2472 | version "4.0.1" 2473 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 2474 | dependencies: 2475 | abbrev "1" 2476 | osenv "^0.1.4" 2477 | 2478 | nopt@~3.0.6: 2479 | version "3.0.6" 2480 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" 2481 | dependencies: 2482 | abbrev "1" 2483 | 2484 | normalize-package-data@^2.3.2: 2485 | version "2.4.0" 2486 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" 2487 | dependencies: 2488 | hosted-git-info "^2.1.4" 2489 | is-builtin-module "^1.0.0" 2490 | semver "2 || 3 || 4 || 5" 2491 | validate-npm-package-license "^3.0.1" 2492 | 2493 | normalize-path@^1.0.0: 2494 | version "1.0.0" 2495 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379" 2496 | 2497 | normalize-path@^2.0.0, normalize-path@^2.0.1: 2498 | version "2.1.1" 2499 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 2500 | dependencies: 2501 | remove-trailing-separator "^1.0.1" 2502 | 2503 | npm-path@^2.0.2: 2504 | version "2.0.4" 2505 | resolved "https://registry.yarnpkg.com/npm-path/-/npm-path-2.0.4.tgz#c641347a5ff9d6a09e4d9bce5580c4f505278e64" 2506 | dependencies: 2507 | which "^1.2.10" 2508 | 2509 | npm-run-path@^2.0.0: 2510 | version "2.0.2" 2511 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 2512 | dependencies: 2513 | path-key "^2.0.0" 2514 | 2515 | npm-which@^3.0.1: 2516 | version "3.0.1" 2517 | resolved "https://registry.yarnpkg.com/npm-which/-/npm-which-3.0.1.tgz#9225f26ec3a285c209cae67c3b11a6b4ab7140aa" 2518 | dependencies: 2519 | commander "^2.9.0" 2520 | npm-path "^2.0.2" 2521 | which "^1.2.10" 2522 | 2523 | npmlog@^4.0.2: 2524 | version "4.1.2" 2525 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 2526 | dependencies: 2527 | are-we-there-yet "~1.1.2" 2528 | console-control-strings "~1.1.0" 2529 | gauge "~2.7.3" 2530 | set-blocking "~2.0.0" 2531 | 2532 | number-is-nan@^1.0.0: 2533 | version "1.0.1" 2534 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 2535 | 2536 | nwmatcher@^1.4.3: 2537 | version "1.4.3" 2538 | resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.3.tgz#64348e3b3d80f035b40ac11563d278f8b72db89c" 2539 | 2540 | oauth-sign@~0.8.1, oauth-sign@~0.8.2: 2541 | version "0.8.2" 2542 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 2543 | 2544 | object-assign@^4.0.1, object-assign@^4.1.0: 2545 | version "4.1.1" 2546 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 2547 | 2548 | object-keys@^1.0.8: 2549 | version "1.0.11" 2550 | resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" 2551 | 2552 | object.getownpropertydescriptors@^2.0.3: 2553 | version "2.0.3" 2554 | resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" 2555 | dependencies: 2556 | define-properties "^1.1.2" 2557 | es-abstract "^1.5.1" 2558 | 2559 | object.omit@^2.0.0: 2560 | version "2.0.1" 2561 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 2562 | dependencies: 2563 | for-own "^0.1.4" 2564 | is-extendable "^0.1.1" 2565 | 2566 | once@^1.3.0, once@^1.3.3, once@^1.4.0: 2567 | version "1.4.0" 2568 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 2569 | dependencies: 2570 | wrappy "1" 2571 | 2572 | onetime@^1.0.0: 2573 | version "1.1.0" 2574 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" 2575 | 2576 | onetime@^2.0.0: 2577 | version "2.0.1" 2578 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" 2579 | dependencies: 2580 | mimic-fn "^1.0.0" 2581 | 2582 | optimist@^0.6.1: 2583 | version "0.6.1" 2584 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 2585 | dependencies: 2586 | minimist "~0.0.1" 2587 | wordwrap "~0.0.2" 2588 | 2589 | optionator@^0.8.1, optionator@^0.8.2: 2590 | version "0.8.2" 2591 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 2592 | dependencies: 2593 | deep-is "~0.1.3" 2594 | fast-levenshtein "~2.0.4" 2595 | levn "~0.3.0" 2596 | prelude-ls "~1.1.2" 2597 | type-check "~0.3.2" 2598 | wordwrap "~1.0.0" 2599 | 2600 | ora@^0.2.3: 2601 | version "0.2.3" 2602 | resolved "https://registry.yarnpkg.com/ora/-/ora-0.2.3.tgz#37527d220adcd53c39b73571d754156d5db657a4" 2603 | dependencies: 2604 | chalk "^1.1.1" 2605 | cli-cursor "^1.0.2" 2606 | cli-spinners "^0.1.2" 2607 | object-assign "^4.0.1" 2608 | 2609 | os-homedir@^1.0.0: 2610 | version "1.0.2" 2611 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 2612 | 2613 | os-locale@^2.0.0: 2614 | version "2.1.0" 2615 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" 2616 | dependencies: 2617 | execa "^0.7.0" 2618 | lcid "^1.0.0" 2619 | mem "^1.1.0" 2620 | 2621 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: 2622 | version "1.0.2" 2623 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 2624 | 2625 | osenv@^0.1.4: 2626 | version "0.1.4" 2627 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 2628 | dependencies: 2629 | os-homedir "^1.0.0" 2630 | os-tmpdir "^1.0.0" 2631 | 2632 | p-finally@^1.0.0: 2633 | version "1.0.0" 2634 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 2635 | 2636 | p-limit@^1.1.0: 2637 | version "1.2.0" 2638 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c" 2639 | dependencies: 2640 | p-try "^1.0.0" 2641 | 2642 | p-locate@^2.0.0: 2643 | version "2.0.0" 2644 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 2645 | dependencies: 2646 | p-limit "^1.1.0" 2647 | 2648 | p-map@^1.1.1: 2649 | version "1.2.0" 2650 | resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" 2651 | 2652 | p-try@^1.0.0: 2653 | version "1.0.0" 2654 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" 2655 | 2656 | parse-glob@^3.0.4: 2657 | version "3.0.4" 2658 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 2659 | dependencies: 2660 | glob-base "^0.3.0" 2661 | is-dotfile "^1.0.0" 2662 | is-extglob "^1.0.0" 2663 | is-glob "^2.0.0" 2664 | 2665 | parse-json@^2.2.0: 2666 | version "2.2.0" 2667 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 2668 | dependencies: 2669 | error-ex "^1.2.0" 2670 | 2671 | parse-json@^4.0.0: 2672 | version "4.0.0" 2673 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" 2674 | dependencies: 2675 | error-ex "^1.3.1" 2676 | json-parse-better-errors "^1.0.1" 2677 | 2678 | parse5@4.0.0: 2679 | version "4.0.0" 2680 | resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" 2681 | 2682 | path-exists@^2.0.0: 2683 | version "2.1.0" 2684 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 2685 | dependencies: 2686 | pinkie-promise "^2.0.0" 2687 | 2688 | path-exists@^3.0.0: 2689 | version "3.0.0" 2690 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 2691 | 2692 | path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: 2693 | version "1.0.1" 2694 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 2695 | 2696 | path-is-inside@^1.0.1, path-is-inside@^1.0.2: 2697 | version "1.0.2" 2698 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 2699 | 2700 | path-key@^2.0.0: 2701 | version "2.0.1" 2702 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 2703 | 2704 | path-parse@^1.0.5: 2705 | version "1.0.5" 2706 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 2707 | 2708 | path-type@^1.0.0: 2709 | version "1.1.0" 2710 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 2711 | dependencies: 2712 | graceful-fs "^4.1.2" 2713 | pify "^2.0.0" 2714 | pinkie-promise "^2.0.0" 2715 | 2716 | performance-now@^0.2.0: 2717 | version "0.2.0" 2718 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 2719 | 2720 | performance-now@^2.1.0: 2721 | version "2.1.0" 2722 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 2723 | 2724 | pify@^2.0.0: 2725 | version "2.3.0" 2726 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 2727 | 2728 | pify@^3.0.0: 2729 | version "3.0.0" 2730 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 2731 | 2732 | pinkie-promise@^2.0.0: 2733 | version "2.0.1" 2734 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 2735 | dependencies: 2736 | pinkie "^2.0.0" 2737 | 2738 | pinkie@^2.0.0: 2739 | version "2.0.4" 2740 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 2741 | 2742 | pkg-dir@^2.0.0: 2743 | version "2.0.0" 2744 | resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" 2745 | dependencies: 2746 | find-up "^2.1.0" 2747 | 2748 | pluralize@^7.0.0: 2749 | version "7.0.0" 2750 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" 2751 | 2752 | pn@^1.1.0: 2753 | version "1.1.0" 2754 | resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" 2755 | 2756 | prelude-ls@~1.1.2: 2757 | version "1.1.2" 2758 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 2759 | 2760 | preserve@^0.2.0: 2761 | version "0.2.0" 2762 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 2763 | 2764 | prettier-eslint-cli@^4.3.0: 2765 | version "4.7.0" 2766 | resolved "https://registry.yarnpkg.com/prettier-eslint-cli/-/prettier-eslint-cli-4.7.0.tgz#66421dd8e03ea67d6ba28d9e16b0de01559bc8ad" 2767 | dependencies: 2768 | arrify "^1.0.1" 2769 | babel-runtime "^6.23.0" 2770 | boolify "^1.0.0" 2771 | camelcase-keys "^4.1.0" 2772 | chalk "2.3.0" 2773 | common-tags "^1.4.0" 2774 | eslint "^4.5.0" 2775 | find-up "^2.1.0" 2776 | get-stdin "^5.0.1" 2777 | glob "^7.1.1" 2778 | ignore "^3.2.7" 2779 | indent-string "^3.1.0" 2780 | lodash.memoize "^4.1.2" 2781 | loglevel-colored-level-prefix "^1.0.0" 2782 | messageformat "^1.0.2" 2783 | prettier-eslint "^8.5.0" 2784 | rxjs "^5.3.0" 2785 | yargs "10.0.3" 2786 | 2787 | prettier-eslint@^7.0.0: 2788 | version "7.1.0" 2789 | resolved "https://registry.yarnpkg.com/prettier-eslint/-/prettier-eslint-7.1.0.tgz#cba3925f90a14498bd1ebb5464c3bbba00659868" 2790 | dependencies: 2791 | common-tags "^1.4.0" 2792 | dlv "^1.1.0" 2793 | eslint "^4.5.0" 2794 | indent-string "^3.2.0" 2795 | lodash.merge "^4.6.0" 2796 | loglevel-colored-level-prefix "^1.0.0" 2797 | prettier "^1.6.0" 2798 | pretty-format "^20.0.3" 2799 | require-relative "^0.8.7" 2800 | typescript "^2.4.2" 2801 | typescript-eslint-parser "^7.0.0" 2802 | 2803 | prettier-eslint@^8.5.0: 2804 | version "8.8.1" 2805 | resolved "https://registry.yarnpkg.com/prettier-eslint/-/prettier-eslint-8.8.1.tgz#38505163274742f2a0b31653c39e40f37ebd07da" 2806 | dependencies: 2807 | babel-runtime "^6.26.0" 2808 | common-tags "^1.4.0" 2809 | dlv "^1.1.0" 2810 | eslint "^4.0.0" 2811 | indent-string "^3.2.0" 2812 | lodash.merge "^4.6.0" 2813 | loglevel-colored-level-prefix "^1.0.0" 2814 | prettier "^1.7.0" 2815 | pretty-format "^22.0.3" 2816 | require-relative "^0.8.7" 2817 | typescript "^2.5.1" 2818 | typescript-eslint-parser "^11.0.0" 2819 | 2820 | prettier@^1.6.0, prettier@^1.6.1, prettier@^1.7.0: 2821 | version "1.10.2" 2822 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93" 2823 | 2824 | pretty-format@^20.0.3: 2825 | version "20.0.3" 2826 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-20.0.3.tgz#020e350a560a1fe1a98dc3beb6ccffb386de8b14" 2827 | dependencies: 2828 | ansi-regex "^2.1.1" 2829 | ansi-styles "^3.0.0" 2830 | 2831 | pretty-format@^21.2.1: 2832 | version "21.2.1" 2833 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-21.2.1.tgz#ae5407f3cf21066cd011aa1ba5fce7b6a2eddb36" 2834 | dependencies: 2835 | ansi-regex "^3.0.0" 2836 | ansi-styles "^3.2.0" 2837 | 2838 | pretty-format@^22.0.3, pretty-format@^22.1.0: 2839 | version "22.1.0" 2840 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.1.0.tgz#2277605b40ed4529ae4db51ff62f4be817647914" 2841 | dependencies: 2842 | ansi-regex "^3.0.0" 2843 | ansi-styles "^3.2.0" 2844 | 2845 | private@^0.1.7: 2846 | version "0.1.8" 2847 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" 2848 | 2849 | process-nextick-args@~1.0.6: 2850 | version "1.0.7" 2851 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 2852 | 2853 | process-nextick-args@~2.0.0: 2854 | version "2.0.0" 2855 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" 2856 | 2857 | progress@^2.0.0: 2858 | version "2.0.0" 2859 | resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" 2860 | 2861 | protobufjs@^6.8.0: 2862 | version "6.8.4" 2863 | resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.8.4.tgz#183f90d1c4aca5f6b34a79eaedd0d89ad21f603b" 2864 | dependencies: 2865 | "@protobufjs/aspromise" "^1.1.2" 2866 | "@protobufjs/base64" "^1.1.2" 2867 | "@protobufjs/codegen" "^2.0.4" 2868 | "@protobufjs/eventemitter" "^1.1.0" 2869 | "@protobufjs/fetch" "^1.1.0" 2870 | "@protobufjs/float" "^1.0.2" 2871 | "@protobufjs/inquire" "^1.1.0" 2872 | "@protobufjs/path" "^1.1.2" 2873 | "@protobufjs/pool" "^1.1.0" 2874 | "@protobufjs/utf8" "^1.1.0" 2875 | "@types/long" "^3.0.32" 2876 | "@types/node" "^8.5.5" 2877 | long "^3.2.0" 2878 | 2879 | pseudomap@^1.0.2: 2880 | version "1.0.2" 2881 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 2882 | 2883 | punycode@^1.4.1: 2884 | version "1.4.1" 2885 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 2886 | 2887 | punycode@^2.1.0: 2888 | version "2.1.0" 2889 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" 2890 | 2891 | qs@~6.4.0: 2892 | version "6.4.0" 2893 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 2894 | 2895 | qs@~6.5.1: 2896 | version "6.5.1" 2897 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 2898 | 2899 | quick-lru@^1.0.0: 2900 | version "1.1.0" 2901 | resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" 2902 | 2903 | randomatic@^1.1.3: 2904 | version "1.1.7" 2905 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" 2906 | dependencies: 2907 | is-number "^3.0.0" 2908 | kind-of "^4.0.0" 2909 | 2910 | rc@^1.1.7: 2911 | version "1.2.5" 2912 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.5.tgz#275cd687f6e3b36cc756baa26dfee80a790301fd" 2913 | dependencies: 2914 | deep-extend "~0.4.0" 2915 | ini "~1.3.0" 2916 | minimist "^1.2.0" 2917 | strip-json-comments "~2.0.1" 2918 | 2919 | read-pkg-up@^1.0.1: 2920 | version "1.0.1" 2921 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 2922 | dependencies: 2923 | find-up "^1.0.0" 2924 | read-pkg "^1.0.0" 2925 | 2926 | read-pkg@^1.0.0: 2927 | version "1.1.0" 2928 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 2929 | dependencies: 2930 | load-json-file "^1.0.0" 2931 | normalize-package-data "^2.3.2" 2932 | path-type "^1.0.0" 2933 | 2934 | readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.1.4: 2935 | version "2.3.4" 2936 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.4.tgz#c946c3f47fa7d8eabc0b6150f4a12f69a4574071" 2937 | dependencies: 2938 | core-util-is "~1.0.0" 2939 | inherits "~2.0.3" 2940 | isarray "~1.0.0" 2941 | process-nextick-args "~2.0.0" 2942 | safe-buffer "~5.1.1" 2943 | string_decoder "~1.0.3" 2944 | util-deprecate "~1.0.1" 2945 | 2946 | readable-stream@^2.2.2: 2947 | version "2.3.3" 2948 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" 2949 | dependencies: 2950 | core-util-is "~1.0.0" 2951 | inherits "~2.0.3" 2952 | isarray "~1.0.0" 2953 | process-nextick-args "~1.0.6" 2954 | safe-buffer "~5.1.1" 2955 | string_decoder "~1.0.3" 2956 | util-deprecate "~1.0.1" 2957 | 2958 | realpath-native@^1.0.0: 2959 | version "1.0.0" 2960 | resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.0.0.tgz#7885721a83b43bd5327609f0ddecb2482305fdf0" 2961 | dependencies: 2962 | util.promisify "^1.0.0" 2963 | 2964 | regenerator-runtime@^0.11.0: 2965 | version "0.11.1" 2966 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" 2967 | 2968 | regex-cache@^0.4.2: 2969 | version "0.4.4" 2970 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" 2971 | dependencies: 2972 | is-equal-shallow "^0.1.3" 2973 | 2974 | remove-trailing-separator@^1.0.1: 2975 | version "1.1.0" 2976 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" 2977 | 2978 | repeat-element@^1.1.2: 2979 | version "1.1.2" 2980 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 2981 | 2982 | repeat-string@^1.5.2: 2983 | version "1.6.1" 2984 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2985 | 2986 | repeating@^2.0.0: 2987 | version "2.0.1" 2988 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2989 | dependencies: 2990 | is-finite "^1.0.0" 2991 | 2992 | request-promise-core@1.1.1: 2993 | version "1.1.1" 2994 | resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6" 2995 | dependencies: 2996 | lodash "^4.13.1" 2997 | 2998 | request-promise-native@^1.0.5: 2999 | version "1.0.5" 3000 | resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5" 3001 | dependencies: 3002 | request-promise-core "1.1.1" 3003 | stealthy-require "^1.1.0" 3004 | tough-cookie ">=2.3.3" 3005 | 3006 | request-promise@^4.2.1: 3007 | version "4.2.2" 3008 | resolved "https://registry.yarnpkg.com/request-promise/-/request-promise-4.2.2.tgz#d1ea46d654a6ee4f8ee6a4fea1018c22911904b4" 3009 | dependencies: 3010 | bluebird "^3.5.0" 3011 | request-promise-core "1.1.1" 3012 | stealthy-require "^1.1.0" 3013 | tough-cookie ">=2.3.3" 3014 | 3015 | request@2.81.0: 3016 | version "2.81.0" 3017 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 3018 | dependencies: 3019 | aws-sign2 "~0.6.0" 3020 | aws4 "^1.2.1" 3021 | caseless "~0.12.0" 3022 | combined-stream "~1.0.5" 3023 | extend "~3.0.0" 3024 | forever-agent "~0.6.1" 3025 | form-data "~2.1.1" 3026 | har-validator "~4.2.1" 3027 | hawk "~3.1.3" 3028 | http-signature "~1.1.0" 3029 | is-typedarray "~1.0.0" 3030 | isstream "~0.1.2" 3031 | json-stringify-safe "~5.0.1" 3032 | mime-types "~2.1.7" 3033 | oauth-sign "~0.8.1" 3034 | performance-now "^0.2.0" 3035 | qs "~6.4.0" 3036 | safe-buffer "^5.0.1" 3037 | stringstream "~0.0.4" 3038 | tough-cookie "~2.3.0" 3039 | tunnel-agent "^0.6.0" 3040 | uuid "^3.0.0" 3041 | 3042 | request@^2.81.0, request@^2.83.0: 3043 | version "2.83.0" 3044 | resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" 3045 | dependencies: 3046 | aws-sign2 "~0.7.0" 3047 | aws4 "^1.6.0" 3048 | caseless "~0.12.0" 3049 | combined-stream "~1.0.5" 3050 | extend "~3.0.1" 3051 | forever-agent "~0.6.1" 3052 | form-data "~2.3.1" 3053 | har-validator "~5.0.3" 3054 | hawk "~6.0.2" 3055 | http-signature "~1.2.0" 3056 | is-typedarray "~1.0.0" 3057 | isstream "~0.1.2" 3058 | json-stringify-safe "~5.0.1" 3059 | mime-types "~2.1.17" 3060 | oauth-sign "~0.8.2" 3061 | performance-now "^2.1.0" 3062 | qs "~6.5.1" 3063 | safe-buffer "^5.1.1" 3064 | stringstream "~0.0.5" 3065 | tough-cookie "~2.3.3" 3066 | tunnel-agent "^0.6.0" 3067 | uuid "^3.1.0" 3068 | 3069 | require-directory@^2.1.1: 3070 | version "2.1.1" 3071 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 3072 | 3073 | require-from-string@^2.0.1: 3074 | version "2.0.1" 3075 | resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.1.tgz#c545233e9d7da6616e9d59adfb39fc9f588676ff" 3076 | 3077 | require-main-filename@^1.0.1: 3078 | version "1.0.1" 3079 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 3080 | 3081 | require-relative@^0.8.7: 3082 | version "0.8.7" 3083 | resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de" 3084 | 3085 | require-uncached@^1.0.3: 3086 | version "1.0.3" 3087 | resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" 3088 | dependencies: 3089 | caller-path "^0.1.0" 3090 | resolve-from "^1.0.0" 3091 | 3092 | requires-port@1.x.x: 3093 | version "1.0.0" 3094 | resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" 3095 | 3096 | reserved-words@^0.1.2: 3097 | version "0.1.2" 3098 | resolved "https://registry.yarnpkg.com/reserved-words/-/reserved-words-0.1.2.tgz#00a0940f98cd501aeaaac316411d9adc52b31ab1" 3099 | 3100 | resolve-cwd@^2.0.0: 3101 | version "2.0.0" 3102 | resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" 3103 | dependencies: 3104 | resolve-from "^3.0.0" 3105 | 3106 | resolve-from@^1.0.0: 3107 | version "1.0.1" 3108 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" 3109 | 3110 | resolve-from@^3.0.0: 3111 | version "3.0.0" 3112 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" 3113 | 3114 | resolve@1.1.7: 3115 | version "1.1.7" 3116 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" 3117 | 3118 | restore-cursor@^1.0.1: 3119 | version "1.0.1" 3120 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" 3121 | dependencies: 3122 | exit-hook "^1.0.0" 3123 | onetime "^1.0.0" 3124 | 3125 | restore-cursor@^2.0.0: 3126 | version "2.0.0" 3127 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" 3128 | dependencies: 3129 | onetime "^2.0.0" 3130 | signal-exit "^3.0.2" 3131 | 3132 | right-align@^0.1.1: 3133 | version "0.1.3" 3134 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 3135 | dependencies: 3136 | align-text "^0.1.1" 3137 | 3138 | rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1: 3139 | version "2.6.2" 3140 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 3141 | dependencies: 3142 | glob "^7.0.5" 3143 | 3144 | run-async@^2.2.0: 3145 | version "2.3.0" 3146 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" 3147 | dependencies: 3148 | is-promise "^2.1.0" 3149 | 3150 | rx-lite-aggregates@^4.0.8: 3151 | version "4.0.8" 3152 | resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" 3153 | dependencies: 3154 | rx-lite "*" 3155 | 3156 | rx-lite@*, rx-lite@^4.0.8: 3157 | version "4.0.8" 3158 | resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" 3159 | 3160 | rxjs@^5.3.0, rxjs@^5.4.2: 3161 | version "5.5.6" 3162 | resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.6.tgz#e31fb96d6fd2ff1fd84bcea8ae9c02d007179c02" 3163 | dependencies: 3164 | symbol-observable "1.0.1" 3165 | 3166 | safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 3167 | version "5.1.1" 3168 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 3169 | 3170 | sane@^2.0.0: 3171 | version "2.4.1" 3172 | resolved "https://registry.yarnpkg.com/sane/-/sane-2.4.1.tgz#29f991208cf28636720efdc584293e7fd66663a5" 3173 | dependencies: 3174 | anymatch "^1.3.0" 3175 | exec-sh "^0.2.0" 3176 | fb-watchman "^2.0.0" 3177 | minimatch "^3.0.2" 3178 | minimist "^1.1.1" 3179 | walker "~1.0.5" 3180 | watch "~0.18.0" 3181 | optionalDependencies: 3182 | fsevents "^1.1.1" 3183 | 3184 | sax@^1.2.4: 3185 | version "1.2.4" 3186 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 3187 | 3188 | "semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1: 3189 | version "5.5.0" 3190 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 3191 | 3192 | semver@5.3.0: 3193 | version "5.3.0" 3194 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 3195 | 3196 | semver@5.4.1: 3197 | version "5.4.1" 3198 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" 3199 | 3200 | set-blocking@^2.0.0, set-blocking@~2.0.0: 3201 | version "2.0.0" 3202 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 3203 | 3204 | shebang-command@^1.2.0: 3205 | version "1.2.0" 3206 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 3207 | dependencies: 3208 | shebang-regex "^1.0.0" 3209 | 3210 | shebang-regex@^1.0.0: 3211 | version "1.0.0" 3212 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 3213 | 3214 | shellwords@^0.1.1: 3215 | version "0.1.1" 3216 | resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" 3217 | 3218 | signal-exit@^3.0.0, signal-exit@^3.0.2: 3219 | version "3.0.2" 3220 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 3221 | 3222 | slash@^1.0.0: 3223 | version "1.0.0" 3224 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 3225 | 3226 | slice-ansi@0.0.4: 3227 | version "0.0.4" 3228 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" 3229 | 3230 | slice-ansi@1.0.0: 3231 | version "1.0.0" 3232 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" 3233 | dependencies: 3234 | is-fullwidth-code-point "^2.0.0" 3235 | 3236 | sntp@1.x.x: 3237 | version "1.0.9" 3238 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 3239 | dependencies: 3240 | hoek "2.x.x" 3241 | 3242 | sntp@2.x.x: 3243 | version "2.1.0" 3244 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" 3245 | dependencies: 3246 | hoek "4.x.x" 3247 | 3248 | source-map-support@^0.4.15: 3249 | version "0.4.18" 3250 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" 3251 | dependencies: 3252 | source-map "^0.5.6" 3253 | 3254 | source-map-support@^0.5.0: 3255 | version "0.5.3" 3256 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.3.tgz#2b3d5fff298cfa4d1afd7d4352d569e9a0158e76" 3257 | dependencies: 3258 | source-map "^0.6.0" 3259 | 3260 | source-map@^0.4.4: 3261 | version "0.4.4" 3262 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 3263 | dependencies: 3264 | amdefine ">=0.0.4" 3265 | 3266 | source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1, source-map@~0.5.6: 3267 | version "0.5.7" 3268 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 3269 | 3270 | source-map@^0.6.0: 3271 | version "0.6.1" 3272 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 3273 | 3274 | spdx-correct@~1.0.0: 3275 | version "1.0.2" 3276 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 3277 | dependencies: 3278 | spdx-license-ids "^1.0.2" 3279 | 3280 | spdx-expression-parse@~1.0.0: 3281 | version "1.0.4" 3282 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 3283 | 3284 | spdx-license-ids@^1.0.2: 3285 | version "1.2.2" 3286 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 3287 | 3288 | sprintf-js@~1.0.2: 3289 | version "1.0.3" 3290 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 3291 | 3292 | sshpk@^1.7.0: 3293 | version "1.13.1" 3294 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" 3295 | dependencies: 3296 | asn1 "~0.2.3" 3297 | assert-plus "^1.0.0" 3298 | dashdash "^1.12.0" 3299 | getpass "^0.1.1" 3300 | optionalDependencies: 3301 | bcrypt-pbkdf "^1.0.0" 3302 | ecc-jsbn "~0.1.1" 3303 | jsbn "~0.1.0" 3304 | tweetnacl "~0.14.0" 3305 | 3306 | stack-utils@^1.0.1: 3307 | version "1.0.1" 3308 | resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620" 3309 | 3310 | staged-git-files@0.0.4: 3311 | version "0.0.4" 3312 | resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-0.0.4.tgz#d797e1b551ca7a639dec0237dc6eb4bb9be17d35" 3313 | 3314 | stealthy-require@^1.1.0: 3315 | version "1.1.1" 3316 | resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" 3317 | 3318 | stream-to-observable@^0.2.0: 3319 | version "0.2.0" 3320 | resolved "https://registry.yarnpkg.com/stream-to-observable/-/stream-to-observable-0.2.0.tgz#59d6ea393d87c2c0ddac10aa0d561bc6ba6f0e10" 3321 | dependencies: 3322 | any-observable "^0.2.0" 3323 | 3324 | string-length@^2.0.0: 3325 | version "2.0.0" 3326 | resolved "https://registry.yarnpkg.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" 3327 | dependencies: 3328 | astral-regex "^1.0.0" 3329 | strip-ansi "^4.0.0" 3330 | 3331 | string-width@^1.0.1, string-width@^1.0.2: 3332 | version "1.0.2" 3333 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 3334 | dependencies: 3335 | code-point-at "^1.0.0" 3336 | is-fullwidth-code-point "^1.0.0" 3337 | strip-ansi "^3.0.0" 3338 | 3339 | string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: 3340 | version "2.1.1" 3341 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 3342 | dependencies: 3343 | is-fullwidth-code-point "^2.0.0" 3344 | strip-ansi "^4.0.0" 3345 | 3346 | string_decoder@~1.0.3: 3347 | version "1.0.3" 3348 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 3349 | dependencies: 3350 | safe-buffer "~5.1.0" 3351 | 3352 | stringify-object@^3.2.0: 3353 | version "3.2.2" 3354 | resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.2.2.tgz#9853052e5a88fb605a44cd27445aa257ad7ffbcd" 3355 | dependencies: 3356 | get-own-enumerable-property-symbols "^2.0.1" 3357 | is-obj "^1.0.1" 3358 | is-regexp "^1.0.0" 3359 | 3360 | stringstream@~0.0.4, stringstream@~0.0.5: 3361 | version "0.0.5" 3362 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 3363 | 3364 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 3365 | version "3.0.1" 3366 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 3367 | dependencies: 3368 | ansi-regex "^2.0.0" 3369 | 3370 | strip-ansi@^4.0.0: 3371 | version "4.0.0" 3372 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 3373 | dependencies: 3374 | ansi-regex "^3.0.0" 3375 | 3376 | strip-bom@3.0.0: 3377 | version "3.0.0" 3378 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 3379 | 3380 | strip-bom@^2.0.0: 3381 | version "2.0.0" 3382 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 3383 | dependencies: 3384 | is-utf8 "^0.2.0" 3385 | 3386 | strip-eof@^1.0.0: 3387 | version "1.0.0" 3388 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 3389 | 3390 | strip-indent@^2.0.0: 3391 | version "2.0.0" 3392 | resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" 3393 | 3394 | strip-json-comments@~2.0.1: 3395 | version "2.0.1" 3396 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 3397 | 3398 | supports-color@^2.0.0: 3399 | version "2.0.0" 3400 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 3401 | 3402 | supports-color@^3.1.2: 3403 | version "3.2.3" 3404 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 3405 | dependencies: 3406 | has-flag "^1.0.0" 3407 | 3408 | supports-color@^4.0.0: 3409 | version "4.5.0" 3410 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" 3411 | dependencies: 3412 | has-flag "^2.0.0" 3413 | 3414 | symbol-observable@1.0.1: 3415 | version "1.0.1" 3416 | resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" 3417 | 3418 | symbol-observable@^0.2.2: 3419 | version "0.2.4" 3420 | resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-0.2.4.tgz#95a83db26186d6af7e7a18dbd9760a2f86d08f40" 3421 | 3422 | symbol-tree@^3.2.2: 3423 | version "3.2.2" 3424 | resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" 3425 | 3426 | table@^4.0.1: 3427 | version "4.0.2" 3428 | resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" 3429 | dependencies: 3430 | ajv "^5.2.3" 3431 | ajv-keywords "^2.1.0" 3432 | chalk "^2.1.0" 3433 | lodash "^4.17.4" 3434 | slice-ansi "1.0.0" 3435 | string-width "^2.1.1" 3436 | 3437 | tar-pack@^3.4.0: 3438 | version "3.4.1" 3439 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.1.tgz#e1dbc03a9b9d3ba07e896ad027317eb679a10a1f" 3440 | dependencies: 3441 | debug "^2.2.0" 3442 | fstream "^1.0.10" 3443 | fstream-ignore "^1.0.5" 3444 | once "^1.3.3" 3445 | readable-stream "^2.1.4" 3446 | rimraf "^2.5.1" 3447 | tar "^2.2.1" 3448 | uid-number "^0.0.6" 3449 | 3450 | tar@^2.2.1: 3451 | version "2.2.1" 3452 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 3453 | dependencies: 3454 | block-stream "*" 3455 | fstream "^1.0.2" 3456 | inherits "2" 3457 | 3458 | test-exclude@^4.1.1: 3459 | version "4.1.1" 3460 | resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.1.1.tgz#4d84964b0966b0087ecc334a2ce002d3d9341e26" 3461 | dependencies: 3462 | arrify "^1.0.1" 3463 | micromatch "^2.3.11" 3464 | object-assign "^4.1.0" 3465 | read-pkg-up "^1.0.1" 3466 | require-main-filename "^1.0.1" 3467 | 3468 | text-table@~0.2.0: 3469 | version "0.2.0" 3470 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 3471 | 3472 | throat@^4.0.0: 3473 | version "4.1.0" 3474 | resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" 3475 | 3476 | through@^2.3.6: 3477 | version "2.3.8" 3478 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 3479 | 3480 | tmp@^0.0.33: 3481 | version "0.0.33" 3482 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" 3483 | dependencies: 3484 | os-tmpdir "~1.0.2" 3485 | 3486 | tmpl@1.0.x: 3487 | version "1.0.4" 3488 | resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" 3489 | 3490 | to-fast-properties@^1.0.3: 3491 | version "1.0.3" 3492 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 3493 | 3494 | tough-cookie@>=2.3.3, tough-cookie@^2.3.3, tough-cookie@~2.3.0, tough-cookie@~2.3.3: 3495 | version "2.3.3" 3496 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" 3497 | dependencies: 3498 | punycode "^1.4.1" 3499 | 3500 | tr46@^1.0.0: 3501 | version "1.0.1" 3502 | resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" 3503 | dependencies: 3504 | punycode "^2.1.0" 3505 | 3506 | trim-right@^1.0.1: 3507 | version "1.0.1" 3508 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 3509 | 3510 | tunnel-agent@^0.6.0: 3511 | version "0.6.0" 3512 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 3513 | dependencies: 3514 | safe-buffer "^5.0.1" 3515 | 3516 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 3517 | version "0.14.5" 3518 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 3519 | 3520 | type-check@~0.3.2: 3521 | version "0.3.2" 3522 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 3523 | dependencies: 3524 | prelude-ls "~1.1.2" 3525 | 3526 | typedarray@^0.0.6: 3527 | version "0.0.6" 3528 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 3529 | 3530 | typescript-eslint-parser@^11.0.0: 3531 | version "11.0.0" 3532 | resolved "https://registry.yarnpkg.com/typescript-eslint-parser/-/typescript-eslint-parser-11.0.0.tgz#37dba6a0130dd307504aa4b4b21b0d3dc7d4e9f2" 3533 | dependencies: 3534 | lodash.unescape "4.0.1" 3535 | semver "5.4.1" 3536 | 3537 | typescript-eslint-parser@^7.0.0: 3538 | version "7.0.0" 3539 | resolved "https://registry.yarnpkg.com/typescript-eslint-parser/-/typescript-eslint-parser-7.0.0.tgz#be57d8768e37707af825e339ea2af18d7393cabb" 3540 | dependencies: 3541 | lodash.unescape "4.0.1" 3542 | semver "5.3.0" 3543 | 3544 | typescript@^2.4.2, typescript@^2.5.1: 3545 | version "2.7.1" 3546 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.1.tgz#bb3682c2c791ac90e7c6210b26478a8da085c359" 3547 | 3548 | uglify-js@^2.6: 3549 | version "2.8.29" 3550 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" 3551 | dependencies: 3552 | source-map "~0.5.1" 3553 | yargs "~3.10.0" 3554 | optionalDependencies: 3555 | uglify-to-browserify "~1.0.0" 3556 | 3557 | uglify-to-browserify@~1.0.0: 3558 | version "1.0.2" 3559 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 3560 | 3561 | uid-number@^0.0.6: 3562 | version "0.0.6" 3563 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 3564 | 3565 | ultron@~1.1.0: 3566 | version "1.1.1" 3567 | resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" 3568 | 3569 | urlsafe-base64@~1.0.0: 3570 | version "1.0.0" 3571 | resolved "https://registry.yarnpkg.com/urlsafe-base64/-/urlsafe-base64-1.0.0.tgz#23f89069a6c62f46cf3a1d3b00169cefb90be0c6" 3572 | 3573 | util-deprecate@~1.0.1: 3574 | version "1.0.2" 3575 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 3576 | 3577 | util.promisify@^1.0.0: 3578 | version "1.0.0" 3579 | resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" 3580 | dependencies: 3581 | define-properties "^1.1.2" 3582 | object.getownpropertydescriptors "^2.0.3" 3583 | 3584 | uuid@^3.0.0, uuid@^3.1.0: 3585 | version "3.2.1" 3586 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" 3587 | 3588 | validate-npm-package-license@^3.0.1: 3589 | version "3.0.1" 3590 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 3591 | dependencies: 3592 | spdx-correct "~1.0.0" 3593 | spdx-expression-parse "~1.0.0" 3594 | 3595 | verror@1.10.0: 3596 | version "1.10.0" 3597 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 3598 | dependencies: 3599 | assert-plus "^1.0.0" 3600 | core-util-is "1.0.2" 3601 | extsprintf "^1.2.0" 3602 | 3603 | w3c-hr-time@^1.0.1: 3604 | version "1.0.1" 3605 | resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045" 3606 | dependencies: 3607 | browser-process-hrtime "^0.1.2" 3608 | 3609 | walker@~1.0.5: 3610 | version "1.0.7" 3611 | resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" 3612 | dependencies: 3613 | makeerror "1.0.x" 3614 | 3615 | watch@~0.18.0: 3616 | version "0.18.0" 3617 | resolved "https://registry.yarnpkg.com/watch/-/watch-0.18.0.tgz#28095476c6df7c90c963138990c0a5423eb4b986" 3618 | dependencies: 3619 | exec-sh "^0.2.0" 3620 | minimist "^1.2.0" 3621 | 3622 | webidl-conversions@^4.0.1, webidl-conversions@^4.0.2: 3623 | version "4.0.2" 3624 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" 3625 | 3626 | whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3: 3627 | version "1.0.3" 3628 | resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.3.tgz#57c235bc8657e914d24e1a397d3c82daee0a6ba3" 3629 | dependencies: 3630 | iconv-lite "0.4.19" 3631 | 3632 | whatwg-url@^6.4.0: 3633 | version "6.4.0" 3634 | resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-6.4.0.tgz#08fdf2b9e872783a7a1f6216260a1d66cc722e08" 3635 | dependencies: 3636 | lodash.sortby "^4.7.0" 3637 | tr46 "^1.0.0" 3638 | webidl-conversions "^4.0.1" 3639 | 3640 | which-module@^2.0.0: 3641 | version "2.0.0" 3642 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" 3643 | 3644 | which@^1.2.10, which@^1.2.12, which@^1.2.9, which@^1.3.0: 3645 | version "1.3.0" 3646 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" 3647 | dependencies: 3648 | isexe "^2.0.0" 3649 | 3650 | wide-align@^1.1.0: 3651 | version "1.1.2" 3652 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 3653 | dependencies: 3654 | string-width "^1.0.2" 3655 | 3656 | window-size@0.1.0: 3657 | version "0.1.0" 3658 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 3659 | 3660 | wordwrap@0.0.2: 3661 | version "0.0.2" 3662 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 3663 | 3664 | wordwrap@~0.0.2: 3665 | version "0.0.3" 3666 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 3667 | 3668 | wordwrap@~1.0.0: 3669 | version "1.0.0" 3670 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 3671 | 3672 | wrap-ansi@^2.0.0: 3673 | version "2.1.0" 3674 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 3675 | dependencies: 3676 | string-width "^1.0.1" 3677 | strip-ansi "^3.0.1" 3678 | 3679 | wrappy@1: 3680 | version "1.0.2" 3681 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 3682 | 3683 | write-file-atomic@^2.1.0: 3684 | version "2.3.0" 3685 | resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab" 3686 | dependencies: 3687 | graceful-fs "^4.1.11" 3688 | imurmurhash "^0.1.4" 3689 | signal-exit "^3.0.2" 3690 | 3691 | write@^0.2.1: 3692 | version "0.2.1" 3693 | resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" 3694 | dependencies: 3695 | mkdirp "^0.5.1" 3696 | 3697 | ws@^4.0.0: 3698 | version "4.0.0" 3699 | resolved "https://registry.yarnpkg.com/ws/-/ws-4.0.0.tgz#bfe1da4c08eeb9780b986e0e4d10eccd7345999f" 3700 | dependencies: 3701 | async-limiter "~1.0.0" 3702 | safe-buffer "~5.1.0" 3703 | ultron "~1.1.0" 3704 | 3705 | xml-name-validator@^3.0.0: 3706 | version "3.0.0" 3707 | resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" 3708 | 3709 | y18n@^3.2.1: 3710 | version "3.2.1" 3711 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 3712 | 3713 | yallist@^2.1.2: 3714 | version "2.1.2" 3715 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 3716 | 3717 | yargs-parser@^8.0.0, yargs-parser@^8.1.0: 3718 | version "8.1.0" 3719 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" 3720 | dependencies: 3721 | camelcase "^4.1.0" 3722 | 3723 | yargs@10.0.3: 3724 | version "10.0.3" 3725 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.0.3.tgz#6542debd9080ad517ec5048fb454efe9e4d4aaae" 3726 | dependencies: 3727 | cliui "^3.2.0" 3728 | decamelize "^1.1.1" 3729 | find-up "^2.1.0" 3730 | get-caller-file "^1.0.1" 3731 | os-locale "^2.0.0" 3732 | require-directory "^2.1.1" 3733 | require-main-filename "^1.0.1" 3734 | set-blocking "^2.0.0" 3735 | string-width "^2.0.0" 3736 | which-module "^2.0.0" 3737 | y18n "^3.2.1" 3738 | yargs-parser "^8.0.0" 3739 | 3740 | yargs@^10.0.3: 3741 | version "10.1.2" 3742 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5" 3743 | dependencies: 3744 | cliui "^4.0.0" 3745 | decamelize "^1.1.1" 3746 | find-up "^2.1.0" 3747 | get-caller-file "^1.0.1" 3748 | os-locale "^2.0.0" 3749 | require-directory "^2.1.1" 3750 | require-main-filename "^1.0.1" 3751 | set-blocking "^2.0.0" 3752 | string-width "^2.0.0" 3753 | which-module "^2.0.0" 3754 | y18n "^3.2.1" 3755 | yargs-parser "^8.1.0" 3756 | 3757 | yargs@~3.10.0: 3758 | version "3.10.0" 3759 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 3760 | dependencies: 3761 | camelcase "^1.0.2" 3762 | cliui "^2.1.0" 3763 | decamelize "^1.0.0" 3764 | window-size "0.1.0" 3765 | --------------------------------------------------------------------------------