├── .npmignore ├── .gitignore ├── .travis.yml ├── src ├── callbacks.ts ├── commands │ ├── index.ts │ ├── pubsub.ts │ ├── hash.ts │ ├── set.ts │ ├── key.ts │ ├── list.ts │ └── string.ts ├── Store.ts └── index.ts ├── tsconfig.json ├── pm2 ├── app.js └── pm2.js ├── package.json ├── LICENSE ├── README.md ├── test └── memshared.ts └── yarn.lock /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "10" 4 | - "9" 5 | - "8" 6 | -------------------------------------------------------------------------------- /src/callbacks.ts: -------------------------------------------------------------------------------- 1 | export type Callback = (err: string, result: T) => void; 2 | export type ArrayCallback = (err: string, data: T[]) => void; 3 | -------------------------------------------------------------------------------- /src/commands/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./key"; 2 | export * from "./string"; 3 | export * from "./hash"; 4 | export * from "./list"; 5 | export * from "./set"; 6 | export * from "./pubsub"; 7 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "module": "commonjs", 5 | "outDir": "./lib", 6 | "lib": ["es6"] 7 | }, 8 | "include": [ 9 | "src/**/*.ts" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /pm2/app.js: -------------------------------------------------------------------------------- 1 | const memshared = require("../lib"); 2 | 3 | memshared.set("some_key", "hello world!", (err, result) => { 4 | console.log('SET some_key to "hello world!" => ', result); 5 | }); 6 | 7 | memshared.subscribe("channel", (data) => { 8 | console.log("RECEIVED DATA FROM 'channel':", data); 9 | }) 10 | 11 | setTimeout(() => { 12 | memshared.get("some_key", (err, data) => console.log("it works:", data)); 13 | }, 1000); 14 | 15 | setInterval(() => { 16 | memshared.publish("channel", { hello: "world!" }); 17 | }, 1000 + Math.random() * 5000); 18 | -------------------------------------------------------------------------------- /pm2/pm2.js: -------------------------------------------------------------------------------- 1 | const pm2 = require('pm2'); 2 | const memshared = require('../lib'); 3 | 4 | // setup memshared to work with PM2 5 | memshared.setupPM2LaunchBus(pm2); 6 | 7 | pm2.connect(function (err) { 8 | if (err) { 9 | console.error(err); 10 | process.exit(2); 11 | } 12 | 13 | pm2.start({ 14 | script: 'app.js', // Script to be run 15 | exec_mode: 'cluster', // Allows your app to be clustered 16 | instances: 4, // Optional: Scales your app by 4 17 | max_memory_restart: '100M' // Optional: Restarts your app if it reaches 100Mo 18 | }, function (err, apps) { 19 | if (err) throw err 20 | }); 21 | }); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "memshared", 3 | "version": "0.9.20", 4 | "description": "Redis-like in-memory database for NodeJS clustered applications", 5 | "main": "lib/index.js", 6 | "types": "lib/index.d.ts", 7 | "repository": "https://github.com/endel/memshared", 8 | "author": "Endel Dreyer", 9 | "license": "MIT", 10 | "scripts": { 11 | "test": "mocha --require ts-node/register test/*.ts", 12 | "prepublish": "tsc -d" 13 | }, 14 | "devDependencies": { 15 | "@types/chai": "^3.5.2", 16 | "@types/mocha": "^2.2.41", 17 | "@types/node": "^7.0.14", 18 | "chai": "^3.5.0", 19 | "mocha": "^3.3.0", 20 | "ts-node": "^3.0.2", 21 | "typescript": "^2.3.2" 22 | }, 23 | "optionalDependencies": { 24 | "pm2": "^2.10.1" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Endel Dreyer 2 | 3 | MIT License: 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # memshared 4 | 5 | [![Build Status](https://secure.travis-ci.org/endel/memshared.png?branch=master)](http://travis-ci.org/endel/memshared) 6 | 7 | Redis-like in-memory database for NodeJS clustered applications. 8 | 9 | ## Why? 10 | 11 | Adding Redis as a dependency will inevitably increase the complexity to your 12 | application and your environment. Use this library if you want to keep a simple 13 | architecture while at the same time allow you to migrate to a real in-memory 14 | database when you feel the need for it. 15 | 16 | ## Usage 17 | 18 | ```typescript 19 | import * as cluster from "cluster"; 20 | import * as memshared from "memshared"; 21 | 22 | if (cluster.isMaster) { 23 | memshared.setup({ 24 | // setup your initial data 25 | }); 26 | 27 | cluster.fork(); 28 | 29 | } else { 30 | memshared.set('foo', 'bar'); 31 | 32 | memshared.get('foo', function (err, result) { 33 | console.log(result); 34 | }); 35 | 36 | memshared.del('key'); 37 | 38 | memshared.sadd('set', 1); 39 | } 40 | ``` 41 | 42 | ## Usage with PM2 43 | 44 | You'll need a script to start PM2. See [this example](pm2/pm2.js). 45 | 46 | ``` 47 | node pm2/pm2.js 48 | ``` 49 | 50 | ## Missing commands 51 | 52 | There are a lot of commands missing. Feel free to pick one of them and send a 53 | pull-request: https://github.com/endel/memshared/issues/7 54 | 55 | ## License 56 | 57 | MIT 58 | -------------------------------------------------------------------------------- /src/Store.ts: -------------------------------------------------------------------------------- 1 | import { getProcessId } from "./"; 2 | 3 | export interface Message { 4 | cmd: string, 5 | args?: any[], 6 | messageId?: string, 7 | result?: any, 8 | error?: any, 9 | pubsub?: boolean 10 | }; 11 | 12 | let messageId: number = 0; 13 | 14 | export class Store { 15 | private $callbacks: {[messageId: string]: Function} = {}; 16 | 17 | dispatch (cmd: string, callback: Function, ...args: any[]) { 18 | let msg = this.buildMessage(cmd, ...args); 19 | 20 | // callback when the worker receives back the final result 21 | if (callback) { 22 | this.$callbacks[msg.messageId] = callback; 23 | } 24 | 25 | if (process.env.pm_id === undefined) { 26 | // send command to be executed by the master node 27 | process.send(msg); 28 | 29 | } else { 30 | // PM2: send command to PM2's launchBus 31 | // (http://pm2.keymetrics.io/docs/usage/pm2-api/#send-message-to-process) 32 | process.send({ 33 | type: "memshared", 34 | topic: "memshared", 35 | data: msg, 36 | }); 37 | } 38 | } 39 | 40 | consume (message: Message) { 41 | if (this.$callbacks[ message.messageId ]) { 42 | 43 | // dispatch callback 44 | this.$callbacks[ message.messageId ]( message.error, message.result ); 45 | 46 | // cleanup 47 | delete this.$callbacks[message.messageId]; 48 | } 49 | } 50 | 51 | buildMessage(command: string, ...args: any[]): Message { 52 | return { 53 | messageId: `${ getProcessId() }:${ messageId++ }`, 54 | cmd: command, 55 | args: args 56 | } 57 | } 58 | } -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import * as cluster from "cluster"; 2 | import * as commands from "./commands"; 3 | 4 | import { Store, Message } from "./Store"; 5 | import { ChildProcess } from "child_process"; 6 | 7 | export { Store } // export type 8 | export const store = new Store(); 9 | 10 | let processesById: {[processId: number]: ChildProcess} = {}; 11 | 12 | function masterHandleIncomingMessage (processId: number, message: Message) { 13 | if (!processMasterMessage(message)) { 14 | return; 15 | } 16 | 17 | // send result back to worker 18 | processesById[ processId ].send(message); 19 | } 20 | 21 | function workerHandleIncomingMessage (message: Message) { 22 | if ((message).topic === "memshared") { 23 | message = (message).data; 24 | } 25 | 26 | if (!message || !commands[message.cmd]) { 27 | return; 28 | } 29 | 30 | if (message.messageId) { 31 | store.consume(message); 32 | 33 | } else if (message.pubsub) { 34 | commands[message.cmd].apply(undefined, message.args); 35 | } 36 | } 37 | 38 | if (isMasterNode()) { 39 | // Setup existing workers 40 | Object.keys(cluster.workers).forEach((workerId) => { 41 | registerProcess(cluster.workers[workerId].process); 42 | }); 43 | 44 | // Listen for new workers to setup 45 | cluster.on("fork", (worker) => registerProcess(worker.process)); 46 | 47 | // Be notified when worker processes die. 48 | cluster.on('exit', function(worker, code, signal) { 49 | delete processesById[ worker.process.pid ]; 50 | }); 51 | 52 | } else { 53 | process.on("message", workerHandleIncomingMessage); 54 | } 55 | 56 | export function isMasterNode () { 57 | return (!process.send); 58 | } 59 | 60 | export function getProcessId () { 61 | return process.env.pm_id || process.pid; 62 | } 63 | 64 | export function getProcessById(processId: number): ChildProcess { 65 | return processesById[ processId ]; 66 | } 67 | 68 | export function registerProcess (childProcess: ChildProcess) { 69 | processesById[ childProcess.pid ] = childProcess; 70 | childProcess.on("message", (message: Message) => masterHandleIncomingMessage(childProcess.pid, message)); 71 | } 72 | 73 | export function processMasterMessage (message: Message): boolean { 74 | if (!message || !commands[message.cmd]) { 75 | return false; 76 | } 77 | 78 | // run command on master process 79 | try { 80 | message.result = commands[message.cmd].apply(undefined, message.args); 81 | 82 | } catch (e) { 83 | message.error = e.message; 84 | } 85 | 86 | // delete irrelevant data to send back to the worker 87 | delete message['args']; 88 | 89 | return true; 90 | } 91 | 92 | export let pm2: any; 93 | export function setupPM2LaunchBus (mod: any) { 94 | pm2 = mod; 95 | 96 | pm2.launchBus(function (err, bus) { 97 | bus.on('memshared', function (packet) { 98 | let message = packet.data; 99 | let processId = packet.process.pm_id; 100 | 101 | if (!processMasterMessage(message)) { 102 | return; 103 | } 104 | 105 | pm2.sendDataToProcessId({ 106 | type: 'memshared', 107 | data: message, 108 | id: processId, 109 | topic: 'memshared' 110 | }, function (err, res) { 111 | if (err) console.error("memshared: couldn't send message to worker."); 112 | }); 113 | }); 114 | }); 115 | } 116 | 117 | export function setup (data: any) { 118 | Object.assign(store, data); 119 | } 120 | 121 | // 122 | // Export commands 123 | // 124 | export * from "./commands"; 125 | -------------------------------------------------------------------------------- /src/commands/pubsub.ts: -------------------------------------------------------------------------------- 1 | import { store, isMasterNode, pm2, getProcessById, getProcessId } from "../"; 2 | import { ArrayCallback, Callback } from "../callbacks"; 3 | 4 | const subscriptions: {[topic: string]: Function[]} = {}; 5 | const masterSubscriptions: {[topic: string]: number[]} = {}; 6 | 7 | /* 8 | * SUBSCRIBE 9 | * Subscribe to one channel, with the provided callback 10 | */ 11 | export function subscribe (topic: string, callback: Function) { 12 | if (!isMasterNode()) { 13 | if (!subscriptions[topic]) { subscriptions[topic] = []; } 14 | 15 | subscriptions[topic].push(callback); 16 | 17 | store.dispatch("subscribe", undefined, topic, getProcessId()); 18 | 19 | } else { 20 | if (!masterSubscriptions[topic]) { masterSubscriptions[topic] = []; } 21 | 22 | // "callback" is actually the process id here. 23 | masterSubscriptions[topic].push(callback); 24 | } 25 | } 26 | 27 | /* 28 | * UNSUBSCRIBE 29 | * Unsubscribe from one channel. Callback is optional. 30 | */ 31 | export function unsubscribe (topic: string, callback?: Function) { 32 | if (!isMasterNode()) { 33 | let hasCallback = (callback !== undefined); 34 | 35 | if (subscriptions[topic]) { 36 | if (hasCallback) { 37 | let index = subscriptions[topic].indexOf(callback); 38 | if (index !== -1) { 39 | subscriptions[topic].splice(index, 1); 40 | } 41 | 42 | } else { 43 | delete subscriptions[topic]; 44 | } 45 | } 46 | 47 | store.dispatch("unsubscribe", undefined, topic, hasCallback, getProcessId()); 48 | 49 | } else { 50 | const hasCallback: boolean = callback; 51 | const processId = arguments[2]; 52 | 53 | if (hasCallback) { 54 | let index = masterSubscriptions[topic].indexOf(processId); 55 | if (index !== -1) { 56 | masterSubscriptions[topic].splice(index, 1); 57 | } 58 | 59 | } else { 60 | delete masterSubscriptions[topic]; 61 | } 62 | } 63 | } 64 | 65 | /* 66 | * PUBLISH channel message 67 | * Publish a message to an specific channel 68 | */ 69 | export function publish (topic: string, message: any, isDispatching: boolean = true) { 70 | if (!isMasterNode()) { 71 | if (isDispatching) { 72 | store.dispatch("publish", undefined, topic, message); 73 | 74 | } else { 75 | subscriptions[topic].forEach(c => c(message)); 76 | } 77 | 78 | } else { 79 | if (masterSubscriptions[topic]) { 80 | masterSubscriptions[topic].forEach(processId => { 81 | const data = { 82 | cmd: "publish", 83 | args: [topic, message, false], 84 | pubsub: true 85 | }; 86 | 87 | if (pm2) { 88 | pm2.sendDataToProcessId({ 89 | type: 'memshared', 90 | data: data, 91 | id: processId, 92 | topic: 'memshared' 93 | }, function (err, res) { 94 | if (err) return console.error("memshared: couldn't send message to worker."); 95 | }); 96 | 97 | } else { 98 | getProcessById(processId).send(data); 99 | } 100 | }); 101 | } 102 | } 103 | } 104 | 105 | /* 106 | * PUBSUB channel 107 | * List the processes subscribing to this topic. 108 | */ 109 | export function pubsub (topic: string, callback: Function) { 110 | if (!isMasterNode()) { 111 | store.dispatch("pubsub", callback, topic); 112 | 113 | } else { 114 | return masterSubscriptions[topic]; 115 | } 116 | } 117 | 118 | -------------------------------------------------------------------------------- /src/commands/hash.ts: -------------------------------------------------------------------------------- 1 | import { store, isMasterNode } from "../"; 2 | import { ArrayCallback, Callback } from "../callbacks"; 3 | 4 | /* 5 | * HDEL key field [field ...] 6 | * Delete one or more hash fields 7 | */ 8 | export function hdel (key: string, field: string, callback?: Callback) { 9 | if (!isMasterNode()) { 10 | store.dispatch("hdel", callback, key, field); 11 | 12 | } else { 13 | if (typeof(store[key])!=="object") { 14 | throw new Error(`'${key}' expected to be type of hash.`); 15 | } 16 | 17 | delete store[key][field]; 18 | return "OK"; 19 | } 20 | } 21 | 22 | /* 23 | * HEXISTS key field 24 | * Determine if a hash field exists 25 | */ 26 | export function hexists (key: string, field: string, callback: Callback) { 27 | if (!isMasterNode()) { 28 | store.dispatch("hexists", callback, key, field); 29 | 30 | } else { 31 | return (store[key] && store[key][field] !== undefined); 32 | } 33 | } 34 | 35 | /* 36 | * HGET key field 37 | * Get the value of a hash field 38 | */ 39 | export function hget (key: string, field: string, callback: Callback) { 40 | if (!isMasterNode()) { 41 | store.dispatch("hget", callback, key, field); 42 | 43 | } else { 44 | return (store[key] && store[key][field]); 45 | } 46 | } 47 | 48 | /* 49 | * HGETALL key 50 | * Get all the fields and values in a hash 51 | */ 52 | export function hgetall (key: string, callback: ArrayCallback) { 53 | if (!isMasterNode()) { 54 | store.dispatch("hgetall", callback, key); 55 | 56 | } else { 57 | let result = []; 58 | let target = store[key] || {}; 59 | 60 | for (let k in target) { 61 | result.push(k); 62 | result.push(store[key][k]); 63 | } 64 | 65 | return result; 66 | } 67 | } 68 | 69 | /* 70 | * HINCRBY key field increment 71 | * Increment the integer value of a hash field by the given number 72 | */ 73 | export function hincrby (key: string, field: string, increment: number, callback?: Callback) { 74 | if (!isMasterNode()) { 75 | store.dispatch("hincrby", callback, key, field, increment); 76 | 77 | } else { 78 | if (!store[key]) { 79 | store[key] = {}; 80 | } 81 | 82 | if (!store[key][field]) { 83 | store[key][field] = increment; 84 | } else { 85 | store[key][field] += increment; 86 | } 87 | 88 | return store[key][field]; 89 | } 90 | } 91 | 92 | /* 93 | * HINCRBYFLOAT key field increment 94 | * Increment the float value of a hash field by the given amount 95 | */ 96 | export function hincrbyfloat () { 97 | } 98 | 99 | /* 100 | * HKEYS key 101 | * Get all the fields in a hash 102 | */ 103 | export function hkeys (key: string, callback: ArrayCallback) { 104 | if (!isMasterNode()) { 105 | store.dispatch("hkeys", callback, key); 106 | 107 | } else { 108 | return (store[key] !== undefined) 109 | ? Object.keys(store[key]) 110 | : []; 111 | } 112 | } 113 | 114 | /* 115 | * HLEN key 116 | * Get the number of fields in a hash 117 | */ 118 | export function hlen (key: string, callback: Callback) { 119 | if (!isMasterNode()) { 120 | store.dispatch("hlen", callback, key); 121 | 122 | } else { 123 | return (store[key] !== undefined) 124 | ? Object.keys(store[key]).length 125 | : 0; 126 | } 127 | } 128 | 129 | /* 130 | * HMGET key field [field ...] 131 | * Get the values of all the given hash fields 132 | */ 133 | export function hmget () { 134 | } 135 | 136 | /* 137 | * HMSET key field value [field value ...] 138 | * Set multiple hash fields to multiple values 139 | */ 140 | export function hmset () { 141 | } 142 | 143 | /* 144 | * HSET key field value 145 | * Set the string value of a hash field 146 | */ 147 | export function hset (key: string, field: string, value: any, callback?: Callback) { 148 | if (!isMasterNode()) { 149 | store.dispatch("hset", callback, key, field, value); 150 | 151 | } else { 152 | if (!store[key]) { 153 | store[key] = {}; 154 | } 155 | 156 | store[key][field] = value; 157 | 158 | return true; 159 | } 160 | } 161 | 162 | /* 163 | * HSETNX key field value 164 | * Set the value of a hash field, only if the field does not exist 165 | */ 166 | export function hsetnx () { 167 | } 168 | 169 | /* 170 | * HSTRLEN key field 171 | * Get the length of the value of a hash field 172 | */ 173 | export function hstrlen () { 174 | } 175 | 176 | /* 177 | * HVALS key 178 | * Get all the values in a hash 179 | */ 180 | export function hvals (key: string, callback: ArrayCallback) { 181 | if (!isMasterNode()) { 182 | store.dispatch("hvals", callback, key); 183 | 184 | } else { 185 | let result = []; 186 | let target = store[key] || {}; 187 | 188 | for (let k in target) { 189 | result.push(target[k]); 190 | } 191 | 192 | return result; 193 | } 194 | } 195 | 196 | /* 197 | * HSCAN key cursor [MATCH pattern] [COUNT count] 198 | * Incrementally iterate hash fields and associated values 199 | */ 200 | export function hscan () { 201 | } 202 | -------------------------------------------------------------------------------- /src/commands/set.ts: -------------------------------------------------------------------------------- 1 | import { store, isMasterNode } from "../"; 2 | import { ArrayCallback, Callback } from "../callbacks"; 3 | 4 | function notASetError(key: string) { 5 | throw new Error(`'${key}' is not a Set.`) 6 | } 7 | 8 | /* 9 | * SADD key member [member ...] 10 | * Add one or more members to a set 11 | */ 12 | export function sadd (key: string, member: any, callback?: Callback) { 13 | if (!isMasterNode()) { 14 | store.dispatch("sadd", callback, key, member); 15 | 16 | } else { 17 | if (!(store[key] instanceof Set)) { 18 | store[key] = new Set(); 19 | } 20 | store[key].add(member); 21 | return true; 22 | } 23 | } 24 | 25 | /* 26 | * SCARD key 27 | * Get the number of members in a set 28 | */ 29 | export function scard (key: string, callback: Callback) { 30 | if (!isMasterNode()) { 31 | store.dispatch("scard", callback, key); 32 | 33 | } else { 34 | if (!(store[key] instanceof Set)) { 35 | notASetError(key); 36 | } 37 | return store[key].size; 38 | } 39 | } 40 | 41 | /* 42 | * SDIFF key [key ...] 43 | * Subtract multiple sets 44 | */ 45 | export function sdiff () { 46 | } 47 | 48 | /* 49 | * SDIFFSTORE destination key [key ...] 50 | * Subtract multiple sets and store the resulting set in a key 51 | */ 52 | export function sdiffstore () { 53 | } 54 | 55 | /* 56 | * SINTER key [key ...] 57 | * Intersect multiple sets 58 | */ 59 | export function sinter () { 60 | } 61 | 62 | /* 63 | * SINTERSTORE destination key [key ...] 64 | * Intersect multiple sets and store the resulting set in a key 65 | */ 66 | export function sinterstore () { 67 | } 68 | 69 | /* 70 | * SISMEMBER key member 71 | * Determine if a given value is a member of a set 72 | */ 73 | export function sismember (key: string, member: any, callback: Callback) { 74 | if (!isMasterNode()) { 75 | store.dispatch("sismember", callback, key, member); 76 | 77 | } else { 78 | if (!(store[key] instanceof Set)) { 79 | notASetError(key); 80 | } 81 | return store[key].has(member); 82 | } 83 | } 84 | 85 | /* 86 | * SMEMBERS key 87 | * Get all the members in a set 88 | */ 89 | export function smembers (key: string, callback: ArrayCallback) { 90 | if (!isMasterNode()) { 91 | store.dispatch("smembers", callback, key); 92 | 93 | } else { 94 | return (!(store[key] instanceof Set)) 95 | ? [] 96 | : Array.from(store[key].values()); 97 | } 98 | } 99 | 100 | /* 101 | * SMOVE source destination member 102 | * Move a member from one set to another 103 | */ 104 | export function smove () { 105 | } 106 | 107 | /* 108 | * SPOP key [count] 109 | * Remove and return one or multiple random members from a set 110 | */ 111 | export function spop (key: string, count: number = 1, callback: Callback) { 112 | if (!isMasterNode()) { 113 | store.dispatch("spop", callback, key, count); 114 | 115 | } else { 116 | let members = srandmember(key, count, undefined); 117 | 118 | for (var i = 0, len = members.length; i < len; i++) { 119 | srem(key, members[i], undefined); 120 | } 121 | 122 | return members; 123 | } 124 | } 125 | 126 | /* 127 | * SRANDMEMBER key [count] 128 | * Get one or multiple random members from a set 129 | */ 130 | export function srandmember (key: string, count: number=1, callback: Callback) { 131 | if (!isMasterNode()) { 132 | store.dispatch("srandmember", callback, key, count); 133 | 134 | } else { 135 | var setLength: number = store[key].size; 136 | var returnArr = []; 137 | var isPositive: boolean = true ? (count > 0) : false; 138 | count = Math.abs(count); 139 | var set = Array.from(store[key]); 140 | if ((isPositive) && (count >= setLength)) { 141 | return set; 142 | } 143 | var returnedIndexes: Array = []; 144 | for(var i = 0; i < count; i++) { 145 | var randIndex: number; 146 | do { 147 | randIndex = Math.floor(Math.random() * setLength); 148 | } while((isPositive) && (returnedIndexes.indexOf(randIndex) != -1)); 149 | returnArr.push(set[randIndex]); 150 | if (isPositive) { 151 | returnedIndexes.push(randIndex); 152 | } 153 | } 154 | return returnArr; 155 | } 156 | } 157 | 158 | /* 159 | * SREM key member [member ...] 160 | * Remove one or more members from a set 161 | */ 162 | export function srem (key: string, member: any, callback?: Callback) { 163 | if (!isMasterNode()) { 164 | store.dispatch("srem", callback, key, member); 165 | 166 | } else { 167 | return (!(store[key] instanceof Set)) 168 | ? false 169 | : store[key].delete(member); 170 | } 171 | } 172 | 173 | /* 174 | * SUNION key [key ...] 175 | * Add multiple sets 176 | */ 177 | export function sunion () { 178 | } 179 | 180 | /* 181 | * SUNIONSTORE destination key [key ...] 182 | * Add multiple sets and store the resulting set in a key 183 | */ 184 | export function sunionstore () { 185 | } 186 | 187 | /* 188 | * SSCAN key cursor [MATCH pattern] [COUNT count] 189 | * Incrementally iterate Set elements 190 | */ 191 | export function sscan () { 192 | } 193 | -------------------------------------------------------------------------------- /src/commands/key.ts: -------------------------------------------------------------------------------- 1 | import { store, isMasterNode } from "../"; 2 | import { ArrayCallback, Callback } from "../callbacks"; 3 | 4 | /** 5 | * DEL key [key ...] 6 | * Delete a key 7 | */ 8 | export function del (key: string, callback?: Callback) { 9 | if (!isMasterNode()) { 10 | store.dispatch("del", callback, key); 11 | 12 | } else { 13 | delete store[key]; 14 | return "OK"; 15 | } 16 | } 17 | 18 | /** 19 | * DUMP key 20 | * Return a serialized version of the value stored at the specified key. 21 | */ 22 | export function dump () { 23 | } 24 | 25 | /** 26 | * EXISTS key [key ...] 27 | * Determine if a key exists 28 | */ 29 | export function exists (key: string, callback: Callback) { 30 | if (!isMasterNode()) { 31 | store.dispatch("exists", callback, key); 32 | 33 | } else { 34 | return (store[key] !== undefined); 35 | } 36 | } 37 | 38 | /** 39 | * EXPIRE key seconds 40 | * Set a key's time to live in seconds 41 | */ 42 | export function expire () { 43 | } 44 | 45 | /** 46 | * EXPIREAT key timestamp 47 | * Set the expiration for a key as a UNIX timestamp 48 | */ 49 | export function expireat () { 50 | } 51 | 52 | /** 53 | * KEYS pattern 54 | * Find all keys matching the given pattern 55 | */ 56 | export function keys (pattern: string, callback: ArrayCallback) { 57 | if (!isMasterNode()) { 58 | store.dispatch("keys", callback, pattern); 59 | 60 | } else { 61 | let keys = []; 62 | let regexp = new RegExp(pattern.replace("*", ".*")); 63 | let allKeys = Object.keys(store) 64 | 65 | for (var i = 0, len = allKeys.length; i < len; i++) { 66 | if (regexp.test(allKeys[i])) { 67 | keys.push(allKeys[i]); 68 | } 69 | } 70 | 71 | return keys; 72 | } 73 | } 74 | 75 | /** 76 | * MIGRATE host port key|"" destination-db timeout [COPY] [REPLACE] [KEYS key [key ...]] 77 | * Atomically transfer a key from a Redis instance to another one. 78 | */ 79 | export function migrate () { 80 | } 81 | 82 | /** 83 | * MOVE key db 84 | * Move a key to another database 85 | */ 86 | export function move () { 87 | } 88 | 89 | /** 90 | * OBJECT subcommand [arguments [arguments ...]] 91 | * Inspect the internals of Redis objects 92 | */ 93 | export function object () { 94 | } 95 | 96 | /** 97 | * PERSIST key 98 | * Remove the expiration from a key 99 | */ 100 | export function persist () { 101 | } 102 | 103 | /** 104 | * PEXPIRE key milliseconds 105 | * Set a key's time to live in milliseconds 106 | */ 107 | export function pexpire () { 108 | } 109 | 110 | /** 111 | * PEXPIREAT key milliseconds-timestamp 112 | * Set the expiration for a key as a UNIX timestamp specified in milliseconds 113 | */ 114 | export function pexpireat () { 115 | } 116 | 117 | /** 118 | * PTTL key 119 | * Get the time to live for a key in milliseconds 120 | */ 121 | export function pttl () { 122 | } 123 | 124 | /** 125 | * RANDOMKEY 126 | * Return a random key from the keyspace 127 | */ 128 | export function randomkey () { 129 | } 130 | 131 | /** 132 | * RENAME key newkey 133 | * Rename a key 134 | */ 135 | export function rename (key: string, newkey: string, callback: Callback) { 136 | if (!isMasterNode()) { 137 | store.dispatch("rename", callback, key, newkey); 138 | 139 | } else { 140 | if (!store[key]) { 141 | throw new Error(`no such key '${ key }'`); 142 | } 143 | 144 | store[newkey] = store[key]; 145 | delete store[key]; 146 | 147 | return true; 148 | } 149 | } 150 | 151 | /** 152 | * RENAMENX key newkey 153 | * Rename a key, only if the new key does not exist 154 | */ 155 | export function renamenx () { 156 | } 157 | 158 | /** 159 | * RESTORE key ttl serialized-value [REPLACE] 160 | * Create a key using the provided serialized value, previously obtained using DUMP. 161 | */ 162 | export function restore () { 163 | } 164 | 165 | /** 166 | * SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination] 167 | * Sort the elements in a list, set or sorted set 168 | */ 169 | export function sort () { 170 | } 171 | 172 | /** 173 | * TOUCH key [key ...] 174 | * Alters the last access time of a key(s). Returns the number of existing keys specified. 175 | */ 176 | export function touch () { 177 | } 178 | 179 | /** 180 | * TTL key 181 | * Get the time to live for a key 182 | */ 183 | export function ttl () { 184 | } 185 | 186 | /** 187 | * TYPE key 188 | * Determine the type stored at key 189 | */ 190 | export function type (key: string, callback: Callback) { 191 | if (!isMasterNode()) { 192 | store.dispatch("type", callback, key); 193 | 194 | } else { 195 | let jsType = store[key].constructor.name.toLowerCase(); 196 | 197 | // Valid redis types are: 'string', 'list', 'set', 'zset', 'hash' 198 | if (jsType === "array") { 199 | jsType = "list"; 200 | 201 | } else if (jsType === "object") { 202 | jsType = "hash"; 203 | } 204 | 205 | return jsType; 206 | } 207 | } 208 | 209 | /** 210 | * UNLINK key [key ...] 211 | * Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. 212 | */ 213 | export function unlink () { 214 | } 215 | 216 | /** 217 | * WAIT numslaves timeout 218 | * Wait for the synchronous replication of all the write commands sent in the context of the current connection 219 | */ 220 | export function wait () { 221 | } 222 | 223 | /** 224 | * SCAN cursor [MATCH pattern] [COUNT count] 225 | * Incrementally iterate the keys space 226 | */ 227 | export function scan () { 228 | } 229 | 230 | -------------------------------------------------------------------------------- /src/commands/list.ts: -------------------------------------------------------------------------------- 1 | import { store, isMasterNode } from "../"; 2 | import { ArrayCallback, Callback } from "../callbacks"; 3 | 4 | function _ensureList(key) { 5 | if (!(key in store)) { 6 | store[key] = []; 7 | } 8 | } 9 | 10 | /* 11 | * BLPOP key [key ...] timeout 12 | * Remove and get the first element in a list, or block until one is available 13 | */ 14 | export function blpop () { 15 | } 16 | 17 | /* 18 | * BRPOP key [key ...] timeout 19 | * Remove and get the last element in a list, or block until one is available 20 | */ 21 | export function brpop () { 22 | } 23 | 24 | /* 25 | * BRPOPLPUSH source destination timeout 26 | * Pop a value from a list, push it to another list and return it; or block until one is available 27 | */ 28 | export function brpoplpush () { 29 | } 30 | 31 | /* 32 | * LINDEX key index 33 | * Get an element from a list by its index 34 | */ 35 | export function lindex (key: string, value: any, callback: Callback) { 36 | if (!isMasterNode()) { 37 | store.dispatch("lindex", callback, key, value); 38 | 39 | } else { 40 | return (!store[key]) 41 | ? null 42 | : store[key].indexOf(value); 43 | } 44 | } 45 | 46 | /* 47 | * LINSERT key BEFORE|AFTER pivot value 48 | * Insert an element before or after another element in a list 49 | */ 50 | export function linsert () { 51 | } 52 | 53 | /* 54 | * LLEN key 55 | * Get the length of a list 56 | */ 57 | export function llen (key: string, callback: Callback) { 58 | if (!isMasterNode()) { 59 | store.dispatch("llen", callback, key); 60 | 61 | } else { 62 | return (store[key] || []).length; 63 | } 64 | } 65 | 66 | /* 67 | * LPOP key 68 | * Remove and get the first element in a list 69 | */ 70 | export function lpop (key: string, callback: Callback) { 71 | if (!isMasterNode()) { 72 | store.dispatch("lpop", callback, key); 73 | 74 | } else { 75 | return (store[key] || []).shift(); 76 | } 77 | } 78 | 79 | /* 80 | * LPUSH key value [value ...] 81 | * Prepend one or multiple values to a list 82 | */ 83 | export function lpush (key: string, value: any, callback: Callback) { 84 | if (!isMasterNode()) { 85 | store.dispatch("lpush", callback, key, value); 86 | 87 | } else { 88 | _ensureList(key); 89 | return lpushx(key, value, undefined); 90 | } 91 | } 92 | 93 | /* 94 | * LPUSHX key value 95 | * Prepend a value to a list, only if the list exists 96 | */ 97 | export function lpushx (key: string, value: any, callback: Callback) { 98 | if (!isMasterNode()) { 99 | store.dispatch("lpushx", callback, key, value); 100 | } else { 101 | try { 102 | return store[key].unshift(value); 103 | } 104 | catch (e) { 105 | if (!(key in store)) { 106 | throw new Error("key does not exist"); 107 | } 108 | throw new Error("key is not a list"); 109 | }; 110 | } 111 | } 112 | 113 | /* 114 | * LRANGE key start stop 115 | * Get a range of elements from a list 116 | */ 117 | export function lrange (key: string, start: number, stop: number, callback: ArrayCallback) { 118 | if (!isMasterNode()) { 119 | store.dispatch("lrange", callback, key, start, stop); 120 | 121 | } else { 122 | if (!(key in store)){ 123 | return []; 124 | } 125 | let list = store[key] 126 | if (stop === -1) { 127 | stop = list.length; 128 | } 129 | return list.slice(start, stop); 130 | } 131 | } 132 | 133 | /* 134 | * LREM key count value 135 | * Remove elements from a list 136 | */ 137 | export function lrem () { 138 | } 139 | 140 | /* 141 | * LSET key index value 142 | * Set the value of an element in a list by its index 143 | */ 144 | export function lset (key: string, index: number, value: any, callback?: Callback) { 145 | if (!isMasterNode()) { 146 | store.dispatch("lset", callback, key, index, value); 147 | 148 | } else { 149 | if (store[key][index] === undefined) { 150 | throw new Error("index out of range"); 151 | } 152 | 153 | store[key][index] = value; 154 | 155 | return "OK"; 156 | } 157 | } 158 | 159 | /* 160 | * LTRIM key start stop 161 | * Trim a list to the specified range 162 | */ 163 | export function ltrim () { 164 | } 165 | 166 | /* 167 | * RPOP key 168 | * Remove and get the last element in a list 169 | */ 170 | export function rpop (key: string, callback: Callback) { 171 | if (!isMasterNode()) { 172 | store.dispatch("rpop", callback, key); 173 | 174 | } else { 175 | return (store[key] || []).pop(); 176 | } 177 | } 178 | 179 | /* 180 | * RPOPLPUSH source destination 181 | * Remove the last element in a list, prepend it to another list and return it 182 | */ 183 | export function rpoplpush (source: string, destination: string, callback: Callback) { 184 | if (!isMasterNode()) { 185 | store.dispatch("rpoplpush", callback, source, destination); 186 | 187 | } else { 188 | let value = rpop(source, undefined); 189 | lpush(destination, value, undefined) 190 | return value; 191 | } 192 | } 193 | 194 | /* 195 | * RPUSH key value [value ...] 196 | * Append one or multiple values to a list 197 | */ 198 | export function rpush (key: string, value: any, callback: Callback) { 199 | if (!isMasterNode()) { 200 | store.dispatch("rpush", callback, key, value); 201 | 202 | } else { 203 | _ensureList(key); 204 | return rpushx(key, value, undefined); 205 | } 206 | } 207 | 208 | /* 209 | * RPUSHX key value 210 | * Append a value to a list, only if the list exists 211 | */ 212 | export function rpushx (key: string, value: any, callback: Callback) { 213 | if (!isMasterNode()) { 214 | store.dispatch("rpushx", callback, key, value); 215 | } else { 216 | try { 217 | return store[key].push(value); 218 | } 219 | catch (e) { 220 | if (!(key in store)) { 221 | throw new Error("key does not exist"); 222 | } 223 | throw new Error("key is not a list"); 224 | }; 225 | } 226 | } 227 | -------------------------------------------------------------------------------- /src/commands/string.ts: -------------------------------------------------------------------------------- 1 | import { store, isMasterNode } from "../"; 2 | import { ArrayCallback, Callback } from "../callbacks"; 3 | import { del } from "./key"; 4 | 5 | /* 6 | * GET key 7 | * Get the value of a key 8 | */ 9 | export function get (key: string, callback: Callback) { 10 | if (!isMasterNode()) { 11 | store.dispatch("get", callback, key); 12 | 13 | } else { 14 | return store[key]; 15 | } 16 | } 17 | 18 | /* 19 | * SET key value [EX seconds] [PX milliseconds] [NX|XX] 20 | * Set the string value of a key 21 | */ 22 | export function set (key: string, value: any, callback?: Callback) { 23 | if (!isMasterNode()) { 24 | store.dispatch("set", callback, key, value); 25 | 26 | } else { 27 | store[key] = value; 28 | return "OK"; 29 | } 30 | } 31 | 32 | /* 33 | * APPEND key value 34 | * Append a value to a key 35 | */ 36 | export function append () { 37 | } 38 | 39 | /* 40 | * BITCOUNT key [start end] 41 | * Count set bits in a string 42 | */ 43 | export function bitcount () { 44 | } 45 | 46 | /* 47 | * BITFIELD key [GET type offset] [SET type offset value] [INCRBY type offset increment] [OVERFLOW WRAP|SAT|FAIL] 48 | * Perform arbitrary bitfield integer operations on strings 49 | */ 50 | export function bitfield () { 51 | } 52 | 53 | /* 54 | * BITOP operation destkey key [key ...] 55 | * Perform bitwise operations between strings 56 | */ 57 | export function bitop () { 58 | } 59 | 60 | /* 61 | * BITPOS key bit [start] [end] 62 | * Find first bit set or clear in a string 63 | */ 64 | export function bitpos () { 65 | } 66 | 67 | /* 68 | * DECR key 69 | * Decrement the integer value of a key by one 70 | */ 71 | export function decr (key: string, callback?: Callback) { 72 | if (!isMasterNode()) { 73 | store.dispatch("decr", callback, key); 74 | 75 | } else { 76 | if (!store[key]) { 77 | store[key] = 0; 78 | } 79 | return (--store[key]); 80 | } 81 | } 82 | 83 | /* 84 | * DECRBY key decrement 85 | * Decrement the integer value of a key by the given number 86 | */ 87 | export function decrby (key: string, value: number, callback?: Callback) { 88 | if (!isMasterNode()) { 89 | store.dispatch("decrby", callback, key, value); 90 | 91 | } else { 92 | if (!store[key]) { 93 | store[key] = 0; 94 | } 95 | store[key] -= value; 96 | return store[key]; 97 | } 98 | } 99 | 100 | /* 101 | * GETBIT key offset 102 | * Returns the bit value at offset in the string value stored at key 103 | */ 104 | export function getbit () { 105 | } 106 | 107 | /* 108 | * GETRANGE key start end 109 | * Get a substring of the string stored at a key 110 | */ 111 | export function getrange () { 112 | } 113 | 114 | /* 115 | * GETSET key value 116 | * Set the string value of a key and return its old value 117 | */ 118 | export function getset () { 119 | } 120 | 121 | /* 122 | * INCR key 123 | * Increment the integer value of a key by one 124 | */ 125 | export function incr (key: string, callback?: Callback) { 126 | if (!isMasterNode()) { 127 | store.dispatch("incr", callback, key); 128 | 129 | } else { 130 | if (!store[key]) { 131 | store[key] = 0; 132 | } 133 | return ++store[key]; 134 | } 135 | } 136 | 137 | /* 138 | * INCRBY key increment 139 | * Increment the integer value of a key by the given amount 140 | */ 141 | export function incrby (key: string, value: number, callback?: Callback) { 142 | if (!isMasterNode()) { 143 | store.dispatch("incrby", callback, key, value); 144 | 145 | } else { 146 | if (!store[key]) { 147 | store[key] = 0; 148 | } 149 | store[key] += value; 150 | return store[key]; 151 | } 152 | } 153 | 154 | /* 155 | * INCRBYFLOAT key increment 156 | * Increment the float value of a key by the given amount 157 | */ 158 | export function incrbyfloat () { 159 | } 160 | 161 | /* 162 | * MGET key [key ...] 163 | * Get the values of all the given keys 164 | */ 165 | export function mget (keys: string[], callback: ArrayCallback) { 166 | if (!isMasterNode()) { 167 | store.dispatch("mget", callback, keys); 168 | 169 | } else { 170 | return keys.map(k => get(k, undefined)); 171 | } 172 | } 173 | 174 | /* 175 | * MSET key value [key value ...] 176 | * Set multiple keys to multiple values 177 | */ 178 | export function mset () { 179 | } 180 | 181 | /* 182 | * MSETNX key value [key value ...] 183 | * Set multiple keys to multiple values, only if none of the keys exist 184 | */ 185 | export function msetnx () { 186 | } 187 | 188 | /* 189 | * PSETEX key milliseconds value 190 | * Set the value and expiration in milliseconds of a key 191 | */ 192 | export function psetex () { 193 | } 194 | 195 | /* 196 | * SETBIT key offset value 197 | * Sets or clears the bit at offset in the string value stored at key 198 | */ 199 | export function setbit () { 200 | } 201 | 202 | /* 203 | * SETEX key seconds value 204 | * Set the value and expiration of a key 205 | */ 206 | let timeouts: {[key: string]: NodeJS.Timer} = {}; 207 | export function setex (key: string, seconds: number, value: any, callback?: Callback) { 208 | if (!isMasterNode()) { 209 | store.dispatch("setex", callback, key, seconds, value); 210 | 211 | } else { 212 | set(key, value, undefined); 213 | 214 | // ensure previous timeout is cleared before setting a new one 215 | if (timeouts[key]) { 216 | clearTimeout(timeouts[key]); 217 | } 218 | 219 | // enqueue to delete after timeout in seconds. 220 | timeouts[key] = setTimeout(() => { 221 | del(key); 222 | delete timeouts[key]; 223 | }, seconds * 1000); 224 | 225 | return "OK"; 226 | } 227 | } 228 | 229 | /* 230 | * SETNX key value 231 | * Set the value of a key, only if the key does not exist 232 | */ 233 | export function setnx () { 234 | } 235 | 236 | /* 237 | * SETRANGE key offset value 238 | * Overwrite part of a string at key starting at the specified offset 239 | */ 240 | export function setrange () { 241 | } 242 | 243 | /* 244 | * STRLEN key 245 | * Get the length of the value stored in a key 246 | */ 247 | export function strlen (key: string, callback: Callback) { 248 | if (!isMasterNode()) { 249 | store.dispatch("strlen", callback, key); 250 | 251 | } else { 252 | return (store[key] || "").length; 253 | } 254 | } 255 | 256 | -------------------------------------------------------------------------------- /test/memshared.ts: -------------------------------------------------------------------------------- 1 | import { assert } from "chai"; 2 | 3 | import * as commands from "../src/commands"; 4 | import * as cluster from "cluster"; 5 | import { setup } from "../src/index"; 6 | 7 | describe("memshared", () => { 8 | 9 | if (cluster.isMaster) { 10 | let workers = [ 11 | cluster.fork(), 12 | // cluster.fork(), 13 | ]; 14 | 15 | it("should set up with initial data", () => { 16 | setup({ 17 | number: 1, 18 | number_decr: 5, 19 | number_decrby: 5, 20 | number_incr: 5, 21 | number_incrby: 5, 22 | string: "Hello world!", 23 | hash: { one: 1, two: 2, three: 3 }, 24 | mutateme: { one: 1, two: 2, three: 3 }, 25 | deleteme: { one: 1, two: 2, three: 3 }, 26 | deletemetoo: 1, 27 | renameme: 1, 28 | mylist: [ "one", "two", "three" ], 29 | list: [ 9, 8, 7, 6, 5, 4, 3, 2, 1 ], 30 | list_pop_2: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], 31 | list_pop_3: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], 32 | list_pop_4: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], 33 | list_pop_5: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], 34 | list_pop_6: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], 35 | list_pop_7: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], 36 | set: new Set([ 9, 8, 7, 6, 5, 4, 3, 2, 1 ]), 37 | set_pop: new Set([ 9, 8, 7, 6, 5, 4, 3, 2, 1 ]), 38 | set_pop2: new Set([ 9, 8, 7, 6, 5, 4, 3, 2, 1 ]), 39 | }); 40 | }); 41 | 42 | it("all tests", (done) => { 43 | let finished: number = 0; 44 | 45 | workers.forEach(worker => { 46 | worker.on("exit", () => { 47 | finished++; 48 | 49 | if (finished === workers.length) { 50 | done(); 51 | } 52 | }); 53 | }); 54 | }).timeout(5000);; 55 | 56 | } else { 57 | // Exit worker on completion 58 | after(() => process.exit()); 59 | 60 | // 61 | // String 62 | // 63 | describe("string", () => { 64 | describe("#get", () => { 65 | it("get", () => { 66 | commands.get("number", (err, result) => { 67 | assert.equal(result, 1); 68 | }); 69 | }); 70 | }); 71 | 72 | describe("#set", () => { 73 | it("set", (done) => { 74 | commands.set("key", "value", (err, result) => { 75 | assert.equal(result, "OK"); 76 | commands.get("key", (err, result) => { 77 | assert.equal(result, "value"); 78 | done(); 79 | }); 80 | }); 81 | }); 82 | }); 83 | 84 | describe("#setex", () => { 85 | it("shouldn't throw exception without the callback", (done) => { 86 | commands.setex("tmpkey-2", 0.1, "value"); 87 | setTimeout(done, 150); 88 | }); 89 | 90 | it("should delete key after timeout", (done) => { 91 | commands.setex("tmpkey", 0.1, "value", (err, result) => { 92 | assert.equal(result, "OK"); 93 | commands.get("tmpkey", (err, result) => { 94 | assert.equal(result, "value"); 95 | setTimeout(() => { 96 | commands.get("tmpkey", (err, result) => { 97 | assert.notOk(result); 98 | done(); 99 | }); 100 | }, 0.2 * 1000); 101 | }); 102 | }); 103 | }); 104 | }); 105 | 106 | describe("#decr", () => { 107 | it("should decrease non-existing key", (done) => { 108 | commands.decr("decr-non-existing", (err, result) => { 109 | assert.equal(result, -1); 110 | commands.get("decr-non-existing", (err, result) => { 111 | assert.equal(result, -1); 112 | done(); 113 | }); 114 | }); 115 | }); 116 | 117 | it("should decrease existing key", (done) => { 118 | commands.decr("number_decr", (err, result) => { 119 | assert.equal(result, 4); 120 | commands.get("number_decr", (err, result) => { 121 | assert.equal(result, 4); 122 | done(); 123 | }); 124 | }); 125 | }); 126 | }); 127 | 128 | describe("#decrby", () => { 129 | it("should decrease non-existing key", (done) => { 130 | commands.decrby("decrby-non-existing", 3, (err, result) => { 131 | assert.equal(result, -3); 132 | commands.get("decrby-non-existing", (err, result) => { 133 | assert.equal(result, -3); 134 | done(); 135 | }); 136 | }); 137 | }); 138 | 139 | it("should decrease existing key", (done) => { 140 | commands.decrby("number_decrby", 3, (err, result) => { 141 | assert.equal(result, 2); 142 | commands.get("number_decrby", (err, result) => { 143 | assert.equal(result, 2); done(); 144 | }); 145 | }); 146 | }); 147 | }); 148 | 149 | 150 | describe("#incr", () => { 151 | it("should increase non-existing key", (done) => { 152 | commands.incr("incr-non-existing", (err, result) => { 153 | assert.equal(result, 1); 154 | commands.get("incr-non-existing", (err, result) => { 155 | assert.equal(result, 1); 156 | done(); 157 | }); 158 | }); 159 | }); 160 | 161 | it("should increase existing key", (done) => { 162 | commands.incr("number_incr", (err, result) => { 163 | assert.equal(result, 6); 164 | commands.get("number_incr", (err, result) => { 165 | assert.equal(result, 6); 166 | done(); 167 | }); 168 | }); 169 | }); 170 | }); 171 | 172 | describe("#incrby", () => { 173 | it("should increase non-existing key", (done) => { 174 | commands.incrby("incrby-non-existing", 3, (err, result) => { 175 | assert.equal(result, 3); 176 | commands.get("incrby-non-existing", (err, result) => { 177 | assert.equal(result, 3); 178 | done(); 179 | }); 180 | }); 181 | }); 182 | 183 | it("should increase existing key", (done) => { 184 | commands.incrby("number_incrby", 3, (err, result) => { 185 | assert.equal(result, 8); 186 | commands.get("number_incrby", (err, result) => { 187 | assert.equal(result, 8); done(); 188 | }); 189 | }); 190 | }); 191 | }); 192 | 193 | describe("#strlen", () => { 194 | it("should return 0 for non-existing key", (done) => { 195 | commands.strlen("strlen-non-existing", (err, result) => { 196 | assert.equal(result, 0); 197 | done(); 198 | }); 199 | }); 200 | 201 | it("should return string length for existing key", (done) => { 202 | commands.strlen("string", (err, result) => { 203 | assert.equal(result, 12); 204 | done(); 205 | }); 206 | }); 207 | }); 208 | 209 | describe("#mget", () => { 210 | it("should get multiple values in one call", (done) => { 211 | commands.mget(["number", "string", "non-existing", "mylist"], (err, result) => { 212 | assert.deepEqual(result, [1, "Hello world!", null, [ "one", "two", "three" ]]); 213 | done(); 214 | }); 215 | }); 216 | }); 217 | 218 | }); 219 | 220 | // 221 | // Key 222 | // 223 | describe("key", () => { 224 | describe("#delete", () => { 225 | it("delete", (done) => { 226 | commands.del("deletemetoo", (err, result) => { 227 | assert.equal(result, "OK"); 228 | 229 | commands.get("deletemetoo", (err, result) => { 230 | assert.equal(undefined, result); 231 | done(); 232 | }); 233 | }); 234 | }); 235 | }); 236 | 237 | describe("#exists", () => { 238 | it("should return false when key doesn't exists", (done) => { 239 | commands.exists("non-existent-key", (err, result) => { 240 | assert.equal(result, false); 241 | done(); 242 | }); 243 | }); 244 | 245 | it("should return true if key exists", (done) => { 246 | commands.exists("number", (err, result) => { 247 | assert.equal(result, true); 248 | done(); 249 | }); 250 | }); 251 | }); 252 | 253 | describe("#keys", () => { 254 | it("should return empty if couldn't match any key", (done) => { 255 | commands.keys("numberrr*", (err, result) => { 256 | assert.deepEqual(result, []); 257 | done(); 258 | }); 259 | }); 260 | 261 | it("should return all matching keys", (done) => { 262 | commands.keys("number*", (err, result) => { 263 | assert.deepEqual(result, ['number', 'number_decr', 'number_decrby', 'number_incr', 'number_incrby']); 264 | done(); 265 | }); 266 | }); 267 | }); 268 | 269 | describe("#rename", () => { 270 | it("should throw an error for non-existing keys", (done) => { 271 | commands.rename("rename-non-existing", "renamed", (err, result) => { 272 | assert.isString(err); 273 | done(); 274 | }); 275 | }); 276 | 277 | it("should rename key", (done) => { 278 | commands.rename("renameme", "renamed", (err, result) => { 279 | commands.get("renamed", (err, result) => { 280 | assert.equal(result, 1); 281 | done(); 282 | }); 283 | }); 284 | }); 285 | }); 286 | 287 | describe("#type", () => { 288 | it("should return number type", (done) => { 289 | commands.type("number", (err, result) => { 290 | assert.equal(result, "number"); 291 | done(); 292 | }); 293 | }); 294 | 295 | it("should return string type", (done) => { 296 | commands.type("string", (err, result) => { 297 | assert.equal(result, "string"); 298 | done(); 299 | }); 300 | }); 301 | 302 | it("should return set type", (done) => { 303 | commands.type("set", (err, result) => { 304 | assert.equal(result, "set"); 305 | done(); 306 | }); 307 | }); 308 | 309 | it("should return list type", (done) => { 310 | commands.type("list", (err, result) => { 311 | assert.equal(result, "list"); 312 | done(); 313 | }); 314 | }); 315 | 316 | it("should return hash type", (done) => { 317 | commands.type("hash", (err, result) => { 318 | assert.equal(result, "hash"); 319 | done(); 320 | }); 321 | }); 322 | 323 | }); 324 | }); 325 | 326 | // 327 | // Hash 328 | // 329 | describe("hash", () => { 330 | 331 | describe("#hdel", () => { 332 | it("should error when trying to delete invalid key", (done) => { 333 | commands.hdel("not-a-hash", "key", (err, result) => { 334 | assert.typeOf(err, "string"); 335 | done(); 336 | }); 337 | }); 338 | 339 | it("should error when trying to delete invalid key", (done) => { 340 | commands.hdel("deleteme", "one", (err, result) => { 341 | assert.equal(result, "OK"); 342 | done(); 343 | }); 344 | }); 345 | }); 346 | 347 | 348 | describe("#hget", () => { 349 | it("should return array of keys and values", (done) => { 350 | commands.hget("hash", "one", (err, result) => { 351 | assert.equal(result, 1); 352 | done(); 353 | }); 354 | }); 355 | 356 | it("should return undefined for non-existing key", (done) => { 357 | commands.hget("not-a-hash", "field", (err, result) => { 358 | assert.deepEqual(result, undefined); 359 | done(); 360 | }); 361 | }); 362 | }); 363 | 364 | describe("#hgetall", () => { 365 | it("should return array of keys and values", (done) => { 366 | commands.hgetall("hash", (err, result) => { 367 | assert.deepEqual(result, ['one', 1, 'two', 2, 'three', 3]); 368 | done(); 369 | }); 370 | }); 371 | 372 | it("should return empty for non-existing keys", (done) => { 373 | commands.hgetall("not-a-hash", (err, result) => { 374 | assert.deepEqual(result, []); 375 | done(); 376 | }); 377 | }); 378 | }); 379 | 380 | describe("#hincrby", () => { 381 | it("should increment non-existing keys", (done) => { 382 | commands.hincrby("non-existing", "field", 2, (err, result) => { 383 | assert.equal(result, 2); 384 | commands.hget("non-existing", "field", (err, result) => { 385 | assert.equal(result, 2); 386 | done(); 387 | }); 388 | }); 389 | }); 390 | 391 | it("should increment existing values", (done) => { 392 | commands.hincrby("mutateme", "two", 1, (err, result) => { 393 | assert.equal(result, 3); 394 | commands.hget("mutateme", "two", (err, result) => { 395 | assert.equal(result, 3); 396 | done(); 397 | }); 398 | }); 399 | }); 400 | }); 401 | 402 | describe("#hkeys", () => { 403 | it("should return empty for non-existing keys", (done) => { 404 | commands.hkeys("non-existing-hkeys", (err, result) => { 405 | assert.deepEqual(result, []); 406 | done(); 407 | }); 408 | }); 409 | 410 | it("should return array of keys for valid object", (done) => { 411 | commands.hkeys("hash", (err, result) => { 412 | assert.deepEqual(result, ['one', 'two', 'three']); 413 | done(); 414 | }); 415 | }); 416 | }); 417 | 418 | describe("#hvals", () => { 419 | it("should return empty for non-existing keys", (done) => { 420 | commands.hvals("non-existing-hkeys", (err, result) => { 421 | assert.deepEqual(result, []); 422 | done(); 423 | }); 424 | }); 425 | 426 | it("should return array of values for valid object", (done) => { 427 | commands.hvals("hash", (err, result) => { 428 | assert.deepEqual(result, [1, 2, 3]); 429 | done(); 430 | }); 431 | }); 432 | }); 433 | 434 | describe("#hlen", () => { 435 | it("should return 0 for non-existing keys", (done) => { 436 | commands.hlen("non-existing-hlen", (err, result) => { 437 | assert.equal(result, 0); 438 | done(); 439 | }); 440 | }); 441 | 442 | it("should return number of keys for valid object", (done) => { 443 | commands.hlen("hash", (err, result) => { 444 | assert.deepEqual(result, 3); 445 | done(); 446 | }); 447 | }); 448 | }); 449 | 450 | describe("#hset", () => { 451 | it("should set value for a hash", (done) => { 452 | commands.hset("mutateme", "newkey", "value", (err, result) => { 453 | assert.equal(result, true); 454 | commands.hget("mutateme", "newkey", (err, result) => { 455 | assert.equal(result, "value"); 456 | done(); 457 | }); 458 | }); 459 | }); 460 | }); 461 | 462 | }); 463 | 464 | // 465 | // Set 466 | // 467 | describe("set", () => { 468 | describe("#sadd", () => { 469 | it("should add item to set", (done) => { 470 | commands.sadd("sadd-set", "element", (err, result) => { 471 | assert.equal(result, true); 472 | commands.sismember("sadd-set", "element", (err, result) => { 473 | assert.equal(result, true); 474 | done(); 475 | }); 476 | }); 477 | }); 478 | }); 479 | 480 | describe("#scard", () => { 481 | it("should get number of elements on set", (done) => { 482 | commands.scard("set", (err, result) => { 483 | assert.equal(result, 9); 484 | done(); 485 | }); 486 | }); 487 | }); 488 | 489 | describe("#sismember", () => { 490 | it("should return true if member is found", (done) => { 491 | commands.sismember("set", 1, (err, result) => { 492 | assert.equal(result, true); 493 | done(); 494 | }); 495 | }); 496 | 497 | it("should return false if member couldn't be found", (done) => { 498 | commands.sismember("set", 20, (err, result) => { 499 | assert.equal(result, false); 500 | done(); 501 | }); 502 | }); 503 | }); 504 | 505 | describe("#smembers", () => { 506 | it("should return empty for non-existing keys", (done) => { 507 | commands.smembers("smembers-non-existing-key", (err, result) => { 508 | assert.deepEqual(result, []); 509 | done(); 510 | }); 511 | }); 512 | 513 | it("should return all elements for valid key", (done) => { 514 | commands.smembers("set", (err, result) => { 515 | assert.deepEqual(result, [ 9, 8, 7, 6, 5, 4, 3, 2, 1 ]); 516 | done(); 517 | }); 518 | }); 519 | 520 | }); 521 | 522 | describe("#srandmember", () => { 523 | it("should return distinct values from set", (done) => { 524 | commands.srandmember("set", 2, (err, result) => { 525 | assert.equal(2, result.length); 526 | assert.notEqual(result[0], result[1]); 527 | done(); 528 | }); 529 | }); 530 | 531 | it("should return the whole set", (done) => { 532 | commands.srandmember("set", 20, (err, result) => { 533 | assert.notEqual(result[0], result[1]); 534 | commands.scard("set", (err, setSize) => { 535 | assert.equal(result.length, setSize); 536 | done(); 537 | }); 538 | }); 539 | }); 540 | 541 | it("should return non-distinct values", (done) => { 542 | commands.srandmember("set", -12, (err, result) => { 543 | assert.equal(12, result.length); 544 | done(); 545 | }); 546 | }); 547 | }); 548 | 549 | describe("#spop", () => { 550 | it("should return null for non-existing keys", (done) => { 551 | commands.spop("smembers-non-existing-key", 1, (err, result) => { 552 | assert.equal(result, null); 553 | done(); 554 | }); 555 | }); 556 | 557 | it("should return a random value", (done) => { 558 | commands.spop("set_pop2", 1, (err, result) => { 559 | assert.isArray(result); 560 | assert.isTrue([1,2,3,4,5,6,7,8,9].indexOf(result[0]) >= 0); 561 | commands.scard("set_pop2", (err, result) => { 562 | assert.equal(result, 8); 563 | done(); 564 | }); 565 | }); 566 | }); 567 | 568 | }); 569 | 570 | describe("#srem", () => { 571 | it("should return false for non-existing keys", (done) => { 572 | commands.srem("srem-non-existing-key", "it-doesn't-work-anyway", (err, result) => { 573 | assert.equal(result, false); 574 | done(); 575 | }); 576 | }); 577 | 578 | it("should return true if removed successfully", (done) => { 579 | commands.srem("set_pop", 5, (err, result) => { 580 | assert.equal(result, true); 581 | done(); 582 | }); 583 | }); 584 | 585 | }); 586 | }); 587 | 588 | // 589 | // List 590 | // 591 | describe("list", () => { 592 | 593 | describe("#lindex", () => { 594 | it("should return null for non-existing keys", (done) => { 595 | commands.lindex("lindex-non-existing", "value", (err, result) => { 596 | assert.equal(result, null); 597 | done(); 598 | }); 599 | }); 600 | 601 | it("should return valid number", (done) => { 602 | commands.lindex("list", 5, (err, result) => { 603 | assert.equal(result, 4); 604 | done(); 605 | }); 606 | }); 607 | }); 608 | 609 | describe("#llen", () => { 610 | it("should return 0 for non-existing keys", (done) => { 611 | commands.llen("llen-non-existing", (err, result) => { 612 | assert.equal(result, 0); 613 | done(); 614 | }); 615 | }); 616 | 617 | it("should return valid number", (done) => { 618 | commands.llen("list", (err, result) => { 619 | assert.equal(result, 9); 620 | done(); 621 | }); 622 | }); 623 | }); 624 | 625 | describe("#lpop", () => { 626 | it("should return null for non-existing keys", (done) => { 627 | commands.lpop("lpop-non-existing", (err, result) => { 628 | assert.equal(result, null); 629 | done(); 630 | }); 631 | }); 632 | 633 | it("should return valid number", (done) => { 634 | commands.lpop("list_pop_2", (err, result) => { 635 | assert.equal(result, 1); 636 | done(); 637 | }); 638 | }); 639 | }); 640 | 641 | describe("#rpoplpush", () => { 642 | it("should remove first item of source a push into destination", (done) => { 643 | commands.rpoplpush("list_pop_3", "list", (err, result) => { 644 | assert.equal(result, 9); 645 | commands.llen("list", (err, result) => { 646 | assert.equal(result, 10); 647 | done(); 648 | }); 649 | }); 650 | }); 651 | }); 652 | 653 | describe("#rpush", () => { 654 | it("should create new list and insert new element to the list", (done) => { 655 | commands.rpush("list_pop_create_new34", 0, (err, result) => { 656 | assert.equal(result, 1); 657 | 658 | commands.lrange("list_pop_create_new34", 0, 1, (err, result) => { 659 | assert.deepEqual(result, [0]); 660 | done(); 661 | }); 662 | }); 663 | }); 664 | }); 665 | 666 | describe("#rpushx", () => { 667 | it("should push item to list", (done) => { 668 | commands.rpushx("list_pop_4", 0, (err, result) => { 669 | assert.equal(result, 10); 670 | commands.rpop("list_pop_4", (err, result) => { 671 | assert.equal(result, 0); 672 | done(); 673 | }); 674 | }); 675 | }); 676 | 677 | it("should not insert new element because list does not exist", (done) => { 678 | commands.rpushx("random_key_name123", 0, (err, result) => { 679 | assert.equal(result, undefined); 680 | assert.equal(err, "key does not exist"); 681 | done(); 682 | }); 683 | }); 684 | }); 685 | 686 | describe("#rpop", () => { 687 | it("should remove and return last item of list", (done) => { 688 | commands.rpop("list_pop_5", (err, result) => { 689 | assert.equal(result, 9); 690 | commands.llen("list_pop_5", (err, result) => { 691 | assert.equal(result, 8); 692 | done(); 693 | }); 694 | }); 695 | }); 696 | }); 697 | 698 | describe("#lrange", () => { 699 | it("should return empty for non-existing keys", (done) => { 700 | commands.lrange("lrange-non-existing", 0, 10, (err, result) => { 701 | assert.deepEqual(result, []); 702 | done(); 703 | }); 704 | }); 705 | 706 | it("should return range of values in a list", (done) => { 707 | commands.lrange("mylist", 0, -1, (err, result) => { 708 | assert.deepEqual(result, ["one", "two", "three"]); 709 | done(); 710 | }); 711 | }); 712 | }); 713 | 714 | describe("#lset", () => { 715 | it("should set index of list to value", (done) => { 716 | commands.lset("list_pop_5", 3, "new value!", (err, result) => { 717 | assert.equal(result, "OK"); 718 | 719 | commands.hget("list_pop_5", "3", (err, result) => { 720 | assert.equal(result, "new value!"); 721 | done(); 722 | }); 723 | }); 724 | }); 725 | }); 726 | 727 | describe("#lpush", () => { 728 | it("should insert new element at the beginning of list", (done) => { 729 | commands.lpush("list_pop_6", 0, (err, result) => { 730 | assert.equal(result, 10); 731 | 732 | commands.lrange("list_pop_6", 0, 1, (err, result) => { 733 | assert.deepEqual(result, [0]); 734 | done(); 735 | }); 736 | }); 737 | }); 738 | 739 | it("should create new list and insert new element at the beginning of list", (done) => { 740 | commands.lpush("list_pop_create_new12", 0, (err, result) => { 741 | assert.equal(result, 1); 742 | 743 | commands.lrange("list_pop_create_new12", 0, 1, (err, result) => { 744 | assert.deepEqual(result, [0]); 745 | done(); 746 | }); 747 | }); 748 | }); 749 | 750 | }); 751 | 752 | describe("#lpushx", () => { 753 | it("should insert new element at the beginning of list", (done) => { 754 | commands.lpushx("list_pop_7", 0, (err, result) => { 755 | assert.equal(result, 10); 756 | 757 | commands.lrange("list_pop_7", 0, 1, (err, result) => { 758 | assert.deepEqual(result, [0]); 759 | done(); 760 | }); 761 | }); 762 | }); 763 | 764 | it("should not insert new element because list does not exist", (done) => { 765 | commands.lpushx("random_key_name123", 0, (err, result) => { 766 | assert.equal(result, undefined); 767 | assert.equal(err, "key does not exist"); 768 | done(); 769 | }); 770 | }); 771 | 772 | }); 773 | 774 | 775 | }); 776 | 777 | // 778 | // PUB/SUB 779 | // 780 | describe("pub/sub", () => { 781 | describe("#subscribe", () => { 782 | it("should allow subscribing to a topic", (done) => { 783 | commands.subscribe("channel_name", (data) => { 784 | assert.equal(data, "some data"); 785 | done(); 786 | }); 787 | 788 | commands.publish("channel_name", "some data"); 789 | }); 790 | }); 791 | 792 | describe("#unsubscribe", () => { 793 | it("should unsubscribe by topic", (done) => { 794 | commands.subscribe("channel_to_unsubscribe", (data) => { 795 | throw new Error("This callback should never be called."); 796 | }); 797 | 798 | commands.unsubscribe("channel_to_unsubscribe") 799 | 800 | commands.publish("channel_to_unsubscribe", "some data"); 801 | 802 | setTimeout(done, 10); 803 | }); 804 | 805 | it("should unsubscribe by callback", (done) => { 806 | let callback = (data) => { 807 | throw new Error("This callback should never be called."); 808 | }; 809 | commands.subscribe("channel_to_unsubscribe_2", callback); 810 | commands.subscribe("channel_to_unsubscribe_2", (data) => { 811 | assert.deepEqual(data, "some data"); 812 | setTimeout(done, 10); 813 | }); 814 | commands.unsubscribe("channel_to_unsubscribe_2", callback); 815 | commands.publish("channel_to_unsubscribe_2", "some data"); 816 | }); 817 | }); 818 | 819 | describe("#publish", () => { 820 | it("should allow sending complex objects", (done) => { 821 | const topic = "channel_publish"; 822 | const testData = { 823 | complex: "object", 824 | here: true, 825 | list: [1,2,3,4,"str"] 826 | }; 827 | 828 | commands.subscribe(topic, (data) => { 829 | assert.deepEqual(data, testData); 830 | commands.unsubscribe(topic); 831 | done(); 832 | }); 833 | 834 | commands.publish(topic, testData); 835 | }); 836 | }); 837 | 838 | describe("#pubsub", () => { 839 | it("should list processes listening to a topic", (done) => { 840 | const topic = "tmp_pubsub_topic"; 841 | commands.subscribe(topic, (data) => {}); 842 | commands.subscribe(topic, (data) => {}); 843 | 844 | commands.pubsub(topic, (err, result) => { 845 | assert.equal(result.length, 2); 846 | done(); 847 | }); 848 | }); 849 | }); 850 | }); 851 | 852 | } 853 | 854 | }); 855 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/chai@^3.5.2": 6 | version "3.5.2" 7 | resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e" 8 | 9 | "@types/mocha@^2.2.41": 10 | version "2.2.41" 11 | resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.41.tgz#e27cf0817153eb9f2713b2d3f6c68f1e1c3ca608" 12 | 13 | "@types/node@^7.0.14": 14 | version "7.0.14" 15 | resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.14.tgz#1470fa002a113316ac9d9ad163fc738c7a0de2a4" 16 | 17 | abbrev@1: 18 | version "1.1.1" 19 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 20 | 21 | ajv@^4.9.1: 22 | version "4.11.8" 23 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" 24 | dependencies: 25 | co "^4.6.0" 26 | json-stable-stringify "^1.0.1" 27 | 28 | amp-message@~0.1.1: 29 | version "0.1.2" 30 | resolved "https://registry.yarnpkg.com/amp-message/-/amp-message-0.1.2.tgz#a78f1c98995087ad36192a41298e4db49e3dfc45" 31 | dependencies: 32 | amp "0.3.1" 33 | 34 | amp@0.3.1, amp@~0.3.1: 35 | version "0.3.1" 36 | resolved "https://registry.yarnpkg.com/amp/-/amp-0.3.1.tgz#6adf8d58a74f361e82c1fa8d389c079e139fc47d" 37 | 38 | ansi-regex@^2.0.0: 39 | version "2.1.1" 40 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 41 | 42 | ansi-styles@^2.2.1: 43 | version "2.2.1" 44 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 45 | 46 | anymatch@^2.0.0: 47 | version "2.0.0" 48 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" 49 | dependencies: 50 | micromatch "^3.1.4" 51 | normalize-path "^2.1.1" 52 | 53 | aproba@^1.0.3: 54 | version "1.2.0" 55 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 56 | 57 | are-we-there-yet@~1.1.2: 58 | version "1.1.4" 59 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 60 | dependencies: 61 | delegates "^1.0.0" 62 | readable-stream "^2.0.6" 63 | 64 | argparse@^1.0.7: 65 | version "1.0.10" 66 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" 67 | dependencies: 68 | sprintf-js "~1.0.2" 69 | 70 | arr-diff@^4.0.0: 71 | version "4.0.0" 72 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" 73 | 74 | arr-flatten@^1.1.0: 75 | version "1.1.0" 76 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 77 | 78 | arr-union@^3.1.0: 79 | version "3.1.0" 80 | resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" 81 | 82 | array-unique@^0.3.2: 83 | version "0.3.2" 84 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" 85 | 86 | arrify@^1.0.0: 87 | version "1.0.1" 88 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 89 | 90 | asn1@~0.2.3: 91 | version "0.2.3" 92 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 93 | 94 | assert-plus@1.0.0, assert-plus@^1.0.0: 95 | version "1.0.0" 96 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 97 | 98 | assert-plus@^0.2.0: 99 | version "0.2.0" 100 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 101 | 102 | assertion-error@^1.0.1: 103 | version "1.0.2" 104 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c" 105 | 106 | assign-symbols@^1.0.0: 107 | version "1.0.0" 108 | resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" 109 | 110 | async-each@^1.0.0: 111 | version "1.0.1" 112 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 113 | 114 | async-listener@^0.6.0: 115 | version "0.6.9" 116 | resolved "https://registry.yarnpkg.com/async-listener/-/async-listener-0.6.9.tgz#51bc95e41095417f33922fb4dee4f232b3226488" 117 | dependencies: 118 | semver "^5.3.0" 119 | shimmer "^1.1.0" 120 | 121 | async@1.5, async@^1.5: 122 | version "1.5.2" 123 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 124 | 125 | async@^2.5: 126 | version "2.6.0" 127 | resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" 128 | dependencies: 129 | lodash "^4.14.0" 130 | 131 | asynckit@^0.4.0: 132 | version "0.4.0" 133 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 134 | 135 | atob@^2.0.0: 136 | version "2.0.3" 137 | resolved "https://registry.yarnpkg.com/atob/-/atob-2.0.3.tgz#19c7a760473774468f20b2d2d03372ad7d4cbf5d" 138 | 139 | aws-sign2@~0.6.0: 140 | version "0.6.0" 141 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 142 | 143 | aws4@^1.2.1: 144 | version "1.6.0" 145 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 146 | 147 | balanced-match@^0.4.1: 148 | version "0.4.2" 149 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 150 | 151 | base@^0.11.1: 152 | version "0.11.2" 153 | resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" 154 | dependencies: 155 | cache-base "^1.0.1" 156 | class-utils "^0.3.5" 157 | component-emitter "^1.2.1" 158 | define-property "^1.0.0" 159 | isobject "^3.0.1" 160 | mixin-deep "^1.2.0" 161 | pascalcase "^0.1.1" 162 | 163 | bcrypt-pbkdf@^1.0.0: 164 | version "1.0.1" 165 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 166 | dependencies: 167 | tweetnacl "^0.14.3" 168 | 169 | binary-extensions@^1.0.0: 170 | version "1.11.0" 171 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" 172 | 173 | blessed@^0.1.81: 174 | version "0.1.81" 175 | resolved "https://registry.yarnpkg.com/blessed/-/blessed-0.1.81.tgz#f962d687ec2c369570ae71af843256e6d0ca1129" 176 | 177 | block-stream@*: 178 | version "0.0.9" 179 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 180 | dependencies: 181 | inherits "~2.0.0" 182 | 183 | boom@2.x.x: 184 | version "2.10.1" 185 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 186 | dependencies: 187 | hoek "2.x.x" 188 | 189 | brace-expansion@^1.0.0: 190 | version "1.1.7" 191 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59" 192 | dependencies: 193 | balanced-match "^0.4.1" 194 | concat-map "0.0.1" 195 | 196 | braces@^2.3.0, braces@^2.3.1: 197 | version "2.3.1" 198 | resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.1.tgz#7086c913b4e5a08dbe37ac0ee6a2500c4ba691bb" 199 | dependencies: 200 | arr-flatten "^1.1.0" 201 | array-unique "^0.3.2" 202 | define-property "^1.0.0" 203 | extend-shallow "^2.0.1" 204 | fill-range "^4.0.0" 205 | isobject "^3.0.1" 206 | kind-of "^6.0.2" 207 | repeat-element "^1.1.2" 208 | snapdragon "^0.8.1" 209 | snapdragon-node "^2.0.1" 210 | split-string "^3.0.2" 211 | to-regex "^3.0.1" 212 | 213 | browser-stdout@1.3.0: 214 | version "1.3.0" 215 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 216 | 217 | cache-base@^1.0.1: 218 | version "1.0.1" 219 | resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" 220 | dependencies: 221 | collection-visit "^1.0.0" 222 | component-emitter "^1.2.1" 223 | get-value "^2.0.6" 224 | has-value "^1.0.0" 225 | isobject "^3.0.1" 226 | set-value "^2.0.0" 227 | to-object-path "^0.3.0" 228 | union-value "^1.0.0" 229 | unset-value "^1.0.0" 230 | 231 | caseless@~0.12.0: 232 | version "0.12.0" 233 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 234 | 235 | chai@^3.5.0: 236 | version "3.5.0" 237 | resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" 238 | dependencies: 239 | assertion-error "^1.0.1" 240 | deep-eql "^0.1.3" 241 | type-detect "^1.0.0" 242 | 243 | chalk@^1.1, chalk@^1.1.1, chalk@^1.1.3: 244 | version "1.1.3" 245 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 246 | dependencies: 247 | ansi-styles "^2.2.1" 248 | escape-string-regexp "^1.0.2" 249 | has-ansi "^2.0.0" 250 | strip-ansi "^3.0.0" 251 | supports-color "^2.0.0" 252 | 253 | charm@~0.1.1: 254 | version "0.1.2" 255 | resolved "https://registry.yarnpkg.com/charm/-/charm-0.1.2.tgz#06c21eed1a1b06aeb67553cdc53e23274bac2296" 256 | 257 | chokidar@^2: 258 | version "2.0.2" 259 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.2.tgz#4dc65139eeb2714977735b6a35d06e97b494dfd7" 260 | dependencies: 261 | anymatch "^2.0.0" 262 | async-each "^1.0.0" 263 | braces "^2.3.0" 264 | glob-parent "^3.1.0" 265 | inherits "^2.0.1" 266 | is-binary-path "^1.0.0" 267 | is-glob "^4.0.0" 268 | normalize-path "^2.1.1" 269 | path-is-absolute "^1.0.0" 270 | readdirp "^2.0.0" 271 | upath "^1.0.0" 272 | optionalDependencies: 273 | fsevents "^1.0.0" 274 | 275 | class-utils@^0.3.5: 276 | version "0.3.6" 277 | resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" 278 | dependencies: 279 | arr-union "^3.1.0" 280 | define-property "^0.2.5" 281 | isobject "^3.0.0" 282 | static-extend "^0.1.1" 283 | 284 | cli-table-redemption@^1.0.0: 285 | version "1.0.1" 286 | resolved "https://registry.yarnpkg.com/cli-table-redemption/-/cli-table-redemption-1.0.1.tgz#0359d8c34df74980029d76dff071a05a127c4fdd" 287 | dependencies: 288 | chalk "^1.1.3" 289 | 290 | co@^4.6.0: 291 | version "4.6.0" 292 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 293 | 294 | code-point-at@^1.0.0: 295 | version "1.1.0" 296 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 297 | 298 | collection-visit@^1.0.0: 299 | version "1.0.0" 300 | resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" 301 | dependencies: 302 | map-visit "^1.0.0" 303 | object-visit "^1.0.0" 304 | 305 | combined-stream@^1.0.5, combined-stream@~1.0.5: 306 | version "1.0.6" 307 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" 308 | dependencies: 309 | delayed-stream "~1.0.0" 310 | 311 | commander@2.13.0: 312 | version "2.13.0" 313 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" 314 | 315 | commander@2.9.0: 316 | version "2.9.0" 317 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 318 | dependencies: 319 | graceful-readlink ">= 1.0.0" 320 | 321 | component-emitter@^1.2.1: 322 | version "1.2.1" 323 | resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" 324 | 325 | concat-map@0.0.1: 326 | version "0.0.1" 327 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 328 | 329 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 330 | version "1.1.0" 331 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 332 | 333 | continuation-local-storage@^3.1.4: 334 | version "3.2.1" 335 | resolved "https://registry.yarnpkg.com/continuation-local-storage/-/continuation-local-storage-3.2.1.tgz#11f613f74e914fe9b34c92ad2d28fe6ae1db7ffb" 336 | dependencies: 337 | async-listener "^0.6.0" 338 | emitter-listener "^1.1.1" 339 | 340 | copy-descriptor@^0.1.0: 341 | version "0.1.1" 342 | resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" 343 | 344 | core-util-is@1.0.2, core-util-is@~1.0.0: 345 | version "1.0.2" 346 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 347 | 348 | cron@^1.3: 349 | version "1.3.0" 350 | resolved "https://registry.yarnpkg.com/cron/-/cron-1.3.0.tgz#7e459968eaf94e1a445be796ce402166c234659d" 351 | dependencies: 352 | moment-timezone "^0.5.x" 353 | 354 | cryptiles@2.x.x: 355 | version "2.0.5" 356 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 357 | dependencies: 358 | boom "2.x.x" 359 | 360 | dashdash@^1.12.0: 361 | version "1.14.1" 362 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 363 | dependencies: 364 | assert-plus "^1.0.0" 365 | 366 | debug@2.6.0, debug@^2.1.2: 367 | version "2.6.0" 368 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b" 369 | dependencies: 370 | ms "0.7.2" 371 | 372 | debug@^2.2.0, debug@^2.3.3, debug@^2.6.3: 373 | version "2.6.9" 374 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 375 | dependencies: 376 | ms "2.0.0" 377 | 378 | debug@^3, debug@^3.0: 379 | version "3.1.0" 380 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 381 | dependencies: 382 | ms "2.0.0" 383 | 384 | decode-uri-component@^0.2.0: 385 | version "0.2.0" 386 | resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" 387 | 388 | deep-eql@^0.1.3: 389 | version "0.1.3" 390 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" 391 | dependencies: 392 | type-detect "0.1.1" 393 | 394 | deep-extend@~0.4.0: 395 | version "0.4.2" 396 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" 397 | 398 | deep-metrics@^0.0.1: 399 | version "0.0.1" 400 | resolved "https://registry.yarnpkg.com/deep-metrics/-/deep-metrics-0.0.1.tgz#8ac3333195cc5eca059b224eb1ca61fc4cda50fd" 401 | dependencies: 402 | semver "^5.3.0" 403 | 404 | define-property@^0.2.5: 405 | version "0.2.5" 406 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" 407 | dependencies: 408 | is-descriptor "^0.1.0" 409 | 410 | define-property@^1.0.0: 411 | version "1.0.0" 412 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" 413 | dependencies: 414 | is-descriptor "^1.0.0" 415 | 416 | define-property@^2.0.2: 417 | version "2.0.2" 418 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" 419 | dependencies: 420 | is-descriptor "^1.0.2" 421 | isobject "^3.0.1" 422 | 423 | delayed-stream@~1.0.0: 424 | version "1.0.0" 425 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 426 | 427 | delegates@^1.0.0: 428 | version "1.0.0" 429 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 430 | 431 | detect-libc@^1.0.2: 432 | version "1.0.3" 433 | resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 434 | 435 | diff@3.2.0, diff@^3.1.0: 436 | version "3.2.0" 437 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 438 | 439 | ecc-jsbn@~0.1.1: 440 | version "0.1.1" 441 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 442 | dependencies: 443 | jsbn "~0.1.0" 444 | 445 | emitter-listener@^1.1.1: 446 | version "1.1.1" 447 | resolved "https://registry.yarnpkg.com/emitter-listener/-/emitter-listener-1.1.1.tgz#e8bbbe8244bc8e0d0b4ef71cd14294c7f241c7ec" 448 | dependencies: 449 | shimmer "^1.2.0" 450 | 451 | escape-regexp@0.0.1: 452 | version "0.0.1" 453 | resolved "https://registry.yarnpkg.com/escape-regexp/-/escape-regexp-0.0.1.tgz#f44bda12d45bbdf9cb7f862ee7e4827b3dd32254" 454 | 455 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2: 456 | version "1.0.5" 457 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 458 | 459 | eventemitter2@1.0.5: 460 | version "1.0.5" 461 | resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-1.0.5.tgz#f983610517b1737c0b9dc643beca93893c04df18" 462 | 463 | eventemitter2@~0.4.14: 464 | version "0.4.14" 465 | resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-0.4.14.tgz#8f61b75cde012b2e9eb284d4545583b5643b61ab" 466 | 467 | expand-brackets@^2.1.4: 468 | version "2.1.4" 469 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" 470 | dependencies: 471 | debug "^2.3.3" 472 | define-property "^0.2.5" 473 | extend-shallow "^2.0.1" 474 | posix-character-classes "^0.1.0" 475 | regex-not "^1.0.0" 476 | snapdragon "^0.8.1" 477 | to-regex "^3.0.1" 478 | 479 | extend-shallow@^2.0.1: 480 | version "2.0.1" 481 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" 482 | dependencies: 483 | is-extendable "^0.1.0" 484 | 485 | extend-shallow@^3.0.0, extend-shallow@^3.0.2: 486 | version "3.0.2" 487 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" 488 | dependencies: 489 | assign-symbols "^1.0.0" 490 | is-extendable "^1.0.1" 491 | 492 | extend@^3.0.0, extend@~3.0.0: 493 | version "3.0.1" 494 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 495 | 496 | extglob@^2.0.4: 497 | version "2.0.4" 498 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" 499 | dependencies: 500 | array-unique "^0.3.2" 501 | define-property "^1.0.0" 502 | expand-brackets "^2.1.4" 503 | extend-shallow "^2.0.1" 504 | fragment-cache "^0.2.1" 505 | regex-not "^1.0.0" 506 | snapdragon "^0.8.1" 507 | to-regex "^3.0.1" 508 | 509 | extsprintf@1.3.0, extsprintf@^1.2.0: 510 | version "1.3.0" 511 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 512 | 513 | fclone@1.0.11, fclone@^1: 514 | version "1.0.11" 515 | resolved "https://registry.yarnpkg.com/fclone/-/fclone-1.0.11.tgz#10e85da38bfea7fc599341c296ee1d77266ee640" 516 | 517 | fill-range@^4.0.0: 518 | version "4.0.0" 519 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" 520 | dependencies: 521 | extend-shallow "^2.0.1" 522 | is-number "^3.0.0" 523 | repeat-string "^1.6.1" 524 | to-regex-range "^2.1.0" 525 | 526 | for-in@^1.0.2: 527 | version "1.0.2" 528 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 529 | 530 | forever-agent@~0.6.1: 531 | version "0.6.1" 532 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 533 | 534 | form-data@~2.1.1: 535 | version "2.1.4" 536 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" 537 | dependencies: 538 | asynckit "^0.4.0" 539 | combined-stream "^1.0.5" 540 | mime-types "^2.1.12" 541 | 542 | fragment-cache@^0.2.1: 543 | version "0.2.1" 544 | resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" 545 | dependencies: 546 | map-cache "^0.2.2" 547 | 548 | fs.realpath@^1.0.0: 549 | version "1.0.0" 550 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 551 | 552 | fsevents@^1.0.0: 553 | version "1.1.3" 554 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" 555 | dependencies: 556 | nan "^2.3.0" 557 | node-pre-gyp "^0.6.39" 558 | 559 | fstream-ignore@^1.0.5: 560 | version "1.0.5" 561 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 562 | dependencies: 563 | fstream "^1.0.0" 564 | inherits "2" 565 | minimatch "^3.0.0" 566 | 567 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 568 | version "1.0.11" 569 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 570 | dependencies: 571 | graceful-fs "^4.1.2" 572 | inherits "~2.0.0" 573 | mkdirp ">=0.5 0" 574 | rimraf "2" 575 | 576 | gauge@~2.7.3: 577 | version "2.7.4" 578 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 579 | dependencies: 580 | aproba "^1.0.3" 581 | console-control-strings "^1.0.0" 582 | has-unicode "^2.0.0" 583 | object-assign "^4.1.0" 584 | signal-exit "^3.0.0" 585 | string-width "^1.0.1" 586 | strip-ansi "^3.0.1" 587 | wide-align "^1.1.0" 588 | 589 | get-value@^2.0.3, get-value@^2.0.6: 590 | version "2.0.6" 591 | resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" 592 | 593 | getpass@^0.1.1: 594 | version "0.1.7" 595 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 596 | dependencies: 597 | assert-plus "^1.0.0" 598 | 599 | "gkt@https://tgz.pm2.io/gkt-1.0.0.tgz": 600 | version "1.0.0" 601 | resolved "https://tgz.pm2.io/gkt-1.0.0.tgz#405502b007f319c3f47175c4474527300f2ab5ad" 602 | 603 | glob-parent@^3.1.0: 604 | version "3.1.0" 605 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" 606 | dependencies: 607 | is-glob "^3.1.0" 608 | path-dirname "^1.0.0" 609 | 610 | glob@7.1.1, glob@^7.0.0, glob@^7.0.5: 611 | version "7.1.1" 612 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 613 | dependencies: 614 | fs.realpath "^1.0.0" 615 | inflight "^1.0.4" 616 | inherits "2" 617 | minimatch "^3.0.2" 618 | once "^1.3.0" 619 | path-is-absolute "^1.0.0" 620 | 621 | graceful-fs@^4.1.2: 622 | version "4.1.11" 623 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 624 | 625 | "graceful-readlink@>= 1.0.0": 626 | version "1.0.1" 627 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 628 | 629 | growl@1.9.2: 630 | version "1.9.2" 631 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" 632 | 633 | har-schema@^1.0.5: 634 | version "1.0.5" 635 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 636 | 637 | har-validator@~4.2.1: 638 | version "4.2.1" 639 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 640 | dependencies: 641 | ajv "^4.9.1" 642 | har-schema "^1.0.5" 643 | 644 | has-ansi@^2.0.0: 645 | version "2.0.0" 646 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 647 | dependencies: 648 | ansi-regex "^2.0.0" 649 | 650 | has-flag@^1.0.0: 651 | version "1.0.0" 652 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 653 | 654 | has-unicode@^2.0.0: 655 | version "2.0.1" 656 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 657 | 658 | has-value@^0.3.1: 659 | version "0.3.1" 660 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" 661 | dependencies: 662 | get-value "^2.0.3" 663 | has-values "^0.1.4" 664 | isobject "^2.0.0" 665 | 666 | has-value@^1.0.0: 667 | version "1.0.0" 668 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" 669 | dependencies: 670 | get-value "^2.0.6" 671 | has-values "^1.0.0" 672 | isobject "^3.0.0" 673 | 674 | has-values@^0.1.4: 675 | version "0.1.4" 676 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" 677 | 678 | has-values@^1.0.0: 679 | version "1.0.0" 680 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" 681 | dependencies: 682 | is-number "^3.0.0" 683 | kind-of "^4.0.0" 684 | 685 | hawk@3.1.3, hawk@~3.1.3: 686 | version "3.1.3" 687 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 688 | dependencies: 689 | boom "2.x.x" 690 | cryptiles "2.x.x" 691 | hoek "2.x.x" 692 | sntp "1.x.x" 693 | 694 | hoek@2.x.x: 695 | version "2.16.3" 696 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 697 | 698 | http-signature@~1.1.0: 699 | version "1.1.1" 700 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 701 | dependencies: 702 | assert-plus "^0.2.0" 703 | jsprim "^1.2.2" 704 | sshpk "^1.7.0" 705 | 706 | iconv-lite@^0.4.4: 707 | version "0.4.19" 708 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 709 | 710 | inflight@^1.0.4: 711 | version "1.0.6" 712 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 713 | dependencies: 714 | once "^1.3.0" 715 | wrappy "1" 716 | 717 | inherits@2, inherits@^2.0.1: 718 | version "2.0.1" 719 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" 720 | 721 | inherits@~2.0.0, inherits@~2.0.3: 722 | version "2.0.3" 723 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 724 | 725 | ini@~1.3.0: 726 | version "1.3.5" 727 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 728 | 729 | interpret@^1.0.0: 730 | version "1.1.0" 731 | resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" 732 | 733 | is-accessor-descriptor@^0.1.6: 734 | version "0.1.6" 735 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" 736 | dependencies: 737 | kind-of "^3.0.2" 738 | 739 | is-accessor-descriptor@^1.0.0: 740 | version "1.0.0" 741 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" 742 | dependencies: 743 | kind-of "^6.0.0" 744 | 745 | is-binary-path@^1.0.0: 746 | version "1.0.1" 747 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 748 | dependencies: 749 | binary-extensions "^1.0.0" 750 | 751 | is-buffer@^1.1.5: 752 | version "1.1.6" 753 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 754 | 755 | is-data-descriptor@^0.1.4: 756 | version "0.1.4" 757 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" 758 | dependencies: 759 | kind-of "^3.0.2" 760 | 761 | is-data-descriptor@^1.0.0: 762 | version "1.0.0" 763 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" 764 | dependencies: 765 | kind-of "^6.0.0" 766 | 767 | is-descriptor@^0.1.0: 768 | version "0.1.6" 769 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" 770 | dependencies: 771 | is-accessor-descriptor "^0.1.6" 772 | is-data-descriptor "^0.1.4" 773 | kind-of "^5.0.0" 774 | 775 | is-descriptor@^1.0.0, is-descriptor@^1.0.2: 776 | version "1.0.2" 777 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" 778 | dependencies: 779 | is-accessor-descriptor "^1.0.0" 780 | is-data-descriptor "^1.0.0" 781 | kind-of "^6.0.2" 782 | 783 | is-extendable@^0.1.0, is-extendable@^0.1.1: 784 | version "0.1.1" 785 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 786 | 787 | is-extendable@^1.0.1: 788 | version "1.0.1" 789 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" 790 | dependencies: 791 | is-plain-object "^2.0.4" 792 | 793 | is-extglob@^2.1.0, is-extglob@^2.1.1: 794 | version "2.1.1" 795 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 796 | 797 | is-fullwidth-code-point@^1.0.0: 798 | version "1.0.0" 799 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 800 | dependencies: 801 | number-is-nan "^1.0.0" 802 | 803 | is-glob@^3.1.0: 804 | version "3.1.0" 805 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" 806 | dependencies: 807 | is-extglob "^2.1.0" 808 | 809 | is-glob@^4.0.0: 810 | version "4.0.0" 811 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" 812 | dependencies: 813 | is-extglob "^2.1.1" 814 | 815 | is-number@^3.0.0: 816 | version "3.0.0" 817 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 818 | dependencies: 819 | kind-of "^3.0.2" 820 | 821 | is-number@^4.0.0: 822 | version "4.0.0" 823 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" 824 | 825 | is-odd@^2.0.0: 826 | version "2.0.0" 827 | resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-2.0.0.tgz#7646624671fd7ea558ccd9a2795182f2958f1b24" 828 | dependencies: 829 | is-number "^4.0.0" 830 | 831 | is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: 832 | version "2.0.4" 833 | resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" 834 | dependencies: 835 | isobject "^3.0.1" 836 | 837 | is-typedarray@~1.0.0: 838 | version "1.0.0" 839 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 840 | 841 | is-windows@^1.0.2: 842 | version "1.0.2" 843 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" 844 | 845 | is@^3.2.0: 846 | version "3.2.1" 847 | resolved "https://registry.yarnpkg.com/is/-/is-3.2.1.tgz#d0ac2ad55eb7b0bec926a5266f6c662aaa83dca5" 848 | 849 | isarray@1.0.0, isarray@~1.0.0: 850 | version "1.0.0" 851 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 852 | 853 | isobject@^2.0.0: 854 | version "2.1.0" 855 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 856 | dependencies: 857 | isarray "1.0.0" 858 | 859 | isobject@^3.0.0, isobject@^3.0.1: 860 | version "3.0.1" 861 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" 862 | 863 | isstream@~0.1.2: 864 | version "0.1.2" 865 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 866 | 867 | jsbn@~0.1.0: 868 | version "0.1.1" 869 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 870 | 871 | json-schema@0.2.3: 872 | version "0.2.3" 873 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 874 | 875 | json-stable-stringify@^1.0.1: 876 | version "1.0.1" 877 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 878 | dependencies: 879 | jsonify "~0.0.0" 880 | 881 | json-stringify-safe@^5.0, json-stringify-safe@~5.0.1: 882 | version "5.0.1" 883 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 884 | 885 | json3@3.3.2: 886 | version "3.3.2" 887 | resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" 888 | 889 | jsonify@~0.0.0: 890 | version "0.0.0" 891 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 892 | 893 | jsprim@^1.2.2: 894 | version "1.4.1" 895 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 896 | dependencies: 897 | assert-plus "1.0.0" 898 | extsprintf "1.3.0" 899 | json-schema "0.2.3" 900 | verror "1.10.0" 901 | 902 | kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: 903 | version "3.2.2" 904 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 905 | dependencies: 906 | is-buffer "^1.1.5" 907 | 908 | kind-of@^4.0.0: 909 | version "4.0.0" 910 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 911 | dependencies: 912 | is-buffer "^1.1.5" 913 | 914 | kind-of@^5.0.0: 915 | version "5.1.0" 916 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" 917 | 918 | kind-of@^6.0.0, kind-of@^6.0.2: 919 | version "6.0.2" 920 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" 921 | 922 | lazy@~1.0.11: 923 | version "1.0.11" 924 | resolved "https://registry.yarnpkg.com/lazy/-/lazy-1.0.11.tgz#daa068206282542c088288e975c297c1ae77b690" 925 | 926 | lodash._baseassign@^3.0.0: 927 | version "3.2.0" 928 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 929 | dependencies: 930 | lodash._basecopy "^3.0.0" 931 | lodash.keys "^3.0.0" 932 | 933 | lodash._basecopy@^3.0.0: 934 | version "3.0.1" 935 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 936 | 937 | lodash._basecreate@^3.0.0: 938 | version "3.0.3" 939 | resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" 940 | 941 | lodash._getnative@^3.0.0: 942 | version "3.9.1" 943 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 944 | 945 | lodash._isiterateecall@^3.0.0: 946 | version "3.0.9" 947 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 948 | 949 | lodash.create@3.1.1: 950 | version "3.1.1" 951 | resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" 952 | dependencies: 953 | lodash._baseassign "^3.0.0" 954 | lodash._basecreate "^3.0.0" 955 | lodash._isiterateecall "^3.0.0" 956 | 957 | lodash.findindex@^4.4.0: 958 | version "4.6.0" 959 | resolved "https://registry.yarnpkg.com/lodash.findindex/-/lodash.findindex-4.6.0.tgz#a3245dee61fb9b6e0624b535125624bb69c11106" 960 | 961 | lodash.isarguments@^3.0.0: 962 | version "3.1.0" 963 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 964 | 965 | lodash.isarray@^3.0.0: 966 | version "3.0.4" 967 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 968 | 969 | lodash.isequal@^4.0.0: 970 | version "4.5.0" 971 | resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" 972 | 973 | lodash.keys@^3.0.0: 974 | version "3.1.2" 975 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 976 | dependencies: 977 | lodash._getnative "^3.0.0" 978 | lodash.isarguments "^3.0.0" 979 | lodash.isarray "^3.0.0" 980 | 981 | lodash.merge@^4.6.0: 982 | version "4.6.1" 983 | resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54" 984 | 985 | lodash@^4.14.0: 986 | version "4.17.5" 987 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" 988 | 989 | make-error@^1.1.1: 990 | version "1.2.3" 991 | resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.2.3.tgz#6c4402df732e0977ac6faf754a5074b3d2b1d19d" 992 | 993 | map-cache@^0.2.2: 994 | version "0.2.2" 995 | resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" 996 | 997 | map-visit@^1.0.0: 998 | version "1.0.0" 999 | resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" 1000 | dependencies: 1001 | object-visit "^1.0.0" 1002 | 1003 | methods@^1.1.1: 1004 | version "1.1.2" 1005 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 1006 | 1007 | micromatch@^3.1.4: 1008 | version "3.1.9" 1009 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.9.tgz#15dc93175ae39e52e93087847096effc73efcf89" 1010 | dependencies: 1011 | arr-diff "^4.0.0" 1012 | array-unique "^0.3.2" 1013 | braces "^2.3.1" 1014 | define-property "^2.0.2" 1015 | extend-shallow "^3.0.2" 1016 | extglob "^2.0.4" 1017 | fragment-cache "^0.2.1" 1018 | kind-of "^6.0.2" 1019 | nanomatch "^1.2.9" 1020 | object.pick "^1.3.0" 1021 | regex-not "^1.0.0" 1022 | snapdragon "^0.8.1" 1023 | to-regex "^3.0.1" 1024 | 1025 | mime-db@~1.33.0: 1026 | version "1.33.0" 1027 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" 1028 | 1029 | mime-types@^2.1.12, mime-types@~2.1.7: 1030 | version "2.1.18" 1031 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" 1032 | dependencies: 1033 | mime-db "~1.33.0" 1034 | 1035 | minimatch@^3.0.0, minimatch@^3.0.2: 1036 | version "3.0.3" 1037 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 1038 | dependencies: 1039 | brace-expansion "^1.0.0" 1040 | 1041 | minimist@0.0.8: 1042 | version "0.0.8" 1043 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1044 | 1045 | minimist@^1.2.0: 1046 | version "1.2.0" 1047 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1048 | 1049 | mixin-deep@^1.2.0: 1050 | version "1.3.1" 1051 | resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" 1052 | dependencies: 1053 | for-in "^1.0.2" 1054 | is-extendable "^1.0.1" 1055 | 1056 | mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.1: 1057 | version "0.5.1" 1058 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1059 | dependencies: 1060 | minimist "0.0.8" 1061 | 1062 | mocha@^3.3.0: 1063 | version "3.3.0" 1064 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.3.0.tgz#d29b7428d3f52c82e2e65df1ecb7064e1aabbfb5" 1065 | dependencies: 1066 | browser-stdout "1.3.0" 1067 | commander "2.9.0" 1068 | debug "2.6.0" 1069 | diff "3.2.0" 1070 | escape-string-regexp "1.0.5" 1071 | glob "7.1.1" 1072 | growl "1.9.2" 1073 | json3 "3.3.2" 1074 | lodash.create "3.1.1" 1075 | mkdirp "0.5.1" 1076 | supports-color "3.1.2" 1077 | 1078 | moment-timezone@^0.5.x: 1079 | version "0.5.14" 1080 | resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.14.tgz#4eb38ff9538b80108ba467a458f3ed4268ccfcb1" 1081 | dependencies: 1082 | moment ">= 2.9.0" 1083 | 1084 | "moment@>= 2.9.0", moment@^2.19: 1085 | version "2.21.0" 1086 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.21.0.tgz#2a114b51d2a6ec9e6d83cf803f838a878d8a023a" 1087 | 1088 | ms@0.7.2: 1089 | version "0.7.2" 1090 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 1091 | 1092 | ms@2.0.0: 1093 | version "2.0.0" 1094 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1095 | 1096 | mute-stream@~0.0.4: 1097 | version "0.0.7" 1098 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 1099 | 1100 | nan@^2.3.0: 1101 | version "2.10.0" 1102 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" 1103 | 1104 | nanomatch@^1.2.9: 1105 | version "1.2.9" 1106 | resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.9.tgz#879f7150cb2dab7a471259066c104eee6e0fa7c2" 1107 | dependencies: 1108 | arr-diff "^4.0.0" 1109 | array-unique "^0.3.2" 1110 | define-property "^2.0.2" 1111 | extend-shallow "^3.0.2" 1112 | fragment-cache "^0.2.1" 1113 | is-odd "^2.0.0" 1114 | is-windows "^1.0.2" 1115 | kind-of "^6.0.2" 1116 | object.pick "^1.3.0" 1117 | regex-not "^1.0.0" 1118 | snapdragon "^0.8.1" 1119 | to-regex "^3.0.1" 1120 | 1121 | needle@^2.1.0: 1122 | version "2.2.0" 1123 | resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.0.tgz#f14efc69cee1024b72c8b21c7bdf94a731dc12fa" 1124 | dependencies: 1125 | debug "^2.1.2" 1126 | iconv-lite "^0.4.4" 1127 | sax "^1.2.4" 1128 | 1129 | node-pre-gyp@^0.6.39: 1130 | version "0.6.39" 1131 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz#c00e96860b23c0e1420ac7befc5044e1d78d8649" 1132 | dependencies: 1133 | detect-libc "^1.0.2" 1134 | hawk "3.1.3" 1135 | mkdirp "^0.5.1" 1136 | nopt "^4.0.1" 1137 | npmlog "^4.0.2" 1138 | rc "^1.1.7" 1139 | request "2.81.0" 1140 | rimraf "^2.6.1" 1141 | semver "^5.3.0" 1142 | tar "^2.2.1" 1143 | tar-pack "^3.4.0" 1144 | 1145 | nopt@^4.0.1: 1146 | version "4.0.1" 1147 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1148 | dependencies: 1149 | abbrev "1" 1150 | osenv "^0.1.4" 1151 | 1152 | normalize-path@^2.1.1: 1153 | version "2.1.1" 1154 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1155 | dependencies: 1156 | remove-trailing-separator "^1.0.1" 1157 | 1158 | npmlog@^4.0.2: 1159 | version "4.1.2" 1160 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 1161 | dependencies: 1162 | are-we-there-yet "~1.1.2" 1163 | console-control-strings "~1.1.0" 1164 | gauge "~2.7.3" 1165 | set-blocking "~2.0.0" 1166 | 1167 | nssocket@0.6.0: 1168 | version "0.6.0" 1169 | resolved "https://registry.yarnpkg.com/nssocket/-/nssocket-0.6.0.tgz#59f96f6ff321566f33c70f7dbeeecdfdc07154fa" 1170 | dependencies: 1171 | eventemitter2 "~0.4.14" 1172 | lazy "~1.0.11" 1173 | 1174 | number-is-nan@^1.0.0: 1175 | version "1.0.1" 1176 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1177 | 1178 | oauth-sign@~0.8.1: 1179 | version "0.8.2" 1180 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1181 | 1182 | object-assign@^4.1.0: 1183 | version "4.1.1" 1184 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1185 | 1186 | object-copy@^0.1.0: 1187 | version "0.1.0" 1188 | resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" 1189 | dependencies: 1190 | copy-descriptor "^0.1.0" 1191 | define-property "^0.2.5" 1192 | kind-of "^3.0.3" 1193 | 1194 | object-visit@^1.0.0: 1195 | version "1.0.1" 1196 | resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" 1197 | dependencies: 1198 | isobject "^3.0.0" 1199 | 1200 | object.pick@^1.3.0: 1201 | version "1.3.0" 1202 | resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" 1203 | dependencies: 1204 | isobject "^3.0.1" 1205 | 1206 | once@^1.3.0, once@^1.3.3: 1207 | version "1.4.0" 1208 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1209 | dependencies: 1210 | wrappy "1" 1211 | 1212 | os-homedir@^1.0.0: 1213 | version "1.0.2" 1214 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1215 | 1216 | os-tmpdir@^1.0.0: 1217 | version "1.0.2" 1218 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1219 | 1220 | osenv@^0.1.4: 1221 | version "0.1.5" 1222 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" 1223 | dependencies: 1224 | os-homedir "^1.0.0" 1225 | os-tmpdir "^1.0.0" 1226 | 1227 | pascalcase@^0.1.1: 1228 | version "0.1.1" 1229 | resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" 1230 | 1231 | path-dirname@^1.0.0: 1232 | version "1.0.2" 1233 | resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" 1234 | 1235 | path-is-absolute@^1.0.0: 1236 | version "1.0.1" 1237 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1238 | 1239 | path-parse@^1.0.5: 1240 | version "1.0.5" 1241 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 1242 | 1243 | performance-now@^0.2.0: 1244 | version "0.2.0" 1245 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 1246 | 1247 | pidusage@^1.2.0: 1248 | version "1.2.0" 1249 | resolved "https://registry.yarnpkg.com/pidusage/-/pidusage-1.2.0.tgz#65ee96ace4e08a4cd3f9240996c85b367171ee92" 1250 | 1251 | pm2-axon-rpc@0.5.0: 1252 | version "0.5.0" 1253 | resolved "https://registry.yarnpkg.com/pm2-axon-rpc/-/pm2-axon-rpc-0.5.0.tgz#ad08d6a27f580d5c7be4d7bf9dddff398f868994" 1254 | dependencies: 1255 | debug "^3.0" 1256 | fclone "^1" 1257 | 1258 | pm2-axon@3.1.0: 1259 | version "3.1.0" 1260 | resolved "https://registry.yarnpkg.com/pm2-axon/-/pm2-axon-3.1.0.tgz#1b4527f3385e203adc1a5b0488bb52f0322731da" 1261 | dependencies: 1262 | amp "~0.3.1" 1263 | amp-message "~0.1.1" 1264 | debug "^3.0" 1265 | escape-regexp "0.0.1" 1266 | 1267 | pm2-deploy@^0.3.9: 1268 | version "0.3.9" 1269 | resolved "https://registry.yarnpkg.com/pm2-deploy/-/pm2-deploy-0.3.9.tgz#adeee775c56d52b8f251ba9b0abe0db50a01dfc7" 1270 | dependencies: 1271 | async "^1.5" 1272 | tv4 "^1.3" 1273 | 1274 | pm2-multimeter@^0.1.2: 1275 | version "0.1.2" 1276 | resolved "https://registry.yarnpkg.com/pm2-multimeter/-/pm2-multimeter-0.1.2.tgz#1a1e55153d41a05534cea23cfe860abaa0eb4ace" 1277 | dependencies: 1278 | charm "~0.1.1" 1279 | 1280 | pm2@^2.10.1: 1281 | version "2.10.1" 1282 | resolved "https://registry.yarnpkg.com/pm2/-/pm2-2.10.1.tgz#22574bb0128dc7b6da0fcd6bed79c112af6f588c" 1283 | dependencies: 1284 | async "^2.5" 1285 | blessed "^0.1.81" 1286 | chalk "^1.1" 1287 | chokidar "^2" 1288 | cli-table-redemption "^1.0.0" 1289 | commander "2.13.0" 1290 | cron "^1.3" 1291 | debug "^3.0" 1292 | eventemitter2 "1.0.5" 1293 | fclone "1.0.11" 1294 | mkdirp "0.5.1" 1295 | moment "^2.19" 1296 | needle "^2.1.0" 1297 | nssocket "0.6.0" 1298 | pidusage "^1.2.0" 1299 | pm2-axon "3.1.0" 1300 | pm2-axon-rpc "0.5.0" 1301 | pm2-deploy "^0.3.9" 1302 | pm2-multimeter "^0.1.2" 1303 | pmx "^1.6" 1304 | promptly "2.2.0" 1305 | semver "^5.3" 1306 | shelljs "0.7.8" 1307 | source-map-support "^0.5" 1308 | sprintf-js "1.1.1" 1309 | v8-compile-cache "^1.1.0" 1310 | vizion "^0.2" 1311 | yamljs "^0.3.0" 1312 | optionalDependencies: 1313 | gkt "https://tgz.pm2.io/gkt-1.0.0.tgz" 1314 | 1315 | pmx@^1.6: 1316 | version "1.6.4" 1317 | resolved "https://registry.yarnpkg.com/pmx/-/pmx-1.6.4.tgz#45a0ebbf3c302e51b7514815f09817db79afd593" 1318 | dependencies: 1319 | debug "^3" 1320 | deep-metrics "^0.0.1" 1321 | json-stringify-safe "^5.0" 1322 | semver "5.*" 1323 | vxx "^1.2.0" 1324 | 1325 | posix-character-classes@^0.1.0: 1326 | version "0.1.1" 1327 | resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" 1328 | 1329 | process-nextick-args@~2.0.0: 1330 | version "2.0.0" 1331 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" 1332 | 1333 | promptly@2.2.0: 1334 | version "2.2.0" 1335 | resolved "https://registry.yarnpkg.com/promptly/-/promptly-2.2.0.tgz#2a13fa063688a2a5983b161fff0108a07d26fc74" 1336 | dependencies: 1337 | read "^1.0.4" 1338 | 1339 | punycode@^1.4.1: 1340 | version "1.4.1" 1341 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1342 | 1343 | qs@~6.4.0: 1344 | version "6.4.0" 1345 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 1346 | 1347 | rc@^1.1.7: 1348 | version "1.2.6" 1349 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.6.tgz#eb18989c6d4f4f162c399f79ddd29f3835568092" 1350 | dependencies: 1351 | deep-extend "~0.4.0" 1352 | ini "~1.3.0" 1353 | minimist "^1.2.0" 1354 | strip-json-comments "~2.0.1" 1355 | 1356 | read@^1.0.4: 1357 | version "1.0.7" 1358 | resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" 1359 | dependencies: 1360 | mute-stream "~0.0.4" 1361 | 1362 | readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.4: 1363 | version "2.3.5" 1364 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.5.tgz#b4f85003a938cbb6ecbce2a124fb1012bd1a838d" 1365 | dependencies: 1366 | core-util-is "~1.0.0" 1367 | inherits "~2.0.3" 1368 | isarray "~1.0.0" 1369 | process-nextick-args "~2.0.0" 1370 | safe-buffer "~5.1.1" 1371 | string_decoder "~1.0.3" 1372 | util-deprecate "~1.0.1" 1373 | 1374 | readdirp@^2.0.0: 1375 | version "2.1.0" 1376 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 1377 | dependencies: 1378 | graceful-fs "^4.1.2" 1379 | minimatch "^3.0.2" 1380 | readable-stream "^2.0.2" 1381 | set-immediate-shim "^1.0.1" 1382 | 1383 | rechoir@^0.6.2: 1384 | version "0.6.2" 1385 | resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" 1386 | dependencies: 1387 | resolve "^1.1.6" 1388 | 1389 | regex-not@^1.0.0, regex-not@^1.0.2: 1390 | version "1.0.2" 1391 | resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" 1392 | dependencies: 1393 | extend-shallow "^3.0.2" 1394 | safe-regex "^1.1.0" 1395 | 1396 | remove-trailing-separator@^1.0.1: 1397 | version "1.1.0" 1398 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" 1399 | 1400 | repeat-element@^1.1.2: 1401 | version "1.1.2" 1402 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 1403 | 1404 | repeat-string@^1.6.1: 1405 | version "1.6.1" 1406 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1407 | 1408 | request@2.81.0: 1409 | version "2.81.0" 1410 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 1411 | dependencies: 1412 | aws-sign2 "~0.6.0" 1413 | aws4 "^1.2.1" 1414 | caseless "~0.12.0" 1415 | combined-stream "~1.0.5" 1416 | extend "~3.0.0" 1417 | forever-agent "~0.6.1" 1418 | form-data "~2.1.1" 1419 | har-validator "~4.2.1" 1420 | hawk "~3.1.3" 1421 | http-signature "~1.1.0" 1422 | is-typedarray "~1.0.0" 1423 | isstream "~0.1.2" 1424 | json-stringify-safe "~5.0.1" 1425 | mime-types "~2.1.7" 1426 | oauth-sign "~0.8.1" 1427 | performance-now "^0.2.0" 1428 | qs "~6.4.0" 1429 | safe-buffer "^5.0.1" 1430 | stringstream "~0.0.4" 1431 | tough-cookie "~2.3.0" 1432 | tunnel-agent "^0.6.0" 1433 | uuid "^3.0.0" 1434 | 1435 | resolve-url@^0.2.1: 1436 | version "0.2.1" 1437 | resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" 1438 | 1439 | resolve@^1.1.6: 1440 | version "1.6.0" 1441 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.6.0.tgz#0fbd21278b27b4004481c395349e7aba60a9ff5c" 1442 | dependencies: 1443 | path-parse "^1.0.5" 1444 | 1445 | ret@~0.1.10: 1446 | version "0.1.15" 1447 | resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" 1448 | 1449 | rimraf@2, rimraf@^2.5.1, rimraf@^2.6.1: 1450 | version "2.6.2" 1451 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 1452 | dependencies: 1453 | glob "^7.0.5" 1454 | 1455 | safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 1456 | version "5.1.1" 1457 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 1458 | 1459 | safe-regex@^1.1.0: 1460 | version "1.1.0" 1461 | resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" 1462 | dependencies: 1463 | ret "~0.1.10" 1464 | 1465 | sax@^1.2.4: 1466 | version "1.2.4" 1467 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 1468 | 1469 | semver@5.*, semver@^5.0.1, semver@^5.3, semver@^5.3.0: 1470 | version "5.5.0" 1471 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 1472 | 1473 | set-blocking@~2.0.0: 1474 | version "2.0.0" 1475 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 1476 | 1477 | set-immediate-shim@^1.0.1: 1478 | version "1.0.1" 1479 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 1480 | 1481 | set-value@^0.4.3: 1482 | version "0.4.3" 1483 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" 1484 | dependencies: 1485 | extend-shallow "^2.0.1" 1486 | is-extendable "^0.1.1" 1487 | is-plain-object "^2.0.1" 1488 | to-object-path "^0.3.0" 1489 | 1490 | set-value@^2.0.0: 1491 | version "2.0.0" 1492 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" 1493 | dependencies: 1494 | extend-shallow "^2.0.1" 1495 | is-extendable "^0.1.1" 1496 | is-plain-object "^2.0.3" 1497 | split-string "^3.0.1" 1498 | 1499 | shelljs@0.7.8: 1500 | version "0.7.8" 1501 | resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3" 1502 | dependencies: 1503 | glob "^7.0.0" 1504 | interpret "^1.0.0" 1505 | rechoir "^0.6.2" 1506 | 1507 | shimmer@^1.0.0, shimmer@^1.1.0, shimmer@^1.2.0: 1508 | version "1.2.0" 1509 | resolved "https://registry.yarnpkg.com/shimmer/-/shimmer-1.2.0.tgz#f966f7555789763e74d8841193685a5e78736665" 1510 | 1511 | signal-exit@^3.0.0: 1512 | version "3.0.2" 1513 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1514 | 1515 | snapdragon-node@^2.0.1: 1516 | version "2.1.1" 1517 | resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" 1518 | dependencies: 1519 | define-property "^1.0.0" 1520 | isobject "^3.0.0" 1521 | snapdragon-util "^3.0.1" 1522 | 1523 | snapdragon-util@^3.0.1: 1524 | version "3.0.1" 1525 | resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" 1526 | dependencies: 1527 | kind-of "^3.2.0" 1528 | 1529 | snapdragon@^0.8.1: 1530 | version "0.8.2" 1531 | resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" 1532 | dependencies: 1533 | base "^0.11.1" 1534 | debug "^2.2.0" 1535 | define-property "^0.2.5" 1536 | extend-shallow "^2.0.1" 1537 | map-cache "^0.2.2" 1538 | source-map "^0.5.6" 1539 | source-map-resolve "^0.5.0" 1540 | use "^3.1.0" 1541 | 1542 | sntp@1.x.x: 1543 | version "1.0.9" 1544 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 1545 | dependencies: 1546 | hoek "2.x.x" 1547 | 1548 | source-map-resolve@^0.5.0: 1549 | version "0.5.1" 1550 | resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.1.tgz#7ad0f593f2281598e854df80f19aae4b92d7a11a" 1551 | dependencies: 1552 | atob "^2.0.0" 1553 | decode-uri-component "^0.2.0" 1554 | resolve-url "^0.2.1" 1555 | source-map-url "^0.4.0" 1556 | urix "^0.1.0" 1557 | 1558 | source-map-support@^0.4.0: 1559 | version "0.4.15" 1560 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1" 1561 | dependencies: 1562 | source-map "^0.5.6" 1563 | 1564 | source-map-support@^0.5: 1565 | version "0.5.4" 1566 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.4.tgz#54456efa89caa9270af7cd624cc2f123e51fbae8" 1567 | dependencies: 1568 | source-map "^0.6.0" 1569 | 1570 | source-map-url@^0.4.0: 1571 | version "0.4.0" 1572 | resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" 1573 | 1574 | source-map@^0.5.6: 1575 | version "0.5.6" 1576 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 1577 | 1578 | source-map@^0.6.0: 1579 | version "0.6.1" 1580 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 1581 | 1582 | split-string@^3.0.1, split-string@^3.0.2: 1583 | version "3.1.0" 1584 | resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" 1585 | dependencies: 1586 | extend-shallow "^3.0.0" 1587 | 1588 | sprintf-js@1.1.1: 1589 | version "1.1.1" 1590 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.1.tgz#36be78320afe5801f6cea3ee78b6e5aab940ea0c" 1591 | 1592 | sprintf-js@~1.0.2: 1593 | version "1.0.3" 1594 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 1595 | 1596 | sshpk@^1.7.0: 1597 | version "1.14.1" 1598 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" 1599 | dependencies: 1600 | asn1 "~0.2.3" 1601 | assert-plus "^1.0.0" 1602 | dashdash "^1.12.0" 1603 | getpass "^0.1.1" 1604 | optionalDependencies: 1605 | bcrypt-pbkdf "^1.0.0" 1606 | ecc-jsbn "~0.1.1" 1607 | jsbn "~0.1.0" 1608 | tweetnacl "~0.14.0" 1609 | 1610 | static-extend@^0.1.1: 1611 | version "0.1.2" 1612 | resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" 1613 | dependencies: 1614 | define-property "^0.2.5" 1615 | object-copy "^0.1.0" 1616 | 1617 | string-width@^1.0.1, string-width@^1.0.2: 1618 | version "1.0.2" 1619 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 1620 | dependencies: 1621 | code-point-at "^1.0.0" 1622 | is-fullwidth-code-point "^1.0.0" 1623 | strip-ansi "^3.0.0" 1624 | 1625 | string_decoder@~1.0.3: 1626 | version "1.0.3" 1627 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 1628 | dependencies: 1629 | safe-buffer "~5.1.0" 1630 | 1631 | stringstream@~0.0.4: 1632 | version "0.0.5" 1633 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 1634 | 1635 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 1636 | version "3.0.1" 1637 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1638 | dependencies: 1639 | ansi-regex "^2.0.0" 1640 | 1641 | strip-bom@^3.0.0: 1642 | version "3.0.0" 1643 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 1644 | 1645 | strip-json-comments@^2.0.0, strip-json-comments@~2.0.1: 1646 | version "2.0.1" 1647 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 1648 | 1649 | supports-color@3.1.2: 1650 | version "3.1.2" 1651 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" 1652 | dependencies: 1653 | has-flag "^1.0.0" 1654 | 1655 | supports-color@^2.0.0: 1656 | version "2.0.0" 1657 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 1658 | 1659 | tar-pack@^3.4.0: 1660 | version "3.4.1" 1661 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.1.tgz#e1dbc03a9b9d3ba07e896ad027317eb679a10a1f" 1662 | dependencies: 1663 | debug "^2.2.0" 1664 | fstream "^1.0.10" 1665 | fstream-ignore "^1.0.5" 1666 | once "^1.3.3" 1667 | readable-stream "^2.1.4" 1668 | rimraf "^2.5.1" 1669 | tar "^2.2.1" 1670 | uid-number "^0.0.6" 1671 | 1672 | tar@^2.2.1: 1673 | version "2.2.1" 1674 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 1675 | dependencies: 1676 | block-stream "*" 1677 | fstream "^1.0.2" 1678 | inherits "2" 1679 | 1680 | to-object-path@^0.3.0: 1681 | version "0.3.0" 1682 | resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" 1683 | dependencies: 1684 | kind-of "^3.0.2" 1685 | 1686 | to-regex-range@^2.1.0: 1687 | version "2.1.1" 1688 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" 1689 | dependencies: 1690 | is-number "^3.0.0" 1691 | repeat-string "^1.6.1" 1692 | 1693 | to-regex@^3.0.1: 1694 | version "3.0.2" 1695 | resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" 1696 | dependencies: 1697 | define-property "^2.0.2" 1698 | extend-shallow "^3.0.2" 1699 | regex-not "^1.0.2" 1700 | safe-regex "^1.1.0" 1701 | 1702 | tough-cookie@~2.3.0: 1703 | version "2.3.4" 1704 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" 1705 | dependencies: 1706 | punycode "^1.4.1" 1707 | 1708 | ts-node@^3.0.2: 1709 | version "3.0.2" 1710 | resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-3.0.2.tgz#cfc9516c831b920d7efbe16005915062b1294f8c" 1711 | dependencies: 1712 | arrify "^1.0.0" 1713 | chalk "^1.1.1" 1714 | diff "^3.1.0" 1715 | make-error "^1.1.1" 1716 | minimist "^1.2.0" 1717 | mkdirp "^0.5.1" 1718 | source-map-support "^0.4.0" 1719 | tsconfig "^6.0.0" 1720 | v8flags "^2.0.11" 1721 | yn "^1.2.0" 1722 | 1723 | tsconfig@^6.0.0: 1724 | version "6.0.0" 1725 | resolved "https://registry.yarnpkg.com/tsconfig/-/tsconfig-6.0.0.tgz#6b0e8376003d7af1864f8df8f89dd0059ffcd032" 1726 | dependencies: 1727 | strip-bom "^3.0.0" 1728 | strip-json-comments "^2.0.0" 1729 | 1730 | tunnel-agent@^0.6.0: 1731 | version "0.6.0" 1732 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 1733 | dependencies: 1734 | safe-buffer "^5.0.1" 1735 | 1736 | tv4@^1.3: 1737 | version "1.3.0" 1738 | resolved "https://registry.yarnpkg.com/tv4/-/tv4-1.3.0.tgz#d020c846fadd50c855abb25ebaecc68fc10f7963" 1739 | 1740 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 1741 | version "0.14.5" 1742 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 1743 | 1744 | type-detect@0.1.1: 1745 | version "0.1.1" 1746 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" 1747 | 1748 | type-detect@^1.0.0: 1749 | version "1.0.0" 1750 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" 1751 | 1752 | typescript@^2.3.2: 1753 | version "2.3.2" 1754 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.3.2.tgz#f0f045e196f69a72f06b25fd3bd39d01c3ce9984" 1755 | 1756 | uid-number@^0.0.6: 1757 | version "0.0.6" 1758 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 1759 | 1760 | union-value@^1.0.0: 1761 | version "1.0.0" 1762 | resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" 1763 | dependencies: 1764 | arr-union "^3.1.0" 1765 | get-value "^2.0.6" 1766 | is-extendable "^0.1.1" 1767 | set-value "^0.4.3" 1768 | 1769 | unset-value@^1.0.0: 1770 | version "1.0.0" 1771 | resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" 1772 | dependencies: 1773 | has-value "^0.3.1" 1774 | isobject "^3.0.0" 1775 | 1776 | upath@^1.0.0: 1777 | version "1.0.4" 1778 | resolved "https://registry.yarnpkg.com/upath/-/upath-1.0.4.tgz#ee2321ba0a786c50973db043a50b7bcba822361d" 1779 | 1780 | urix@^0.1.0: 1781 | version "0.1.0" 1782 | resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" 1783 | 1784 | use@^3.1.0: 1785 | version "3.1.0" 1786 | resolved "https://registry.yarnpkg.com/use/-/use-3.1.0.tgz#14716bf03fdfefd03040aef58d8b4b85f3a7c544" 1787 | dependencies: 1788 | kind-of "^6.0.2" 1789 | 1790 | user-home@^1.1.1: 1791 | version "1.1.1" 1792 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" 1793 | 1794 | util-deprecate@~1.0.1: 1795 | version "1.0.2" 1796 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 1797 | 1798 | uuid@^3.0.0, uuid@^3.0.1: 1799 | version "3.2.1" 1800 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" 1801 | 1802 | v8-compile-cache@^1.1.0: 1803 | version "1.1.2" 1804 | resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-1.1.2.tgz#8d32e4f16974654657e676e0e467a348e89b0dc4" 1805 | 1806 | v8flags@^2.0.11: 1807 | version "2.1.1" 1808 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" 1809 | dependencies: 1810 | user-home "^1.1.1" 1811 | 1812 | verror@1.10.0: 1813 | version "1.10.0" 1814 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 1815 | dependencies: 1816 | assert-plus "^1.0.0" 1817 | core-util-is "1.0.2" 1818 | extsprintf "^1.2.0" 1819 | 1820 | vizion@^0.2: 1821 | version "0.2.13" 1822 | resolved "https://registry.yarnpkg.com/vizion/-/vizion-0.2.13.tgz#1314cdee2b34116f9f5b1248536f95dbfcd6ef5f" 1823 | dependencies: 1824 | async "1.5" 1825 | 1826 | vxx@^1.2.0: 1827 | version "1.2.2" 1828 | resolved "https://registry.yarnpkg.com/vxx/-/vxx-1.2.2.tgz#741fb51c6f11d3383da6f9b92018a5d7ba807611" 1829 | dependencies: 1830 | continuation-local-storage "^3.1.4" 1831 | debug "^2.6.3" 1832 | extend "^3.0.0" 1833 | is "^3.2.0" 1834 | lodash.findindex "^4.4.0" 1835 | lodash.isequal "^4.0.0" 1836 | lodash.merge "^4.6.0" 1837 | methods "^1.1.1" 1838 | semver "^5.0.1" 1839 | shimmer "^1.0.0" 1840 | uuid "^3.0.1" 1841 | 1842 | wide-align@^1.1.0: 1843 | version "1.1.2" 1844 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 1845 | dependencies: 1846 | string-width "^1.0.2" 1847 | 1848 | wrappy@1: 1849 | version "1.0.2" 1850 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1851 | 1852 | yamljs@^0.3.0: 1853 | version "0.3.0" 1854 | resolved "https://registry.yarnpkg.com/yamljs/-/yamljs-0.3.0.tgz#dc060bf267447b39f7304e9b2bfbe8b5a7ddb03b" 1855 | dependencies: 1856 | argparse "^1.0.7" 1857 | glob "^7.0.5" 1858 | 1859 | yn@^1.2.0: 1860 | version "1.2.0" 1861 | resolved "https://registry.yarnpkg.com/yn/-/yn-1.2.0.tgz#d237a4c533f279b2b89d3acac2db4b8c795e4a63" 1862 | --------------------------------------------------------------------------------