├── .npmignore ├── .gitignore ├── src ├── lib │ ├── authorization.js │ ├── string.js │ ├── bufferreader.js │ ├── number.js │ ├── encryption.js │ ├── tlv.js │ └── cryptographer.js ├── SecureStore.js ├── EventedHttpClient.js └── HapClient.js ├── LICENSE.md ├── package.json ├── test └── tlv.js ├── README.md └── yarn.lock /.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | unlock.py 4 | -------------------------------------------------------------------------------- /src/lib/authorization.js: -------------------------------------------------------------------------------- 1 | class AuthHeader { 2 | constructor(authCode) { 3 | this._authCode = authCode; 4 | } 5 | 6 | handleRequest(req) { 7 | req.headers['Authorization'] = this._authcode; 8 | return req; 9 | } 10 | } 11 | 12 | export { 13 | AuthHeader as default 14 | } 15 | -------------------------------------------------------------------------------- /src/lib/string.js: -------------------------------------------------------------------------------- 1 | 2 | function* splitGen(delimiter, limit = null) { 3 | if (limit === 1) return this; 4 | if (limit <= 0) limit = null; 5 | 6 | let re = delimiter; 7 | if (typeof delimiter === 'string') { 8 | re = new RegExp(delimiter); 9 | } 10 | 11 | if (re.constructor !== RegExp) { 12 | throw new TypeError("Delimiter must be a RegExp or a string"); 13 | } 14 | 15 | let count = 0, match, buf = this; 16 | while ( 17 | (limit === null || count < limit - 1) 18 | && (match = re.exec(buf)) 19 | ) 20 | { 21 | yield buf.substr(0, match.index); 22 | count += 1; 23 | buf = buf.substr(match.index + match[0].length); 24 | } 25 | 26 | yield buf; 27 | } 28 | 29 | function split() { 30 | return Array.from(splitGen(...arguments)); 31 | } 32 | 33 | export { 34 | split, 35 | splitGen 36 | } 37 | -------------------------------------------------------------------------------- /src/lib/bufferreader.js: -------------------------------------------------------------------------------- 1 | import BufferReader from 'buffer-reader'; 2 | 3 | function indexOf(needle, encoding = 'utf8') { 4 | if (!(this.constructor === BufferReader)) { 5 | throw new TypeError(); 6 | } 7 | 8 | let pos = this.buf.indexOf(needle, this.offset, encoding); 9 | if (pos >= this.offset) { 10 | return pos - this.offset 11 | } 12 | return -1; 13 | } 14 | 15 | function mark() { 16 | this.mark = this.offset; 17 | } 18 | 19 | function seekToMark() { 20 | if (this.mark != null) { 21 | this.seek(this.mark); 22 | delete this.mark; 23 | } 24 | } 25 | 26 | function nextLine(ending = '\r\n') { 27 | let pos, line; 28 | if ((pos = this::indexOf(ending)) >= 0) { 29 | line = this.nextString(pos); 30 | this.move(ending.length); 31 | return line; 32 | } 33 | return null; 34 | } 35 | 36 | function remaining() { 37 | return this.buf.length - this.offset; 38 | } 39 | 40 | export { 41 | indexOf, 42 | mark, 43 | seekToMark, 44 | nextLine, 45 | remaining 46 | }; 47 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | Copyright © `2016` `Zach Bean ` 5 | 6 | Permission is hereby granted, free of charge, to any person 7 | obtaining a copy of this software and associated documentation 8 | files (the “Software”), to deal in the Software without 9 | restriction, including without limitation the rights to use, 10 | copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the 12 | Software is furnished to do so, subject to the following 13 | conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, 19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 20 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 22 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 23 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 24 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 25 | OTHER DEALINGS IN THE SOFTWARE. 26 | 27 | -------------------------------------------------------------------------------- /src/lib/number.js: -------------------------------------------------------------------------------- 1 | import assert from 'assert'; 2 | 3 | /* 4 | * Originally based on code from github:KhaosT/HAP-NodeJS@0c8fd88 used 5 | * used per the terms of the Apache Software License v2. 6 | * 7 | * Original code copyright Khaos Tian 8 | * 9 | * Modifications copyright Zach Bean 10 | * * Reformatted for ES6-style module 11 | * * renamed *UInt64* to *UInt53* to be more clear about range 12 | * * renamed uintHighLow to be more clear about what it does 13 | * * Refactored to return a buffer rather write into a passed-in buffer 14 | */ 15 | 16 | function splitUInt53(number) { 17 | const MAX_UINT32 = 0x00000000FFFFFFFF 18 | const MAX_INT53 = 0x001FFFFFFFFFFFFF 19 | 20 | assert(number > -1 && number <= MAX_INT53, "number out of range") 21 | assert(Math.floor(number) === number, "number must be an integer") 22 | 23 | var high = 0 24 | var signbit = number & 0xFFFFFFFF 25 | var low = signbit < 0 ? (number & 0x7FFFFFFF) + 0x80000000 : signbit 26 | 27 | if (number > MAX_UINT32) { 28 | high = (number - low) / (MAX_UINT32 + 1) 29 | } 30 | return [ high, low ] 31 | } 32 | 33 | function UInt53toBufferLE(number) { 34 | const [ high, low ] = splitUInt53(number) 35 | 36 | const buf = Buffer.alloc(8); 37 | buf.writeUInt32LE(low, 0); 38 | buf.writeUInt32LE(high, 4); 39 | 40 | return buf; 41 | } 42 | 43 | export { 44 | UInt53toBufferLE 45 | } 46 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hap-client", 3 | "version": "1.0.1", 4 | "description": "Control HomeKit-enabled devices with Node", 5 | "main": "dist/HapClient.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/forty2/hap-client.git" 9 | }, 10 | "keywords": [ 11 | "homekit", 12 | "hap", 13 | "client", 14 | "control", 15 | "home", 16 | "automation" 17 | ], 18 | "scripts": { 19 | "build": "babel src -d dist -D", 20 | "clean": "rm -rf dist/", 21 | "test": "mocha", 22 | "prepublish": "npm run build" 23 | }, 24 | "author": "Zach Bean ", 25 | "license": "MIT", 26 | "devDependencies": { 27 | "babel-cli": "^6.24.1", 28 | "babel-core": "^6.14.0", 29 | "babel-plugin-syntax-function-bind": "^6.13.0", 30 | "babel-plugin-transform-function-bind": "^6.8.0", 31 | "babel-plugin-transform-object-rest-spread": "^6.8.0", 32 | "babel-preset-env": "^1.4.0", 33 | "debug": "^2.6.4", 34 | "mocha": "^3.3.0", 35 | "simple-plist": "^0.2.1" 36 | }, 37 | "babel": { 38 | "sourceMaps": "inline", 39 | "presets": [ 40 | [ 41 | "env", 42 | { 43 | "targets": { 44 | "node": 6 45 | } 46 | } 47 | ] 48 | ], 49 | "plugins": [ 50 | "syntax-function-bind", 51 | "transform-function-bind", 52 | "transform-object-rest-spread" 53 | ] 54 | }, 55 | "engines": { 56 | "node": ">=6.0" 57 | }, 58 | "bugs": { 59 | "url": "https://github.com/forty2/hap-client/issues" 60 | }, 61 | "homepage": "https://github.com/forty2/hap-client#readme", 62 | "dependencies": { 63 | "buffer-reader": "^0.1.0", 64 | "enum": "^2.4.0", 65 | "fast-srp-hap": "^1.0.1", 66 | "keytar": "^4.0.2", 67 | "message-socket": "^1.0.3", 68 | "node-hkdf-sync": "^1.0.0", 69 | "rxjs": "^5.3.0", 70 | "sodium": "^2.0.1", 71 | "source-map-support": "^0.4.15", 72 | "uuidv5": "^1.0.0" 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/lib/encryption.js: -------------------------------------------------------------------------------- 1 | import { api as Sodium } from 'sodium'; 2 | 3 | import { UInt53toBufferLE } from './number'; 4 | 5 | const debug = require('debug')('encryption'); 6 | 7 | function computePoly1305(cipherText, AAD, nonce, key) { 8 | if (AAD == null) { 9 | AAD = Buffer.alloc(0); 10 | } 11 | 12 | const msg = 13 | Buffer.concat([ 14 | AAD, 15 | getPadding(AAD, 16), 16 | cipherText, 17 | getPadding(cipherText, 16), 18 | UInt53toBufferLE(AAD.length), 19 | UInt53toBufferLE(cipherText.length) 20 | ]) 21 | 22 | const polyKey = Sodium.crypto_stream_chacha20(32, nonce, key); 23 | const computed_hmac = Sodium.crypto_onetimeauth(msg, polyKey); 24 | polyKey.fill(0); 25 | 26 | return computed_hmac; 27 | } 28 | 29 | // i'd really prefer for this to be a direct call to 30 | // Sodium.crypto_aead_chacha20poly1305_decrypt() 31 | // but unfortunately the way it constructs the message to 32 | // calculate the HMAC is not compatible with homekit 33 | // (long story short, it uses [ AAD, AAD.length, CipherText, CipherText.length ] 34 | // whereas homekit expects [ AAD, CipherText, AAD.length, CipherText.length ] 35 | function verifyAndDecrypt(cipherText, mac, AAD, nonce, key) { 36 | const matches = 37 | Sodium.crypto_verify_16( 38 | mac, 39 | computePoly1305(cipherText, AAD, nonce, key) 40 | ); 41 | 42 | if (matches === 0) { 43 | return Sodium 44 | .crypto_stream_chacha20_xor_ic(cipherText, nonce, 1, key); 45 | } 46 | 47 | return null; 48 | } 49 | 50 | // See above about calling directly into libsodium. 51 | function encryptAndSeal(plainText, AAD, nonce, key) { 52 | const cipherText = 53 | Sodium 54 | .crypto_stream_chacha20_xor_ic(plainText, nonce, 1, key); 55 | 56 | const hmac = 57 | computePoly1305(cipherText, AAD, nonce, key); 58 | 59 | return [ cipherText, hmac ]; 60 | } 61 | 62 | function getPadding(buffer, blockSize) { 63 | return buffer.length % blockSize === 0 64 | ? Buffer.alloc(0) 65 | : Buffer.alloc(blockSize - (buffer.length % blockSize)) 66 | } 67 | 68 | export default { 69 | encryptAndSeal, 70 | verifyAndDecrypt 71 | } 72 | -------------------------------------------------------------------------------- /src/lib/tlv.js: -------------------------------------------------------------------------------- 1 | const debug = require('debug')('hap-client:tlv'); 2 | 3 | /** 4 | * Type Length Value encoding/decoding, used by HAP as a wire format. 5 | * https://en.wikipedia.org/wiki/Type-length-value 6 | * 7 | * Originally based on code from github:KhaosT/HAP-NodeJS@0c8fd88 used 8 | * used per the terms of the Apache Software License v2. 9 | * 10 | * Original code copyright Khaos Tian 11 | * 12 | * Modifications copyright Zach Bean 13 | * * Reformatted for ES6-style module 14 | * * Rewrote encode() to be non-recursive; also simplified the logic 15 | * * Rewrote decode() 16 | */ 17 | 18 | const Tag = { 19 | PairingMethod: 0x00, 20 | Username: 0x01, 21 | Salt: 0x02, // salt is 16 bytes long 22 | 23 | // could be either the SRP client public key (384 bytes) or the ED25519 public key (32 bytes), depending on context 24 | PublicKey: 0x03, 25 | Proof: 0x04, // 64 bytes 26 | EncryptedData: 0x05, 27 | Sequence: 0x06, 28 | ErrorCode: 0x07, 29 | Signature: 0x0A, // 64 bytes 30 | 31 | MFiCertificate: 0x09, 32 | MFiSignature: 0x0A 33 | }; 34 | 35 | function append(...buffers) { 36 | return Buffer.concat([ this, ...buffers ]); 37 | } 38 | 39 | function encode(...args /* type, data, type, data... */) { 40 | if (args.length % 2 !== 0) { 41 | throw new TypeError("encode must be given an even number of arguments"); 42 | } 43 | 44 | var encodedTLVBuffer = Buffer.alloc(0); 45 | 46 | let type, data; 47 | while (([ type, data, ...args ] = args) && (typeof type !== 'undefined')) { 48 | // coerce data to Buffer if needed 49 | if (typeof data === 'number') { 50 | debug("turning %d into buffer", data); 51 | data = Buffer.from([ data ]); 52 | } 53 | else if (typeof data === 'string') { 54 | debug("turning %s into buffer", data); 55 | data = Buffer.from(data); 56 | } 57 | 58 | // break into chunks of at most 255 bytes 59 | let pos = 0; 60 | while (data.length - pos > 0) { 61 | let len = Math.min(data.length - pos, 255); 62 | 63 | debug(`adding ${len} bytes of type ${type} to the buffer starting at ${pos}`); 64 | 65 | encodedTLVBuffer = 66 | encodedTLVBuffer 67 | ::append( 68 | Buffer.from([ type, len ]), 69 | data.slice(pos, pos + len) 70 | ); 71 | 72 | pos += len; 73 | } 74 | } 75 | 76 | return encodedTLVBuffer; 77 | } 78 | 79 | function decode(data) { 80 | let pos = 0, ret = {}; 81 | while (data.length - pos > 0) { 82 | let [ type, length ] = data.slice(pos); 83 | 84 | pos += 2; 85 | 86 | let newData = data.slice(pos, pos + length); 87 | 88 | if (ret[type]) { 89 | ret[type] = ret[type]::append(newData); 90 | } else { 91 | ret[type] = newData; 92 | } 93 | 94 | pos += length; 95 | } 96 | 97 | return ret; 98 | } 99 | 100 | export default { 101 | Tag, 102 | encode, 103 | decode 104 | } 105 | -------------------------------------------------------------------------------- /src/lib/cryptographer.js: -------------------------------------------------------------------------------- 1 | import BufferReader from 'buffer-reader'; 2 | 3 | import enc from './encryption'; 4 | import { remaining } from './bufferreader'; 5 | import { UInt53toBufferLE } from './number'; 6 | 7 | const debug = require('debug')('crypto'); 8 | 9 | class Cryptographer 10 | { 11 | constructor(encryptKey, decryptKey) { 12 | this.encryptKey = encryptKey; 13 | this.decryptKey = decryptKey; 14 | 15 | this.encryptCount = -1; 16 | this.decryptCount = -1; 17 | } 18 | 19 | handleRawRequest(req) { 20 | return this.encrypt(req); 21 | } 22 | 23 | handleRawResponse(res) { 24 | return this.decrypt(res); 25 | } 26 | 27 | encrypt(message) { 28 | if (this.encryptKey.length > 0) { 29 | const totalSize = message.length; 30 | const data = new BufferReader(message); 31 | 32 | let result = Buffer.alloc(0); 33 | 34 | while (data::remaining() > 0) { 35 | // need to encrypt in chunks of size 0x400 36 | const chunkLength = Math.min(data::remaining(), 0x400); 37 | const AAD = Buffer.alloc(2); 38 | AAD.writeUInt16LE(chunkLength, 0); 39 | 40 | const nonce = UInt53toBufferLE(++this.encryptCount); 41 | const plainText = data.nextBuffer(chunkLength); 42 | 43 | let [ encrypted, hmac ] = 44 | enc.encryptAndSeal(plainText, AAD, nonce, this.encryptKey); 45 | 46 | result = Buffer.concat([ result, AAD, encrypted, hmac ]); 47 | } 48 | 49 | return result; 50 | } 51 | 52 | return message; 53 | } 54 | 55 | decrypt(message) { 56 | if (this.decryptKey.length > 0) { 57 | const packet = new BufferReader(message); 58 | const packetSize = packet::remaining(); 59 | 60 | let result = Buffer.alloc(0); 61 | while (packet::remaining() > 0) { 62 | const AAD = packet.nextBuffer(2); 63 | const trueLength = AAD.readUInt16LE(0); 64 | const availableSize = packet::remaining() - 16; // 16 is the size of the HMAC 65 | 66 | debug(`need ${trueLength} bytes and have ${availableSize} bytes`); 67 | if (trueLength > availableSize) { 68 | // The packet is bigger than the available data; wait till more comes in 69 | break; 70 | } 71 | 72 | const nonce = UInt53toBufferLE(++this.decryptCount); 73 | const cipherText = packet.nextBuffer(trueLength); 74 | const hmac = packet.nextBuffer(16); 75 | 76 | let decrypted; 77 | if (( 78 | decrypted = 79 | enc.verifyAndDecrypt( 80 | cipherText, hmac, AAD, 81 | nonce, this.decryptKey 82 | ) 83 | )) 84 | { 85 | result = Buffer.concat([ result, decrypted ]); 86 | } 87 | else 88 | { 89 | debug('decryption failed'); 90 | debug('packet: %s', packet.buf.toString('hex')); 91 | return null; 92 | } 93 | } 94 | 95 | return result; 96 | } 97 | 98 | return message; 99 | } 100 | } 101 | 102 | export { 103 | Cryptographer as default 104 | } 105 | -------------------------------------------------------------------------------- /src/SecureStore.js: -------------------------------------------------------------------------------- 1 | import { Observable } from 'rxjs'; 2 | import Keytar from 'keytar'; 3 | 4 | const debug = require('debug')('hap-client:securestore'); 5 | 6 | function loadClient(clientName) { 7 | return Observable 8 | .defer( 9 | () => 10 | Keytar 11 | .getPassword(clientName, 'clientInfo') 12 | ) 13 | .map( 14 | json => 15 | new SecureClientInfo(clientName, json) 16 | ) 17 | } 18 | 19 | function saveClient(self) { 20 | return Keytar 21 | .setPassword( 22 | self._clientName, 23 | 'clientInfo', 24 | JSON.stringify(self) 25 | ) 26 | .then(() => self); 27 | } 28 | 29 | function load(clientName, username) { 30 | debug(`loading for ${clientName}/${username}`); 31 | return Observable 32 | .from( 33 | Keytar 34 | .getPassword(clientName, username) 35 | ) 36 | .map( 37 | json => 38 | new SecureAccessoryInfo(clientName, username, json) 39 | ) 40 | ; 41 | } 42 | 43 | function save(self) { 44 | debug(`saving for ${self._clientName}/${self.user}`); 45 | debug(`${JSON.stringify(self)}`); 46 | return Keytar 47 | .setPassword( 48 | self._clientName, 49 | self.user, 50 | JSON.stringify(self) 51 | ) 52 | .then(() => self); 53 | } 54 | 55 | class SecureAccessoryInfo 56 | { 57 | constructor(clientName, username, json) { 58 | this._username = username; 59 | this._clientName = clientName; 60 | 61 | if (json) { 62 | var data = JSON.parse(json); 63 | this._ltpk = Buffer.from(data.ltpk, 'base64'); 64 | this._pin = data.pin; 65 | } else { 66 | this._pin = this._ltpk = ''; 67 | } 68 | } 69 | 70 | toJSON() { 71 | return { 72 | ltpk: this._ltpk.toString('base64'), 73 | pin: this._pin 74 | }; 75 | } 76 | 77 | get user() { 78 | return this._username; 79 | } 80 | 81 | get ltpk() { 82 | return this._ltpk; 83 | } 84 | 85 | set ltpk(value) { 86 | this._ltpk = value; 87 | } 88 | 89 | get pin() { 90 | return this._pin; 91 | } 92 | 93 | set pin(value) { 94 | this._pin = value; 95 | } 96 | 97 | save() { 98 | return save(this); 99 | } 100 | } 101 | 102 | class SecureClientInfo 103 | { 104 | constructor(clientName, json) { 105 | this._clientName = clientName; 106 | 107 | if (json) { 108 | var data = JSON.parse(json); 109 | this._longTerm = { 110 | secretKey: Buffer.from(data.longTerm.secretKey, 'base64'), 111 | publicKey: Buffer.from(data.longTerm.publicKey, 'base64') 112 | }; 113 | } else { 114 | this._longTerm = ''; 115 | } 116 | } 117 | 118 | toJSON() { 119 | return { 120 | longTerm: { 121 | publicKey: this._longTerm.publicKey.toString('base64'), 122 | secretKey: this._longTerm.secretKey.toString('base64') 123 | } 124 | }; 125 | } 126 | 127 | get longTerm() { 128 | return this._longTerm; 129 | } 130 | 131 | set longTerm(value) { 132 | this._longTerm = value; 133 | } 134 | 135 | save() { 136 | return saveClient(this); 137 | } 138 | } 139 | 140 | class SecureStore { 141 | constructor(clientName) { 142 | this._clientName = clientName; 143 | } 144 | get(username) { 145 | return load(this._clientName, username) 146 | } 147 | getClient() { 148 | return loadClient(this._clientName) 149 | } 150 | } 151 | 152 | export { 153 | SecureStore as default 154 | } 155 | -------------------------------------------------------------------------------- /test/tlv.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | 3 | const tlv = require('../dist/lib/tlv.js').default; 4 | //const tlv = require('/home/zb/stuff/hap-server/HAP-NodeJS/lib/util/tlv.js'); 5 | 6 | 7 | console.dir(tlv); 8 | 9 | describe('tlv', function() { 10 | describe('#encode()', function() { 11 | it('should encode single fields of 1 byte', function() { 12 | const enc = tlv.encode(0x01, 0x7f); 13 | assert(enc.equals(new Buffer([ 0x01, 0x01, 0x7f ]))); 14 | }); 15 | 16 | it('should encode multiple fields of 1 byte', function() { 17 | const enc = tlv.encode(0x01, 0x7f, 0x02, 0x91); 18 | assert(enc.equals(new Buffer([ 0x01, 0x01, 0x7f, 0x02, 0x01, 0x91 ]))); 19 | }); 20 | 21 | it('should encode single fields of several bytes', function() { 22 | const enc = tlv.encode(0x01, Buffer.from('foobar', 'utf8')); 23 | assert(enc.equals(new Buffer([ 0x01, 0x06, 0x66, 0x6F, 0x6F, 0x62, 0x61, 0x72 ]))); 24 | }); 25 | 26 | it('should encode multiple fields of several bytes', function() { 27 | const enc = tlv.encode(0x01, Buffer.from('foobar', 'utf8'), 0x02, Buffer.from('bazquux', 'utf8')); 28 | assert( 29 | enc.equals( 30 | new Buffer([ 31 | 0x01, 0x06, 0x66, 0x6F, 0x6F, 0x62, 0x61, 0x72, 32 | 0x02, 0x07, 0x62, 0x61, 0x7A, 0x71, 0x75, 0x75, 0x78 33 | ]) 34 | ) 35 | ); 36 | }); 37 | 38 | it('should encode single fields of loads of bytes', function() { 39 | const string = " ".repeat(384); 40 | const enc = tlv.encode(0x01, Buffer.from(string, 'utf8')); 41 | 42 | assert( 43 | enc.equals( 44 | Buffer 45 | .concat([ 46 | new Buffer([ 0x01, 0xFF ]), Buffer.from(" ".repeat(255)), 47 | new Buffer([ 0x01, 0x81 ]), Buffer.from(" ".repeat(129)) 48 | ]) 49 | ) 50 | ); 51 | }); 52 | 53 | it('should encode multiple fields of loads of bytes', function() { 54 | const string1 = " ".repeat(384); 55 | const string2 = "x".repeat(384); 56 | const enc = 57 | tlv.encode( 58 | 0x01, Buffer.from(string1, 'utf8'), 59 | 0x02, Buffer.from(string2, 'utf8') 60 | ); 61 | 62 | assert( 63 | enc.equals( 64 | Buffer 65 | .concat([ 66 | new Buffer([ 0x01, 0xFF ]), Buffer.from(" ".repeat(255)), 67 | new Buffer([ 0x01, 0x81 ]), Buffer.from(" ".repeat(129)), 68 | new Buffer([ 0x02, 0xFF ]), Buffer.from("x".repeat(255)), 69 | new Buffer([ 0x02, 0x81 ]), Buffer.from("x".repeat(129)) 70 | ]) 71 | ) 72 | ); 73 | }); 74 | }); 75 | 76 | describe('#decode()', function() { 77 | function deepCompare(obj1, obj2) { 78 | // the set of keys must match 79 | assert( 80 | Object 81 | .keys(obj1) 82 | .every(k => obj2.hasOwnProperty(k)) 83 | ); 84 | 85 | // for each key, the values must be the same 86 | Object 87 | .keys(obj1) 88 | .forEach( 89 | k => { 90 | assert.equal(typeof obj1[k], typeof obj2[k]); 91 | 92 | if (typeof obj1[k] === 'object') { 93 | assert.equal(obj1[k].constructor, obj2[k].constructor); 94 | 95 | if (obj1[k].constructor != Buffer) { 96 | deepCompare(obj1[k], obj2[k]); 97 | } 98 | else { 99 | assert(obj1[k].equals(obj2[k])); 100 | } 101 | } 102 | else { 103 | assert.equal(obj1[k], obj2[k]); 104 | } 105 | } 106 | ); 107 | } 108 | 109 | it('should decode single fields of 1 byte', function() { 110 | const test = new Buffer([ 0x01, 0x01, 0x7f ]); 111 | 112 | deepCompare( 113 | { 114 | [0x01]: new Buffer([ 0x7f ]) 115 | }, 116 | tlv.decode(test) 117 | ); 118 | }); 119 | 120 | it('should decode multiple fields of 1 byte', function() { 121 | const test = new Buffer([ 0x01, 0x01, 0x7f, 0x02, 0x01, 0x91 ]); 122 | 123 | deepCompare( 124 | { 125 | [0x01]: new Buffer([ 0x7f ]), 126 | [0x02]: new Buffer([ 0x91 ]), 127 | }, 128 | tlv.decode(test) 129 | ); 130 | }); 131 | 132 | it('should decode single fields of several bytes', function() { 133 | const test = new Buffer([ 0x01, 0x06, 0x66, 0x6F, 0x6F, 0x62, 0x61, 0x72 ]); 134 | 135 | deepCompare( 136 | { 137 | [0x01]: Buffer.from('foobar', 'utf8') 138 | }, 139 | tlv.decode(test) 140 | ); 141 | }); 142 | 143 | it('should decode multiple fields of several bytes', function() { 144 | const test = 145 | new Buffer([ 146 | 0x01, 0x06, 0x66, 0x6F, 0x6F, 0x62, 0x61, 0x72, 147 | 0x02, 0x07, 0x62, 0x61, 0x7A, 0x71, 0x75, 0x75, 0x78 148 | ]); 149 | 150 | deepCompare( 151 | { 152 | [0x01]: Buffer.from('foobar', 'utf8'), 153 | [0x02]: Buffer.from('bazquux', 'utf8') 154 | }, 155 | tlv.decode(test) 156 | ); 157 | }); 158 | 159 | it('should decode single fields of loads of bytes', function() { 160 | const test = 161 | Buffer 162 | .concat([ 163 | new Buffer([ 0x01, 0xFF ]), Buffer.from(" ".repeat(255)), 164 | new Buffer([ 0x01, 0x81 ]), Buffer.from(" ".repeat(129)) 165 | ]); 166 | 167 | deepCompare( 168 | { 169 | [0x01]: Buffer.from(" ".repeat(384), 'utf8') 170 | }, 171 | tlv.decode(test) 172 | ); 173 | }); 174 | 175 | it('should decode multiple fields of loads of bytes', function() { 176 | const test = 177 | Buffer 178 | .concat([ 179 | new Buffer([ 0x01, 0xFF ]), Buffer.from(" ".repeat(255)), 180 | new Buffer([ 0x01, 0x81 ]), Buffer.from(" ".repeat(129)), 181 | new Buffer([ 0x02, 0xFF ]), Buffer.from("x".repeat(255)), 182 | new Buffer([ 0x02, 0x81 ]), Buffer.from("x".repeat(129)) 183 | ]); 184 | 185 | deepCompare( 186 | { 187 | [0x01]: Buffer.from(" ".repeat(384), 'utf8'), 188 | [0x02]: Buffer.from("x".repeat(384), 'utf8') 189 | }, 190 | tlv.decode(test) 191 | ); 192 | }); 193 | }); 194 | }); 195 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # hap-client 2 | > Connect to and control HomeKit devices from Node 3 | 4 | [![NPM Version][npm-image]][npm-url] 5 | [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md) 6 | ![Dependency status](https://david-dm.org/forty2/hap-client.svg) 7 | 8 | hap-client is a Node.js module for controlling HomeKit-enabled devices. It's the client-side counterpart to HomeKit server emulators such as [HAP-NodeJS](https://github.com/KhaosT/HAP-NodeJS/). 9 | 10 | ## Installation 11 | 12 | This module is distributed through NPM: 13 | 14 | ```sh 15 | npm install hap-client --save 16 | 17 | # or, if you prefer: 18 | yarn add hap-client 19 | ``` 20 | 21 | ## Examples 22 | 23 | This module currently only implements the pairing and control aspects of HomeKit; it doesn't do any device discovery; this may be added in a future release, but you can also discover devices on your local network with an mDNS browser looking for `_hap._tcp` devices: 24 | 25 | ```sh 26 | # On Linux, for example: 27 | $ avahi-browse -r _hap._tcp 28 | ``` 29 | 30 | Once you know the IP address and port number of your device, you can create a client: 31 | 32 | ```javascript 33 | import HapClient from 'hap-client'; 34 | 35 | const client = new HapClient('My Client Name', ip, port); 36 | ``` 37 | 38 | In general, the easiest way to pair with a new device is to use `hap-client-pair` from the [hap-client-tools](https://npmjs.org/package/hap-client-tools/) package. However, if you want to implement it yourself, you can use the `pair()` method: 39 | 40 | ```javascript 41 | import HapClient from 'hap-client'; 42 | 43 | const client = new HapClient('My Client Name', ip, port); 44 | client 45 | .pair( 46 | Observable.of('123-45-678') 47 | ) 48 | .subscribe({ 49 | complete() { 50 | console.log("Pairing complete"); 51 | } 52 | }); 53 | ``` 54 | 55 | `pair()` takes an [Observable](https://github.com/tc39/proposal-observable) that emits the connected device's PIN code when subscribed to. It returns a cold Observable that emits nothing and either completes on success or errors on failure. Note that because the Observable is cold, no work will be done until you call `subscribe()`. You can also convert the Observable to a Promise by calling `toPromise()`; this will also cause the pairing process to start since Promises are always hot. 56 | 57 | Once you've paired with a device, you can use `verifyPairing()` to confirm that the device and client are still paired together. The need for this should be very rare; it will be done for you automatically as necessary. Like `pair()`, `verifyPairing()` returns a cold Observable that either completes or errors. 58 | 59 | The remaining methods are for communicating with and controlling the device: 60 | 61 | ### `listAccessories()` 62 | 63 | `listAccessories()` returns an Observable that emits a JSON object describing the accessories, services, and characteristics made available by the paired device. For example, this: 64 | 65 | ```javascript 66 | client 67 | .listAccessories() 68 | .subscribe( 69 | data => console.log(JSON.stringify(data)) 70 | ); 71 | ``` 72 | 73 | might emit: 74 | 75 | ```json 76 | { 77 | "accessories": [ 78 | { 79 | "aid": 1, 80 | "services": [ 81 | { 82 | "iid": 1, 83 | "type": "0000003E-0000-1000-8000-0026BB765291", 84 | "characteristics": [ 85 | { 86 | "iid": 2, 87 | "type": "00000014-0000-1000-8000-0026BB765291", 88 | "perms": [ 89 | "pw" 90 | ], 91 | "format": "bool", 92 | "description": "Identify" 93 | } 94 | ] 95 | } 96 | ] 97 | } 98 | ] 99 | } 100 | ``` 101 | 102 | ### `getCharacteristics(aid, iid, aid, iid, ...)` 103 | 104 | Given a set of accessory ID and instance ID pairs, returns an Observable that emits a JSON object describing the current values of those characteristics. For example, this: 105 | 106 | ```javascript 107 | client 108 | .getAccessories(1, 10, 1, 11) 109 | .subscribe( 110 | data => console.log(JSON.stringify(data)) 111 | ); 112 | ``` 113 | 114 | might emit (formatted): 115 | 116 | ```json 117 | { 118 | "characteristics": [ 119 | { 120 | "aid": 1, 121 | "iid": 10, 122 | "value": 1 123 | }, 124 | { 125 | "aid": 1, 126 | "iid": 11, 127 | "value": false 128 | } 129 | ] 130 | } 131 | ``` 132 | 133 | ### `setCharacteristics({ aid, iid, value }, ...)` 134 | 135 | `setCharacteristics()` has a sort of dual personality. On the one hand, it can be used to set the value of characteristics given a set of objects containing accessory ID, instance ID, and value, like this: 136 | 137 | ```javascript 138 | client 139 | .setAccessories({ aid: 1, iid: 11, value: true }) 140 | .subscribe(); 141 | ``` 142 | 143 | On the other hand, for characteristics that support event notification, `setCharacteristics()` is used to subscribe to the events: 144 | 145 | ```javascript 146 | client 147 | .setAccessories({ aid: 1, iid: 11, ev: true }) 148 | .subscribe(); 149 | ``` 150 | 151 | Returns an Observable that emits whatever data (if any) is returned by the server; this is implementation dependent and will differ between devices. 152 | 153 | ### messages 154 | 155 | The `messages` property is an Observable that emits each incoming message from the underlying HTTP client. This includes both messages received in response to a request as well as events. The messages are in "raw" format, meaning an object with status, headers, and body. For example, this: 156 | 157 | ```javascript 158 | const client = new HapClient(args.client, args.accessory, args.port); 159 | client 160 | .messages 161 | .subscribe( 162 | res => { 163 | console.log( 164 | JSON.stringify(res, null, 4) 165 | ); 166 | } 167 | ); 168 | 169 | client 170 | .listAccessories() 171 | .subscribe( 172 | () => { }, 173 | e => { 174 | console.error(e) 175 | client.close(); 176 | }, 177 | () => { 178 | client.close(); 179 | } 180 | ) 181 | ``` 182 | 183 | might emit this: 184 | ```json 185 | { 186 | "type": "HTTP/1.1", 187 | "status": "200", 188 | "statusText": "OK", 189 | "headers": { 190 | "content-type": "application/hap+json", 191 | "date": "Mon, 15 May 2017 01:05:01 GMT", 192 | "connection": "keep-alive", 193 | "transfer-encoding": "chunked" 194 | }, 195 | "body": { 196 | "accessories": [ 197 | { 198 | "aid": 1, 199 | "services": [ 200 | { 201 | "iid": 1, 202 | "type": "0000003E-0000-1000-8000-0026BB765291", 203 | "characteristics": [ 204 | { 205 | "iid": 2, 206 | "type": "00000014-0000-1000-8000-0026BB765291", 207 | "perms": [ 208 | "pw" 209 | ], 210 | "format": "bool", 211 | "description": "Identify" 212 | } 213 | ] 214 | } 215 | ] 216 | } 217 | ] 218 | } 219 | } 220 | ``` 221 | 222 | An empty event (which can happen) would look like this: 223 | ```json 224 | { 225 | "type": "EVENT/1.0", 226 | "status": "200", 227 | "statusText": "OK", 228 | "headers": { 229 | "content-type": "application/hap+json", 230 | "content-length": "22" 231 | }, 232 | "body": { 233 | "characteristics": [] 234 | } 235 | } 236 | ``` 237 | 238 | ## Contributing 239 | 240 | Contributions are of course always welcome. If you find problems, please report them in the [Issue Tracker](http://www.github.com/forty2/hap-client/issues/). If you've made an improvement, open a [pull request](http://www.github.com/forty2/hap-client/pulls). 241 | 242 | Getting set up for development is very easy: 243 | ```sh 244 | git clone 245 | cd hap-client 246 | yarn 247 | ``` 248 | 249 | And the development workflow is likewise straightforward: 250 | ```sh 251 | # make a change to the src/ file, then... 252 | yarn build 253 | 254 | # or if you want to clean up all the leftover build products: 255 | yarn run clean 256 | ``` 257 | 258 | ## Release History 259 | 260 | * 1.0.0 261 | * The first release. 262 | 263 | ## Meta 264 | 265 | Zach Bean – zb@forty2.com 266 | 267 | Distributed under the MIT license. See [LICENSE](LICENSE.md) for more detail. 268 | 269 | [npm-image]: https://img.shields.io/npm/v/hap-client.svg?style=flat 270 | [npm-url]: https://npmjs.org/package/hap-client 271 | -------------------------------------------------------------------------------- /src/EventedHttpClient.js: -------------------------------------------------------------------------------- 1 | import { Observable, Subject } from 'rxjs'; 2 | import MessageSocket from 'message-socket'; 3 | import BufferReader from 'buffer-reader'; 4 | 5 | import { 6 | indexOf, 7 | mark, 8 | seekToMark, 9 | nextLine, 10 | remaining 11 | } from './lib/bufferreader'; 12 | 13 | import tlv from './lib/tlv'; 14 | 15 | import { splitGen as split } from './lib/string'; 16 | 17 | const debug = require('debug')('hap-client:http'); 18 | 19 | function readChunk() { 20 | // read one line 21 | let size = this::nextLine(), chunk = ''; 22 | if (size) { 23 | size = parseInt(size, 16); 24 | debug(`reading ${size} bytes for chunk`); 25 | if (size > 0) { 26 | if (size < (this.offset + this.buf.length)) { 27 | chunk = this.nextBuffer(size); 28 | this.move(2); 29 | } 30 | else { 31 | chunk = null; 32 | } 33 | } 34 | 35 | return [ size, chunk ]; 36 | } 37 | 38 | return null; 39 | } 40 | 41 | const Decoders = { 42 | 'application/pairing+tlv8': (buffer) => 43 | tlv.decode(buffer.restAll()) 44 | , 45 | 'application/hap+json': (buffer) => { 46 | const body = buffer.restAll().toString('utf8'); 47 | return JSON.parse(body) 48 | } 49 | }; 50 | 51 | const Encoders = { 52 | /* 53 | 'application/pairing+tlv8': (buffer) => 54 | tlv.decode(buffer.restAll()) 55 | , 56 | */ 57 | 'application/hap+json': (object) => { 58 | return Buffer.from(JSON.stringify(object), 'utf8'); 59 | } 60 | }; 61 | 62 | function runMiddleware(funcName, obj) { 63 | return this 64 | ._middleware 65 | .reduce( 66 | (acc, next) => { 67 | if (next && next[funcName]) { 68 | acc = next[funcName](acc); 69 | if (acc === null) { 70 | throw new Error("Middleware failure"); 71 | } 72 | } 73 | return acc; 74 | }, 75 | obj 76 | ); 77 | } 78 | 79 | class EventedHttpClient 80 | { 81 | constructor(host, port = 80) { 82 | Object.defineProperty( 83 | this, '_host', { 84 | value: host 85 | } 86 | ); 87 | 88 | Object.defineProperty( 89 | this, '_port', { 90 | value: port 91 | } 92 | ); 93 | 94 | Object.defineProperty( 95 | this, '_socket', { 96 | value: new MessageSocket(host, port, ::this._bufferSplitter, null) 97 | } 98 | ); 99 | 100 | Object.defineProperty( 101 | this, '_middleware', { 102 | value: [] 103 | } 104 | ); 105 | 106 | Object.defineProperty( 107 | this, '_isClosing', { 108 | value: new Subject() 109 | } 110 | ); 111 | } 112 | 113 | get messages() { 114 | return Observable 115 | .from( 116 | this._socket 117 | ) 118 | .takeUntil( 119 | this._isClosing 120 | ) 121 | } 122 | 123 | addMiddleware(obj) { 124 | this._middleware.push(obj); 125 | } 126 | 127 | request(method, url, headers, data) { 128 | return Observable 129 | .defer( 130 | () => { 131 | debug(`requesting: ${method} ${url}`); 132 | 133 | let request = { 134 | method, 135 | url, 136 | headers, 137 | body: data ? data : Buffer.alloc(0) 138 | }; 139 | 140 | request = 141 | this 142 | ::runMiddleware( 143 | 'handleRequest', 144 | request 145 | ); 146 | 147 | let outgoing = 148 | Buffer 149 | .concat([ 150 | Buffer.from( 151 | `${request.method.toUpperCase()} ${request.url} HTTP/1.1\r\n` + 152 | `Host: ${this._host}:${this._port}\r\n` + 153 | 154 | Object 155 | .keys(request.headers) 156 | .reduce( 157 | (acc, h) => 158 | acc + `${h}: ${request.headers[h]}\r\n` 159 | , '' 160 | ) + 161 | 162 | '\r\n' 163 | ), 164 | 165 | request.body 166 | ]); 167 | 168 | debug("raw request: %s", outgoing.toString('hex')); 169 | 170 | outgoing = 171 | this 172 | ::runMiddleware( 173 | 'handleRawRequest', 174 | outgoing 175 | ); 176 | 177 | debug("raw request (post middleware): %s", outgoing.toString('hex')); 178 | 179 | this._socket.send(outgoing); 180 | 181 | debug("Request sent"); 182 | 183 | return this 184 | .messages 185 | .filter(x => x.type !== 'EVENT/1.0') 186 | .take(1) 187 | } 188 | ) 189 | } 190 | 191 | get(url, headers = {}) { 192 | debug("GETing %s", url); 193 | return this 194 | .request('GET', url, headers); 195 | } 196 | 197 | post(url, buffer, contentType = 'application/json', headers = {}) { 198 | debug("POSTing to %s: %o", url, buffer); 199 | return this 200 | .request('POST', url, { 201 | ['Content-Type']: contentType, 202 | ['Content-Length']: buffer.length, 203 | ...headers 204 | }, buffer); 205 | } 206 | 207 | put(url, data, contentType = 'application/json', headers = {}) { 208 | debug("PUTing %s: %o", url, data); 209 | let encoder; 210 | if (encoder = Encoders[contentType]) { 211 | data = encoder(data); 212 | } 213 | 214 | return this 215 | .request('PUT', url, { 216 | ['Content-Type']: contentType, 217 | ['Content-Length']: data.length, 218 | ...headers 219 | }, data); 220 | } 221 | 222 | disconnect() { 223 | this._socket.close(); 224 | this._isClosing.next(); 225 | } 226 | 227 | _bufferSplitter(buf) { 228 | const processed = 229 | this 230 | ::runMiddleware( 231 | 'handleRawResponse', 232 | buf 233 | ); 234 | 235 | if (processed.length == 0) { 236 | // need more data. 237 | return [ [], buf ]; 238 | } 239 | 240 | let parsed = 241 | this._parseMessage(new BufferReader(processed)); 242 | 243 | return this 244 | ::runMiddleware( 245 | 'handleResponse', 246 | parsed 247 | ); 248 | } 249 | 250 | _parseMessage(buffer) { 251 | let messages = [], match; 252 | 253 | // ignore everything until a status line 254 | let statusRe = /(HTTP|EVENT)\/(\d+\.\d+)\s+(\d{3})\s+(.*?)$/; 255 | 256 | while (buffer::indexOf("\r\n") >= 0) { 257 | let line = buffer::nextLine(); 258 | 259 | if (match = statusRe.exec(line)) { 260 | let [, messageType, version, status, statusText ] = match; 261 | 262 | debug(`status: ${messageType}, ${version}, ${status}, ${statusText}`); 263 | 264 | let idx = -1, headers = {}; 265 | while ((idx = buffer::indexOf("\r\n")) > 0) { 266 | let header = buffer::nextLine(); 267 | let [name, value] = header::split(/:\s*/, 2); 268 | 269 | headers[name.toLowerCase()] = value; 270 | } 271 | 272 | // lose the blank line 273 | buffer.move(2); 274 | 275 | let body = new BufferReader(new Buffer([])); 276 | 277 | if (status != 204) { // "No Content" 278 | // is there a content length header? 279 | if (headers['content-length']) { 280 | let len = parseInt(headers['content-length']); 281 | debug(`Reading ${len} bytes for body...`); 282 | debug(`There are ${buffer::remaining()} bytes left in the buffer`); 283 | if (buffer::remaining() >= len) { 284 | body.append(buffer.nextBuffer(len)); 285 | } else { 286 | // the whole message is not in the buffer 287 | // wait till next time 288 | debug('partial message; returning'); 289 | return [ [], buffer.buf ]; 290 | } 291 | } else if (headers['transfer-encoding'].toLowerCase() === 'chunked') { 292 | // TODO: read chunked encoding 293 | debug(`Reading chunked bytes for body`); 294 | 295 | let chunkInfo; 296 | while (chunkInfo = buffer::readChunk()) { 297 | let [ declaredSize, chunk ] = chunkInfo; 298 | if (declaredSize) { 299 | if (chunk) { 300 | body.append(chunk); 301 | debug('read chunk sized ' + declaredSize); 302 | } 303 | else { 304 | // the whole message is not in the buffer 305 | // wait till next time 306 | debug('partial message; returning'); 307 | return [ [], buffer.buf ]; 308 | } 309 | } 310 | } 311 | 312 | // read trailers 313 | while ((idx = buffer::indexOf("\r\n")) > 0) { 314 | let header = buffer::nextLine(); 315 | let [name, value] = header::split(/:\s*/, 2); 316 | 317 | headers[name.toLowerCase()] = value; 318 | } 319 | 320 | // TODO: I feel like I should need this 321 | // buffer.move(2); 322 | } 323 | } 324 | 325 | debug('finished reading'); 326 | 327 | let contentType, decoder; 328 | if ((contentType = headers['content-type']) 329 | && (decoder = Decoders[contentType])) 330 | { 331 | debug('parsing body'); 332 | body = decoder(body); 333 | } 334 | 335 | if (body instanceof BufferReader && body.buf.length === 0) { 336 | body = null; 337 | } 338 | 339 | 340 | messages.push({ type: `${messageType}/${version}`, status, statusText, headers, body }) 341 | buffer::mark(); 342 | } 343 | } 344 | 345 | buffer::seekToMark(); 346 | debug(`returning from ${buffer.offset} to ${buffer.buf.length}`); 347 | 348 | return [ messages, buffer.restAll() ]; 349 | } 350 | } 351 | 352 | export { 353 | EventedHttpClient as default 354 | } 355 | -------------------------------------------------------------------------------- /src/HapClient.js: -------------------------------------------------------------------------------- 1 | import Enum from 'enum'; 2 | import { Observable, Subject } from 'rxjs'; 3 | 4 | import srp from 'fast-srp-hap'; 5 | import HKDF from 'node-hkdf-sync'; 6 | import { api as Sodium } from 'sodium'; 7 | import uuidv5 from 'uuidv5'; 8 | 9 | import EventedHttpClient from './EventedHttpClient'; 10 | import tlv from './lib/tlv.js'; 11 | import enc from './lib/encryption'; 12 | import Cryptographer from './lib/cryptographer'; 13 | import AuthHeader from './lib/authorization'; 14 | import SecureStore from './SecureStore'; 15 | 16 | const debug = require('debug')('hap-client:hap'); 17 | 18 | const { Tag } = tlv; 19 | 20 | const ErrorCode = 21 | new Enum({ 22 | None: 0x00, 23 | Unknown: 0x01, 24 | AuthenticationFailed: 0x02, // eg client proof is wrong 25 | TooManyAttempts: 0x03, 26 | UnknownPeer: 0x04, 27 | MaxPeer: 0x05, 28 | MaxAuthenticationAttempts: 0x06 29 | }); 30 | 31 | const PairStep = 32 | new Enum({ 33 | StartRequest: 0x01, 34 | StartResponse: 0x02, 35 | VerifyRequest: 0x03, 36 | VerifyResponse: 0x04, 37 | KeyExchangeRequest: 0x05, 38 | KeyExchangeResponse: 0x06 39 | }); 40 | 41 | const VerifyStep = 42 | new Enum({ 43 | StartRequest: 0x01, 44 | StartResponse: 0x02, 45 | FinishRequest: 0x03, 46 | FinishResponse: 0x04 47 | }); 48 | 49 | function getSession(secureStore, seed) { 50 | return secureStore 51 | .getClient() 52 | .flatMap( 53 | clientInfo => { 54 | let saveClientInfo = 55 | Observable 56 | .empty(); 57 | 58 | if (!clientInfo.longTerm) { 59 | debug('Generating long-term keys'); 60 | clientInfo.longTerm = 61 | Sodium.crypto_sign_keypair(); 62 | 63 | saveClientInfo = 64 | Observable 65 | .from( 66 | clientInfo.save() 67 | ) 68 | .ignoreElements(); 69 | } 70 | 71 | debug('Reusing long-term keys'); 72 | return saveClientInfo 73 | .concat( 74 | Observable 75 | .of({ clientInfo }) 76 | ); 77 | } 78 | ) 79 | .map( 80 | data => ({ 81 | ...seed, 82 | ...data 83 | }) 84 | ) 85 | } 86 | 87 | function getAt(idx) { 88 | return this && this[idx]; 89 | } 90 | 91 | function handleResponse(vtable, steps, session, completeCondition = () => false) { 92 | return function(response) { 93 | if (response && !completeCondition(response)) { 94 | if (response.status < 200 || response.status >= 400) { 95 | return Observable.throw(new Error(`Bad status: ${response.status} ${response.statusText}`)); 96 | } 97 | 98 | const data = response.body; 99 | 100 | const errorCode = data[Tag.ErrorCode]::getAt(0); 101 | if (errorCode) { 102 | return Observable.throw(new Error("Pairing failure: " + ErrorCode.get(errorCode).key)); 103 | } 104 | 105 | const step = steps.get(data[Tag.Sequence][0]); 106 | 107 | debug("--> [%d] %o", step, data) 108 | 109 | let handler = vtable[step]; 110 | return handler 111 | ? handler(response, data, session) 112 | : Observable.empty(); 113 | } 114 | return Observable.empty(); 115 | } 116 | } 117 | 118 | function toNodeObservable () { 119 | var self = this; 120 | return function() { 121 | return Observable.bindNodeCallback(self)(...arguments) 122 | } 123 | } 124 | 125 | const PairingContentType = 'application/pairing+tlv8'; 126 | 127 | const CLIENT_ID_NAMESPACE = 'fdde9099-dae4-4a18-ad5d-a2b07b8ebb9b'; 128 | 129 | class HapClient 130 | { 131 | constructor(clientName, ip, port) { 132 | Object.defineProperty( 133 | this, '_client', { 134 | value: new EventedHttpClient(ip, port) 135 | } 136 | ); 137 | 138 | Object.defineProperty( 139 | this, '_clientId', { 140 | value: uuidv5(CLIENT_ID_NAMESPACE, clientName) 141 | } 142 | ); 143 | 144 | Object.defineProperty( 145 | this, '_clientName', { 146 | value: clientName 147 | } 148 | ); 149 | } 150 | 151 | _pair(pinProvider) { 152 | const clientId = this._clientId; 153 | const secureStore = new SecureStore(this._clientName); 154 | 155 | return getSession(secureStore, { http: this._client }) 156 | .flatMap( 157 | session => { 158 | // steps: 159 | // 1. POST the pairing request to /pair-setup 160 | const req = 161 | tlv.encode( 162 | Tag.PairingMethod, 0, 163 | Tag.Sequence, PairStep.StartRequest.value 164 | ); 165 | 166 | debug("encoded request: %o", req); 167 | 168 | return session.http.post('/pair-setup', req, PairingContentType) 169 | .expand( 170 | handleResponse( 171 | { 172 | [PairStep.StartResponse]: handlePairStartResponse, 173 | [PairStep.VerifyResponse]: handlePairVerifyResponse, 174 | [PairStep.KeyExchangeResponse]: handlePairKeyExchangeResponse 175 | }, 176 | PairStep, 177 | session, 178 | // complete condition 179 | x => x.finished 180 | ) 181 | ) 182 | .takeLast(1) 183 | } 184 | ); 185 | 186 | function handlePairStartResponse(response, data, session) { 187 | // 2. Read the server's salt and public key 188 | const salt = data[Tag.Salt], serverPublicKey = data[Tag.PublicKey]; 189 | 190 | // 2a. validate 191 | if (salt.length != 16) { 192 | return Observable.throw(new Error("salt must be 16 bytes")); 193 | } 194 | if (serverPublicKey.length != 384) { 195 | return Observable.throw(new Error(`serverPublicKey must be 384 bytes (but was ${serverPublicKey.length})`)); 196 | } 197 | 198 | debug(" -> s: %s", salt.toString('hex')); 199 | debug(" -> B: %s", serverPublicKey.toString('hex')); 200 | 201 | const genKey = ::srp.genKey::toNodeObservable() 202 | return genKey() 203 | .flatMap( 204 | a => 205 | Observable 206 | .from( 207 | pinProvider 208 | ) 209 | .map(pin => { 210 | debug("got code: >%s<", pin); 211 | session.pinCode = pin; 212 | return a; 213 | }) 214 | ) 215 | .flatMap( 216 | a => { 217 | debug("a: " + a.toString('hex')); 218 | // 3. Generate my key pair <-- requires knowing PIN 219 | session.rp = 220 | new srp.Client( 221 | srp.params['3072'], 222 | salt, 223 | Buffer.from('Pair-Setup'), 224 | Buffer.from(session.pinCode), 225 | a 226 | ); 227 | session.rp.setB(serverPublicKey); 228 | 229 | // 4. POST my public key and password proof to /pair-setup 230 | const A = session.rp.computeA(), 231 | M1 = session.rp.computeM1() 232 | ; 233 | 234 | debug(" <- A: %s", A.toString('hex')); 235 | debug(" <- M1: %s", M1.toString('hex')); 236 | 237 | const verifyRequest = 238 | tlv.encode( 239 | Tag.PairingMethod, 0, 240 | Tag.Sequence, PairStep.VerifyRequest.value, 241 | Tag.PublicKey, A, 242 | Tag.Proof, M1 243 | ); 244 | debug("encoded request: %o", verifyRequest); 245 | 246 | return session.http 247 | .post('/pair-setup', verifyRequest, PairingContentType); 248 | } 249 | ) 250 | } 251 | 252 | function handlePairVerifyResponse(response, data, session) { 253 | debug('got a verify response'); 254 | 255 | // 5. Read and verify the server's password proof 256 | const serverProof = data[Tag.Proof]; 257 | debug(" -> M2: %s", serverProof.toString('hex')); 258 | 259 | try { 260 | session.rp.checkM2(serverProof); 261 | } catch (e) { 262 | return Observable.throw(new Error("Server proof is invalid: " + e)); 263 | } 264 | 265 | // 6. Generate encryption key 266 | session.encryptionKey = 267 | new HKDF( 268 | 'sha512', 269 | 'Pair-Setup-Encrypt-Salt', 270 | session.rp.computeK() 271 | ).derive('Pair-Setup-Encrypt-Info', 32); 272 | 273 | debug("key: %s", session.encryptionKey.toString('hex')); 274 | 275 | // 7. POST an encrypted message to /pair-setup 276 | const hash = 277 | new HKDF( 278 | 'sha512', 279 | 'Pair-Setup-Controller-Sign-Salt', 280 | session.rp.computeK() 281 | ).derive('Pair-Setup-Controller-Sign-Info', 32); 282 | 283 | const material = 284 | Buffer 285 | .concat([ 286 | hash, 287 | Buffer.from(clientId), 288 | session.clientInfo.longTerm.publicKey 289 | ]); 290 | 291 | const signature = 292 | Sodium 293 | .crypto_sign_detached( 294 | material, 295 | session.clientInfo.longTerm.secretKey); 296 | 297 | const message = 298 | tlv.encode( 299 | Tag.Username, clientId, 300 | Tag.PublicKey, session.clientInfo.longTerm.publicKey, 301 | Tag.Signature, signature 302 | ); 303 | 304 | const [ encrypted, seal ] = 305 | enc.encryptAndSeal( 306 | message, 307 | null, 308 | Buffer.from('PS-Msg05'), 309 | session.encryptionKey 310 | ); 311 | 312 | debug('encrypted: ' + encrypted.toString('hex')); 313 | debug('seal: ' + seal.toString('hex')); 314 | 315 | const container = 316 | tlv.encode( 317 | Tag.PairingMethod, 0x0, 318 | Tag.Sequence, PairStep.KeyExchangeRequest.value, 319 | Tag.EncryptedData, Buffer.concat([ encrypted, seal ]) 320 | ); 321 | 322 | return session.http 323 | .post('/pair-setup', container, PairingContentType); 324 | } 325 | 326 | function handlePairKeyExchangeResponse(response, data, session) { 327 | debug('got a key exchange response'); 328 | 329 | // 8. Read encrypted response; decode to reveal username, long-term public key, signature 330 | const ciphertext = data[Tag.EncryptedData]; 331 | const [ encrypted, hmac ] = [ ciphertext.slice(0, -16), ciphertext.slice(-16) ]; 332 | 333 | debug('message: ' + encrypted.toString('hex')); 334 | debug('hmac: ' + hmac.toString('hex')); 335 | 336 | const message = 337 | enc.verifyAndDecrypt( 338 | encrypted, 339 | hmac, 340 | null, 341 | Buffer.from("PS-Msg06"), 342 | session.encryptionKey 343 | ); 344 | 345 | if (message) { 346 | const data = tlv.decode(message); 347 | const accName = data[Tag.Username]; 348 | const accLTPK = data[Tag.PublicKey]; 349 | const accSign = data[Tag.Signature]; 350 | 351 | debug('accessory name: ' + accName.toString('utf8')); 352 | debug('LTPK: ' + accLTPK.toString('hex')); 353 | 354 | const hash = 355 | new HKDF( 356 | 'sha512', 357 | 'Pair-Setup-Accessory-Sign-Salt', 358 | session.rp.computeK() 359 | ).derive('Pair-Setup-Accessory-Sign-Info', 32); 360 | 361 | const material = Buffer.concat([ hash, accName, accLTPK ]); 362 | if (Sodium.crypto_sign_verify_detached(accSign, material, accLTPK)) { 363 | // WE ARE NOW PAIRED. 364 | 365 | return secureStore 366 | .get(accName.toString('utf8')) 367 | .flatMap( 368 | accessoryInfo => { 369 | accessoryInfo.pin = session.pinCode; 370 | accessoryInfo.ltpk = accLTPK; 371 | 372 | return accessoryInfo.save(); 373 | } 374 | ) 375 | .ignoreElements() 376 | .concat( 377 | Observable.of({ 378 | finished: true, 379 | session 380 | }) 381 | ) 382 | ; 383 | } 384 | 385 | return Observable.throw(new Error("Unable to verify key exchange; PAIRING FAILED.")); 386 | } 387 | 388 | return Observable.throw(new Error("Unable to decrypt key exchange; PAIRING FAILED.")); 389 | } 390 | } 391 | 392 | _verifyPairing() { 393 | const clientId = this._clientId; 394 | const secureStore = new SecureStore(this._clientName); 395 | 396 | // generate new encryption keys for this session 397 | const privateKey = Buffer.alloc(32); 398 | Sodium.randombytes_buf(privateKey); 399 | 400 | const publicKey = 401 | Sodium.crypto_scalarmult_base(privateKey); 402 | 403 | return Observable 404 | .defer( 405 | () => 406 | getSession( 407 | secureStore, 408 | { 409 | privateKey, 410 | publicKey, 411 | http: this._client 412 | }) 413 | ) 414 | .flatMap( 415 | session => { 416 | const req = tlv.encode( 417 | Tag.PairingMethod, 0, 418 | Tag.Sequence, VerifyStep.StartRequest.value, 419 | Tag.PublicKey, session.publicKey 420 | ); 421 | debug("encoded request: %o", req); 422 | 423 | // 1. POST my public key (etc) to /pair-verify 424 | return session.http.post('/pair-verify', req, PairingContentType) 425 | .expand( 426 | handleResponse( 427 | { 428 | [VerifyStep.StartResponse]: handleVerifyStartResponse, 429 | [VerifyStep.FinishResponse]: handleVerifyFinishResponse 430 | }, 431 | VerifyStep, 432 | session, 433 | x => x.finished 434 | ) 435 | ) 436 | .takeLast(1); 437 | } 438 | ) 439 | ; 440 | 441 | function handleVerifyStartResponse(response, data, session) { 442 | // 2. Read the server's public key 443 | const serverPublicKey = session.serverPublicKey = data[Tag.PublicKey]; 444 | 445 | // 2a. validate 446 | if (serverPublicKey.length != 32) { 447 | return Observable.throw(new Error(`serverPublicKey must be 32 bytes (but was ${serverPublicKey.length})`)); 448 | } 449 | 450 | // 3. Convert to shared key 451 | session.sharedKey = 452 | Sodium 453 | .crypto_scalarmult( 454 | session.privateKey, 455 | serverPublicKey 456 | ); 457 | 458 | session.encryptionKey = 459 | new HKDF( 460 | 'sha512', 461 | 'Pair-Verify-Encrypt-Salt', 462 | session.sharedKey 463 | ).derive('Pair-Verify-Encrypt-Info', 32); 464 | 465 | // 4. Decrypt and validate the message 466 | const ciphertext = data[Tag.EncryptedData]; 467 | const [ encrypted, hmac ] = [ ciphertext.slice(0, -16), ciphertext.slice(-16) ]; 468 | 469 | const message = 470 | enc.verifyAndDecrypt( 471 | encrypted, 472 | hmac, 473 | null, 474 | Buffer.from("PV-Msg02"), 475 | session.encryptionKey 476 | ); 477 | 478 | if (message) { 479 | const data = tlv.decode(message); 480 | const username = data[Tag.Username]; 481 | const signature = data[Tag.Signature]; 482 | 483 | const user = username.toString('utf8'); 484 | debug("got username: " + username.toString('utf8')); 485 | return secureStore 486 | .get(user) 487 | .flatMap( 488 | accessoryInfo => { 489 | session.accessoryInfo = accessoryInfo; 490 | 491 | const material = 492 | Buffer.concat([ session.serverPublicKey, username, session.publicKey ]); 493 | return !accessoryInfo.ltpk 494 | ? Observable.throw(`Could not get LTPK for accessory ${user}`) 495 | : Sodium.crypto_sign_verify_detached(signature, material, accessoryInfo.ltpk) 496 | ? Observable.of(accessoryInfo) 497 | : Observable.throw(`Could not verify signature for accessory ${user}`) 498 | } 499 | ) 500 | .map( 501 | accessoryInfo => { 502 | // 5. Generate a response message 503 | const material = 504 | Buffer 505 | .concat([ 506 | session.publicKey, 507 | Buffer.from(clientId), 508 | session.serverPublicKey 509 | ]); 510 | 511 | const plaintext = 512 | tlv.encode( 513 | Tag.Username, clientId, 514 | Tag.Signature, 515 | Sodium 516 | .crypto_sign_detached( 517 | material, 518 | session.clientInfo.longTerm.secretKey) 519 | ); 520 | 521 | const [ encrypted, seal ] = 522 | enc.encryptAndSeal( 523 | plaintext, 524 | null, 525 | Buffer.from('PV-Msg03'), 526 | session.encryptionKey 527 | ); 528 | 529 | return tlv.encode( 530 | Tag.PairingMethod, 0, 531 | Tag.Sequence, VerifyStep.FinishRequest.value, 532 | Tag.EncryptedData, Buffer.concat([ encrypted, seal ]) 533 | ); 534 | } 535 | ) 536 | .flatMap( 537 | out => 538 | // 6. POST it to /pair-verify 539 | session.http.post('/pair-verify', out, PairingContentType) 540 | ) 541 | } 542 | 543 | return Observable.throw(new Error("Unable to decrypt verification info; VERIFICATION FAILED.")); 544 | } 545 | 546 | function handleVerifyFinishResponse(response, data, session) { 547 | // if we get here, there wasn't an error (because handleResponse() 548 | // checks for us). 549 | // 550 | // WE ARE NOW VERIFIED. 551 | 552 | debug('Verification complete.'); 553 | 554 | var encSalt = Buffer.from("Control-Salt"); 555 | var infoRead = Buffer.from("Control-Read-Encryption-Key"); 556 | var infoWrite = Buffer.from("Control-Write-Encryption-Key"); 557 | 558 | return Observable.of({ 559 | finished: true, 560 | accessoryInfo: session.accessoryInfo, 561 | cryptographer: 562 | new Cryptographer( 563 | new HKDF( 564 | 'sha512', 565 | encSalt, 566 | session.sharedKey 567 | ).derive(infoWrite, 32), 568 | new HKDF( 569 | 'sha512', 570 | encSalt, 571 | session.sharedKey 572 | ).derive(infoRead, 32) 573 | ) 574 | }); 575 | } 576 | } 577 | 578 | _ensureAuthenticated() { 579 | // TODO: is there a better way than tracking this bool? 580 | if (this._isAuthenticated) { 581 | return Observable.of(this._client); 582 | } 583 | else if (this._authPending) { 584 | let s = new Subject(); 585 | this._authPending.push(s); 586 | return s.asObservable(); 587 | } 588 | else { 589 | this._authPending = []; 590 | return this 591 | ._verifyPairing() 592 | .map(({ finished, ...session }) => { 593 | this._client.addMiddleware(session.cryptographer); 594 | this._client.addMiddleware(new AuthHeader(session.accessoryInfo.pin)); 595 | this._isAuthenticated = true; 596 | return this._client; 597 | }) 598 | .do( 599 | c => { 600 | this 601 | ._authPending 602 | .forEach( 603 | s => s.next(c) 604 | ) 605 | delete this._authPending; 606 | } 607 | ); 608 | } 609 | } 610 | 611 | get messages() { 612 | return this 613 | ._ensureAuthenticated() 614 | .flatMap( 615 | client => client.messages 616 | ) 617 | } 618 | 619 | pair(pinProvider) { 620 | return this 621 | ._pair(pinProvider) 622 | .ignoreElements(); 623 | } 624 | 625 | verifyPairing() { 626 | return this 627 | ._verifyPairing() 628 | .ignoreElements(); 629 | } 630 | 631 | identify() { 632 | return this._client.get('/identify'); 633 | } 634 | 635 | listAccessories() { 636 | return this 637 | ._ensureAuthenticated() 638 | .flatMap( 639 | client => 640 | client 641 | .get('/accessories') 642 | .map( 643 | ({ status, body }) => 644 | (status >= 200 && status < 400) 645 | ? body 646 | : Observable.throw(new Error(statusText)) 647 | ) 648 | ) 649 | } 650 | 651 | getCharacteristics(...args /* aid, iid, aid, iid ... */) { 652 | if (args.length % 2 !== 0) { 653 | throw new TypeError("getCharacteristics must be given an even number of arguments"); 654 | } 655 | 656 | debug("building query for %o", args); 657 | 658 | return Observable 659 | .from(args) 660 | .bufferCount(2) 661 | .map(([ aid, iid ]) => `${aid}.${iid}`) 662 | .toArray() 663 | .map(x => x.join(',')) 664 | .flatMap( 665 | query => 666 | this 667 | ._ensureAuthenticated() 668 | .flatMap( 669 | client => 670 | client 671 | .get(`/characteristics?id=${query}`) 672 | ) 673 | .map( 674 | ({ status, body }) => 675 | (status >= 200 && status < 400) 676 | ? body 677 | : Observable.throw(new Error(statusText)) 678 | ) 679 | ) 680 | } 681 | 682 | setCharacteristics(...characteristics) { 683 | return this 684 | ._ensureAuthenticated() 685 | .flatMap( 686 | client => 687 | client 688 | .put( 689 | '/characteristics', 690 | { characteristics }, 691 | 'application/hap+json' 692 | ) 693 | ) 694 | .map( 695 | ({ status, body }) => 696 | (status >= 200 && status < 400) 697 | ? body 698 | : Observable.throw(new Error(statusText)) 699 | ) 700 | } 701 | 702 | close() { 703 | this._client.disconnect(); 704 | } 705 | } 706 | 707 | export { 708 | HapClient as default 709 | } 710 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | abbrev@1: 6 | version "1.1.0" 7 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" 8 | 9 | ajv@^4.9.1: 10 | version "4.11.8" 11 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" 12 | dependencies: 13 | co "^4.6.0" 14 | json-stable-stringify "^1.0.1" 15 | 16 | ansi-regex@^2.0.0: 17 | version "2.1.1" 18 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 19 | 20 | ansi-styles@^2.2.1: 21 | version "2.2.1" 22 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 23 | 24 | anymatch@^1.3.0: 25 | version "1.3.0" 26 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" 27 | dependencies: 28 | arrify "^1.0.0" 29 | micromatch "^2.1.5" 30 | 31 | aproba@^1.0.3: 32 | version "1.1.2" 33 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.2.tgz#45c6629094de4e96f693ef7eab74ae079c240fc1" 34 | 35 | are-we-there-yet@~1.1.2: 36 | version "1.1.4" 37 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 38 | dependencies: 39 | delegates "^1.0.0" 40 | readable-stream "^2.0.6" 41 | 42 | arr-diff@^2.0.0: 43 | version "2.0.0" 44 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 45 | dependencies: 46 | arr-flatten "^1.0.1" 47 | 48 | arr-flatten@^1.0.1: 49 | version "1.0.3" 50 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.3.tgz#a274ed85ac08849b6bd7847c4580745dc51adfb1" 51 | 52 | array-unique@^0.2.1: 53 | version "0.2.1" 54 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 55 | 56 | arrify@^1.0.0: 57 | version "1.0.1" 58 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 59 | 60 | asn1@~0.2.3: 61 | version "0.2.3" 62 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 63 | 64 | assert-plus@1.0.0, assert-plus@^1.0.0: 65 | version "1.0.0" 66 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 67 | 68 | assert-plus@^0.2.0: 69 | version "0.2.0" 70 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 71 | 72 | async-each@^1.0.0: 73 | version "1.0.1" 74 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 75 | 76 | asynckit@^0.4.0: 77 | version "0.4.0" 78 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 79 | 80 | aws-sign2@~0.6.0: 81 | version "0.6.0" 82 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 83 | 84 | aws4@^1.2.1: 85 | version "1.6.0" 86 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 87 | 88 | babel-cli@^6.24.1: 89 | version "6.24.1" 90 | resolved "https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.24.1.tgz#207cd705bba61489b2ea41b5312341cf6aca2283" 91 | dependencies: 92 | babel-core "^6.24.1" 93 | babel-polyfill "^6.23.0" 94 | babel-register "^6.24.1" 95 | babel-runtime "^6.22.0" 96 | commander "^2.8.1" 97 | convert-source-map "^1.1.0" 98 | fs-readdir-recursive "^1.0.0" 99 | glob "^7.0.0" 100 | lodash "^4.2.0" 101 | output-file-sync "^1.1.0" 102 | path-is-absolute "^1.0.0" 103 | slash "^1.0.0" 104 | source-map "^0.5.0" 105 | v8flags "^2.0.10" 106 | optionalDependencies: 107 | chokidar "^1.6.1" 108 | 109 | babel-code-frame@^6.22.0: 110 | version "6.22.0" 111 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" 112 | dependencies: 113 | chalk "^1.1.0" 114 | esutils "^2.0.2" 115 | js-tokens "^3.0.0" 116 | 117 | babel-core@^6.14.0, babel-core@^6.24.1: 118 | version "6.24.1" 119 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.24.1.tgz#8c428564dce1e1f41fb337ec34f4c3b022b5ad83" 120 | dependencies: 121 | babel-code-frame "^6.22.0" 122 | babel-generator "^6.24.1" 123 | babel-helpers "^6.24.1" 124 | babel-messages "^6.23.0" 125 | babel-register "^6.24.1" 126 | babel-runtime "^6.22.0" 127 | babel-template "^6.24.1" 128 | babel-traverse "^6.24.1" 129 | babel-types "^6.24.1" 130 | babylon "^6.11.0" 131 | convert-source-map "^1.1.0" 132 | debug "^2.1.1" 133 | json5 "^0.5.0" 134 | lodash "^4.2.0" 135 | minimatch "^3.0.2" 136 | path-is-absolute "^1.0.0" 137 | private "^0.1.6" 138 | slash "^1.0.0" 139 | source-map "^0.5.0" 140 | 141 | babel-generator@^6.24.1: 142 | version "6.24.1" 143 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.24.1.tgz#e715f486c58ded25649d888944d52aa07c5d9497" 144 | dependencies: 145 | babel-messages "^6.23.0" 146 | babel-runtime "^6.22.0" 147 | babel-types "^6.24.1" 148 | detect-indent "^4.0.0" 149 | jsesc "^1.3.0" 150 | lodash "^4.2.0" 151 | source-map "^0.5.0" 152 | trim-right "^1.0.1" 153 | 154 | babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: 155 | version "6.24.1" 156 | resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" 157 | dependencies: 158 | babel-helper-explode-assignable-expression "^6.24.1" 159 | babel-runtime "^6.22.0" 160 | babel-types "^6.24.1" 161 | 162 | babel-helper-call-delegate@^6.24.1: 163 | version "6.24.1" 164 | resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" 165 | dependencies: 166 | babel-helper-hoist-variables "^6.24.1" 167 | babel-runtime "^6.22.0" 168 | babel-traverse "^6.24.1" 169 | babel-types "^6.24.1" 170 | 171 | babel-helper-define-map@^6.24.1: 172 | version "6.24.1" 173 | resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.24.1.tgz#7a9747f258d8947d32d515f6aa1c7bd02204a080" 174 | dependencies: 175 | babel-helper-function-name "^6.24.1" 176 | babel-runtime "^6.22.0" 177 | babel-types "^6.24.1" 178 | lodash "^4.2.0" 179 | 180 | babel-helper-explode-assignable-expression@^6.24.1: 181 | version "6.24.1" 182 | resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" 183 | dependencies: 184 | babel-runtime "^6.22.0" 185 | babel-traverse "^6.24.1" 186 | babel-types "^6.24.1" 187 | 188 | babel-helper-function-name@^6.24.1: 189 | version "6.24.1" 190 | resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" 191 | dependencies: 192 | babel-helper-get-function-arity "^6.24.1" 193 | babel-runtime "^6.22.0" 194 | babel-template "^6.24.1" 195 | babel-traverse "^6.24.1" 196 | babel-types "^6.24.1" 197 | 198 | babel-helper-get-function-arity@^6.24.1: 199 | version "6.24.1" 200 | resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" 201 | dependencies: 202 | babel-runtime "^6.22.0" 203 | babel-types "^6.24.1" 204 | 205 | babel-helper-hoist-variables@^6.24.1: 206 | version "6.24.1" 207 | resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76" 208 | dependencies: 209 | babel-runtime "^6.22.0" 210 | babel-types "^6.24.1" 211 | 212 | babel-helper-optimise-call-expression@^6.24.1: 213 | version "6.24.1" 214 | resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257" 215 | dependencies: 216 | babel-runtime "^6.22.0" 217 | babel-types "^6.24.1" 218 | 219 | babel-helper-regex@^6.24.1: 220 | version "6.24.1" 221 | resolved "https://registry.yarnpkg.com/babel-helper-regex/-/babel-helper-regex-6.24.1.tgz#d36e22fab1008d79d88648e32116868128456ce8" 222 | dependencies: 223 | babel-runtime "^6.22.0" 224 | babel-types "^6.24.1" 225 | lodash "^4.2.0" 226 | 227 | babel-helper-remap-async-to-generator@^6.24.1: 228 | version "6.24.1" 229 | resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" 230 | dependencies: 231 | babel-helper-function-name "^6.24.1" 232 | babel-runtime "^6.22.0" 233 | babel-template "^6.24.1" 234 | babel-traverse "^6.24.1" 235 | babel-types "^6.24.1" 236 | 237 | babel-helper-replace-supers@^6.24.1: 238 | version "6.24.1" 239 | resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a" 240 | dependencies: 241 | babel-helper-optimise-call-expression "^6.24.1" 242 | babel-messages "^6.23.0" 243 | babel-runtime "^6.22.0" 244 | babel-template "^6.24.1" 245 | babel-traverse "^6.24.1" 246 | babel-types "^6.24.1" 247 | 248 | babel-helpers@^6.24.1: 249 | version "6.24.1" 250 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 251 | dependencies: 252 | babel-runtime "^6.22.0" 253 | babel-template "^6.24.1" 254 | 255 | babel-messages@^6.23.0: 256 | version "6.23.0" 257 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 258 | dependencies: 259 | babel-runtime "^6.22.0" 260 | 261 | babel-plugin-check-es2015-constants@^6.22.0: 262 | version "6.22.0" 263 | resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" 264 | dependencies: 265 | babel-runtime "^6.22.0" 266 | 267 | babel-plugin-syntax-async-functions@^6.8.0: 268 | version "6.13.0" 269 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" 270 | 271 | babel-plugin-syntax-exponentiation-operator@^6.8.0: 272 | version "6.13.0" 273 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" 274 | 275 | babel-plugin-syntax-function-bind@^6.13.0, babel-plugin-syntax-function-bind@^6.8.0: 276 | version "6.13.0" 277 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz#48c495f177bdf31a981e732f55adc0bdd2601f46" 278 | 279 | babel-plugin-syntax-object-rest-spread@^6.8.0: 280 | version "6.13.0" 281 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" 282 | 283 | babel-plugin-syntax-trailing-function-commas@^6.22.0: 284 | version "6.22.0" 285 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" 286 | 287 | babel-plugin-transform-async-to-generator@^6.22.0: 288 | version "6.24.1" 289 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" 290 | dependencies: 291 | babel-helper-remap-async-to-generator "^6.24.1" 292 | babel-plugin-syntax-async-functions "^6.8.0" 293 | babel-runtime "^6.22.0" 294 | 295 | babel-plugin-transform-es2015-arrow-functions@^6.22.0: 296 | version "6.22.0" 297 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" 298 | dependencies: 299 | babel-runtime "^6.22.0" 300 | 301 | babel-plugin-transform-es2015-block-scoped-functions@^6.22.0: 302 | version "6.22.0" 303 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" 304 | dependencies: 305 | babel-runtime "^6.22.0" 306 | 307 | babel-plugin-transform-es2015-block-scoping@^6.23.0: 308 | version "6.24.1" 309 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.24.1.tgz#76c295dc3a4741b1665adfd3167215dcff32a576" 310 | dependencies: 311 | babel-runtime "^6.22.0" 312 | babel-template "^6.24.1" 313 | babel-traverse "^6.24.1" 314 | babel-types "^6.24.1" 315 | lodash "^4.2.0" 316 | 317 | babel-plugin-transform-es2015-classes@^6.23.0: 318 | version "6.24.1" 319 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" 320 | dependencies: 321 | babel-helper-define-map "^6.24.1" 322 | babel-helper-function-name "^6.24.1" 323 | babel-helper-optimise-call-expression "^6.24.1" 324 | babel-helper-replace-supers "^6.24.1" 325 | babel-messages "^6.23.0" 326 | babel-runtime "^6.22.0" 327 | babel-template "^6.24.1" 328 | babel-traverse "^6.24.1" 329 | babel-types "^6.24.1" 330 | 331 | babel-plugin-transform-es2015-computed-properties@^6.22.0: 332 | version "6.24.1" 333 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" 334 | dependencies: 335 | babel-runtime "^6.22.0" 336 | babel-template "^6.24.1" 337 | 338 | babel-plugin-transform-es2015-destructuring@^6.23.0: 339 | version "6.23.0" 340 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" 341 | dependencies: 342 | babel-runtime "^6.22.0" 343 | 344 | babel-plugin-transform-es2015-duplicate-keys@^6.22.0: 345 | version "6.24.1" 346 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e" 347 | dependencies: 348 | babel-runtime "^6.22.0" 349 | babel-types "^6.24.1" 350 | 351 | babel-plugin-transform-es2015-for-of@^6.23.0: 352 | version "6.23.0" 353 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" 354 | dependencies: 355 | babel-runtime "^6.22.0" 356 | 357 | babel-plugin-transform-es2015-function-name@^6.22.0: 358 | version "6.24.1" 359 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" 360 | dependencies: 361 | babel-helper-function-name "^6.24.1" 362 | babel-runtime "^6.22.0" 363 | babel-types "^6.24.1" 364 | 365 | babel-plugin-transform-es2015-literals@^6.22.0: 366 | version "6.22.0" 367 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" 368 | dependencies: 369 | babel-runtime "^6.22.0" 370 | 371 | babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1: 372 | version "6.24.1" 373 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154" 374 | dependencies: 375 | babel-plugin-transform-es2015-modules-commonjs "^6.24.1" 376 | babel-runtime "^6.22.0" 377 | babel-template "^6.24.1" 378 | 379 | babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1: 380 | version "6.24.1" 381 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz#d3e310b40ef664a36622200097c6d440298f2bfe" 382 | dependencies: 383 | babel-plugin-transform-strict-mode "^6.24.1" 384 | babel-runtime "^6.22.0" 385 | babel-template "^6.24.1" 386 | babel-types "^6.24.1" 387 | 388 | babel-plugin-transform-es2015-modules-systemjs@^6.23.0: 389 | version "6.24.1" 390 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23" 391 | dependencies: 392 | babel-helper-hoist-variables "^6.24.1" 393 | babel-runtime "^6.22.0" 394 | babel-template "^6.24.1" 395 | 396 | babel-plugin-transform-es2015-modules-umd@^6.23.0: 397 | version "6.24.1" 398 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468" 399 | dependencies: 400 | babel-plugin-transform-es2015-modules-amd "^6.24.1" 401 | babel-runtime "^6.22.0" 402 | babel-template "^6.24.1" 403 | 404 | babel-plugin-transform-es2015-object-super@^6.22.0: 405 | version "6.24.1" 406 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" 407 | dependencies: 408 | babel-helper-replace-supers "^6.24.1" 409 | babel-runtime "^6.22.0" 410 | 411 | babel-plugin-transform-es2015-parameters@^6.23.0: 412 | version "6.24.1" 413 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" 414 | dependencies: 415 | babel-helper-call-delegate "^6.24.1" 416 | babel-helper-get-function-arity "^6.24.1" 417 | babel-runtime "^6.22.0" 418 | babel-template "^6.24.1" 419 | babel-traverse "^6.24.1" 420 | babel-types "^6.24.1" 421 | 422 | babel-plugin-transform-es2015-shorthand-properties@^6.22.0: 423 | version "6.24.1" 424 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0" 425 | dependencies: 426 | babel-runtime "^6.22.0" 427 | babel-types "^6.24.1" 428 | 429 | babel-plugin-transform-es2015-spread@^6.22.0: 430 | version "6.22.0" 431 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" 432 | dependencies: 433 | babel-runtime "^6.22.0" 434 | 435 | babel-plugin-transform-es2015-sticky-regex@^6.22.0: 436 | version "6.24.1" 437 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc" 438 | dependencies: 439 | babel-helper-regex "^6.24.1" 440 | babel-runtime "^6.22.0" 441 | babel-types "^6.24.1" 442 | 443 | babel-plugin-transform-es2015-template-literals@^6.22.0: 444 | version "6.22.0" 445 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" 446 | dependencies: 447 | babel-runtime "^6.22.0" 448 | 449 | babel-plugin-transform-es2015-typeof-symbol@^6.23.0: 450 | version "6.23.0" 451 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" 452 | dependencies: 453 | babel-runtime "^6.22.0" 454 | 455 | babel-plugin-transform-es2015-unicode-regex@^6.22.0: 456 | version "6.24.1" 457 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9" 458 | dependencies: 459 | babel-helper-regex "^6.24.1" 460 | babel-runtime "^6.22.0" 461 | regexpu-core "^2.0.0" 462 | 463 | babel-plugin-transform-exponentiation-operator@^6.22.0: 464 | version "6.24.1" 465 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" 466 | dependencies: 467 | babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" 468 | babel-plugin-syntax-exponentiation-operator "^6.8.0" 469 | babel-runtime "^6.22.0" 470 | 471 | babel-plugin-transform-function-bind@^6.8.0: 472 | version "6.22.0" 473 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz#c6fb8e96ac296a310b8cf8ea401462407ddf6a97" 474 | dependencies: 475 | babel-plugin-syntax-function-bind "^6.8.0" 476 | babel-runtime "^6.22.0" 477 | 478 | babel-plugin-transform-object-rest-spread@^6.8.0: 479 | version "6.23.0" 480 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.23.0.tgz#875d6bc9be761c58a2ae3feee5dc4895d8c7f921" 481 | dependencies: 482 | babel-plugin-syntax-object-rest-spread "^6.8.0" 483 | babel-runtime "^6.22.0" 484 | 485 | babel-plugin-transform-regenerator@^6.22.0: 486 | version "6.24.1" 487 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz#b8da305ad43c3c99b4848e4fe4037b770d23c418" 488 | dependencies: 489 | regenerator-transform "0.9.11" 490 | 491 | babel-plugin-transform-strict-mode@^6.24.1: 492 | version "6.24.1" 493 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" 494 | dependencies: 495 | babel-runtime "^6.22.0" 496 | babel-types "^6.24.1" 497 | 498 | babel-polyfill@^6.23.0: 499 | version "6.23.0" 500 | resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.23.0.tgz#8364ca62df8eafb830499f699177466c3b03499d" 501 | dependencies: 502 | babel-runtime "^6.22.0" 503 | core-js "^2.4.0" 504 | regenerator-runtime "^0.10.0" 505 | 506 | babel-preset-env@^1.4.0: 507 | version "1.4.0" 508 | resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.4.0.tgz#c8e02a3bcc7792f23cded68e0355b9d4c28f0f7a" 509 | dependencies: 510 | babel-plugin-check-es2015-constants "^6.22.0" 511 | babel-plugin-syntax-trailing-function-commas "^6.22.0" 512 | babel-plugin-transform-async-to-generator "^6.22.0" 513 | babel-plugin-transform-es2015-arrow-functions "^6.22.0" 514 | babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" 515 | babel-plugin-transform-es2015-block-scoping "^6.23.0" 516 | babel-plugin-transform-es2015-classes "^6.23.0" 517 | babel-plugin-transform-es2015-computed-properties "^6.22.0" 518 | babel-plugin-transform-es2015-destructuring "^6.23.0" 519 | babel-plugin-transform-es2015-duplicate-keys "^6.22.0" 520 | babel-plugin-transform-es2015-for-of "^6.23.0" 521 | babel-plugin-transform-es2015-function-name "^6.22.0" 522 | babel-plugin-transform-es2015-literals "^6.22.0" 523 | babel-plugin-transform-es2015-modules-amd "^6.22.0" 524 | babel-plugin-transform-es2015-modules-commonjs "^6.23.0" 525 | babel-plugin-transform-es2015-modules-systemjs "^6.23.0" 526 | babel-plugin-transform-es2015-modules-umd "^6.23.0" 527 | babel-plugin-transform-es2015-object-super "^6.22.0" 528 | babel-plugin-transform-es2015-parameters "^6.23.0" 529 | babel-plugin-transform-es2015-shorthand-properties "^6.22.0" 530 | babel-plugin-transform-es2015-spread "^6.22.0" 531 | babel-plugin-transform-es2015-sticky-regex "^6.22.0" 532 | babel-plugin-transform-es2015-template-literals "^6.22.0" 533 | babel-plugin-transform-es2015-typeof-symbol "^6.23.0" 534 | babel-plugin-transform-es2015-unicode-regex "^6.22.0" 535 | babel-plugin-transform-exponentiation-operator "^6.22.0" 536 | babel-plugin-transform-regenerator "^6.22.0" 537 | browserslist "^1.4.0" 538 | invariant "^2.2.2" 539 | 540 | babel-register@^6.24.1: 541 | version "6.24.1" 542 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.1.tgz#7e10e13a2f71065bdfad5a1787ba45bca6ded75f" 543 | dependencies: 544 | babel-core "^6.24.1" 545 | babel-runtime "^6.22.0" 546 | core-js "^2.4.0" 547 | home-or-tmp "^2.0.0" 548 | lodash "^4.2.0" 549 | mkdirp "^0.5.1" 550 | source-map-support "^0.4.2" 551 | 552 | babel-runtime@^6.18.0, babel-runtime@^6.22.0: 553 | version "6.23.0" 554 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" 555 | dependencies: 556 | core-js "^2.4.0" 557 | regenerator-runtime "^0.10.0" 558 | 559 | babel-template@^6.24.1: 560 | version "6.24.1" 561 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.24.1.tgz#04ae514f1f93b3a2537f2a0f60a5a45fb8308333" 562 | dependencies: 563 | babel-runtime "^6.22.0" 564 | babel-traverse "^6.24.1" 565 | babel-types "^6.24.1" 566 | babylon "^6.11.0" 567 | lodash "^4.2.0" 568 | 569 | babel-traverse@^6.24.1: 570 | version "6.24.1" 571 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.24.1.tgz#ab36673fd356f9a0948659e7b338d5feadb31695" 572 | dependencies: 573 | babel-code-frame "^6.22.0" 574 | babel-messages "^6.23.0" 575 | babel-runtime "^6.22.0" 576 | babel-types "^6.24.1" 577 | babylon "^6.15.0" 578 | debug "^2.2.0" 579 | globals "^9.0.0" 580 | invariant "^2.2.0" 581 | lodash "^4.2.0" 582 | 583 | babel-types@^6.19.0, babel-types@^6.24.1: 584 | version "6.24.1" 585 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.24.1.tgz#a136879dc15b3606bda0d90c1fc74304c2ff0975" 586 | dependencies: 587 | babel-runtime "^6.22.0" 588 | esutils "^2.0.2" 589 | lodash "^4.2.0" 590 | to-fast-properties "^1.0.1" 591 | 592 | babylon@^6.11.0, babylon@^6.15.0: 593 | version "6.17.0" 594 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.0.tgz#37da948878488b9c4e3c4038893fa3314b3fc932" 595 | 596 | balanced-match@^0.4.1: 597 | version "0.4.2" 598 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 599 | 600 | base64-js@1.1.2: 601 | version "1.1.2" 602 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.1.2.tgz#d6400cac1c4c660976d90d07a04351d89395f5e8" 603 | 604 | bcrypt-pbkdf@^1.0.0: 605 | version "1.0.1" 606 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 607 | dependencies: 608 | tweetnacl "^0.14.3" 609 | 610 | big-integer@^1.6.7: 611 | version "1.6.22" 612 | resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.22.tgz#487c95fce886022ea48ff5f19e388932df46dd2e" 613 | 614 | binary-extensions@^1.0.0: 615 | version "1.8.0" 616 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" 617 | 618 | block-stream@*: 619 | version "0.0.9" 620 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 621 | dependencies: 622 | inherits "~2.0.0" 623 | 624 | boom@2.x.x: 625 | version "2.10.1" 626 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 627 | dependencies: 628 | hoek "2.x.x" 629 | 630 | bplist-creator@0.0.7: 631 | version "0.0.7" 632 | resolved "https://registry.yarnpkg.com/bplist-creator/-/bplist-creator-0.0.7.tgz#37df1536092824b87c42f957b01344117372ae45" 633 | dependencies: 634 | stream-buffers "~2.2.0" 635 | 636 | bplist-parser@0.1.1: 637 | version "0.1.1" 638 | resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.1.1.tgz#d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6" 639 | dependencies: 640 | big-integer "^1.6.7" 641 | 642 | brace-expansion@^1.0.0: 643 | version "1.1.7" 644 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59" 645 | dependencies: 646 | balanced-match "^0.4.1" 647 | concat-map "0.0.1" 648 | 649 | braces@^1.8.2: 650 | version "1.8.5" 651 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 652 | dependencies: 653 | expand-range "^1.8.1" 654 | preserve "^0.2.0" 655 | repeat-element "^1.1.2" 656 | 657 | browser-stdout@1.3.0: 658 | version "1.3.0" 659 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 660 | 661 | browserslist@^1.4.0: 662 | version "1.7.7" 663 | resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9" 664 | dependencies: 665 | caniuse-db "^1.0.30000639" 666 | electron-to-chromium "^1.2.7" 667 | 668 | buffer-reader@^0.1.0: 669 | version "0.1.0" 670 | resolved "https://registry.yarnpkg.com/buffer-reader/-/buffer-reader-0.1.0.tgz#62953f955bbc50d8aa8e875f9789326a3b0c7644" 671 | 672 | caniuse-db@^1.0.30000639: 673 | version "1.0.30000665" 674 | resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000665.tgz#e84f4277935f295f546f8533cb0b410a8415b972" 675 | 676 | caseless@~0.12.0: 677 | version "0.12.0" 678 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 679 | 680 | chalk@^1.1.0: 681 | version "1.1.3" 682 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 683 | dependencies: 684 | ansi-styles "^2.2.1" 685 | escape-string-regexp "^1.0.2" 686 | has-ansi "^2.0.0" 687 | strip-ansi "^3.0.0" 688 | supports-color "^2.0.0" 689 | 690 | chokidar@^1.6.1: 691 | version "1.7.0" 692 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" 693 | dependencies: 694 | anymatch "^1.3.0" 695 | async-each "^1.0.0" 696 | glob-parent "^2.0.0" 697 | inherits "^2.0.1" 698 | is-binary-path "^1.0.0" 699 | is-glob "^2.0.0" 700 | path-is-absolute "^1.0.0" 701 | readdirp "^2.0.0" 702 | optionalDependencies: 703 | fsevents "^1.0.0" 704 | 705 | co@^4.6.0: 706 | version "4.6.0" 707 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 708 | 709 | code-point-at@^1.0.0: 710 | version "1.1.0" 711 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 712 | 713 | combined-stream@^1.0.5, combined-stream@~1.0.5: 714 | version "1.0.5" 715 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 716 | dependencies: 717 | delayed-stream "~1.0.0" 718 | 719 | commander@2.9.0, commander@^2.8.1: 720 | version "2.9.0" 721 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 722 | dependencies: 723 | graceful-readlink ">= 1.0.0" 724 | 725 | concat-map@0.0.1: 726 | version "0.0.1" 727 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 728 | 729 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 730 | version "1.1.0" 731 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 732 | 733 | convert-source-map@^1.1.0: 734 | version "1.5.0" 735 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" 736 | 737 | core-js@^2.4.0: 738 | version "2.4.1" 739 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" 740 | 741 | core-util-is@~1.0.0: 742 | version "1.0.2" 743 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 744 | 745 | cryptiles@2.x.x: 746 | version "2.0.5" 747 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 748 | dependencies: 749 | boom "2.x.x" 750 | 751 | dashdash@^1.12.0: 752 | version "1.14.1" 753 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 754 | dependencies: 755 | assert-plus "^1.0.0" 756 | 757 | debug@2.6.0: 758 | version "2.6.0" 759 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b" 760 | dependencies: 761 | ms "0.7.2" 762 | 763 | debug@^2.1.1, debug@^2.2.0, debug@^2.6.4: 764 | version "2.6.6" 765 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.6.tgz#a9fa6fbe9ca43cf1e79f73b75c0189cbb7d6db5a" 766 | dependencies: 767 | ms "0.7.3" 768 | 769 | deep-extend@~0.4.0: 770 | version "0.4.2" 771 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" 772 | 773 | delayed-stream@~1.0.0: 774 | version "1.0.0" 775 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 776 | 777 | delegates@^1.0.0: 778 | version "1.0.0" 779 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 780 | 781 | detect-indent@^4.0.0: 782 | version "4.0.0" 783 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 784 | dependencies: 785 | repeating "^2.0.0" 786 | 787 | diff@3.2.0: 788 | version "3.2.0" 789 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 790 | 791 | ecc-jsbn@~0.1.1: 792 | version "0.1.1" 793 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 794 | dependencies: 795 | jsbn "~0.1.0" 796 | 797 | electron-to-chromium@^1.2.7: 798 | version "1.3.9" 799 | resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.9.tgz#db1cba2a26aebcca2f7f5b8b034554468609157d" 800 | 801 | enum@^2.4.0: 802 | version "2.4.0" 803 | resolved "https://registry.yarnpkg.com/enum/-/enum-2.4.0.tgz#1aea67cdf74a34e6d8198283b2b3cb348e221b5e" 804 | dependencies: 805 | is-buffer "^1.1.0" 806 | 807 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2: 808 | version "1.0.5" 809 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 810 | 811 | esutils@^2.0.2: 812 | version "2.0.2" 813 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 814 | 815 | expand-brackets@^0.1.4: 816 | version "0.1.5" 817 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 818 | dependencies: 819 | is-posix-bracket "^0.1.0" 820 | 821 | expand-range@^1.8.1: 822 | version "1.8.2" 823 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 824 | dependencies: 825 | fill-range "^2.1.0" 826 | 827 | extend@~3.0.0: 828 | version "3.0.1" 829 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 830 | 831 | extglob@^0.3.1: 832 | version "0.3.2" 833 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 834 | dependencies: 835 | is-extglob "^1.0.0" 836 | 837 | extsprintf@1.0.2: 838 | version "1.0.2" 839 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 840 | 841 | eyes@>=0.1.6: 842 | version "0.1.8" 843 | resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" 844 | 845 | fast-srp-hap@^1.0.1: 846 | version "1.0.1" 847 | resolved "https://registry.yarnpkg.com/fast-srp-hap/-/fast-srp-hap-1.0.1.tgz#377124d196bc6a5157aae5b37bf5fa35bb4ad2d9" 848 | 849 | filename-regex@^2.0.0: 850 | version "2.0.1" 851 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 852 | 853 | fill-range@^2.1.0: 854 | version "2.2.3" 855 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 856 | dependencies: 857 | is-number "^2.1.0" 858 | isobject "^2.0.0" 859 | randomatic "^1.1.3" 860 | repeat-element "^1.1.2" 861 | repeat-string "^1.5.2" 862 | 863 | for-in@^1.0.1: 864 | version "1.0.2" 865 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 866 | 867 | for-own@^0.1.4: 868 | version "0.1.5" 869 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 870 | dependencies: 871 | for-in "^1.0.1" 872 | 873 | forever-agent@~0.6.1: 874 | version "0.6.1" 875 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 876 | 877 | form-data@~2.1.1: 878 | version "2.1.4" 879 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" 880 | dependencies: 881 | asynckit "^0.4.0" 882 | combined-stream "^1.0.5" 883 | mime-types "^2.1.12" 884 | 885 | fs-readdir-recursive@^1.0.0: 886 | version "1.0.0" 887 | resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz#8cd1745c8b4f8a29c8caec392476921ba195f560" 888 | 889 | fs.realpath@^1.0.0: 890 | version "1.0.0" 891 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 892 | 893 | fsevents@^1.0.0: 894 | version "1.1.2" 895 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.2.tgz#3282b713fb3ad80ede0e9fcf4611b5aa6fc033f4" 896 | dependencies: 897 | nan "^2.3.0" 898 | node-pre-gyp "^0.6.36" 899 | 900 | fstream-ignore@^1.0.5: 901 | version "1.0.5" 902 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 903 | dependencies: 904 | fstream "^1.0.0" 905 | inherits "2" 906 | minimatch "^3.0.0" 907 | 908 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 909 | version "1.0.11" 910 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 911 | dependencies: 912 | graceful-fs "^4.1.2" 913 | inherits "~2.0.0" 914 | mkdirp ">=0.5 0" 915 | rimraf "2" 916 | 917 | gauge@~2.7.3: 918 | version "2.7.4" 919 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 920 | dependencies: 921 | aproba "^1.0.3" 922 | console-control-strings "^1.0.0" 923 | has-unicode "^2.0.0" 924 | object-assign "^4.1.0" 925 | signal-exit "^3.0.0" 926 | string-width "^1.0.1" 927 | strip-ansi "^3.0.1" 928 | wide-align "^1.1.0" 929 | 930 | getpass@^0.1.1: 931 | version "0.1.7" 932 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 933 | dependencies: 934 | assert-plus "^1.0.0" 935 | 936 | glob-base@^0.3.0: 937 | version "0.3.0" 938 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 939 | dependencies: 940 | glob-parent "^2.0.0" 941 | is-glob "^2.0.0" 942 | 943 | glob-parent@^2.0.0: 944 | version "2.0.0" 945 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 946 | dependencies: 947 | is-glob "^2.0.0" 948 | 949 | glob@7.1.1, glob@^7.0.0, glob@^7.0.5: 950 | version "7.1.1" 951 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 952 | dependencies: 953 | fs.realpath "^1.0.0" 954 | inflight "^1.0.4" 955 | inherits "2" 956 | minimatch "^3.0.2" 957 | once "^1.3.0" 958 | path-is-absolute "^1.0.0" 959 | 960 | globals@^9.0.0: 961 | version "9.17.0" 962 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286" 963 | 964 | graceful-fs@^4.1.2, graceful-fs@^4.1.4: 965 | version "4.1.11" 966 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 967 | 968 | "graceful-readlink@>= 1.0.0": 969 | version "1.0.1" 970 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 971 | 972 | growl@1.9.2: 973 | version "1.9.2" 974 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" 975 | 976 | har-schema@^1.0.5: 977 | version "1.0.5" 978 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 979 | 980 | har-validator@~4.2.1: 981 | version "4.2.1" 982 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 983 | dependencies: 984 | ajv "^4.9.1" 985 | har-schema "^1.0.5" 986 | 987 | has-ansi@^2.0.0: 988 | version "2.0.0" 989 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 990 | dependencies: 991 | ansi-regex "^2.0.0" 992 | 993 | has-flag@^1.0.0: 994 | version "1.0.0" 995 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 996 | 997 | has-unicode@^2.0.0: 998 | version "2.0.1" 999 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1000 | 1001 | hawk@~3.1.3: 1002 | version "3.1.3" 1003 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1004 | dependencies: 1005 | boom "2.x.x" 1006 | cryptiles "2.x.x" 1007 | hoek "2.x.x" 1008 | sntp "1.x.x" 1009 | 1010 | hoek@2.x.x: 1011 | version "2.16.3" 1012 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1013 | 1014 | home-or-tmp@^2.0.0: 1015 | version "2.0.0" 1016 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1017 | dependencies: 1018 | os-homedir "^1.0.0" 1019 | os-tmpdir "^1.0.1" 1020 | 1021 | http-signature@~1.1.0: 1022 | version "1.1.1" 1023 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1024 | dependencies: 1025 | assert-plus "^0.2.0" 1026 | jsprim "^1.2.2" 1027 | sshpk "^1.7.0" 1028 | 1029 | inflight@^1.0.4: 1030 | version "1.0.6" 1031 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1032 | dependencies: 1033 | once "^1.3.0" 1034 | wrappy "1" 1035 | 1036 | inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.3: 1037 | version "2.0.3" 1038 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1039 | 1040 | ini@~1.3.0: 1041 | version "1.3.4" 1042 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 1043 | 1044 | invariant@^2.2.0, invariant@^2.2.2: 1045 | version "2.2.2" 1046 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1047 | dependencies: 1048 | loose-envify "^1.0.0" 1049 | 1050 | is-binary-path@^1.0.0: 1051 | version "1.0.1" 1052 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 1053 | dependencies: 1054 | binary-extensions "^1.0.0" 1055 | 1056 | is-buffer@^1.1.0, is-buffer@^1.1.5: 1057 | version "1.1.5" 1058 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" 1059 | 1060 | is-dotfile@^1.0.0: 1061 | version "1.0.3" 1062 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 1063 | 1064 | is-equal-shallow@^0.1.3: 1065 | version "0.1.3" 1066 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1067 | dependencies: 1068 | is-primitive "^2.0.0" 1069 | 1070 | is-extendable@^0.1.1: 1071 | version "0.1.1" 1072 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1073 | 1074 | is-extglob@^1.0.0: 1075 | version "1.0.0" 1076 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1077 | 1078 | is-finite@^1.0.0: 1079 | version "1.0.2" 1080 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1081 | dependencies: 1082 | number-is-nan "^1.0.0" 1083 | 1084 | is-fullwidth-code-point@^1.0.0: 1085 | version "1.0.0" 1086 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1087 | dependencies: 1088 | number-is-nan "^1.0.0" 1089 | 1090 | is-glob@^2.0.0, is-glob@^2.0.1: 1091 | version "2.0.1" 1092 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1093 | dependencies: 1094 | is-extglob "^1.0.0" 1095 | 1096 | is-number@^2.1.0: 1097 | version "2.1.0" 1098 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1099 | dependencies: 1100 | kind-of "^3.0.2" 1101 | 1102 | is-number@^3.0.0: 1103 | version "3.0.0" 1104 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 1105 | dependencies: 1106 | kind-of "^3.0.2" 1107 | 1108 | is-posix-bracket@^0.1.0: 1109 | version "0.1.1" 1110 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1111 | 1112 | is-primitive@^2.0.0: 1113 | version "2.0.0" 1114 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1115 | 1116 | is-typedarray@~1.0.0: 1117 | version "1.0.0" 1118 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1119 | 1120 | isarray@1.0.0, isarray@~1.0.0: 1121 | version "1.0.0" 1122 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1123 | 1124 | isobject@^2.0.0: 1125 | version "2.1.0" 1126 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1127 | dependencies: 1128 | isarray "1.0.0" 1129 | 1130 | isstream@~0.1.2: 1131 | version "0.1.2" 1132 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1133 | 1134 | js-tokens@^3.0.0: 1135 | version "3.0.1" 1136 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" 1137 | 1138 | jsbn@~0.1.0: 1139 | version "0.1.1" 1140 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1141 | 1142 | jsesc@^1.3.0: 1143 | version "1.3.0" 1144 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1145 | 1146 | jsesc@~0.5.0: 1147 | version "0.5.0" 1148 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" 1149 | 1150 | json-schema@0.2.3: 1151 | version "0.2.3" 1152 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1153 | 1154 | json-stable-stringify@^1.0.1: 1155 | version "1.0.1" 1156 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1157 | dependencies: 1158 | jsonify "~0.0.0" 1159 | 1160 | json-stringify-safe@~5.0.1: 1161 | version "5.0.1" 1162 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1163 | 1164 | json3@3.3.2: 1165 | version "3.3.2" 1166 | resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" 1167 | 1168 | json5@^0.5.0: 1169 | version "0.5.1" 1170 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 1171 | 1172 | jsonify@~0.0.0: 1173 | version "0.0.0" 1174 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1175 | 1176 | jsprim@^1.2.2: 1177 | version "1.4.0" 1178 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" 1179 | dependencies: 1180 | assert-plus "1.0.0" 1181 | extsprintf "1.0.2" 1182 | json-schema "0.2.3" 1183 | verror "1.3.6" 1184 | 1185 | keytar@^4.0.2: 1186 | version "4.0.2" 1187 | resolved "https://registry.yarnpkg.com/keytar/-/keytar-4.0.2.tgz#b00be39bb5ec306bed93e1b066c5a2f03d60a012" 1188 | dependencies: 1189 | nan "2.5.1" 1190 | 1191 | kind-of@^3.0.2: 1192 | version "3.2.2" 1193 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 1194 | dependencies: 1195 | is-buffer "^1.1.5" 1196 | 1197 | kind-of@^4.0.0: 1198 | version "4.0.0" 1199 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 1200 | dependencies: 1201 | is-buffer "^1.1.5" 1202 | 1203 | lodash._baseassign@^3.0.0: 1204 | version "3.2.0" 1205 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 1206 | dependencies: 1207 | lodash._basecopy "^3.0.0" 1208 | lodash.keys "^3.0.0" 1209 | 1210 | lodash._basecopy@^3.0.0: 1211 | version "3.0.1" 1212 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 1213 | 1214 | lodash._basecreate@^3.0.0: 1215 | version "3.0.3" 1216 | resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" 1217 | 1218 | lodash._getnative@^3.0.0: 1219 | version "3.9.1" 1220 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 1221 | 1222 | lodash._isiterateecall@^3.0.0: 1223 | version "3.0.9" 1224 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 1225 | 1226 | lodash.create@3.1.1: 1227 | version "3.1.1" 1228 | resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" 1229 | dependencies: 1230 | lodash._baseassign "^3.0.0" 1231 | lodash._basecreate "^3.0.0" 1232 | lodash._isiterateecall "^3.0.0" 1233 | 1234 | lodash.isarguments@^3.0.0: 1235 | version "3.1.0" 1236 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 1237 | 1238 | lodash.isarray@^3.0.0: 1239 | version "3.0.4" 1240 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 1241 | 1242 | lodash.keys@^3.0.0: 1243 | version "3.1.2" 1244 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 1245 | dependencies: 1246 | lodash._getnative "^3.0.0" 1247 | lodash.isarguments "^3.0.0" 1248 | lodash.isarray "^3.0.0" 1249 | 1250 | lodash@^4.2.0: 1251 | version "4.17.4" 1252 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1253 | 1254 | loose-envify@^1.0.0: 1255 | version "1.3.1" 1256 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1257 | dependencies: 1258 | js-tokens "^3.0.0" 1259 | 1260 | message-socket@^1.0.3: 1261 | version "1.0.3" 1262 | resolved "https://registry.yarnpkg.com/message-socket/-/message-socket-1.0.3.tgz#09a7554b709fe701f22633dbd7776553d16dd102" 1263 | dependencies: 1264 | symbol-observable "^1.0.2" 1265 | 1266 | micromatch@^2.1.5: 1267 | version "2.3.11" 1268 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1269 | dependencies: 1270 | arr-diff "^2.0.0" 1271 | array-unique "^0.2.1" 1272 | braces "^1.8.2" 1273 | expand-brackets "^0.1.4" 1274 | extglob "^0.3.1" 1275 | filename-regex "^2.0.0" 1276 | is-extglob "^1.0.0" 1277 | is-glob "^2.0.1" 1278 | kind-of "^3.0.2" 1279 | normalize-path "^2.0.1" 1280 | object.omit "^2.0.0" 1281 | parse-glob "^3.0.4" 1282 | regex-cache "^0.4.2" 1283 | 1284 | mime-db@~1.27.0: 1285 | version "1.27.0" 1286 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" 1287 | 1288 | mime-types@^2.1.12, mime-types@~2.1.7: 1289 | version "2.1.15" 1290 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" 1291 | dependencies: 1292 | mime-db "~1.27.0" 1293 | 1294 | minimatch@^3.0.0, minimatch@^3.0.2: 1295 | version "3.0.3" 1296 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 1297 | dependencies: 1298 | brace-expansion "^1.0.0" 1299 | 1300 | minimist@0.0.8: 1301 | version "0.0.8" 1302 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1303 | 1304 | minimist@^1.2.0: 1305 | version "1.2.0" 1306 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1307 | 1308 | mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.1: 1309 | version "0.5.1" 1310 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1311 | dependencies: 1312 | minimist "0.0.8" 1313 | 1314 | mocha@^3.3.0: 1315 | version "3.3.0" 1316 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.3.0.tgz#d29b7428d3f52c82e2e65df1ecb7064e1aabbfb5" 1317 | dependencies: 1318 | browser-stdout "1.3.0" 1319 | commander "2.9.0" 1320 | debug "2.6.0" 1321 | diff "3.2.0" 1322 | escape-string-regexp "1.0.5" 1323 | glob "7.1.1" 1324 | growl "1.9.2" 1325 | json3 "3.3.2" 1326 | lodash.create "3.1.1" 1327 | mkdirp "0.5.1" 1328 | supports-color "3.1.2" 1329 | 1330 | ms@0.7.2: 1331 | version "0.7.2" 1332 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 1333 | 1334 | ms@0.7.3: 1335 | version "0.7.3" 1336 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.3.tgz#708155a5e44e33f5fd0fc53e81d0d40a91be1fff" 1337 | 1338 | nan@2.5.1, nan@^2.2.1, nan@^2.3.0: 1339 | version "2.5.1" 1340 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.1.tgz#d5b01691253326a97a2bbee9e61c55d8d60351e2" 1341 | 1342 | node-hkdf-sync@^1.0.0: 1343 | version "1.0.0" 1344 | resolved "https://registry.yarnpkg.com/node-hkdf-sync/-/node-hkdf-sync-1.0.0.tgz#657d798641c003f91037b68a3595e05be736d99a" 1345 | dependencies: 1346 | vows "0.5.13" 1347 | 1348 | node-pre-gyp@^0.6.36: 1349 | version "0.6.36" 1350 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.36.tgz#db604112cb74e0d477554e9b505b17abddfab786" 1351 | dependencies: 1352 | mkdirp "^0.5.1" 1353 | nopt "^4.0.1" 1354 | npmlog "^4.0.2" 1355 | rc "^1.1.7" 1356 | request "^2.81.0" 1357 | rimraf "^2.6.1" 1358 | semver "^5.3.0" 1359 | tar "^2.2.1" 1360 | tar-pack "^3.4.0" 1361 | 1362 | nopt@^4.0.1: 1363 | version "4.0.1" 1364 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1365 | dependencies: 1366 | abbrev "1" 1367 | osenv "^0.1.4" 1368 | 1369 | normalize-path@^2.0.1: 1370 | version "2.1.1" 1371 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1372 | dependencies: 1373 | remove-trailing-separator "^1.0.1" 1374 | 1375 | npmlog@^4.0.2: 1376 | version "4.1.2" 1377 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 1378 | dependencies: 1379 | are-we-there-yet "~1.1.2" 1380 | console-control-strings "~1.1.0" 1381 | gauge "~2.7.3" 1382 | set-blocking "~2.0.0" 1383 | 1384 | number-is-nan@^1.0.0: 1385 | version "1.0.1" 1386 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1387 | 1388 | oauth-sign@~0.8.1: 1389 | version "0.8.2" 1390 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1391 | 1392 | object-assign@^4.1.0: 1393 | version "4.1.1" 1394 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1395 | 1396 | object.omit@^2.0.0: 1397 | version "2.0.1" 1398 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1399 | dependencies: 1400 | for-own "^0.1.4" 1401 | is-extendable "^0.1.1" 1402 | 1403 | once@^1.3.0, once@^1.3.3: 1404 | version "1.4.0" 1405 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1406 | dependencies: 1407 | wrappy "1" 1408 | 1409 | os-homedir@^1.0.0: 1410 | version "1.0.2" 1411 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1412 | 1413 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1: 1414 | version "1.0.2" 1415 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1416 | 1417 | osenv@^0.1.4: 1418 | version "0.1.4" 1419 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 1420 | dependencies: 1421 | os-homedir "^1.0.0" 1422 | os-tmpdir "^1.0.0" 1423 | 1424 | output-file-sync@^1.1.0: 1425 | version "1.1.2" 1426 | resolved "https://registry.yarnpkg.com/output-file-sync/-/output-file-sync-1.1.2.tgz#d0a33eefe61a205facb90092e826598d5245ce76" 1427 | dependencies: 1428 | graceful-fs "^4.1.4" 1429 | mkdirp "^0.5.1" 1430 | object-assign "^4.1.0" 1431 | 1432 | parse-glob@^3.0.4: 1433 | version "3.0.4" 1434 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 1435 | dependencies: 1436 | glob-base "^0.3.0" 1437 | is-dotfile "^1.0.0" 1438 | is-extglob "^1.0.0" 1439 | is-glob "^2.0.0" 1440 | 1441 | path-is-absolute@^1.0.0: 1442 | version "1.0.1" 1443 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1444 | 1445 | performance-now@^0.2.0: 1446 | version "0.2.0" 1447 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 1448 | 1449 | plist@2.0.1: 1450 | version "2.0.1" 1451 | resolved "https://registry.yarnpkg.com/plist/-/plist-2.0.1.tgz#0a32ca9481b1c364e92e18dc55c876de9d01da8b" 1452 | dependencies: 1453 | base64-js "1.1.2" 1454 | xmlbuilder "8.2.2" 1455 | xmldom "0.1.x" 1456 | 1457 | preserve@^0.2.0: 1458 | version "0.2.0" 1459 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 1460 | 1461 | private@^0.1.6: 1462 | version "0.1.7" 1463 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" 1464 | 1465 | process-nextick-args@~1.0.6: 1466 | version "1.0.7" 1467 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1468 | 1469 | punycode@^1.4.1: 1470 | version "1.4.1" 1471 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1472 | 1473 | qs@~6.4.0: 1474 | version "6.4.0" 1475 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 1476 | 1477 | randomatic@^1.1.3: 1478 | version "1.1.7" 1479 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" 1480 | dependencies: 1481 | is-number "^3.0.0" 1482 | kind-of "^4.0.0" 1483 | 1484 | rc@^1.1.7: 1485 | version "1.2.1" 1486 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" 1487 | dependencies: 1488 | deep-extend "~0.4.0" 1489 | ini "~1.3.0" 1490 | minimist "^1.2.0" 1491 | strip-json-comments "~2.0.1" 1492 | 1493 | readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.4: 1494 | version "2.3.2" 1495 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.2.tgz#5a04df05e4f57fe3f0dc68fdd11dc5c97c7e6f4d" 1496 | dependencies: 1497 | core-util-is "~1.0.0" 1498 | inherits "~2.0.3" 1499 | isarray "~1.0.0" 1500 | process-nextick-args "~1.0.6" 1501 | safe-buffer "~5.1.0" 1502 | string_decoder "~1.0.0" 1503 | util-deprecate "~1.0.1" 1504 | 1505 | readdirp@^2.0.0: 1506 | version "2.1.0" 1507 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 1508 | dependencies: 1509 | graceful-fs "^4.1.2" 1510 | minimatch "^3.0.2" 1511 | readable-stream "^2.0.2" 1512 | set-immediate-shim "^1.0.1" 1513 | 1514 | regenerate@^1.2.1: 1515 | version "1.3.2" 1516 | resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" 1517 | 1518 | regenerator-runtime@^0.10.0: 1519 | version "0.10.5" 1520 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" 1521 | 1522 | regenerator-transform@0.9.11: 1523 | version "0.9.11" 1524 | resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.9.11.tgz#3a7d067520cb7b7176769eb5ff868691befe1283" 1525 | dependencies: 1526 | babel-runtime "^6.18.0" 1527 | babel-types "^6.19.0" 1528 | private "^0.1.6" 1529 | 1530 | regex-cache@^0.4.2: 1531 | version "0.4.3" 1532 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 1533 | dependencies: 1534 | is-equal-shallow "^0.1.3" 1535 | is-primitive "^2.0.0" 1536 | 1537 | regexpu-core@^2.0.0: 1538 | version "2.0.0" 1539 | resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240" 1540 | dependencies: 1541 | regenerate "^1.2.1" 1542 | regjsgen "^0.2.0" 1543 | regjsparser "^0.1.4" 1544 | 1545 | regjsgen@^0.2.0: 1546 | version "0.2.0" 1547 | resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" 1548 | 1549 | regjsparser@^0.1.4: 1550 | version "0.1.5" 1551 | resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" 1552 | dependencies: 1553 | jsesc "~0.5.0" 1554 | 1555 | remove-trailing-separator@^1.0.1: 1556 | version "1.0.2" 1557 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz#69b062d978727ad14dc6b56ba4ab772fd8d70511" 1558 | 1559 | repeat-element@^1.1.2: 1560 | version "1.1.2" 1561 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 1562 | 1563 | repeat-string@^1.5.2: 1564 | version "1.6.1" 1565 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1566 | 1567 | repeating@^2.0.0: 1568 | version "2.0.1" 1569 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 1570 | dependencies: 1571 | is-finite "^1.0.0" 1572 | 1573 | request@^2.81.0: 1574 | version "2.81.0" 1575 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 1576 | dependencies: 1577 | aws-sign2 "~0.6.0" 1578 | aws4 "^1.2.1" 1579 | caseless "~0.12.0" 1580 | combined-stream "~1.0.5" 1581 | extend "~3.0.0" 1582 | forever-agent "~0.6.1" 1583 | form-data "~2.1.1" 1584 | har-validator "~4.2.1" 1585 | hawk "~3.1.3" 1586 | http-signature "~1.1.0" 1587 | is-typedarray "~1.0.0" 1588 | isstream "~0.1.2" 1589 | json-stringify-safe "~5.0.1" 1590 | mime-types "~2.1.7" 1591 | oauth-sign "~0.8.1" 1592 | performance-now "^0.2.0" 1593 | qs "~6.4.0" 1594 | safe-buffer "^5.0.1" 1595 | stringstream "~0.0.4" 1596 | tough-cookie "~2.3.0" 1597 | tunnel-agent "^0.6.0" 1598 | uuid "^3.0.0" 1599 | 1600 | rimraf@2, rimraf@^2.5.1, rimraf@^2.6.1: 1601 | version "2.6.1" 1602 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 1603 | dependencies: 1604 | glob "^7.0.5" 1605 | 1606 | rxjs@^5.3.0: 1607 | version "5.3.1" 1608 | resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.3.1.tgz#9ecc9e722247e4f4490d30a878577a3740fd0cb7" 1609 | dependencies: 1610 | symbol-observable "^1.0.1" 1611 | 1612 | safe-buffer@^5.0.1, safe-buffer@~5.1.0: 1613 | version "5.1.1" 1614 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 1615 | 1616 | semver@^5.3.0: 1617 | version "5.3.0" 1618 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 1619 | 1620 | set-blocking@~2.0.0: 1621 | version "2.0.0" 1622 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 1623 | 1624 | set-immediate-shim@^1.0.1: 1625 | version "1.0.1" 1626 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 1627 | 1628 | signal-exit@^3.0.0: 1629 | version "3.0.2" 1630 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1631 | 1632 | simple-plist@^0.2.1: 1633 | version "0.2.1" 1634 | resolved "https://registry.yarnpkg.com/simple-plist/-/simple-plist-0.2.1.tgz#71766db352326928cf3a807242ba762322636723" 1635 | dependencies: 1636 | bplist-creator "0.0.7" 1637 | bplist-parser "0.1.1" 1638 | plist "2.0.1" 1639 | 1640 | slash@^1.0.0: 1641 | version "1.0.0" 1642 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 1643 | 1644 | sntp@1.x.x: 1645 | version "1.0.9" 1646 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 1647 | dependencies: 1648 | hoek "2.x.x" 1649 | 1650 | sodium@^2.0.1: 1651 | version "2.0.1" 1652 | resolved "https://registry.yarnpkg.com/sodium/-/sodium-2.0.1.tgz#64efff6d7699c8f26f91b9ac5b6fc3aa550b2579" 1653 | dependencies: 1654 | nan "^2.2.1" 1655 | 1656 | source-map-support@^0.4.15, source-map-support@^0.4.2: 1657 | version "0.4.15" 1658 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1" 1659 | dependencies: 1660 | source-map "^0.5.6" 1661 | 1662 | source-map@^0.5.0, source-map@^0.5.6: 1663 | version "0.5.6" 1664 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 1665 | 1666 | sshpk@^1.7.0: 1667 | version "1.13.1" 1668 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" 1669 | dependencies: 1670 | asn1 "~0.2.3" 1671 | assert-plus "^1.0.0" 1672 | dashdash "^1.12.0" 1673 | getpass "^0.1.1" 1674 | optionalDependencies: 1675 | bcrypt-pbkdf "^1.0.0" 1676 | ecc-jsbn "~0.1.1" 1677 | jsbn "~0.1.0" 1678 | tweetnacl "~0.14.0" 1679 | 1680 | stream-buffers@~2.2.0: 1681 | version "2.2.0" 1682 | resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4" 1683 | 1684 | string-width@^1.0.1, string-width@^1.0.2: 1685 | version "1.0.2" 1686 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 1687 | dependencies: 1688 | code-point-at "^1.0.0" 1689 | is-fullwidth-code-point "^1.0.0" 1690 | strip-ansi "^3.0.0" 1691 | 1692 | string_decoder@~1.0.0: 1693 | version "1.0.3" 1694 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 1695 | dependencies: 1696 | safe-buffer "~5.1.0" 1697 | 1698 | stringstream@~0.0.4: 1699 | version "0.0.5" 1700 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 1701 | 1702 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 1703 | version "3.0.1" 1704 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1705 | dependencies: 1706 | ansi-regex "^2.0.0" 1707 | 1708 | strip-json-comments@~2.0.1: 1709 | version "2.0.1" 1710 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 1711 | 1712 | supports-color@3.1.2: 1713 | version "3.1.2" 1714 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" 1715 | dependencies: 1716 | has-flag "^1.0.0" 1717 | 1718 | supports-color@^2.0.0: 1719 | version "2.0.0" 1720 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 1721 | 1722 | symbol-observable@^1.0.1, symbol-observable@^1.0.2: 1723 | version "1.0.4" 1724 | resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d" 1725 | 1726 | tar-pack@^3.4.0: 1727 | version "3.4.0" 1728 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.0.tgz#23be2d7f671a8339376cbdb0b8fe3fdebf317984" 1729 | dependencies: 1730 | debug "^2.2.0" 1731 | fstream "^1.0.10" 1732 | fstream-ignore "^1.0.5" 1733 | once "^1.3.3" 1734 | readable-stream "^2.1.4" 1735 | rimraf "^2.5.1" 1736 | tar "^2.2.1" 1737 | uid-number "^0.0.6" 1738 | 1739 | tar@^2.2.1: 1740 | version "2.2.1" 1741 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 1742 | dependencies: 1743 | block-stream "*" 1744 | fstream "^1.0.2" 1745 | inherits "2" 1746 | 1747 | to-fast-properties@^1.0.1: 1748 | version "1.0.3" 1749 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 1750 | 1751 | tough-cookie@~2.3.0: 1752 | version "2.3.2" 1753 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" 1754 | dependencies: 1755 | punycode "^1.4.1" 1756 | 1757 | trim-right@^1.0.1: 1758 | version "1.0.1" 1759 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 1760 | 1761 | tunnel-agent@^0.6.0: 1762 | version "0.6.0" 1763 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 1764 | dependencies: 1765 | safe-buffer "^5.0.1" 1766 | 1767 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 1768 | version "0.14.5" 1769 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 1770 | 1771 | uid-number@^0.0.6: 1772 | version "0.0.6" 1773 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 1774 | 1775 | user-home@^1.1.1: 1776 | version "1.1.1" 1777 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" 1778 | 1779 | util-deprecate@~1.0.1: 1780 | version "1.0.2" 1781 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 1782 | 1783 | uuid@^3.0.0: 1784 | version "3.1.0" 1785 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" 1786 | 1787 | uuidv5@^1.0.0: 1788 | version "1.0.0" 1789 | resolved "https://registry.yarnpkg.com/uuidv5/-/uuidv5-1.0.0.tgz#af98e9befcb462c0ab6c752edd082cb52fb530a0" 1790 | 1791 | v8flags@^2.0.10: 1792 | version "2.1.1" 1793 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" 1794 | dependencies: 1795 | user-home "^1.1.1" 1796 | 1797 | verror@1.3.6: 1798 | version "1.3.6" 1799 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 1800 | dependencies: 1801 | extsprintf "1.0.2" 1802 | 1803 | vows@0.5.13: 1804 | version "0.5.13" 1805 | resolved "https://registry.yarnpkg.com/vows/-/vows-0.5.13.tgz#f6fd9ee9c36d3f20bd6680455cff8090c4b29cde" 1806 | dependencies: 1807 | eyes ">=0.1.6" 1808 | 1809 | wide-align@^1.1.0: 1810 | version "1.1.2" 1811 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 1812 | dependencies: 1813 | string-width "^1.0.2" 1814 | 1815 | wrappy@1: 1816 | version "1.0.2" 1817 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1818 | 1819 | xmlbuilder@8.2.2: 1820 | version "8.2.2" 1821 | resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-8.2.2.tgz#69248673410b4ba42e1a6136551d2922335aa773" 1822 | 1823 | xmldom@0.1.x: 1824 | version "0.1.27" 1825 | resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.27.tgz#d501f97b3bdb403af8ef9ecc20573187aadac0e9" 1826 | --------------------------------------------------------------------------------