├── .gitignore ├── LICENCE ├── Overview.md ├── README.md ├── bin └── mam_encrypt.js ├── examples ├── getMessage.js └── post.js ├── lib ├── encryption.js ├── mam.client.js ├── mam.js └── merkle.js ├── package.json ├── test ├── encryption │ ├── encryption.decrypt.js │ └── encryption.encrypt.js ├── mam │ ├── mam.channelKey.js │ └── mam.newMaskedAuthenticationMessage.js ├── merkle │ ├── merkle.get.js │ └── merkle.treeGen.js └── mocha.opts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # nyc test coverage 18 | .nyc_output 19 | 20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 21 | .grunt 22 | 23 | # node-waf configuration 24 | .lock-wscript 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directories 30 | node_modules 31 | jspm_packages 32 | 33 | # Optional npm cache directory 34 | .npm 35 | 36 | # Optional REPL history 37 | .node_repl_history 38 | 39 | .vscode/ -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 IOTA Stiftung 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Overview.md: -------------------------------------------------------------------------------- 1 | ## Overview 2 | ---- 3 | 4 | Below describes a user Peggy who wants to open a channel to publish messages, and Sue who wants to subscribe to it. 5 | In the general case, it is assumed that channels have one publisher. 6 | If Sue and Peggy wish to exchange messages, Sue will open a second channel to share with Peggy. 7 | None of this describes the method of exchanging keys. 8 | 9 | ![Protocol](https://iotaledger.github.io/mam.client.js/doc/mam-protocol.svg) 10 | 11 | 12 | ### Signatures 13 | 14 | Each message contains the root of the next merkle tree, indicating a path of forward identity, and the sibling hashes in the merkle tree. For example, if the key for B was used, Hashes A and CD would be included after the signature, terminated by a null hash string to indicate the end of the tree. 15 | The merkle trees are created by calculating the hash of their children. I,e. The parent of keys A and B is Hash(AB). 16 | 17 | ![Merkle](https://iotaledger.github.io/mam.client.js/doc/serial-merkle.svg) 18 | 19 | Signing messages is done using the standard IOTA one-time signature scheme from the hash of the message, 20 | with serial merkle trees to allow for temporary extension of identity, 21 | but doesn't require the full signature size necessary with compound merkle trees. 22 | 23 | The organization of the output message before encryption is [Signature - Key Index - Sibling Hashes - Null Hash - Next Merkle Root - Message]. 24 | 25 | Included in the tag of the transactions of the MAM is the index of the key used to allow for correct verification of the merkle root. 26 | 27 | ### Encryption 28 | Messages published with MAM are encrypted by one-time symmetric key encryption as described by: 29 | 30 | ![Encryption](https://iotaledger.github.io/mam.client.js/doc/encryption.svg) 31 | 32 | A trinary additive cipher is used to generate the cipher text. 33 | 34 | The next message key seed is generated by incrementing the current seed by at least one, 35 | and then taking the hash of that value. 36 | This ensures that no part of the current message leaks the key to the next message unintentially. 37 | A message chain is thus created, which a user can join at any point, but can never look backward. 38 | 39 | A message chain may be forked by incrementing more than once before taking the message hash. 40 | 41 | The ID published to the tangle is the hash of the hash of the message key seed. 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Notice of Deprecation 2 | 3 | Development on this repository will not continue; further development can be found on (in-progress) github.com/iotaledger/MAM 4 | 5 | # MAM Client Javascript Library 6 | 7 | This is the official Javascript library for MAM(Masked Authenticated Messaging). 8 | 9 | ## Masked Authenticated Messages 10 | 11 | It is possible to publish transactions to the Tangle that contain only messages, with no value. This introduces many possibilities for data integrity and communication, but comes with the caveat that message-only signatures are not checked. What we introduce is a method of symmetric-key encrypted, signed data that takes advantage of merkle-tree winternitz signatures for extended public key usability, that can be found trivially by those who know to look for it. 12 | 13 | For more details, take a look at the [Overview](../master/Overview.md). 14 | 15 | ## Notice 16 | It should be noted that the Javascript MAM Client is an **early beta release**. There is no assurance that unexpected issues will not occur. Please join the community and post [issues on here](https://github.com/iotaledger/mam.client.js/issues). 17 | 18 | 19 | > **Join the Discussion** 20 | 21 | > If you want to get involved in the community, need help with getting setup, have any issues related with the library or just want to discuss Blockchain, Distributed Ledgers and IoT with other people, feel free to join our [Slack](http://slack.iotatoken.com/). You can also ask questions on our dedicated forum at: [IOTA Forum](http://forum.iotatoken.com/). 22 | 23 | ## Installation 24 | 25 | Use [npm](https://npmjs.com) to install: 26 | ``` 27 | npm install mam.client.js 28 | ``` 29 | 30 | --- 31 | 32 | ## Usage 33 | 34 | ### Creating Merkle Trees 35 | 36 | ```Javascript 37 | const seed = 'XXMPUFDZTAWNORLGZT9SZXHXXMSINBQVPCJITKOGIIPPUCARZEATSCUBMRXXQTXYRUTXUCBEV9YUMIFJB'; 38 | const start = 3; 39 | const count = 4; 40 | const security = 2; 41 | 42 | const tree0 = new MerkleTree(seed, start, count, security); 43 | const tree1 = new MerkleTree(seed, start + count, count, security); 44 | ``` 45 | 46 | ### Creating a Masked Authenticated Message 47 | 48 | ```Javascript 49 | const mam = MAM.create({ 50 | message: 'WCTC9D9DCDFAEADBNA', 51 | merkleTree: tree0, 52 | index: index, 53 | nextRoot: tree1.root.hash.toString(), 54 | channelKey: 'EJTKEICAUGQFUHZNTYMVUDJLFYQAMYUZOJSCDBTXE9CMZGYUVFIHGDVHCLHJCEGDZGXJKJZKQADZBSFEL' 55 | }); 56 | 57 | // Prints an array of trytes 58 | console.log(mam); 59 | ``` 60 | 61 | ### Parsing Masked Authenticated Messages 62 | 63 | Use `MAM.parse` to get a parsed object of a MAM containing the `root`, `signingKey`, `nextRoot` & `message` 64 | 65 | ```Javascript 66 | 67 | const parsed = MAM.parse({key: channelKey, message: message, tag: tag}); 68 | 69 | // Prints an object of the parsed MAM 70 | console.log(parsed); 71 | ``` 72 | --- 73 | 74 | ## MAM 75 | 76 | ### `MAM.create` 77 | 78 | Creates the trytes of a Masked Authenticated Message for the given `options`. 79 | 80 | #### Input 81 | ```Javascript 82 | MAM.create(options) 83 | ``` 84 | **`options`**: `Object` 85 | - **`message`**: `String` Tryte-encoded plain text 86 | - **`merkleTree`**: `Object` Merkle tree 87 | - **`index`**: `Int` Index of the merkle tree leaf key 88 | - **`nextRoot`**: `String` Root of the next merkle tree 89 | - **`channelKey`**: `String` Channel key 90 | 91 | #### Return Value 92 | 93 | **`Object`** 94 | - **`trytes`**: `Array` an array of trytes 95 | - **`nextKey`**: `String` Tryte-encoded key for the following message 96 | 97 | --- 98 | 99 | ### `MAM.parse` 100 | 101 | Parses a Masked Authenticated Message. 102 | 103 | #### Input 104 | ```Javascript 105 | MAM.parse(options) 106 | ``` 107 | 1. **`options`**: `Object` 108 | - **`key`**: `String` Channel key 109 | - **`message`**: `Array` Array of trytes 110 | - **`tag`**: `String` Tryte-encoded tag field of the transaction (which contains the encryption nonce) 111 | 112 | #### Return Value 113 | 114 | **`Object`** 115 | - **`root`**: `String` Root of the merkle tree 116 | - **`nextRoot`**: `String` Root of the next merkle tree 117 | - **`nextKey`**: `String` Tryte-encoded key for the next message in this chain 118 | - **`message`**: `String` Tryte-encoded message 119 | 120 | --- 121 | 122 | ### `MAM.channelKey` 123 | 124 | Creates a `channelKey` for a given `seed` and `nonce`. 125 | 126 | #### Input 127 | ```Javascript 128 | MAM.channelKey(key, nonce) 129 | ``` 130 | 1. **`key`**: `String` 81-trytes current channel key 131 | 2. **`nonce`**: `String` Random 27-tryte string 132 | 133 | #### Return value 134 | 135 | **`String`** Returns the next channel key. 136 | 137 | --- 138 | 139 | ### `MAM.messageID` 140 | 141 | Returns the message ID for a given `channelKey` and `keyIndex` 142 | 143 | #### Input 144 | ```Javascript 145 | MAM.messageID(channelKey, keyIndex) 146 | ``` 147 | 1. **`channelKey`**: `String` Channel Key 148 | 2. **`keyIndex`**: `Int` Key index 149 | 150 | #### Return Value 151 | 152 | **`String`** Returns the message ID. 153 | 154 | --- 155 | 156 | ### `MAM.messageHash` 157 | 158 | Creates the hash of a tryte-encoded message 159 | 160 | #### Input 161 | ```Javascript 162 | MAM.messageHash(message) 163 | ``` 164 | 1. **`message`**: `String` Tryte-encoded message 165 | 166 | #### Return Value 167 | 168 | **`String`** Returns the message hash 169 | 170 | --- 171 | 172 | ### `MAM.sign` 173 | 174 | Creates the signature fragment. 175 | 176 | #### Input 177 | ```Javascript 178 | MAM.sign(message, key, bundle) 179 | ``` 180 | 1. **`message`**: `String` Tryte-encoded message 181 | 2. **`key`**: `String` Signing key 182 | 3. **`bundle`**: `Object` Optional bundle object 183 | 184 | #### Return Value 185 | 186 | **`Array`** Returns an array of trytes 187 | 188 | --- 189 | 190 | ## MarkleTree 191 | 192 | ### `MerkleTree` 193 | 194 | Creates a Merkle Tree instance. 195 | 196 | #### Input 197 | ```Javascript 198 | MerkleTree(seed, start, count, security) 199 | ``` 200 | 1. **`seed`**: `String` 81-trytes seed 201 | 2. **`start`**: `Int` 202 | 3. **`count`**: `Int` Tree size 203 | 4. **`security`**: `Int` Security level. Can be 1, 2 or 3 204 | 205 | --- 206 | 207 | ### `MerkleTree.root` 208 | 209 | ```Javascript 210 | MerkleTree.root 211 | ``` 212 | **`String`** Merkle tree root 213 | 214 | --- 215 | 216 | ### `MerkleTree.get` 217 | 218 | #### Input 219 | ```Javascript 220 | MerkleTree.get(index) 221 | ``` 222 | 1. **`index`**: `Int` 223 | 224 | #### Return value 225 | 226 | **`Object`** 227 | - **`tree`**: `Array` 228 | - **`key`**: `String` 229 | 230 | --- 231 | 232 | ## Encryption 233 | 234 | ### `Encryption.encrypt` 235 | 236 | Encrypts a tryte-encoded plaintext. 237 | 238 | #### Input 239 | ```Javascript 240 | Encryption.encrypt(message, key) 241 | ``` 242 | 1. **`message`**: `String` Tryte-encoded plaintext 243 | 2. **`key`**: `String` Encryption key 244 | 245 | #### Return value 246 | 247 | **`String`** Returns the tryte-encoded ciphertext 248 | 249 | --- 250 | 251 | ### `Encryption.decrypt` 252 | 253 | Decrypts a tryte-encoded ciphertext. 254 | 255 | #### Input 256 | ```Javascript 257 | Encryption.decrypt(message, key) 258 | ``` 259 | 1. **`message`**: `String` Tryte-encoded plaintext 260 | 2. **`key`**: `String` Encryption key 261 | 262 | #### Return value 263 | 264 | **`String`** Returns the tryte-encoded plaintext 265 | 266 | --- 267 | 268 | ### `Encryption.increment` 269 | 270 | Increments the given `subseed` 271 | 272 | #### Input 273 | ```Javascript 274 | Encryption.increment(subseed, count) 275 | ``` 276 | 1. **`subseed`**: `String` 81-trytes subseed 277 | 2. **`count`**: `Int` Optional count 278 | 279 | #### Return value 280 | 281 | **`String`** Returns the incremented subseed 282 | 283 | --- 284 | 285 | ### `Encryption.hash` 286 | 287 | Creates the hash of the given `key`. 288 | 289 | #### Input 290 | ```Javascript 291 | Encryption.hash(key, curl) 292 | ``` 293 | 1. **`key`**: `String` Key 294 | 2. **`curl`**: `Object` Optional Curl object 295 | 296 | #### Return value 297 | 298 | **`String`** Returns the hash of the given key 299 | -------------------------------------------------------------------------------- /bin/mam_encrypt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const Crypto = require('iota.crypto.js'); 3 | const Encryption = require('../lib/encryption'); 4 | const IOTA = require('iota.lib.js'); 5 | const MAM = require('../lib/mam'); 6 | const MerkleTree = require('../lib/merkle'); 7 | const program = require('commander'); 8 | 9 | program 10 | .arguments(' ') 11 | .option('--channel-key-index ') 12 | .option('--start ') 13 | .option('--count ') 14 | .option('--security-level ') 15 | .action(function(seed, message) { 16 | const channelKeyIndex = program.channelKeyIndex || 0; 17 | const securityLevel = program.securityLevel || 2; 18 | const start = program.start || 0; 19 | const count = program.count || 1; 20 | 21 | const channelKey = Crypto.converter.trytes(MAM.channelKey(Encryption.hash(Encryption.increment(Crypto.converter.trits(seed.slice()))), channelKeyIndex)); 22 | 23 | const tree0 = new MerkleTree(seed, start, count, securityLevel); 24 | const tree1 = new MerkleTree(seed, start + count, count, securityLevel); 25 | let index = 0; 26 | 27 | const iota = new IOTA(); 28 | 29 | // Get the trytes of the MAM transactions 30 | const trytes = new MAM.create({ 31 | message: iota.utils.toTrytes(message), 32 | merkleTree: tree0, 33 | index: index, 34 | nextRoot: tree1.root.hash.toString(), 35 | channelKey: channelKey, 36 | }); 37 | 38 | console.log(JSON.stringify(trytes)); 39 | }) 40 | .parse(process.argv); 41 | -------------------------------------------------------------------------------- /examples/getMessage.js: -------------------------------------------------------------------------------- 1 | const IOTA = require('iota.lib.js'); 2 | const MAM = require('../lib/mam'); 3 | const MerkleTree = require('../lib/merkle'); 4 | const Encryption = require('../lib/encryption'); 5 | var Crypto = require('iota.crypto.js'); 6 | 7 | const iota = new IOTA({ 8 | provider: 'http://localhost:14600' 9 | }); 10 | 11 | const seed = 'PAUL9NOZTUVHPBKLTFVRJZTOPODGTYHRUIACDYDKRNAQMCUZGNWMDSDZMPWHKQINYFPYTIEDSZ9EJZYOD'; 12 | const channelKeyIndex = 3; 13 | //const channelKey = Crypto.converter.trytes(MAM.channelKey(Encryption.hash(Encryption.increment(Crypto.converter.trits(seed.slice()))), channelKeyIndex)); 14 | const channelKey = Crypto.converter.trytes(Encryption.hash(Encryption.increment(Crypto.converter.trits(seed.slice())))); 15 | const start = 3; 16 | const count = 4; 17 | const security = 1; 18 | 19 | const tree0 = new MerkleTree(seed, start, count, security); 20 | 21 | const root = tree0.root.hash.toString(); 22 | iota.api.sendCommand({ 23 | command: "MAM.getMessage", 24 | channel: MAM.messageID(channelKey) 25 | }, function(e, result) { 26 | if(e == undefined) { 27 | result.ixi.map(mam => { 28 | const output = MAM.parse({key: channelKey, message: mam.message, tag: mam.tag}); 29 | const asciiMessage = iota.utils.fromTrytes(output.message); 30 | if (root === output.root) { 31 | console.log("Public key match for " + root); 32 | } 33 | console.log("received: " + asciiMessage); 34 | }); 35 | 36 | } 37 | }); 38 | -------------------------------------------------------------------------------- /examples/post.js: -------------------------------------------------------------------------------- 1 | const IOTA = require('iota.lib.js'); 2 | const MAM = require('../lib/mam'); 3 | const MerkleTree = require('../lib/merkle'); 4 | const Encryption = require('../lib/encryption'); 5 | var Crypto = require('iota.crypto.js'); 6 | 7 | const iota = new IOTA({ 8 | provider: 'http://localhost:14600' 9 | }); 10 | 11 | const seed = 'PAUL9NOZTUVHPBKLTFVRJZTOPODGTYHRUIACDYDKRNAQMCUZGNWMDSDZMPWHKQINYFPYTIEDSZ9EJZYOD'; 12 | //const message = "\"'I'm here for you in the same way that you're here for me, each person is an intricate piece of infinity. -Eyedea\" - Dukakis"; 13 | const message = "\"'I'm still here for IOTA in the same way that you're here for me, each person is an intricate piece of infinity. -Eyedea\" - Dukakis"; 14 | const channelKeyIndex = 3; 15 | const channelKey = Crypto.converter.trytes(Encryption.hash(Encryption.increment(Crypto.converter.trits(seed.slice())))); 16 | const start = 3; 17 | const count = 4; 18 | const security = 1; 19 | 20 | const tree0 = new MerkleTree(seed, start, count, security); 21 | const tree1 = new MerkleTree(seed, start + count, count, security); 22 | let index = 0; 23 | 24 | // Get the trytes of the MAM transactions 25 | const mam = new MAM.create({ 26 | message: iota.utils.toTrytes(message), 27 | merkleTree: tree0, 28 | index: index, 29 | nextRoot: tree1.root.hash.toString(), 30 | channelKey: channelKey, 31 | }); 32 | 33 | // Depth 34 | const depth = 4; 35 | 36 | // minWeighMagnitude 37 | const minWeightMagnitude = 13; 38 | 39 | console.log("Next Key: " + mam.nextKey); 40 | 41 | // Send trytes 42 | iota.api.sendTrytes(mam.trytes, depth, minWeightMagnitude, (err, tx) => { 43 | if (err) 44 | console.log(err); 45 | else 46 | console.log(tx); 47 | }); 48 | -------------------------------------------------------------------------------- /lib/encryption.js: -------------------------------------------------------------------------------- 1 | var Crypto = require('iota.crypto.js'); 2 | 3 | function trinarySum(a, b) { 4 | const result = a + b; 5 | return result == 2 ? -1 : result == -2 ? 1 : result; 6 | } 7 | 8 | function increment(subseed, count) { 9 | let index = count == null || count < 1 ? 1 : count; 10 | while (index-- > 0) { 11 | for (let j = 0; j < 243; j++) { 12 | if (++subseed[j] > 1) { 13 | subseed[j] = -1; 14 | } else { 15 | break; 16 | } 17 | } 18 | } 19 | return subseed; 20 | } 21 | 22 | function hash(...keys) { 23 | const curl = new Crypto.curl(); 24 | const key = new Int32Array(curl.HASH_LENGTH); 25 | curl.initialize(); 26 | keys.map(k => curl.absorb(k, 0, k.length)); 27 | curl.squeeze(key, 0, curl.HASH_LENGTH); 28 | return key; 29 | } 30 | 31 | function encrypt(message, key, salt) { 32 | const curl = new Crypto.curl(); 33 | curl.initialize(); 34 | curl.absorb(Crypto.converter.trits(key), 0, key.length); 35 | if (salt != null) { 36 | curl.absorb(Crypto.converter.trits(salt), 0, salt.length); 37 | } 38 | const length = message.length * 3; 39 | const outTrits = new Int32Array(length); 40 | const intermedaiteKey = new Int32Array(curl.HASH_LENGTH); 41 | return message 42 | .match(/.{1,81}/g) 43 | .map(m => { 44 | curl.squeeze(intermedaiteKey, 0, curl.HASH_LENGTH); 45 | const out = Crypto.converter.trytes( 46 | Crypto.converter 47 | .trits(m) 48 | .map((t, i) => trinarySum(t, intermedaiteKey[i])), 49 | ); 50 | return out; 51 | }) 52 | .join(''); 53 | } 54 | 55 | function decrypt(message, key, salt) { 56 | const curl = new Crypto.curl(); 57 | curl.initialize(); 58 | curl.absorb(Crypto.converter.trits(key), 0, key.length); 59 | if (salt != null) { 60 | curl.absorb(Crypto.converter.trits(salt), 0, salt.length); 61 | } 62 | const messageTrits = Crypto.converter.trits(message); 63 | const length = messageTrits.length; 64 | const plainTrits = new Int32Array(length); 65 | const intermedaiteKey = new Int32Array(curl.HASH_LENGTH); 66 | return message 67 | .match(/.{1,81}/g) 68 | .map(m => { 69 | curl.squeeze(intermedaiteKey, 0, curl.HASH_LENGTH); 70 | const out = Crypto.converter.trytes( 71 | Crypto.converter 72 | .trits(m) 73 | .map((t, i) => trinarySum(t, -intermedaiteKey[i])), 74 | ); 75 | return out; 76 | }) 77 | .join(''); 78 | } 79 | 80 | module.exports = { 81 | encrypt, 82 | decrypt, 83 | increment, 84 | hash, 85 | }; 86 | -------------------------------------------------------------------------------- /lib/mam.client.js: -------------------------------------------------------------------------------- 1 | const MAM = require('./mam'); 2 | const Encryption = require('./encryption'); 3 | const Merkle = require('./merkle'); 4 | 5 | module.exports = { 6 | MAM, 7 | Encryption, 8 | Merkle 9 | }; 10 | -------------------------------------------------------------------------------- /lib/mam.js: -------------------------------------------------------------------------------- 1 | const Crypto = require('iota.crypto.js'); 2 | const Encryption = require('./encryption'); 3 | const MerkleTree = require('./merkle'); 4 | const crypto = require('crypto'); 5 | 6 | const HASH_LENGTH = 243; 7 | const NULL_HASH_TRYTES = new Array(81).join('9'); 8 | 9 | function buffer(array, value, size) { 10 | const remaining = array.length % size; 11 | const copy = array.slice(); 12 | for(let i = 0; i < remaining; i++) { 13 | copy.concat(value); 14 | } 15 | return copy; 16 | } 17 | 18 | function bufferLength(length) { 19 | return 2187 - ( length - Math.floor(length/2187)*2187 ) 20 | } 21 | 22 | const sign = function (message, key, bundle) { 23 | if(bundle == null) { 24 | bundle = new Crypto.bundle(); 25 | } 26 | const normalizedHash = bundle.normalizedBundle(messageHash(message)).slice(0,27); 27 | return Crypto.signing.signatureFragment(normalizedHash, key); 28 | } 29 | 30 | function channelKey(seed, salt) { 31 | const key = seed.slice(); 32 | const curl = new Crypto.curl(); 33 | curl.initialize(); 34 | Encryption.increment(key); 35 | return Encryption.hash(key, salt); 36 | } 37 | 38 | function generateSalt(length) { 39 | const salt = []; 40 | const charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ9'; 41 | while (length > 0) { 42 | let bytes; 43 | while (true) { 44 | try { 45 | bytes = crypto.randomBytes(Math.ceil(length * 256 / 243)); 46 | break; 47 | } 48 | catch(e) { 49 | continue; 50 | } 51 | } 52 | for (let i = 0; i < bytes.length && length > 0; i++) { 53 | const byte = bytes.readUInt8(i); 54 | if (byte < 243) { 55 | salt.push(charset.charAt(byte % 27)); 56 | length--; 57 | } 58 | } 59 | } 60 | return salt.join(''); 61 | } 62 | 63 | const create = function (options) { 64 | 65 | const treeSize = options.merkleTree.root.size(); 66 | const keyIndex = options.index % treeSize; 67 | const key = options.merkleTree.get(keyIndex); 68 | 69 | let tree = key.tree.reduce((a, b) => { 70 | var h = b.hash.value; 71 | var c = a.concat(h); 72 | return c; 73 | }, []); 74 | 75 | tree = Crypto.converter.trytes(tree).concat(Array(81).fill('9').join('')); 76 | 77 | const indexTrits = Crypto.converter.fromValue(options.index); 78 | const indexTrytes = Crypto.converter.trytes(indexTrits.concat(new Array(Math.ceil(indexTrits.length/3)*3 - indexTrits.length).fill(0))).concat('999999999999999999999999999').substr(0, 27); 79 | let messageTrytes = options.nextRoot.concat(options.message); 80 | const treeTrytes = key.tree.toString().concat(NULL_HASH_TRYTES); 81 | const salt = generateSalt(27); 82 | const checksum = "999999999"; 83 | const length = bufferLength(messageTrytes.length + indexTrytes.length + tree.length + checksum.length); 84 | messageTrytes = messageTrytes.concat(new Array(length).fill('9').join('')); 85 | 86 | 87 | const transfers = []; 88 | 89 | const hash = messageHash(messageTrytes); 90 | const bundle = new Crypto.bundle(); 91 | const signature = sign(messageTrytes, key.key.key, bundle); 92 | 93 | const messageOut = Crypto.converter.trytes(signature).concat(indexTrytes).concat(tree).concat(messageTrytes).concat(checksum); 94 | const cipher = Encryption.encrypt(messageOut, options.channelKey, salt); 95 | 96 | const signatureFragments = cipher.match(/.{1,2187}/g); 97 | const address = messageID(options.channelKey, options.channelKeyIndex, options.channelKeyIndex);//Crypto.converter.trytes(channel); 98 | const value = 0; 99 | const tag = salt; 100 | const timestamp = Math.floor(Date.now() / 1000); 101 | 102 | bundle.addEntry(signatureFragments.length, address, value, tag, timestamp); 103 | bundle.finalize(); 104 | bundle.addTrytes(signatureFragments); 105 | 106 | const trytes = bundle.bundle.map((tx) => Crypto.utils.transactionTrytes(tx)).reverse(); 107 | const nextKey = Crypto.converter.trytes(channelKey(Crypto.converter.trits(options.channelKey), Crypto.converter.trits(salt))); 108 | return {trytes, nextKey}; 109 | } 110 | 111 | const messageHash = function (message) { 112 | const curl = new Crypto.curl(); 113 | const hash = new Int32Array(HASH_LENGTH); 114 | const messageTrits = Crypto.converter.trits(message); 115 | curl.initialize(); 116 | curl.absorb(messageTrits, 0, messageTrits.length); 117 | curl.squeeze(hash, 0, hash.length); 118 | return Crypto.converter.trytes(hash); 119 | } 120 | 121 | const messageID = function (channelKey) { 122 | const curl = new Crypto.curl(); 123 | const channel = new Int32Array(Crypto.converter.trits(channelKey)); 124 | Encryption.hash(channel); 125 | Encryption.hash(channel); 126 | return Crypto.converter.trytes(channel); 127 | } 128 | 129 | const reverse = s => s.split("").reverse().join(""); 130 | 131 | const parse = function(options) { 132 | const cipher = options.message.join(''); 133 | const salt = options.tag; 134 | const messages = Encryption.decrypt(cipher, options.key, salt).match(/.{1,2187}/g); 135 | const signature = messages.shift(); 136 | const afterSignature = messages.join(''); 137 | const index = Crypto.converter.value( Crypto.converter.trits( afterSignature.substr(0, 27 ) ) ); 138 | let hashes = afterSignature.substring(27, afterSignature.length) 139 | .match(/^(?:(?![9]{81}).{81})*(?=[9]{81})/) 140 | .map( m => m.match(/.{81}/g)) 141 | .shift(); 142 | const signedPortion = reverse(afterSignature).match(/.*(?=[9]{81})/).map(reverse).shift(); 143 | const nextRoot = signedPortion.substring(0,81); 144 | var bundle = new Crypto.bundle(); 145 | const normalizedHash = bundle.normalizedBundle(messageHash(signedPortion)).slice(0, 27); 146 | const signingKey = Crypto.signing.address(Crypto.signing.digest(normalizedHash, Crypto.converter.trits(signature))) 147 | const root = Crypto.converter.trytes(MerkleTree.verify(signingKey, hashes.map(h => Crypto.converter.trits(h)), index)); 148 | const message = signedPortion.substring(81).match(/^(?:(?![9]{81}).)*(?=[9]*)/).shift(); 149 | const nextKey = Crypto.converter.trytes(channelKey(Crypto.converter.trits(options.key), Crypto.converter.trits(salt))); 150 | return { message, root, nextRoot, nextKey } 151 | } 152 | 153 | module.exports = { 154 | create, 155 | messageID, 156 | messageHash, 157 | sign, 158 | //channelKey, 159 | parse 160 | }; 161 | -------------------------------------------------------------------------------- /lib/merkle.js: -------------------------------------------------------------------------------- 1 | const Crypto = require('iota.crypto.js'); 2 | const Converter = Crypto.converter; 3 | 4 | const HASH_LENGTH = 243; 5 | 6 | function Hash(trits) { 7 | this.value = trits; 8 | this.toString = () => { 9 | return Crypto.converter.trytes(this.value); 10 | } 11 | } 12 | 13 | function Key(seed, index, security) { 14 | const key = Crypto.signing.key(seed, index, security); 15 | const digests = Crypto.signing.digests(key); 16 | const address = Crypto.signing.address(digests); 17 | //var address = Crypto.converter.trytes(addressTrits); 18 | this.key = key; 19 | this.hash = new Hash(address); 20 | this.size = () => 1; 21 | this.get = () => this; 22 | } 23 | 24 | function combineHashes(first, second, curl) { 25 | const subroot = new Array(HASH_LENGTH); 26 | curl.initialize(); 27 | curl.absorb(first.value, 0, HASH_LENGTH); 28 | curl.absorb(second.value, 0, HASH_LENGTH); 29 | curl.squeeze(subroot, 0, HASH_LENGTH); 30 | return new Hash(subroot); 31 | } 32 | 33 | function MerkleNode(left, right, curl) { 34 | this.hash = combineHashes(left.hash, right == null? left.hash: right.hash, curl); 35 | this.left = left; 36 | if(right) { 37 | this.right = right; 38 | } 39 | this.size = () => { 40 | return this.left.size() + (this.right == undefined ? 0 : this.right.size()); 41 | } 42 | }; 43 | 44 | function computeMerkleTree(nodes, curl) { 45 | const subnodes = []; 46 | while (nodes.length != 0) { 47 | subnodes.push(new MerkleNode(nodes.shift(), nodes.shift(), curl)); 48 | } 49 | if (subnodes.length == 1) { 50 | return subnodes[0]; 51 | } 52 | return computeMerkleTree(subnodes, curl); 53 | } 54 | function MerkleTree(seed, start, count, security) { 55 | const seedTrits = Crypto.converter.trits(seed); 56 | const keys = []; 57 | const end = start + count; 58 | for (let i = start; i < end; i++) { 59 | keys.push(new Key(seedTrits, i, security)); 60 | } 61 | this.root = computeMerkleTree(keys, new Crypto.curl()); 62 | this.get = function (index) { 63 | const tree = []; 64 | let node = this.root; 65 | let key = null; 66 | let size = node.size(); 67 | if (index < size) { 68 | while (node != null) { 69 | if (node.left == null) { 70 | key = node; 71 | break; 72 | } 73 | size = node.left.size() 74 | if (index < size) { 75 | if (node.right != null) { 76 | tree.unshift(node.right); 77 | } else { 78 | tree.unshift(node.left); 79 | } 80 | node = node.left; 81 | } else { 82 | tree.unshift(node.left); 83 | node = node.right; 84 | index -= size; 85 | } 86 | } 87 | } 88 | tree.toString = () => { 89 | return tree.reduce((a,b) => { 90 | return a.concat(b.hash.toString()); 91 | }, ""); 92 | } 93 | return { 94 | key: key, 95 | tree: tree 96 | }; 97 | } 98 | }; 99 | 100 | MerkleTree.verify = function(input, tree, index, curl) { 101 | if(curl == null) { 102 | curl = new Crypto.curl(); 103 | } 104 | let indexCopy = index; 105 | const hash = new Int32Array(input); 106 | tree.forEach(function(v, i) { 107 | curl.initialize(); 108 | if(indexCopy & 1) { 109 | curl.absorb(v, 0, HASH_LENGTH); 110 | curl.absorb(hash, 0, HASH_LENGTH); 111 | } else { 112 | curl.absorb(hash, 0, HASH_LENGTH); 113 | curl.absorb(v, 0, HASH_LENGTH); 114 | } 115 | indexCopy >>= 1; 116 | curl.squeeze(hash, 0, HASH_LENGTH); 117 | }); 118 | return hash; 119 | } 120 | 121 | module.exports = MerkleTree; 122 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mam.client.js", 3 | "version": "0.2.2", 4 | "description": "A library to encrypt, decrypt, and sign masked messages", 5 | "main": "lib/mam.client.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "scripts": { 10 | "test": "mocha" 11 | }, 12 | "bin": { 13 | "mam_encrypt": "./bin/mam_encrypt.js" 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/iotaledger/mam.client.js.git" 18 | }, 19 | "keywords": [ 20 | "iota", 21 | "tangle", 22 | "message", 23 | "mam", 24 | "encryption" 25 | ], 26 | "author": "Paul Handy", 27 | "license": "MIT", 28 | "bugs": { 29 | "url": "https://github.com/iotaledger/mam.client.js/issues" 30 | }, 31 | "homepage": "https://github.com/iotaledger/mam.client.js#readme", 32 | "devDependencies": { 33 | "bower": "^1.8.0", 34 | "browserify": "^14.1.0", 35 | "chai": "^3.5.0", 36 | "del": "^2.2.2", 37 | "gulp": "^3.9.1", 38 | "gulp-jshint": "^2.0.2", 39 | "gulp-nsp": "^2.4.2", 40 | "gulp-rename": "^1.2.2", 41 | "gulp-replace": "^0.5.4", 42 | "gulp-uglify": "^2.1.2", 43 | "iota.lib.js": "^0.2.6", 44 | "jshint": "^2.9.4", 45 | "mocha": "^3.2.0", 46 | "vinyl-buffer": "^1.0.0", 47 | "vinyl-source-stream": "^1.1.0" 48 | }, 49 | "dependencies": { 50 | "commander": "^2.11.0", 51 | "iota.crypto.js": "iotaledger/iota.crypto.js" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /test/encryption/encryption.decrypt.js: -------------------------------------------------------------------------------- 1 | var chai = require('chai'); 2 | var assert = chai.assert; 3 | var Encryption = require('../../lib/encryption'); 4 | 5 | describe('encryption.encrypt', function() { 6 | 7 | var tests = [ 8 | { 9 | cipher: "BQTX", 10 | key: "DASR", 11 | expected: "ASDF", 12 | }, 13 | { 14 | cipher: "CFYKZHLHWMPXAAPJFVUZXHAKMWIUFZNQQGVBQ9FBLKKCBW9SKFNSVDKXMVTNQYCHKTTLTB9LHCYHU9COCBOKJJFWGYUAMLTGLPWEJEOBYOVPWMWFZQM9UQTJNFXQOYHLJND9GTTOMXVPRMSWXHOUXIVISUDDZIKSXNSBBJPT9YGEFPOORIVNCGFK9DSCTLLFJMPLJBYFJSXFDQYWVMXAVGMHIPBGVHTAKY9V9FSEJTP99VKLIFALMEMMVKBIT9ZOWNCTL9EXOWOLYQUOABPJOCQSRDKCAGMZNSTURGTVJPDLUDGJLSNSRJVQWJTVBBGTDAZUZHSSRWOVRPZBPKXHXPP9Y99JJJRTJDYPPVCSGZISBQUXFB9SIYMHUUAZFVZDOVYJGPISVUIYLWTJTVGMHQDUJVXEODAVOIRJSZKUMPNAHMIWDSVQPUJCHIFSCPKJIJZGFTHNBV9GW9BLSR9OUWMSMIXETGTPWSJGBHJLTOCWCAWQMN9JNSNLFHPTFMMIICFRLAQAKSGB9LIP9AVIOMPSIUQDRUQWFFXKKWAEASMCHWXYBROAUZRSQH9NPDWDZLPKQJSONRJHGXMLUQUJXHFJOXHTKPGKOZGESNLLVBEFKMRMFUESAQRGFDWARLEBYSPWBHRLS9SE9MOJPZHDYELNFMAAZBTKZBPCNRESGYRJACRT9UOTQ9AAQ9ROESDXCSXUTIUFEMVYPNNTISHBIXJOLZSYNKSU9GUGVWFVILFJOZPR9YKOSUWA9PBOUTXFOAHVRAVUMJLEZZOINANEUHLLWCGVIR9YJADHYMGJQOVBYIYYLDWBPCNKEAWAIIJBJMPSO9VHOXLQMFJSVPCMQLFAHFSIUQDRVREIECMNOYDWWANWQVQIMSVDFPZNNGBFXCLWOFNFEBPUN9WHZPBOJMNUCZFK9IYMBNYXIAYFGKWLVNJKNOLVXSQJKSGNDGIRUIGEPBAINHRWMPAAZVKPPFVQSJMVLOCXVAVIEVJAQKJK9EUBIJCEYJFQGVPLUZANVR9DGBMZWF9DFISLNPUCWIOAKPFDIDGYYEPCROUDJ9HOXSDWGGXQEBHRSEDBXPTEHCTSPTDCGNFRFLAOVCWFPESKNAWGGQCGHKLKZGKCZAIEOOT9XCAIQUXCMPML9YKTZYITENOJLRNYPBHMZSIAHWDMLLGTMJBVSDRBBWJWAKMWFZ9SEJEFBXOBRVFBKJBNYMTXSIHOYOLWKYUKPDYRTRMMJKUFEPLOPCEOBHWVMVNCDMZEMRFZAJBEEIDMYJKAY9ASTWOWXONUQUUFCIFDJBXHEGNWRYIQDMWTVJCQMRKMMWNYVJCGSAS9LP9RQUDSBM9UDNXVA9MNEZEGLWUPYVMXXUFXFGQLUHJJPCGQL9ZFKO9EFSQANISQHLMJQKAINHTDEKYYIFMXWE9LHRBPORRBZ9UGTMIYGAIIAHQRVIZLBYXQPQTGHVOEFJORBODLNVYQTRVDMSRVHKUEGAAVHWPMBYEWARHGMXDUGUXDDCOKTICHO9OQTYGHQZMGIRNB9KNFQL9FICDJIAPVFWKKSOSHW9UVDSVYABRCGHYVN9FFLX9BBGTCPTXYTR9TB9RWDMWAVJB9WNVJLIBJOHYULSUQTGNJNTXQUHINXGV9GWGAMQEUIJOHIJGJVBMIEBZQURQMCELAHDFKRANDLODQOSG9A9SYVKCZEOPQLTWNHRTAOJQZXQJHLDCXUOQWPXGI9QZJRGNXOVEHLZBHBXEDLWSGBNGROGHOVUVVYRWVGDGCVEQPSGHSIKKHRBHAZRJARWYJPT9XFP9UWSNSUUVRIHMOONBTAQ9NJOZKVQRTLYPXBMHVKDBKCOLVPXWXDVHULSVS9DKTWRYASMULAXC9SPXXV9RREBGADIFPJCAVOSPKUKKMGJQWQPJIMPODTHEWECVVUWVKEDGTYGTTONFQKXMDKSZPVBQLHGBQAIDFQIIO9RDAPZJLJTIRKFMFWMQIKUBZGTQQJTDKUMXQXULGXZQUOCSKDDZBKEFFLOOSTVYLFFADFVBMEGWEPNRQLJWRDASIBYCBEAN9RGULWASDYBZCMUAXIHUEILUBXBTNARUDOVEHSVZ9NDYZUJAZVUXQNIBZPIGZQGFJHACDOLASKYYECXBCTEAGIZJVFJQVXQFQLBOFILV9ZWSSGNCAZLLHWCC9FSHADYXOXABDUTCFUVAOMAROAYVUGWIVYHLDLOHMYCMTERNQEFPYEIEBOLTWXJJITW9CQTPXAAMODFACMTJXEQZEQYFQHFOFHOOSEXJXQX9TRQYGQUKOEGAXODZWUREAROL9KQGLSRYTFSLATFGJMAHHZMBWNPGIZGIXNEXMHKUXRPXWRGLMKJKDYW9BGRAGNINPNNEBXDGWJ9PU9WQZRFOTNNTCIAIFFAJFYEXZXBCEDEGMRDUSARJJOKJZBGIMASXQUAFRTMJIKWMABTUINVCGXKTDPVYEZBPXQEJWBUEXTYWZNUSTXUZ9PXGOXJBHBATPVFCK9YIODDGUIFFXPIO9OZQMQYEXIKKLYMXEOONLRPOZXRJTNYILBJAOSLNPWRMR9WQIOHQMXLAOXZXYWC99BUKT9IVRZNYDMZLZJYEVSXWMVUVA9YORAMPVUSLKKDFYAQSOXRYLOUDJNNLSZAEUJLSEW9TXRQEFMPBBNYLSJBTOELO9LBHUHQXCISEPXLBGYKOMRKQNDC9HMNIFFIFXYDULIOADACTKIXLZ9CUWXFSPPCPALFTILZCTXOWOGCJODTKMCLNRPXZIBVAETDJWUISAMFAFNEYQDUYAJOGXRIVPEYAYAQGFJXASZFROVCLIFCXOCENXJZBHFSODRKGHPDGZVLXIHGXTHEKCALFEAQITDANBK9NMESZXTLXJTYCCDSPUASBTZEHLTNWEHGVXKZZQSPTXGEMUTSEKXVKJGJAXONACCKDY9VHPIJXGMZAGCFXZSOHYQUYUOPBKDFEFIMHJRTRTGMXCGQZ9QYUHTIPM9OAWBWUHQWSHDKMJVMPPSAFEQMWG9LEYRVINLLCWLKKVESLMBDKTXNQOQKGQIJHP9HDYOEHVKHFFHYMIZXFSOT9CSCYGYFHYIGVHDWMSOZXPSHHPZOWAPUNOY9ZORYRIFHEWRPUXUUAGBENKDLTSHLQIFCHVS9IPKFKVBNERQKT9AFWLJZAHUMRJRU9GDQYVHHYCOMFBCZHGQHRYIQPHEHJEUMPVFRBAECZNWHGEPGKJBYKSVUXAYG9PSZLNNQWAGWLIZY9GPHXTYBEZJBEOOLBCCBRWWGEBFLPQKXNU9SALTAA9UXHMJAQJLRQD9YNDUISK9DKHQG9XIQDRKQNMWZEAUDFR9TKSYKKBVKANBN9XD9LZCGOJPMPPORBZIHJRIKJGJXYLERTTVCRU9IZNQJCTVGNK9NECFKJLCIXTYDJKH9GLPMX9PSEPWMGXCSOGQCNN9KHDEWVEMRRKDSFPMSXADGJFNSNLWEVEEGCGYPJQKYPV9INTEUWTAWHPPMLTAIQNNCVEROOA9BHCN9FS99XQOQFNTSN9KOSRPQAFVZEEGRDEWMLPCHYNYLFOZZQPKNJMAJTQQ9YHVSKYAMHTZ9GXIR9BNSOJTSCHHKGEAKJDANUUKGZXUNXXLHWRSDGEXDJJYXDTMFXLS9UDYNRKDUJOVIWWYYQUQQCPXOUSTORCANODRKFEOOEGVJMJIGXVNBPHKTJPUMMQQMRBQTZQOXOPQENTHSCPKOAOCORONLAJETTVWMKBUU9FIXBNFUVUXOEFYKGRSUGMBVQJQEW9ECUTTDMGSYVZEETVHFYWPHCOCMEUVBPYGCRDGAXZXWEHGARCNRVPGTKXKMODPZMWLRXEINIHAWGXGFFNZSOGWBELTGUFRVKLNMREFNTCLDJBNTMIYCXZNMVLTXTRYHUDMVZROAYBFEHRHKRPJRS9F9XSSUHFXGYVDBHISCHYEFIX9JCHSVPFREPXBQJFQDYFAUMFDCZVYGHNJDRLHXDXUGHTDGGWGGZXFSSOASCCDWYLVTNSQWUJMV9YOPEJCVLOJCEPIFOARYRKRQFAUWPVVVHZMYOWIUFEMMLGCXNUOTAWOPC99ZEAXTA9EIPEZZFWLBTORRSGMB9RSUHEZWHXOGJGXDK9HQFULKBEVQJGCLLFAGQVHOGPFAWOTD9AKO9OP9EINBSTHFYCVWOIGVETJGFABRYSNRHYIRLSIVEVJI9XNGCHWBYSVCZPBBRB9NQSSAPLXGMX9VOGQXFOCHZALRZWPHIHNSTFTSARPRHNPLNIJWQSWQYJTFHVCBNSDNLTTCK9JILBVTIAPZPSDDIWCHBEMUATURM9WNGHOCCSBGQFKNGHMSMNQQLIPMPYEAJBBMZEJMEVZCPTJQ", 15 | seed: "JLHQLDCYRVNJVOOUQ9DDZXJYOQVODPXS9XPXDLTLAOIAYANJZOM9KHLFUVLARJKLBVH9GPYFKKACWRUQL", 16 | } 17 | ] 18 | 19 | tests.forEach(function(test) { 20 | 21 | it('should create cipher from: ' + test.cipher + ' with key ' + test.key + ' that equals: ' + test.expected, function() { 22 | if(test.seed) { 23 | var key = Encryption.key(test.seed, 1, 1, test.cipher.length*3); 24 | var text = Encryption.decrypt(test.cipher, key); 25 | } else { 26 | var plain = Encryption.decrypt(test.cipher, test.key); 27 | assert.equal(plain, test.expected); 28 | } 29 | }); 30 | }) 31 | }); 32 | -------------------------------------------------------------------------------- /test/encryption/encryption.encrypt.js: -------------------------------------------------------------------------------- 1 | var chai = require('chai'); 2 | var assert = chai.assert; 3 | var Encryption = require('../../lib/encryption'); 4 | 5 | describe('encryption.encrypt', function() { 6 | 7 | var tests = [ 8 | { 9 | message: "ASDF", 10 | key: "DASR", 11 | expected: "BQTX" 12 | }, 13 | ] 14 | 15 | tests.forEach(function(test) { 16 | 17 | it('should create cipher from: ' + test.message + ' with key ' + test.key + ' that equals: ' + test.expected, function() { 18 | 19 | var cipher = Encryption.encrypt(test.message, test.key); 20 | 21 | assert.equal(cipher, test.expected); 22 | }); 23 | }) 24 | }); 25 | -------------------------------------------------------------------------------- /test/mam/mam.channelKey.js: -------------------------------------------------------------------------------- 1 | var chai = require('chai'); 2 | var assert = chai.assert; 3 | var MAM = require('../../lib/mam'); 4 | var Crypto = require('crypto.iota.js'); 5 | 6 | describe('MAM.channelKey', function() { 7 | 8 | var tests = [ 9 | { 10 | seed: "KXRVLFETGUTUWBCNCC9DWO99JQTEI9YXVOZHWELSYP9SG9KN9WCKXOVTEFHFH9EFZJKFYCZKQPPBXYSGJ", 11 | length: 993, 12 | }, 13 | ] 14 | 15 | tests.forEach(function(test) { 16 | 17 | it('should create key from: ' + test.seed + ' of length ' + test.length + ' equal to ' + test.expected, function() { 18 | var key = MAM.channelKey(Crypto.converter.trits(test.seed), 1); 19 | var key1 = MAM.channelKey(key, 1); 20 | var key2 = MAM.channelKey(key1, 1); 21 | assert.notDeepEqual(key1, key2); 22 | }); 23 | }) 24 | }); 25 | -------------------------------------------------------------------------------- /test/mam/mam.newMaskedAuthenticationMessage.js: -------------------------------------------------------------------------------- 1 | 2 | var chai = require('chai'); 3 | var assert = chai.assert; 4 | var MAM = require('../../lib/mam'); 5 | var MerkleTree = require('../../lib/merkle'); 6 | var Crypto = require('crypto.iota.js'); 7 | 8 | describe('new.MAM', function() { 9 | 10 | var tests = [ 11 | // Valid bundle 12 | { 13 | seed: "KXRVLFETGUTUWBCNCC9DWO99JQTEI9YXVOZHWELSYP9SG9KN9WCKXOVTEFHFH9EFZJKFYCZKQPPBXYSGJ", 14 | encryptionSeed: "9XRVLFETGUTUWBCNCC9DWO99JQTEI9YXVOZHWELSYP9SG9KN9WCKXOVTEFHFH9EFZJKFYCZKQPPBXYSGJ", 15 | message: "HELLOWORLDIAMATRYTE9ENCODEDSTRINGMADEBYIOTALIB9JSUTILASCIITOTRYTES", 16 | encryptionKeyIndex: 1, 17 | channelKeyIndex: 1, 18 | start: 3, 19 | count: 4, 20 | security: 1, 21 | }, 22 | ] 23 | 24 | tests.forEach(function(test) { 25 | 26 | it('should create a signed, encrypted message with merkle tree on channel' + test.seed + ' with ', function() { 27 | var tree0 = new MerkleTree(test.seed, test.start, test.count, test.security); 28 | var tree1 = new MerkleTree(test.seed, test.start + test.count, test.count, test.security); 29 | var index; 30 | for(index = 1; index < tree0.root.size(); index++) { 31 | var mamTransactions = new MAM.create({ 32 | message: test.message, 33 | merkleTree: tree0, 34 | nextRoot: tree1.root.hash.toString(), 35 | channelKey: test.encryptionSeed, 36 | channelKeyIndex: test.channelKeyIndex, 37 | encryptionKeyIndex: test.encryptionKeyIndex, 38 | index: index 39 | }); 40 | assert.notEqual(mamTransactions.length, 0); 41 | } 42 | }); 43 | 44 | }) 45 | }); 46 | -------------------------------------------------------------------------------- /test/merkle/merkle.get.js: -------------------------------------------------------------------------------- 1 | var chai = require('chai'); 2 | var assert = chai.assert; 3 | var MAM = require('../../lib/mam'); 4 | var MerkleTree = require('../../lib/merkle'); 5 | var Crypto = require('crypto.iota.js'); 6 | var Converter = Crypto.converter; 7 | 8 | describe('MerkleTree.get', function () { 9 | 10 | var tests = [ 11 | // Valid bundle 12 | { 13 | seed: "KXRVLFETGUTUWBCNCC9DWO99JQTEI9YXVOZHWELSYP9SG9KN9WCKXOVTEFHFH9EFZJKFYCZKQPPBXYSGJ", 14 | start: 3, 15 | count: 9, 16 | security: 1, 17 | }, 18 | ] 19 | 20 | tests.forEach(function (test) { 21 | 22 | it('should return a key and its relative merkle hashes: ' + test.seed + ' with ', function () { 23 | var tree, chosenKey, index; 24 | tree = new MerkleTree(test.seed, test.start, test.count, test.security); 25 | index = 0; 26 | var rootTrytes = tree.root.hash.toString(); 27 | assert.equal(test.count, tree.root.size()); 28 | const thingToSign = "ABCDEFGHIJK"; 29 | const bundle = new Crypto.bundle(); 30 | for (index = 0; index < test.count; index++) { 31 | chosenKey = tree.get(index); 32 | const normalizedHash = bundle.normalizedBundle(MAM.messageHash(thingToSign)).slice(0,27); 33 | const signature = Crypto.signing.signatureFragment(normalizedHash, chosenKey.key.key); 34 | var calculatedRoot = Crypto.converter.trytes(MerkleTree.verify(Crypto.signing.address(Crypto.signing.digest(normalizedHash, signature)), 35 | chosenKey.tree.map(k => k.hash.value),// .toString().match(/.{81}/g), 36 | index)); 37 | assert.equal(rootTrytes, calculatedRoot); 38 | } 39 | }); 40 | 41 | }) 42 | }); -------------------------------------------------------------------------------- /test/merkle/merkle.treeGen.js: -------------------------------------------------------------------------------- 1 | var chai = require('chai'); 2 | var assert = chai.assert; 3 | var MerkleTree = require('../../lib/merkle'); 4 | 5 | describe('new.MerkleTree', function() { 6 | 7 | var tests = [ 8 | // Valid bundle 9 | { 10 | seed: "KXRVLFETGUTUWBCNCC9DWO99JQTEI9YXVOZHWELSYP9SG9KN9WCKXOVTEFHFH9EFZJKFYCZKQPPBXYSGJ", 11 | start: 3, 12 | count: 9, 13 | security: 1, 14 | expected: "FPYBTCXTXJRTTUGXWWXKZRLMYXUPYTEJWHJODPQAAEAFBESDMV9EWZZZIZULEJDJMEW9XIQTGHNXNPVBL", 15 | }, 16 | ] 17 | 18 | tests.forEach(function(test) { 19 | 20 | it('should create a new merkle tree from seed: ' + test.seed + ' with ', function() { 21 | 22 | var tree = new MerkleTree(test.seed, test.start, test.count, test.security); 23 | assert.isNotNull(tree.root.hash); 24 | assert.equal(test.expected, tree.root.hash.toString()) 25 | }); 26 | 27 | }) 28 | }); 29 | -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --reporter spec --recursive 2 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | JSONStream@^1.0.3: 6 | version "1.3.1" 7 | resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.1.tgz#707f761e01dae9e16f1bcf93703b78c70966579a" 8 | dependencies: 9 | jsonparse "^1.2.0" 10 | through ">=2.2.7 <3" 11 | 12 | acorn@^4.0.3: 13 | version "4.0.13" 14 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" 15 | 16 | agent-base@2: 17 | version "2.1.1" 18 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-2.1.1.tgz#d6de10d5af6132d5bd692427d46fc538539094c7" 19 | dependencies: 20 | extend "~3.0.0" 21 | semver "~5.0.1" 22 | 23 | align-text@^0.1.1, align-text@^0.1.3: 24 | version "0.1.4" 25 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 26 | dependencies: 27 | kind-of "^3.0.2" 28 | longest "^1.0.1" 29 | repeat-string "^1.5.2" 30 | 31 | ansi-regex@^2.0.0: 32 | version "2.1.1" 33 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 34 | 35 | ansi-styles@^2.2.1: 36 | version "2.2.1" 37 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 38 | 39 | archy@^1.0.0: 40 | version "1.0.0" 41 | resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" 42 | 43 | arr-diff@^2.0.0: 44 | version "2.0.0" 45 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 46 | dependencies: 47 | arr-flatten "^1.0.1" 48 | 49 | arr-flatten@^1.0.1: 50 | version "1.1.0" 51 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 52 | 53 | array-differ@^1.0.0: 54 | version "1.0.0" 55 | resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" 56 | 57 | array-each@^1.0.1: 58 | version "1.0.1" 59 | resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" 60 | 61 | array-filter@~0.0.0: 62 | version "0.0.1" 63 | resolved "https://registry.yarnpkg.com/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec" 64 | 65 | array-map@~0.0.0: 66 | version "0.0.0" 67 | resolved "https://registry.yarnpkg.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662" 68 | 69 | array-reduce@~0.0.0: 70 | version "0.0.0" 71 | resolved "https://registry.yarnpkg.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b" 72 | 73 | array-slice@^1.0.0: 74 | version "1.0.0" 75 | resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.0.0.tgz#e73034f00dcc1f40876008fd20feae77bd4b7c2f" 76 | 77 | array-union@^1.0.1: 78 | version "1.0.2" 79 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 80 | dependencies: 81 | array-uniq "^1.0.1" 82 | 83 | array-uniq@^1.0.1, array-uniq@^1.0.2: 84 | version "1.0.3" 85 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 86 | 87 | array-unique@^0.2.1: 88 | version "0.2.1" 89 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 90 | 91 | arrify@^1.0.0: 92 | version "1.0.1" 93 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 94 | 95 | asn1.js@^4.0.0: 96 | version "4.9.1" 97 | resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.1.tgz#48ba240b45a9280e94748990ba597d216617fd40" 98 | dependencies: 99 | bn.js "^4.0.0" 100 | inherits "^2.0.1" 101 | minimalistic-assert "^1.0.0" 102 | 103 | assert@^1.4.0: 104 | version "1.4.1" 105 | resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" 106 | dependencies: 107 | util "0.10.3" 108 | 109 | assertion-error@^1.0.1: 110 | version "1.0.2" 111 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c" 112 | 113 | astw@^2.0.0: 114 | version "2.2.0" 115 | resolved "https://registry.yarnpkg.com/astw/-/astw-2.2.0.tgz#7bd41784d32493987aeb239b6b4e1c57a873b917" 116 | dependencies: 117 | acorn "^4.0.3" 118 | 119 | async@^2.1.2: 120 | version "2.5.0" 121 | resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" 122 | dependencies: 123 | lodash "^4.14.0" 124 | 125 | balanced-match@^1.0.0: 126 | version "1.0.0" 127 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 128 | 129 | base64-js@^1.0.2: 130 | version "1.2.1" 131 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.1.tgz#a91947da1f4a516ea38e5b4ec0ec3773675e0886" 132 | 133 | beeper@^1.0.0: 134 | version "1.1.1" 135 | resolved "https://registry.yarnpkg.com/beeper/-/beeper-1.1.1.tgz#e6d5ea8c5dad001304a70b22638447f69cb2f809" 136 | 137 | binaryextensions@~1.0.0: 138 | version "1.0.1" 139 | resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-1.0.1.tgz#1e637488b35b58bda5f4774bf96a5212a8c90755" 140 | 141 | bl@^0.9.1: 142 | version "0.9.5" 143 | resolved "https://registry.yarnpkg.com/bl/-/bl-0.9.5.tgz#c06b797af085ea00bc527afc8efcf11de2232054" 144 | dependencies: 145 | readable-stream "~1.0.26" 146 | 147 | bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: 148 | version "4.11.8" 149 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" 150 | 151 | boom@2.x.x: 152 | version "2.10.1" 153 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 154 | dependencies: 155 | hoek "2.x.x" 156 | 157 | bower@^1.8.0: 158 | version "1.8.0" 159 | resolved "https://registry.yarnpkg.com/bower/-/bower-1.8.0.tgz#55dbebef0ad9155382d9e9d3e497c1372345b44a" 160 | 161 | brace-expansion@^1.0.0, brace-expansion@^1.1.7: 162 | version "1.1.8" 163 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 164 | dependencies: 165 | balanced-match "^1.0.0" 166 | concat-map "0.0.1" 167 | 168 | braces@^1.8.2: 169 | version "1.8.5" 170 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 171 | dependencies: 172 | expand-range "^1.8.1" 173 | preserve "^0.2.0" 174 | repeat-element "^1.1.2" 175 | 176 | brorand@^1.0.1: 177 | version "1.1.0" 178 | resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" 179 | 180 | browser-pack@^6.0.1: 181 | version "6.0.2" 182 | resolved "https://registry.yarnpkg.com/browser-pack/-/browser-pack-6.0.2.tgz#f86cd6cef4f5300c8e63e07a4d512f65fbff4531" 183 | dependencies: 184 | JSONStream "^1.0.3" 185 | combine-source-map "~0.7.1" 186 | defined "^1.0.0" 187 | through2 "^2.0.0" 188 | umd "^3.0.0" 189 | 190 | browser-resolve@^1.11.0, browser-resolve@^1.7.0: 191 | version "1.11.2" 192 | resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" 193 | dependencies: 194 | resolve "1.1.7" 195 | 196 | browser-stdout@1.3.0: 197 | version "1.3.0" 198 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 199 | 200 | browserify-aes@^1.0.0, browserify-aes@^1.0.4: 201 | version "1.0.8" 202 | resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.8.tgz#c8fa3b1b7585bb7ba77c5560b60996ddec6d5309" 203 | dependencies: 204 | buffer-xor "^1.0.3" 205 | cipher-base "^1.0.0" 206 | create-hash "^1.1.0" 207 | evp_bytestokey "^1.0.3" 208 | inherits "^2.0.1" 209 | safe-buffer "^5.0.1" 210 | 211 | browserify-cipher@^1.0.0: 212 | version "1.0.0" 213 | resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.0.tgz#9988244874bf5ed4e28da95666dcd66ac8fc363a" 214 | dependencies: 215 | browserify-aes "^1.0.4" 216 | browserify-des "^1.0.0" 217 | evp_bytestokey "^1.0.0" 218 | 219 | browserify-des@^1.0.0: 220 | version "1.0.0" 221 | resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.0.tgz#daa277717470922ed2fe18594118a175439721dd" 222 | dependencies: 223 | cipher-base "^1.0.1" 224 | des.js "^1.0.0" 225 | inherits "^2.0.1" 226 | 227 | browserify-rsa@^4.0.0: 228 | version "4.0.1" 229 | resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" 230 | dependencies: 231 | bn.js "^4.1.0" 232 | randombytes "^2.0.1" 233 | 234 | browserify-sign@^4.0.0: 235 | version "4.0.4" 236 | resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" 237 | dependencies: 238 | bn.js "^4.1.1" 239 | browserify-rsa "^4.0.0" 240 | create-hash "^1.1.0" 241 | create-hmac "^1.1.2" 242 | elliptic "^6.0.0" 243 | inherits "^2.0.1" 244 | parse-asn1 "^5.0.0" 245 | 246 | browserify-zlib@~0.1.2: 247 | version "0.1.4" 248 | resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" 249 | dependencies: 250 | pako "~0.2.0" 251 | 252 | browserify@^14.1.0: 253 | version "14.4.0" 254 | resolved "https://registry.yarnpkg.com/browserify/-/browserify-14.4.0.tgz#089a3463af58d0e48d8cd4070b3f74654d5abca9" 255 | dependencies: 256 | JSONStream "^1.0.3" 257 | assert "^1.4.0" 258 | browser-pack "^6.0.1" 259 | browser-resolve "^1.11.0" 260 | browserify-zlib "~0.1.2" 261 | buffer "^5.0.2" 262 | cached-path-relative "^1.0.0" 263 | concat-stream "~1.5.1" 264 | console-browserify "^1.1.0" 265 | constants-browserify "~1.0.0" 266 | crypto-browserify "^3.0.0" 267 | defined "^1.0.0" 268 | deps-sort "^2.0.0" 269 | domain-browser "~1.1.0" 270 | duplexer2 "~0.1.2" 271 | events "~1.1.0" 272 | glob "^7.1.0" 273 | has "^1.0.0" 274 | htmlescape "^1.1.0" 275 | https-browserify "^1.0.0" 276 | inherits "~2.0.1" 277 | insert-module-globals "^7.0.0" 278 | labeled-stream-splicer "^2.0.0" 279 | module-deps "^4.0.8" 280 | os-browserify "~0.1.1" 281 | parents "^1.0.1" 282 | path-browserify "~0.0.0" 283 | process "~0.11.0" 284 | punycode "^1.3.2" 285 | querystring-es3 "~0.2.0" 286 | read-only-stream "^2.0.0" 287 | readable-stream "^2.0.2" 288 | resolve "^1.1.4" 289 | shasum "^1.0.0" 290 | shell-quote "^1.6.1" 291 | stream-browserify "^2.0.0" 292 | stream-http "^2.0.0" 293 | string_decoder "~1.0.0" 294 | subarg "^1.0.0" 295 | syntax-error "^1.1.1" 296 | through2 "^2.0.0" 297 | timers-browserify "^1.0.1" 298 | tty-browserify "~0.0.0" 299 | url "~0.11.0" 300 | util "~0.10.1" 301 | vm-browserify "~0.0.1" 302 | xtend "^4.0.0" 303 | 304 | buffer-xor@^1.0.3: 305 | version "1.0.3" 306 | resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" 307 | 308 | buffer@^5.0.2: 309 | version "5.0.7" 310 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.0.7.tgz#570a290b625cf2603290c1149223d27ccf04db97" 311 | dependencies: 312 | base64-js "^1.0.2" 313 | ieee754 "^1.1.4" 314 | 315 | builtin-status-codes@^3.0.0: 316 | version "3.0.0" 317 | resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" 318 | 319 | cached-path-relative@^1.0.0: 320 | version "1.0.1" 321 | resolved "https://registry.yarnpkg.com/cached-path-relative/-/cached-path-relative-1.0.1.tgz#d09c4b52800aa4c078e2dd81a869aac90d2e54e7" 322 | 323 | camelcase@^1.0.2: 324 | version "1.2.1" 325 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 326 | 327 | center-align@^0.1.1: 328 | version "0.1.3" 329 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 330 | dependencies: 331 | align-text "^0.1.3" 332 | lazy-cache "^1.0.3" 333 | 334 | chai@^3.5.0: 335 | version "3.5.0" 336 | resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" 337 | dependencies: 338 | assertion-error "^1.0.1" 339 | deep-eql "^0.1.3" 340 | type-detect "^1.0.0" 341 | 342 | chalk@^1.0.0, chalk@^1.1.1: 343 | version "1.1.3" 344 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 345 | dependencies: 346 | ansi-styles "^2.2.1" 347 | escape-string-regexp "^1.0.2" 348 | has-ansi "^2.0.0" 349 | strip-ansi "^3.0.0" 350 | supports-color "^2.0.0" 351 | 352 | cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: 353 | version "1.0.4" 354 | resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" 355 | dependencies: 356 | inherits "^2.0.1" 357 | safe-buffer "^5.0.1" 358 | 359 | cli-table@^0.3.1: 360 | version "0.3.1" 361 | resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" 362 | dependencies: 363 | colors "1.0.3" 364 | 365 | cli@~1.0.0: 366 | version "1.0.1" 367 | resolved "https://registry.yarnpkg.com/cli/-/cli-1.0.1.tgz#22817534f24bfa4950c34d532d48ecbc621b8c14" 368 | dependencies: 369 | exit "0.1.2" 370 | glob "^7.1.1" 371 | 372 | cliclopts@^1.1.0: 373 | version "1.1.1" 374 | resolved "https://registry.yarnpkg.com/cliclopts/-/cliclopts-1.1.1.tgz#69431c7cb5af723774b0d3911b4c37512431910f" 375 | 376 | cliui@^2.1.0: 377 | version "2.1.0" 378 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 379 | dependencies: 380 | center-align "^0.1.1" 381 | right-align "^0.1.1" 382 | wordwrap "0.0.2" 383 | 384 | clone-stats@^0.0.1: 385 | version "0.0.1" 386 | resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1" 387 | 388 | clone@^0.2.0: 389 | version "0.2.0" 390 | resolved "https://registry.yarnpkg.com/clone/-/clone-0.2.0.tgz#c6126a90ad4f72dbf5acdb243cc37724fe93fc1f" 391 | 392 | clone@^1.0.0, clone@^1.0.2: 393 | version "1.0.2" 394 | resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" 395 | 396 | colors@1.0.3: 397 | version "1.0.3" 398 | resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" 399 | 400 | combine-source-map@~0.7.1: 401 | version "0.7.2" 402 | resolved "https://registry.yarnpkg.com/combine-source-map/-/combine-source-map-0.7.2.tgz#0870312856b307a87cc4ac486f3a9a62aeccc09e" 403 | dependencies: 404 | convert-source-map "~1.1.0" 405 | inline-source-map "~0.6.0" 406 | lodash.memoize "~3.0.3" 407 | source-map "~0.5.3" 408 | 409 | commander@2.9.0: 410 | version "2.9.0" 411 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 412 | dependencies: 413 | graceful-readlink ">= 1.0.0" 414 | 415 | commander@^2.11.0: 416 | version "2.11.0" 417 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" 418 | 419 | concat-map@0.0.1: 420 | version "0.0.1" 421 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 422 | 423 | concat-stream@~1.5.0, concat-stream@~1.5.1: 424 | version "1.5.2" 425 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.5.2.tgz#708978624d856af41a5a741defdd261da752c266" 426 | dependencies: 427 | inherits "~2.0.1" 428 | readable-stream "~2.0.0" 429 | typedarray "~0.0.5" 430 | 431 | console-browserify@1.1.x, console-browserify@^1.1.0: 432 | version "1.1.0" 433 | resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" 434 | dependencies: 435 | date-now "^0.1.4" 436 | 437 | constants-browserify@~1.0.0: 438 | version "1.0.0" 439 | resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" 440 | 441 | convert-source-map@~1.1.0: 442 | version "1.1.3" 443 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860" 444 | 445 | core-util-is@~1.0.0: 446 | version "1.0.2" 447 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 448 | 449 | create-ecdh@^4.0.0: 450 | version "4.0.0" 451 | resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" 452 | dependencies: 453 | bn.js "^4.1.0" 454 | elliptic "^6.0.0" 455 | 456 | create-hash@^1.1.0, create-hash@^1.1.2: 457 | version "1.1.3" 458 | resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.3.tgz#606042ac8b9262750f483caddab0f5819172d8fd" 459 | dependencies: 460 | cipher-base "^1.0.1" 461 | inherits "^2.0.1" 462 | ripemd160 "^2.0.0" 463 | sha.js "^2.4.0" 464 | 465 | create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: 466 | version "1.1.6" 467 | resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.6.tgz#acb9e221a4e17bdb076e90657c42b93e3726cf06" 468 | dependencies: 469 | cipher-base "^1.0.3" 470 | create-hash "^1.1.0" 471 | inherits "^2.0.1" 472 | ripemd160 "^2.0.0" 473 | safe-buffer "^5.0.1" 474 | sha.js "^2.4.8" 475 | 476 | crypto-browserify@^3.0.0: 477 | version "3.11.1" 478 | resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.1.tgz#948945efc6757a400d6e5e5af47194d10064279f" 479 | dependencies: 480 | browserify-cipher "^1.0.0" 481 | browserify-sign "^4.0.0" 482 | create-ecdh "^4.0.0" 483 | create-hash "^1.1.0" 484 | create-hmac "^1.1.0" 485 | diffie-hellman "^5.0.0" 486 | inherits "^2.0.1" 487 | pbkdf2 "^3.0.3" 488 | public-encrypt "^4.0.0" 489 | randombytes "^2.0.0" 490 | 491 | crypto-js@^3.1.9-1: 492 | version "3.1.9-1" 493 | resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.9-1.tgz#fda19e761fc077e01ffbfdc6e9fdfc59e8806cd8" 494 | 495 | cvss@^1.0.0: 496 | version "1.0.2" 497 | resolved "https://registry.yarnpkg.com/cvss/-/cvss-1.0.2.tgz#df67e92bf12a796f49e928799c8db3ba74b9fcd6" 498 | 499 | date-now@^0.1.4: 500 | version "0.1.4" 501 | resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" 502 | 503 | dateformat@^2.0.0: 504 | version "2.0.0" 505 | resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17" 506 | 507 | debug@2, debug@2.6.8, debug@^2.1.3: 508 | version "2.6.8" 509 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" 510 | dependencies: 511 | ms "2.0.0" 512 | 513 | decamelize@^1.0.0: 514 | version "1.2.0" 515 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 516 | 517 | deep-eql@^0.1.3: 518 | version "0.1.3" 519 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" 520 | dependencies: 521 | type-detect "0.1.1" 522 | 523 | deep-extend@~0.4.0: 524 | version "0.4.2" 525 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" 526 | 527 | defaults@^1.0.0: 528 | version "1.0.3" 529 | resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" 530 | dependencies: 531 | clone "^1.0.2" 532 | 533 | defined@^1.0.0: 534 | version "1.0.0" 535 | resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" 536 | 537 | del@^2.2.2: 538 | version "2.2.2" 539 | resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 540 | dependencies: 541 | globby "^5.0.0" 542 | is-path-cwd "^1.0.0" 543 | is-path-in-cwd "^1.0.0" 544 | object-assign "^4.0.1" 545 | pify "^2.0.0" 546 | pinkie-promise "^2.0.0" 547 | rimraf "^2.2.8" 548 | 549 | deprecated@^0.0.1: 550 | version "0.0.1" 551 | resolved "https://registry.yarnpkg.com/deprecated/-/deprecated-0.0.1.tgz#f9c9af5464afa1e7a971458a8bdef2aa94d5bb19" 552 | 553 | deps-sort@^2.0.0: 554 | version "2.0.0" 555 | resolved "https://registry.yarnpkg.com/deps-sort/-/deps-sort-2.0.0.tgz#091724902e84658260eb910748cccd1af6e21fb5" 556 | dependencies: 557 | JSONStream "^1.0.3" 558 | shasum "^1.0.0" 559 | subarg "^1.0.0" 560 | through2 "^2.0.0" 561 | 562 | des.js@^1.0.0: 563 | version "1.0.0" 564 | resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" 565 | dependencies: 566 | inherits "^2.0.1" 567 | minimalistic-assert "^1.0.0" 568 | 569 | detect-file@^0.1.0: 570 | version "0.1.0" 571 | resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-0.1.0.tgz#4935dedfd9488648e006b0129566e9386711ea63" 572 | dependencies: 573 | fs-exists-sync "^0.1.0" 574 | 575 | detective@^4.0.0: 576 | version "4.5.0" 577 | resolved "https://registry.yarnpkg.com/detective/-/detective-4.5.0.tgz#6e5a8c6b26e6c7a254b1c6b6d7490d98ec91edd1" 578 | dependencies: 579 | acorn "^4.0.3" 580 | defined "^1.0.0" 581 | 582 | diff@3.2.0: 583 | version "3.2.0" 584 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 585 | 586 | diffie-hellman@^5.0.0: 587 | version "5.0.2" 588 | resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e" 589 | dependencies: 590 | bn.js "^4.1.0" 591 | miller-rabin "^4.0.0" 592 | randombytes "^2.0.0" 593 | 594 | dom-serializer@0: 595 | version "0.1.0" 596 | resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" 597 | dependencies: 598 | domelementtype "~1.1.1" 599 | entities "~1.1.1" 600 | 601 | domain-browser@~1.1.0: 602 | version "1.1.7" 603 | resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" 604 | 605 | domelementtype@1: 606 | version "1.3.0" 607 | resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" 608 | 609 | domelementtype@~1.1.1: 610 | version "1.1.3" 611 | resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" 612 | 613 | domhandler@2.3: 614 | version "2.3.0" 615 | resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.3.0.tgz#2de59a0822d5027fabff6f032c2b25a2a8abe738" 616 | dependencies: 617 | domelementtype "1" 618 | 619 | domutils@1.5: 620 | version "1.5.1" 621 | resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" 622 | dependencies: 623 | dom-serializer "0" 624 | domelementtype "1" 625 | 626 | duplexer2@0.0.2: 627 | version "0.0.2" 628 | resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" 629 | dependencies: 630 | readable-stream "~1.1.9" 631 | 632 | duplexer2@^0.1.2, duplexer2@~0.1.0, duplexer2@~0.1.2: 633 | version "0.1.4" 634 | resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" 635 | dependencies: 636 | readable-stream "^2.0.2" 637 | 638 | elliptic@^6.0.0: 639 | version "6.4.0" 640 | resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" 641 | dependencies: 642 | bn.js "^4.4.0" 643 | brorand "^1.0.1" 644 | hash.js "^1.0.0" 645 | hmac-drbg "^1.0.0" 646 | inherits "^2.0.1" 647 | minimalistic-assert "^1.0.0" 648 | minimalistic-crypto-utils "^1.0.0" 649 | 650 | end-of-stream@~0.1.5: 651 | version "0.1.5" 652 | resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-0.1.5.tgz#8e177206c3c80837d85632e8b9359dfe8b2f6eaf" 653 | dependencies: 654 | once "~1.3.0" 655 | 656 | entities@1.0: 657 | version "1.0.0" 658 | resolved "https://registry.yarnpkg.com/entities/-/entities-1.0.0.tgz#b2987aa3821347fcde642b24fdfc9e4fb712bf26" 659 | 660 | entities@~1.1.1: 661 | version "1.1.1" 662 | resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" 663 | 664 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.3: 665 | version "1.0.5" 666 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 667 | 668 | events@~1.1.0: 669 | version "1.1.1" 670 | resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" 671 | 672 | evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: 673 | version "1.0.3" 674 | resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" 675 | dependencies: 676 | md5.js "^1.3.4" 677 | safe-buffer "^5.1.1" 678 | 679 | exit@0.1.2, exit@0.1.x: 680 | version "0.1.2" 681 | resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" 682 | 683 | expand-brackets@^0.1.4: 684 | version "0.1.5" 685 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 686 | dependencies: 687 | is-posix-bracket "^0.1.0" 688 | 689 | expand-range@^1.8.1: 690 | version "1.8.2" 691 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 692 | dependencies: 693 | fill-range "^2.1.0" 694 | 695 | expand-tilde@^1.2.2: 696 | version "1.2.2" 697 | resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-1.2.2.tgz#0b81eba897e5a3d31d1c3d102f8f01441e559449" 698 | dependencies: 699 | os-homedir "^1.0.1" 700 | 701 | expand-tilde@^2.0.2: 702 | version "2.0.2" 703 | resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" 704 | dependencies: 705 | homedir-polyfill "^1.0.1" 706 | 707 | extend@3, extend@^3.0.0, extend@~3.0.0: 708 | version "3.0.1" 709 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 710 | 711 | extglob@^0.3.1: 712 | version "0.3.2" 713 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 714 | dependencies: 715 | is-extglob "^1.0.0" 716 | 717 | fancy-log@^1.1.0: 718 | version "1.3.0" 719 | resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.0.tgz#45be17d02bb9917d60ccffd4995c999e6c8c9948" 720 | dependencies: 721 | chalk "^1.1.1" 722 | time-stamp "^1.0.0" 723 | 724 | filename-regex@^2.0.0: 725 | version "2.0.1" 726 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 727 | 728 | fill-range@^2.1.0: 729 | version "2.2.3" 730 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 731 | dependencies: 732 | is-number "^2.1.0" 733 | isobject "^2.0.0" 734 | randomatic "^1.1.3" 735 | repeat-element "^1.1.2" 736 | repeat-string "^1.5.2" 737 | 738 | find-index@^0.1.1: 739 | version "0.1.1" 740 | resolved "https://registry.yarnpkg.com/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4" 741 | 742 | findup-sync@^0.4.2: 743 | version "0.4.3" 744 | resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.3.tgz#40043929e7bc60adf0b7f4827c4c6e75a0deca12" 745 | dependencies: 746 | detect-file "^0.1.0" 747 | is-glob "^2.0.1" 748 | micromatch "^2.3.7" 749 | resolve-dir "^0.1.0" 750 | 751 | fined@^1.0.1: 752 | version "1.1.0" 753 | resolved "https://registry.yarnpkg.com/fined/-/fined-1.1.0.tgz#b37dc844b76a2f5e7081e884f7c0ae344f153476" 754 | dependencies: 755 | expand-tilde "^2.0.2" 756 | is-plain-object "^2.0.3" 757 | object.defaults "^1.1.0" 758 | object.pick "^1.2.0" 759 | parse-filepath "^1.0.1" 760 | 761 | first-chunk-stream@^1.0.0: 762 | version "1.0.0" 763 | resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz#59bfb50cd905f60d7c394cd3d9acaab4e6ad934e" 764 | 765 | flagged-respawn@^0.3.2: 766 | version "0.3.2" 767 | resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-0.3.2.tgz#ff191eddcd7088a675b2610fffc976be9b8074b5" 768 | 769 | for-in@^1.0.1: 770 | version "1.0.2" 771 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 772 | 773 | for-own@^0.1.4: 774 | version "0.1.5" 775 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 776 | dependencies: 777 | for-in "^1.0.1" 778 | 779 | for-own@^1.0.0: 780 | version "1.0.0" 781 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" 782 | dependencies: 783 | for-in "^1.0.1" 784 | 785 | fs-exists-sync@^0.1.0: 786 | version "0.1.0" 787 | resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" 788 | 789 | fs.realpath@^1.0.0: 790 | version "1.0.0" 791 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 792 | 793 | function-bind@^1.0.2: 794 | version "1.1.1" 795 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 796 | 797 | gaze@^0.5.1: 798 | version "0.5.2" 799 | resolved "https://registry.yarnpkg.com/gaze/-/gaze-0.5.2.tgz#40b709537d24d1d45767db5a908689dfe69ac44f" 800 | dependencies: 801 | globule "~0.1.0" 802 | 803 | glob-base@^0.3.0: 804 | version "0.3.0" 805 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 806 | dependencies: 807 | glob-parent "^2.0.0" 808 | is-glob "^2.0.0" 809 | 810 | glob-parent@^2.0.0: 811 | version "2.0.0" 812 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 813 | dependencies: 814 | is-glob "^2.0.0" 815 | 816 | glob-stream@^3.1.5: 817 | version "3.1.18" 818 | resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-3.1.18.tgz#9170a5f12b790306fdfe598f313f8f7954fd143b" 819 | dependencies: 820 | glob "^4.3.1" 821 | glob2base "^0.0.12" 822 | minimatch "^2.0.1" 823 | ordered-read-streams "^0.1.0" 824 | through2 "^0.6.1" 825 | unique-stream "^1.0.0" 826 | 827 | glob-watcher@^0.0.6: 828 | version "0.0.6" 829 | resolved "https://registry.yarnpkg.com/glob-watcher/-/glob-watcher-0.0.6.tgz#b95b4a8df74b39c83298b0c05c978b4d9a3b710b" 830 | dependencies: 831 | gaze "^0.5.1" 832 | 833 | glob2base@^0.0.12: 834 | version "0.0.12" 835 | resolved "https://registry.yarnpkg.com/glob2base/-/glob2base-0.0.12.tgz#9d419b3e28f12e83a362164a277055922c9c0d56" 836 | dependencies: 837 | find-index "^0.1.1" 838 | 839 | glob@7.1.1: 840 | version "7.1.1" 841 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 842 | dependencies: 843 | fs.realpath "^1.0.0" 844 | inflight "^1.0.4" 845 | inherits "2" 846 | minimatch "^3.0.2" 847 | once "^1.3.0" 848 | path-is-absolute "^1.0.0" 849 | 850 | glob@^4.3.1: 851 | version "4.5.3" 852 | resolved "https://registry.yarnpkg.com/glob/-/glob-4.5.3.tgz#c6cb73d3226c1efef04de3c56d012f03377ee15f" 853 | dependencies: 854 | inflight "^1.0.4" 855 | inherits "2" 856 | minimatch "^2.0.1" 857 | once "^1.3.0" 858 | 859 | glob@^7.0.3, glob@^7.0.5, glob@^7.1.0, glob@^7.1.1: 860 | version "7.1.2" 861 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 862 | dependencies: 863 | fs.realpath "^1.0.0" 864 | inflight "^1.0.4" 865 | inherits "2" 866 | minimatch "^3.0.4" 867 | once "^1.3.0" 868 | path-is-absolute "^1.0.0" 869 | 870 | glob@~3.1.21: 871 | version "3.1.21" 872 | resolved "https://registry.yarnpkg.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd" 873 | dependencies: 874 | graceful-fs "~1.2.0" 875 | inherits "1" 876 | minimatch "~0.2.11" 877 | 878 | global-modules@^0.2.3: 879 | version "0.2.3" 880 | resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-0.2.3.tgz#ea5a3bed42c6d6ce995a4f8a1269b5dae223828d" 881 | dependencies: 882 | global-prefix "^0.1.4" 883 | is-windows "^0.2.0" 884 | 885 | global-prefix@^0.1.4: 886 | version "0.1.5" 887 | resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-0.1.5.tgz#8d3bc6b8da3ca8112a160d8d496ff0462bfef78f" 888 | dependencies: 889 | homedir-polyfill "^1.0.0" 890 | ini "^1.3.4" 891 | is-windows "^0.2.0" 892 | which "^1.2.12" 893 | 894 | globby@^5.0.0: 895 | version "5.0.0" 896 | resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 897 | dependencies: 898 | array-union "^1.0.1" 899 | arrify "^1.0.0" 900 | glob "^7.0.3" 901 | object-assign "^4.0.1" 902 | pify "^2.0.0" 903 | pinkie-promise "^2.0.0" 904 | 905 | globule@~0.1.0: 906 | version "0.1.0" 907 | resolved "https://registry.yarnpkg.com/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5" 908 | dependencies: 909 | glob "~3.1.21" 910 | lodash "~1.0.1" 911 | minimatch "~0.2.11" 912 | 913 | glogg@^1.0.0: 914 | version "1.0.0" 915 | resolved "https://registry.yarnpkg.com/glogg/-/glogg-1.0.0.tgz#7fe0f199f57ac906cf512feead8f90ee4a284fc5" 916 | dependencies: 917 | sparkles "^1.0.0" 918 | 919 | graceful-fs@^3.0.0: 920 | version "3.0.11" 921 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" 922 | dependencies: 923 | natives "^1.1.0" 924 | 925 | graceful-fs@~1.2.0: 926 | version "1.2.3" 927 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" 928 | 929 | "graceful-readlink@>= 1.0.0": 930 | version "1.0.1" 931 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 932 | 933 | growl@1.9.2: 934 | version "1.9.2" 935 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" 936 | 937 | gulp-jshint@^2.0.2: 938 | version "2.0.4" 939 | resolved "https://registry.yarnpkg.com/gulp-jshint/-/gulp-jshint-2.0.4.tgz#f382b18564b1072def0c9aaf753c146dadb4f0e8" 940 | dependencies: 941 | gulp-util "^3.0.0" 942 | lodash "^4.12.0" 943 | minimatch "^3.0.3" 944 | rcloader "^0.2.2" 945 | through2 "^2.0.0" 946 | 947 | gulp-nsp@^2.4.2: 948 | version "2.4.2" 949 | resolved "https://registry.yarnpkg.com/gulp-nsp/-/gulp-nsp-2.4.2.tgz#9ea6c091b8fadf2792aa4b0bd3af01cdde150ef2" 950 | dependencies: 951 | gulp-util "^3.0.6" 952 | nsp "^2.0.0" 953 | 954 | gulp-rename@^1.2.2: 955 | version "1.2.2" 956 | resolved "https://registry.yarnpkg.com/gulp-rename/-/gulp-rename-1.2.2.tgz#3ad4428763f05e2764dec1c67d868db275687817" 957 | 958 | gulp-replace@^0.5.4: 959 | version "0.5.4" 960 | resolved "https://registry.yarnpkg.com/gulp-replace/-/gulp-replace-0.5.4.tgz#69a67914bbd13c562bff14f504a403796aa0daa9" 961 | dependencies: 962 | istextorbinary "1.0.2" 963 | readable-stream "^2.0.1" 964 | replacestream "^4.0.0" 965 | 966 | gulp-uglify@^2.1.2: 967 | version "2.1.2" 968 | resolved "https://registry.yarnpkg.com/gulp-uglify/-/gulp-uglify-2.1.2.tgz#6db85b1d0ee63d18058592b658649d65c2ec4541" 969 | dependencies: 970 | gulplog "^1.0.0" 971 | has-gulplog "^0.1.0" 972 | lodash "^4.13.1" 973 | make-error-cause "^1.1.1" 974 | through2 "^2.0.0" 975 | uglify-js "~2.8.10" 976 | uglify-save-license "^0.4.1" 977 | vinyl-sourcemaps-apply "^0.2.0" 978 | 979 | gulp-util@^3.0.0, gulp-util@^3.0.6: 980 | version "3.0.8" 981 | resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f" 982 | dependencies: 983 | array-differ "^1.0.0" 984 | array-uniq "^1.0.2" 985 | beeper "^1.0.0" 986 | chalk "^1.0.0" 987 | dateformat "^2.0.0" 988 | fancy-log "^1.1.0" 989 | gulplog "^1.0.0" 990 | has-gulplog "^0.1.0" 991 | lodash._reescape "^3.0.0" 992 | lodash._reevaluate "^3.0.0" 993 | lodash._reinterpolate "^3.0.0" 994 | lodash.template "^3.0.0" 995 | minimist "^1.1.0" 996 | multipipe "^0.1.2" 997 | object-assign "^3.0.0" 998 | replace-ext "0.0.1" 999 | through2 "^2.0.0" 1000 | vinyl "^0.5.0" 1001 | 1002 | gulp@^3.9.1: 1003 | version "3.9.1" 1004 | resolved "https://registry.yarnpkg.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4" 1005 | dependencies: 1006 | archy "^1.0.0" 1007 | chalk "^1.0.0" 1008 | deprecated "^0.0.1" 1009 | gulp-util "^3.0.0" 1010 | interpret "^1.0.0" 1011 | liftoff "^2.1.0" 1012 | minimist "^1.1.0" 1013 | orchestrator "^0.3.0" 1014 | pretty-hrtime "^1.0.0" 1015 | semver "^4.1.0" 1016 | tildify "^1.0.0" 1017 | v8flags "^2.0.2" 1018 | vinyl-fs "^0.3.0" 1019 | 1020 | gulplog@^1.0.0: 1021 | version "1.0.0" 1022 | resolved "https://registry.yarnpkg.com/gulplog/-/gulplog-1.0.0.tgz#e28c4d45d05ecbbed818363ce8f9c5926229ffe5" 1023 | dependencies: 1024 | glogg "^1.0.0" 1025 | 1026 | has-ansi@^2.0.0: 1027 | version "2.0.0" 1028 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1029 | dependencies: 1030 | ansi-regex "^2.0.0" 1031 | 1032 | has-flag@^1.0.0: 1033 | version "1.0.0" 1034 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1035 | 1036 | has-gulplog@^0.1.0: 1037 | version "0.1.0" 1038 | resolved "https://registry.yarnpkg.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce" 1039 | dependencies: 1040 | sparkles "^1.0.0" 1041 | 1042 | has@^1.0.0: 1043 | version "1.0.1" 1044 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" 1045 | dependencies: 1046 | function-bind "^1.0.2" 1047 | 1048 | hash-base@^2.0.0: 1049 | version "2.0.2" 1050 | resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-2.0.2.tgz#66ea1d856db4e8a5470cadf6fce23ae5244ef2e1" 1051 | dependencies: 1052 | inherits "^2.0.1" 1053 | 1054 | hash-base@^3.0.0: 1055 | version "3.0.4" 1056 | resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" 1057 | dependencies: 1058 | inherits "^2.0.1" 1059 | safe-buffer "^5.0.1" 1060 | 1061 | hash.js@^1.0.0, hash.js@^1.0.3: 1062 | version "1.1.3" 1063 | resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.3.tgz#340dedbe6290187151c1ea1d777a3448935df846" 1064 | dependencies: 1065 | inherits "^2.0.3" 1066 | minimalistic-assert "^1.0.0" 1067 | 1068 | hmac-drbg@^1.0.0: 1069 | version "1.0.1" 1070 | resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" 1071 | dependencies: 1072 | hash.js "^1.0.3" 1073 | minimalistic-assert "^1.0.0" 1074 | minimalistic-crypto-utils "^1.0.1" 1075 | 1076 | hoek@2.x.x: 1077 | version "2.16.3" 1078 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1079 | 1080 | homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: 1081 | version "1.0.1" 1082 | resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" 1083 | dependencies: 1084 | parse-passwd "^1.0.0" 1085 | 1086 | htmlescape@^1.1.0: 1087 | version "1.1.1" 1088 | resolved "https://registry.yarnpkg.com/htmlescape/-/htmlescape-1.1.1.tgz#3a03edc2214bca3b66424a3e7959349509cb0351" 1089 | 1090 | htmlparser2@3.8.x: 1091 | version "3.8.3" 1092 | resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.8.3.tgz#996c28b191516a8be86501a7d79757e5c70c1068" 1093 | dependencies: 1094 | domelementtype "1" 1095 | domhandler "2.3" 1096 | domutils "1.5" 1097 | entities "1.0" 1098 | readable-stream "1.1" 1099 | 1100 | https-browserify@^1.0.0: 1101 | version "1.0.0" 1102 | resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" 1103 | 1104 | https-proxy-agent@^1.0.0: 1105 | version "1.0.0" 1106 | resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz#35f7da6c48ce4ddbfa264891ac593ee5ff8671e6" 1107 | dependencies: 1108 | agent-base "2" 1109 | debug "2" 1110 | extend "3" 1111 | 1112 | ieee754@^1.1.4: 1113 | version "1.1.8" 1114 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 1115 | 1116 | indexof@0.0.1: 1117 | version "0.0.1" 1118 | resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" 1119 | 1120 | inflight@^1.0.4: 1121 | version "1.0.6" 1122 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1123 | dependencies: 1124 | once "^1.3.0" 1125 | wrappy "1" 1126 | 1127 | inherits@1: 1128 | version "1.0.2" 1129 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b" 1130 | 1131 | inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: 1132 | version "2.0.3" 1133 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1134 | 1135 | inherits@2.0.1: 1136 | version "2.0.1" 1137 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" 1138 | 1139 | ini@^1.3.4, ini@~1.3.0: 1140 | version "1.3.4" 1141 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 1142 | 1143 | inline-source-map@~0.6.0: 1144 | version "0.6.2" 1145 | resolved "https://registry.yarnpkg.com/inline-source-map/-/inline-source-map-0.6.2.tgz#f9393471c18a79d1724f863fa38b586370ade2a5" 1146 | dependencies: 1147 | source-map "~0.5.3" 1148 | 1149 | insert-module-globals@^7.0.0: 1150 | version "7.0.1" 1151 | resolved "https://registry.yarnpkg.com/insert-module-globals/-/insert-module-globals-7.0.1.tgz#c03bf4e01cb086d5b5e5ace8ad0afe7889d638c3" 1152 | dependencies: 1153 | JSONStream "^1.0.3" 1154 | combine-source-map "~0.7.1" 1155 | concat-stream "~1.5.1" 1156 | is-buffer "^1.1.0" 1157 | lexical-scope "^1.2.0" 1158 | process "~0.11.0" 1159 | through2 "^2.0.0" 1160 | xtend "^4.0.0" 1161 | 1162 | interpret@^1.0.0: 1163 | version "1.0.3" 1164 | resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90" 1165 | 1166 | iota.crypto.js@iotaledger/iota.crypto.js: 1167 | version "0.4.1" 1168 | resolved "https://codeload.github.com/iotaledger/iota.crypto.js/tar.gz/d42a3b167b969d33bb57611af621a71a104a018c" 1169 | dependencies: 1170 | crypto-js "^3.1.9-1" 1171 | 1172 | iota.lib.js@^0.2.6: 1173 | version "0.2.7" 1174 | resolved "https://registry.yarnpkg.com/iota.lib.js/-/iota.lib.js-0.2.7.tgz#f649840f4e99559fc19b12c214ed745274c13ef4" 1175 | dependencies: 1176 | async "^2.1.2" 1177 | xmlhttprequest "^1.8.0" 1178 | 1179 | is-absolute@^0.2.3: 1180 | version "0.2.6" 1181 | resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-0.2.6.tgz#20de69f3db942ef2d87b9c2da36f172235b1b5eb" 1182 | dependencies: 1183 | is-relative "^0.2.1" 1184 | is-windows "^0.2.0" 1185 | 1186 | is-buffer@^1.1.0, is-buffer@^1.1.5: 1187 | version "1.1.5" 1188 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" 1189 | 1190 | is-dotfile@^1.0.0: 1191 | version "1.0.3" 1192 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 1193 | 1194 | is-equal-shallow@^0.1.3: 1195 | version "0.1.3" 1196 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1197 | dependencies: 1198 | is-primitive "^2.0.0" 1199 | 1200 | is-extendable@^0.1.1: 1201 | version "0.1.1" 1202 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1203 | 1204 | is-extglob@^1.0.0: 1205 | version "1.0.0" 1206 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1207 | 1208 | is-glob@^2.0.0, is-glob@^2.0.1: 1209 | version "2.0.1" 1210 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1211 | dependencies: 1212 | is-extglob "^1.0.0" 1213 | 1214 | is-number@^2.1.0: 1215 | version "2.1.0" 1216 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1217 | dependencies: 1218 | kind-of "^3.0.2" 1219 | 1220 | is-number@^3.0.0: 1221 | version "3.0.0" 1222 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 1223 | dependencies: 1224 | kind-of "^3.0.2" 1225 | 1226 | is-path-cwd@^1.0.0: 1227 | version "1.0.0" 1228 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 1229 | 1230 | is-path-in-cwd@^1.0.0: 1231 | version "1.0.0" 1232 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" 1233 | dependencies: 1234 | is-path-inside "^1.0.0" 1235 | 1236 | is-path-inside@^1.0.0: 1237 | version "1.0.0" 1238 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f" 1239 | dependencies: 1240 | path-is-inside "^1.0.1" 1241 | 1242 | is-plain-object@^2.0.3: 1243 | version "2.0.4" 1244 | resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" 1245 | dependencies: 1246 | isobject "^3.0.1" 1247 | 1248 | is-posix-bracket@^0.1.0: 1249 | version "0.1.1" 1250 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1251 | 1252 | is-primitive@^2.0.0: 1253 | version "2.0.0" 1254 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1255 | 1256 | is-relative@^0.2.1: 1257 | version "0.2.1" 1258 | resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-0.2.1.tgz#d27f4c7d516d175fb610db84bbeef23c3bc97aa5" 1259 | dependencies: 1260 | is-unc-path "^0.1.1" 1261 | 1262 | is-unc-path@^0.1.1: 1263 | version "0.1.2" 1264 | resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-0.1.2.tgz#6ab053a72573c10250ff416a3814c35178af39b9" 1265 | dependencies: 1266 | unc-path-regex "^0.1.0" 1267 | 1268 | is-utf8@^0.2.0: 1269 | version "0.2.1" 1270 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1271 | 1272 | is-windows@^0.2.0: 1273 | version "0.2.0" 1274 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-0.2.0.tgz#de1aa6d63ea29dd248737b69f1ff8b8002d2108c" 1275 | 1276 | isarray@0.0.1, isarray@~0.0.1: 1277 | version "0.0.1" 1278 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" 1279 | 1280 | isarray@1.0.0, isarray@~1.0.0: 1281 | version "1.0.0" 1282 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1283 | 1284 | isemail@1.x.x: 1285 | version "1.2.0" 1286 | resolved "https://registry.yarnpkg.com/isemail/-/isemail-1.2.0.tgz#be03df8cc3e29de4d2c5df6501263f1fa4595e9a" 1287 | 1288 | isexe@^2.0.0: 1289 | version "2.0.0" 1290 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1291 | 1292 | isobject@^2.0.0: 1293 | version "2.1.0" 1294 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1295 | dependencies: 1296 | isarray "1.0.0" 1297 | 1298 | isobject@^3.0.0, isobject@^3.0.1: 1299 | version "3.0.1" 1300 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" 1301 | 1302 | istextorbinary@1.0.2: 1303 | version "1.0.2" 1304 | resolved "https://registry.yarnpkg.com/istextorbinary/-/istextorbinary-1.0.2.tgz#ace19354d1a9a0173efeb1084ce0f87b0ad7decf" 1305 | dependencies: 1306 | binaryextensions "~1.0.0" 1307 | textextensions "~1.0.0" 1308 | 1309 | joi@^6.9.1: 1310 | version "6.10.1" 1311 | resolved "https://registry.yarnpkg.com/joi/-/joi-6.10.1.tgz#4d50c318079122000fe5f16af1ff8e1917b77e06" 1312 | dependencies: 1313 | hoek "2.x.x" 1314 | isemail "1.x.x" 1315 | moment "2.x.x" 1316 | topo "1.x.x" 1317 | 1318 | jshint@^2.9.4: 1319 | version "2.9.5" 1320 | resolved "https://registry.yarnpkg.com/jshint/-/jshint-2.9.5.tgz#1e7252915ce681b40827ee14248c46d34e9aa62c" 1321 | dependencies: 1322 | cli "~1.0.0" 1323 | console-browserify "1.1.x" 1324 | exit "0.1.x" 1325 | htmlparser2 "3.8.x" 1326 | lodash "3.7.x" 1327 | minimatch "~3.0.2" 1328 | shelljs "0.3.x" 1329 | strip-json-comments "1.0.x" 1330 | 1331 | json-stable-stringify@~0.0.0: 1332 | version "0.0.1" 1333 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz#611c23e814db375527df851193db59dd2af27f45" 1334 | dependencies: 1335 | jsonify "~0.0.0" 1336 | 1337 | json3@3.3.2: 1338 | version "3.3.2" 1339 | resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" 1340 | 1341 | jsonify@~0.0.0: 1342 | version "0.0.0" 1343 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1344 | 1345 | jsonparse@^1.2.0: 1346 | version "1.3.1" 1347 | resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" 1348 | 1349 | kind-of@^3.0.2: 1350 | version "3.2.2" 1351 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 1352 | dependencies: 1353 | is-buffer "^1.1.5" 1354 | 1355 | kind-of@^4.0.0: 1356 | version "4.0.0" 1357 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 1358 | dependencies: 1359 | is-buffer "^1.1.5" 1360 | 1361 | labeled-stream-splicer@^2.0.0: 1362 | version "2.0.0" 1363 | resolved "https://registry.yarnpkg.com/labeled-stream-splicer/-/labeled-stream-splicer-2.0.0.tgz#a52e1d138024c00b86b1c0c91f677918b8ae0a59" 1364 | dependencies: 1365 | inherits "^2.0.1" 1366 | isarray "~0.0.1" 1367 | stream-splicer "^2.0.0" 1368 | 1369 | lazy-cache@^1.0.3: 1370 | version "1.0.4" 1371 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 1372 | 1373 | lexical-scope@^1.2.0: 1374 | version "1.2.0" 1375 | resolved "https://registry.yarnpkg.com/lexical-scope/-/lexical-scope-1.2.0.tgz#fcea5edc704a4b3a8796cdca419c3a0afaf22df4" 1376 | dependencies: 1377 | astw "^2.0.0" 1378 | 1379 | liftoff@^2.1.0: 1380 | version "2.3.0" 1381 | resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-2.3.0.tgz#a98f2ff67183d8ba7cfaca10548bd7ff0550b385" 1382 | dependencies: 1383 | extend "^3.0.0" 1384 | findup-sync "^0.4.2" 1385 | fined "^1.0.1" 1386 | flagged-respawn "^0.3.2" 1387 | lodash.isplainobject "^4.0.4" 1388 | lodash.isstring "^4.0.1" 1389 | lodash.mapvalues "^4.4.0" 1390 | rechoir "^0.6.2" 1391 | resolve "^1.1.7" 1392 | 1393 | lodash._baseassign@^3.0.0: 1394 | version "3.2.0" 1395 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 1396 | dependencies: 1397 | lodash._basecopy "^3.0.0" 1398 | lodash.keys "^3.0.0" 1399 | 1400 | lodash._basecopy@^3.0.0: 1401 | version "3.0.1" 1402 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 1403 | 1404 | lodash._basecreate@^3.0.0: 1405 | version "3.0.3" 1406 | resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" 1407 | 1408 | lodash._basetostring@^3.0.0: 1409 | version "3.0.1" 1410 | resolved "https://registry.yarnpkg.com/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz#d1861d877f824a52f669832dcaf3ee15566a07d5" 1411 | 1412 | lodash._basevalues@^3.0.0: 1413 | version "3.0.0" 1414 | resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7" 1415 | 1416 | lodash._getnative@^3.0.0: 1417 | version "3.9.1" 1418 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 1419 | 1420 | lodash._isiterateecall@^3.0.0: 1421 | version "3.0.9" 1422 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 1423 | 1424 | lodash._reescape@^3.0.0: 1425 | version "3.0.0" 1426 | resolved "https://registry.yarnpkg.com/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a" 1427 | 1428 | lodash._reevaluate@^3.0.0: 1429 | version "3.0.0" 1430 | resolved "https://registry.yarnpkg.com/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz#58bc74c40664953ae0b124d806996daca431e2ed" 1431 | 1432 | lodash._reinterpolate@^3.0.0: 1433 | version "3.0.0" 1434 | resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" 1435 | 1436 | lodash._root@^3.0.0: 1437 | version "3.0.1" 1438 | resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" 1439 | 1440 | lodash.assign@^4.2.0: 1441 | version "4.2.0" 1442 | resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" 1443 | 1444 | lodash.clonedeep@^4.3.2: 1445 | version "4.5.0" 1446 | resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" 1447 | 1448 | lodash.create@3.1.1: 1449 | version "3.1.1" 1450 | resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" 1451 | dependencies: 1452 | lodash._baseassign "^3.0.0" 1453 | lodash._basecreate "^3.0.0" 1454 | lodash._isiterateecall "^3.0.0" 1455 | 1456 | lodash.escape@^3.0.0: 1457 | version "3.2.0" 1458 | resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698" 1459 | dependencies: 1460 | lodash._root "^3.0.0" 1461 | 1462 | lodash.isarguments@^3.0.0: 1463 | version "3.1.0" 1464 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 1465 | 1466 | lodash.isarray@^3.0.0: 1467 | version "3.0.4" 1468 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 1469 | 1470 | lodash.isobject@^3.0.2: 1471 | version "3.0.2" 1472 | resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d" 1473 | 1474 | lodash.isplainobject@^4.0.4: 1475 | version "4.0.6" 1476 | resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" 1477 | 1478 | lodash.isstring@^4.0.1: 1479 | version "4.0.1" 1480 | resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" 1481 | 1482 | lodash.keys@^3.0.0: 1483 | version "3.1.2" 1484 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 1485 | dependencies: 1486 | lodash._getnative "^3.0.0" 1487 | lodash.isarguments "^3.0.0" 1488 | lodash.isarray "^3.0.0" 1489 | 1490 | lodash.mapvalues@^4.4.0: 1491 | version "4.6.0" 1492 | resolved "https://registry.yarnpkg.com/lodash.mapvalues/-/lodash.mapvalues-4.6.0.tgz#1bafa5005de9dd6f4f26668c30ca37230cc9689c" 1493 | 1494 | lodash.memoize@~3.0.3: 1495 | version "3.0.4" 1496 | resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-3.0.4.tgz#2dcbd2c287cbc0a55cc42328bd0c736150d53e3f" 1497 | 1498 | lodash.merge@^4.6.0: 1499 | version "4.6.0" 1500 | resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.0.tgz#69884ba144ac33fe699737a6086deffadd0f89c5" 1501 | 1502 | lodash.restparam@^3.0.0: 1503 | version "3.6.1" 1504 | resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" 1505 | 1506 | lodash.template@^3.0.0: 1507 | version "3.6.2" 1508 | resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f" 1509 | dependencies: 1510 | lodash._basecopy "^3.0.0" 1511 | lodash._basetostring "^3.0.0" 1512 | lodash._basevalues "^3.0.0" 1513 | lodash._isiterateecall "^3.0.0" 1514 | lodash._reinterpolate "^3.0.0" 1515 | lodash.escape "^3.0.0" 1516 | lodash.keys "^3.0.0" 1517 | lodash.restparam "^3.0.0" 1518 | lodash.templatesettings "^3.0.0" 1519 | 1520 | lodash.templatesettings@^3.0.0: 1521 | version "3.1.1" 1522 | resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz#fb307844753b66b9f1afa54e262c745307dba8e5" 1523 | dependencies: 1524 | lodash._reinterpolate "^3.0.0" 1525 | lodash.escape "^3.0.0" 1526 | 1527 | lodash@3.7.x: 1528 | version "3.7.0" 1529 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.7.0.tgz#3678bd8ab995057c07ade836ed2ef087da811d45" 1530 | 1531 | lodash@^4.12.0, lodash@^4.13.1, lodash@^4.14.0: 1532 | version "4.17.4" 1533 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1534 | 1535 | lodash@~1.0.1: 1536 | version "1.0.2" 1537 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551" 1538 | 1539 | longest@^1.0.1: 1540 | version "1.0.1" 1541 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 1542 | 1543 | lru-cache@2: 1544 | version "2.7.3" 1545 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952" 1546 | 1547 | make-error-cause@^1.1.1: 1548 | version "1.2.2" 1549 | resolved "https://registry.yarnpkg.com/make-error-cause/-/make-error-cause-1.2.2.tgz#df0388fcd0b37816dff0a5fb8108939777dcbc9d" 1550 | dependencies: 1551 | make-error "^1.2.0" 1552 | 1553 | make-error@^1.2.0: 1554 | version "1.3.0" 1555 | resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96" 1556 | 1557 | map-cache@^0.2.0: 1558 | version "0.2.2" 1559 | resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" 1560 | 1561 | md5.js@^1.3.4: 1562 | version "1.3.4" 1563 | resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.4.tgz#e9bdbde94a20a5ac18b04340fc5764d5b09d901d" 1564 | dependencies: 1565 | hash-base "^3.0.0" 1566 | inherits "^2.0.1" 1567 | 1568 | micromatch@^2.3.7: 1569 | version "2.3.11" 1570 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1571 | dependencies: 1572 | arr-diff "^2.0.0" 1573 | array-unique "^0.2.1" 1574 | braces "^1.8.2" 1575 | expand-brackets "^0.1.4" 1576 | extglob "^0.3.1" 1577 | filename-regex "^2.0.0" 1578 | is-extglob "^1.0.0" 1579 | is-glob "^2.0.1" 1580 | kind-of "^3.0.2" 1581 | normalize-path "^2.0.1" 1582 | object.omit "^2.0.0" 1583 | parse-glob "^3.0.4" 1584 | regex-cache "^0.4.2" 1585 | 1586 | miller-rabin@^4.0.0: 1587 | version "4.0.0" 1588 | resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.0.tgz#4a62fb1d42933c05583982f4c716f6fb9e6c6d3d" 1589 | dependencies: 1590 | bn.js "^4.0.0" 1591 | brorand "^1.0.1" 1592 | 1593 | minimalistic-assert@^1.0.0: 1594 | version "1.0.0" 1595 | resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3" 1596 | 1597 | minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: 1598 | version "1.0.1" 1599 | resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" 1600 | 1601 | minimatch@^2.0.1: 1602 | version "2.0.10" 1603 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7" 1604 | dependencies: 1605 | brace-expansion "^1.0.0" 1606 | 1607 | minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2: 1608 | version "3.0.4" 1609 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 1610 | dependencies: 1611 | brace-expansion "^1.1.7" 1612 | 1613 | minimatch@~0.2.11: 1614 | version "0.2.14" 1615 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-0.2.14.tgz#c74e780574f63c6f9a090e90efbe6ef53a6a756a" 1616 | dependencies: 1617 | lru-cache "2" 1618 | sigmund "~1.0.0" 1619 | 1620 | minimist@0.0.8: 1621 | version "0.0.8" 1622 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1623 | 1624 | minimist@^1.1.0, minimist@^1.2.0: 1625 | version "1.2.0" 1626 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1627 | 1628 | mkdirp@0.5.1, mkdirp@^0.5.0: 1629 | version "0.5.1" 1630 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1631 | dependencies: 1632 | minimist "0.0.8" 1633 | 1634 | mocha@^3.2.0: 1635 | version "3.5.0" 1636 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.0.tgz#1328567d2717f997030f8006234bce9b8cd72465" 1637 | dependencies: 1638 | browser-stdout "1.3.0" 1639 | commander "2.9.0" 1640 | debug "2.6.8" 1641 | diff "3.2.0" 1642 | escape-string-regexp "1.0.5" 1643 | glob "7.1.1" 1644 | growl "1.9.2" 1645 | json3 "3.3.2" 1646 | lodash.create "3.1.1" 1647 | mkdirp "0.5.1" 1648 | supports-color "3.1.2" 1649 | 1650 | module-deps@^4.0.8: 1651 | version "4.1.1" 1652 | resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-4.1.1.tgz#23215833f1da13fd606ccb8087b44852dcb821fd" 1653 | dependencies: 1654 | JSONStream "^1.0.3" 1655 | browser-resolve "^1.7.0" 1656 | cached-path-relative "^1.0.0" 1657 | concat-stream "~1.5.0" 1658 | defined "^1.0.0" 1659 | detective "^4.0.0" 1660 | duplexer2 "^0.1.2" 1661 | inherits "^2.0.1" 1662 | parents "^1.0.0" 1663 | readable-stream "^2.0.2" 1664 | resolve "^1.1.3" 1665 | stream-combiner2 "^1.1.1" 1666 | subarg "^1.0.0" 1667 | through2 "^2.0.0" 1668 | xtend "^4.0.0" 1669 | 1670 | moment@2.x.x: 1671 | version "2.18.1" 1672 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f" 1673 | 1674 | ms@2.0.0: 1675 | version "2.0.0" 1676 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1677 | 1678 | multipipe@^0.1.2: 1679 | version "0.1.2" 1680 | resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b" 1681 | dependencies: 1682 | duplexer2 "0.0.2" 1683 | 1684 | natives@^1.1.0: 1685 | version "1.1.0" 1686 | resolved "https://registry.yarnpkg.com/natives/-/natives-1.1.0.tgz#e9ff841418a6b2ec7a495e939984f78f163e6e31" 1687 | 1688 | nodesecurity-npm-utils@^5.0.0: 1689 | version "5.0.0" 1690 | resolved "https://registry.yarnpkg.com/nodesecurity-npm-utils/-/nodesecurity-npm-utils-5.0.0.tgz#05aa30de30ca8c845c4048e94fd78e5e08b55ed9" 1691 | 1692 | normalize-path@^2.0.1: 1693 | version "2.1.1" 1694 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1695 | dependencies: 1696 | remove-trailing-separator "^1.0.1" 1697 | 1698 | nsp@^2.0.0: 1699 | version "2.8.0" 1700 | resolved "https://registry.yarnpkg.com/nsp/-/nsp-2.8.0.tgz#351a9a626ce3335ff261db17dcfec6d6bb7b254b" 1701 | dependencies: 1702 | chalk "^1.1.1" 1703 | cli-table "^0.3.1" 1704 | cvss "^1.0.0" 1705 | https-proxy-agent "^1.0.0" 1706 | joi "^6.9.1" 1707 | nodesecurity-npm-utils "^5.0.0" 1708 | path-is-absolute "^1.0.0" 1709 | rc "^1.1.2" 1710 | semver "^5.0.3" 1711 | subcommand "^2.0.3" 1712 | wreck "^6.3.0" 1713 | 1714 | object-assign@^3.0.0: 1715 | version "3.0.0" 1716 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" 1717 | 1718 | object-assign@^4.0.1: 1719 | version "4.1.1" 1720 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1721 | 1722 | object.defaults@^1.1.0: 1723 | version "1.1.0" 1724 | resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" 1725 | dependencies: 1726 | array-each "^1.0.1" 1727 | array-slice "^1.0.0" 1728 | for-own "^1.0.0" 1729 | isobject "^3.0.0" 1730 | 1731 | object.omit@^2.0.0: 1732 | version "2.0.1" 1733 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1734 | dependencies: 1735 | for-own "^0.1.4" 1736 | is-extendable "^0.1.1" 1737 | 1738 | object.pick@^1.2.0: 1739 | version "1.3.0" 1740 | resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" 1741 | dependencies: 1742 | isobject "^3.0.1" 1743 | 1744 | once@^1.3.0: 1745 | version "1.4.0" 1746 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1747 | dependencies: 1748 | wrappy "1" 1749 | 1750 | once@~1.3.0: 1751 | version "1.3.3" 1752 | resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" 1753 | dependencies: 1754 | wrappy "1" 1755 | 1756 | orchestrator@^0.3.0: 1757 | version "0.3.8" 1758 | resolved "https://registry.yarnpkg.com/orchestrator/-/orchestrator-0.3.8.tgz#14e7e9e2764f7315fbac184e506c7aa6df94ad7e" 1759 | dependencies: 1760 | end-of-stream "~0.1.5" 1761 | sequencify "~0.0.7" 1762 | stream-consume "~0.1.0" 1763 | 1764 | ordered-read-streams@^0.1.0: 1765 | version "0.1.0" 1766 | resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz#fd565a9af8eb4473ba69b6ed8a34352cb552f126" 1767 | 1768 | os-browserify@~0.1.1: 1769 | version "0.1.2" 1770 | resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.1.2.tgz#49ca0293e0b19590a5f5de10c7f265a617d8fe54" 1771 | 1772 | os-homedir@^1.0.0, os-homedir@^1.0.1: 1773 | version "1.0.2" 1774 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1775 | 1776 | pako@~0.2.0: 1777 | version "0.2.9" 1778 | resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" 1779 | 1780 | parents@^1.0.0, parents@^1.0.1: 1781 | version "1.0.1" 1782 | resolved "https://registry.yarnpkg.com/parents/-/parents-1.0.1.tgz#fedd4d2bf193a77745fe71e371d73c3307d9c751" 1783 | dependencies: 1784 | path-platform "~0.11.15" 1785 | 1786 | parse-asn1@^5.0.0: 1787 | version "5.1.0" 1788 | resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.0.tgz#37c4f9b7ed3ab65c74817b5f2480937fbf97c712" 1789 | dependencies: 1790 | asn1.js "^4.0.0" 1791 | browserify-aes "^1.0.0" 1792 | create-hash "^1.1.0" 1793 | evp_bytestokey "^1.0.0" 1794 | pbkdf2 "^3.0.3" 1795 | 1796 | parse-filepath@^1.0.1: 1797 | version "1.0.1" 1798 | resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.1.tgz#159d6155d43904d16c10ef698911da1e91969b73" 1799 | dependencies: 1800 | is-absolute "^0.2.3" 1801 | map-cache "^0.2.0" 1802 | path-root "^0.1.1" 1803 | 1804 | parse-glob@^3.0.4: 1805 | version "3.0.4" 1806 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 1807 | dependencies: 1808 | glob-base "^0.3.0" 1809 | is-dotfile "^1.0.0" 1810 | is-extglob "^1.0.0" 1811 | is-glob "^2.0.0" 1812 | 1813 | parse-passwd@^1.0.0: 1814 | version "1.0.0" 1815 | resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" 1816 | 1817 | path-browserify@~0.0.0: 1818 | version "0.0.0" 1819 | resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" 1820 | 1821 | path-is-absolute@^1.0.0: 1822 | version "1.0.1" 1823 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1824 | 1825 | path-is-inside@^1.0.1: 1826 | version "1.0.2" 1827 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 1828 | 1829 | path-parse@^1.0.5: 1830 | version "1.0.5" 1831 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 1832 | 1833 | path-platform@~0.11.15: 1834 | version "0.11.15" 1835 | resolved "https://registry.yarnpkg.com/path-platform/-/path-platform-0.11.15.tgz#e864217f74c36850f0852b78dc7bf7d4a5721bf2" 1836 | 1837 | path-root-regex@^0.1.0: 1838 | version "0.1.2" 1839 | resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" 1840 | 1841 | path-root@^0.1.1: 1842 | version "0.1.1" 1843 | resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" 1844 | dependencies: 1845 | path-root-regex "^0.1.0" 1846 | 1847 | pbkdf2@^3.0.3: 1848 | version "3.0.13" 1849 | resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.13.tgz#c37d295531e786b1da3e3eadc840426accb0ae25" 1850 | dependencies: 1851 | create-hash "^1.1.2" 1852 | create-hmac "^1.1.4" 1853 | ripemd160 "^2.0.1" 1854 | safe-buffer "^5.0.1" 1855 | sha.js "^2.4.8" 1856 | 1857 | pify@^2.0.0: 1858 | version "2.3.0" 1859 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1860 | 1861 | pinkie-promise@^2.0.0: 1862 | version "2.0.1" 1863 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1864 | dependencies: 1865 | pinkie "^2.0.0" 1866 | 1867 | pinkie@^2.0.0: 1868 | version "2.0.4" 1869 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1870 | 1871 | preserve@^0.2.0: 1872 | version "0.2.0" 1873 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 1874 | 1875 | pretty-hrtime@^1.0.0: 1876 | version "1.0.3" 1877 | resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" 1878 | 1879 | process-nextick-args@~1.0.6: 1880 | version "1.0.7" 1881 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1882 | 1883 | process@~0.11.0: 1884 | version "0.11.10" 1885 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" 1886 | 1887 | public-encrypt@^4.0.0: 1888 | version "4.0.0" 1889 | resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6" 1890 | dependencies: 1891 | bn.js "^4.1.0" 1892 | browserify-rsa "^4.0.0" 1893 | create-hash "^1.1.0" 1894 | parse-asn1 "^5.0.0" 1895 | randombytes "^2.0.1" 1896 | 1897 | punycode@1.3.2: 1898 | version "1.3.2" 1899 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" 1900 | 1901 | punycode@^1.3.2: 1902 | version "1.4.1" 1903 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1904 | 1905 | querystring-es3@~0.2.0: 1906 | version "0.2.1" 1907 | resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" 1908 | 1909 | querystring@0.2.0: 1910 | version "0.2.0" 1911 | resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" 1912 | 1913 | randomatic@^1.1.3: 1914 | version "1.1.7" 1915 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" 1916 | dependencies: 1917 | is-number "^3.0.0" 1918 | kind-of "^4.0.0" 1919 | 1920 | randombytes@^2.0.0, randombytes@^2.0.1: 1921 | version "2.0.5" 1922 | resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.5.tgz#dc009a246b8d09a177b4b7a0ae77bc570f4b1b79" 1923 | dependencies: 1924 | safe-buffer "^5.1.0" 1925 | 1926 | rc@^1.1.2: 1927 | version "1.2.1" 1928 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" 1929 | dependencies: 1930 | deep-extend "~0.4.0" 1931 | ini "~1.3.0" 1932 | minimist "^1.2.0" 1933 | strip-json-comments "~2.0.1" 1934 | 1935 | rcfinder@^0.1.6: 1936 | version "0.1.9" 1937 | resolved "https://registry.yarnpkg.com/rcfinder/-/rcfinder-0.1.9.tgz#f3e80f387ddf9ae80ae30a4100329642eae81115" 1938 | dependencies: 1939 | lodash.clonedeep "^4.3.2" 1940 | 1941 | rcloader@^0.2.2: 1942 | version "0.2.2" 1943 | resolved "https://registry.yarnpkg.com/rcloader/-/rcloader-0.2.2.tgz#58d2298b462d0b9bfd2133d2a1ec74fbd705c717" 1944 | dependencies: 1945 | lodash.assign "^4.2.0" 1946 | lodash.isobject "^3.0.2" 1947 | lodash.merge "^4.6.0" 1948 | rcfinder "^0.1.6" 1949 | 1950 | read-only-stream@^2.0.0: 1951 | version "2.0.0" 1952 | resolved "https://registry.yarnpkg.com/read-only-stream/-/read-only-stream-2.0.0.tgz#2724fd6a8113d73764ac288d4386270c1dbf17f0" 1953 | dependencies: 1954 | readable-stream "^2.0.2" 1955 | 1956 | readable-stream@1.1: 1957 | version "1.1.13" 1958 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.13.tgz#f6eef764f514c89e2b9e23146a75ba106756d23e" 1959 | dependencies: 1960 | core-util-is "~1.0.0" 1961 | inherits "~2.0.1" 1962 | isarray "0.0.1" 1963 | string_decoder "~0.10.x" 1964 | 1965 | "readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.26: 1966 | version "1.0.34" 1967 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" 1968 | dependencies: 1969 | core-util-is "~1.0.0" 1970 | inherits "~2.0.1" 1971 | isarray "0.0.1" 1972 | string_decoder "~0.10.x" 1973 | 1974 | readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.6: 1975 | version "2.3.3" 1976 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" 1977 | dependencies: 1978 | core-util-is "~1.0.0" 1979 | inherits "~2.0.3" 1980 | isarray "~1.0.0" 1981 | process-nextick-args "~1.0.6" 1982 | safe-buffer "~5.1.1" 1983 | string_decoder "~1.0.3" 1984 | util-deprecate "~1.0.1" 1985 | 1986 | readable-stream@~1.1.9: 1987 | version "1.1.14" 1988 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" 1989 | dependencies: 1990 | core-util-is "~1.0.0" 1991 | inherits "~2.0.1" 1992 | isarray "0.0.1" 1993 | string_decoder "~0.10.x" 1994 | 1995 | readable-stream@~2.0.0: 1996 | version "2.0.6" 1997 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" 1998 | dependencies: 1999 | core-util-is "~1.0.0" 2000 | inherits "~2.0.1" 2001 | isarray "~1.0.0" 2002 | process-nextick-args "~1.0.6" 2003 | string_decoder "~0.10.x" 2004 | util-deprecate "~1.0.1" 2005 | 2006 | rechoir@^0.6.2: 2007 | version "0.6.2" 2008 | resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" 2009 | dependencies: 2010 | resolve "^1.1.6" 2011 | 2012 | regex-cache@^0.4.2: 2013 | version "0.4.4" 2014 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" 2015 | dependencies: 2016 | is-equal-shallow "^0.1.3" 2017 | 2018 | remove-trailing-separator@^1.0.1: 2019 | version "1.1.0" 2020 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" 2021 | 2022 | repeat-element@^1.1.2: 2023 | version "1.1.2" 2024 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 2025 | 2026 | repeat-string@^1.5.2: 2027 | version "1.6.1" 2028 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2029 | 2030 | replace-ext@0.0.1: 2031 | version "0.0.1" 2032 | resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924" 2033 | 2034 | replacestream@^4.0.0: 2035 | version "4.0.2" 2036 | resolved "https://registry.yarnpkg.com/replacestream/-/replacestream-4.0.2.tgz#0c4140707e4f0323f50de044851708cf58bc37bd" 2037 | dependencies: 2038 | escape-string-regexp "^1.0.3" 2039 | object-assign "^4.0.1" 2040 | readable-stream "^2.0.2" 2041 | 2042 | resolve-dir@^0.1.0: 2043 | version "0.1.1" 2044 | resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-0.1.1.tgz#b219259a5602fac5c5c496ad894a6e8cc430261e" 2045 | dependencies: 2046 | expand-tilde "^1.2.2" 2047 | global-modules "^0.2.3" 2048 | 2049 | resolve@1.1.7: 2050 | version "1.1.7" 2051 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" 2052 | 2053 | resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7: 2054 | version "1.4.0" 2055 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86" 2056 | dependencies: 2057 | path-parse "^1.0.5" 2058 | 2059 | right-align@^0.1.1: 2060 | version "0.1.3" 2061 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 2062 | dependencies: 2063 | align-text "^0.1.1" 2064 | 2065 | rimraf@^2.2.8: 2066 | version "2.6.1" 2067 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 2068 | dependencies: 2069 | glob "^7.0.5" 2070 | 2071 | ripemd160@^2.0.0, ripemd160@^2.0.1: 2072 | version "2.0.1" 2073 | resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7" 2074 | dependencies: 2075 | hash-base "^2.0.0" 2076 | inherits "^2.0.1" 2077 | 2078 | safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 2079 | version "5.1.1" 2080 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 2081 | 2082 | semver@^4.1.0: 2083 | version "4.3.6" 2084 | resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" 2085 | 2086 | semver@^5.0.3: 2087 | version "5.4.1" 2088 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" 2089 | 2090 | semver@~5.0.1: 2091 | version "5.0.3" 2092 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a" 2093 | 2094 | sequencify@~0.0.7: 2095 | version "0.0.7" 2096 | resolved "https://registry.yarnpkg.com/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c" 2097 | 2098 | sha.js@^2.4.0, sha.js@^2.4.8, sha.js@~2.4.4: 2099 | version "2.4.8" 2100 | resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.8.tgz#37068c2c476b6baf402d14a49c67f597921f634f" 2101 | dependencies: 2102 | inherits "^2.0.1" 2103 | 2104 | shasum@^1.0.0: 2105 | version "1.0.2" 2106 | resolved "https://registry.yarnpkg.com/shasum/-/shasum-1.0.2.tgz#e7012310d8f417f4deb5712150e5678b87ae565f" 2107 | dependencies: 2108 | json-stable-stringify "~0.0.0" 2109 | sha.js "~2.4.4" 2110 | 2111 | shell-quote@^1.6.1: 2112 | version "1.6.1" 2113 | resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767" 2114 | dependencies: 2115 | array-filter "~0.0.0" 2116 | array-map "~0.0.0" 2117 | array-reduce "~0.0.0" 2118 | jsonify "~0.0.0" 2119 | 2120 | shelljs@0.3.x: 2121 | version "0.3.0" 2122 | resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.3.0.tgz#3596e6307a781544f591f37da618360f31db57b1" 2123 | 2124 | sigmund@~1.0.0: 2125 | version "1.0.1" 2126 | resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" 2127 | 2128 | source-map@^0.5.1, source-map@~0.5.1, source-map@~0.5.3: 2129 | version "0.5.7" 2130 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 2131 | 2132 | sparkles@^1.0.0: 2133 | version "1.0.0" 2134 | resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.0.tgz#1acbbfb592436d10bbe8f785b7cc6f82815012c3" 2135 | 2136 | stream-browserify@^2.0.0: 2137 | version "2.0.1" 2138 | resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" 2139 | dependencies: 2140 | inherits "~2.0.1" 2141 | readable-stream "^2.0.2" 2142 | 2143 | stream-combiner2@^1.1.1: 2144 | version "1.1.1" 2145 | resolved "https://registry.yarnpkg.com/stream-combiner2/-/stream-combiner2-1.1.1.tgz#fb4d8a1420ea362764e21ad4780397bebcb41cbe" 2146 | dependencies: 2147 | duplexer2 "~0.1.0" 2148 | readable-stream "^2.0.2" 2149 | 2150 | stream-consume@~0.1.0: 2151 | version "0.1.0" 2152 | resolved "https://registry.yarnpkg.com/stream-consume/-/stream-consume-0.1.0.tgz#a41ead1a6d6081ceb79f65b061901b6d8f3d1d0f" 2153 | 2154 | stream-http@^2.0.0: 2155 | version "2.7.2" 2156 | resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.2.tgz#40a050ec8dc3b53b33d9909415c02c0bf1abfbad" 2157 | dependencies: 2158 | builtin-status-codes "^3.0.0" 2159 | inherits "^2.0.1" 2160 | readable-stream "^2.2.6" 2161 | to-arraybuffer "^1.0.0" 2162 | xtend "^4.0.0" 2163 | 2164 | stream-splicer@^2.0.0: 2165 | version "2.0.0" 2166 | resolved "https://registry.yarnpkg.com/stream-splicer/-/stream-splicer-2.0.0.tgz#1b63be438a133e4b671cc1935197600175910d83" 2167 | dependencies: 2168 | inherits "^2.0.1" 2169 | readable-stream "^2.0.2" 2170 | 2171 | string_decoder@~0.10.x: 2172 | version "0.10.31" 2173 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 2174 | 2175 | string_decoder@~1.0.0, string_decoder@~1.0.3: 2176 | version "1.0.3" 2177 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 2178 | dependencies: 2179 | safe-buffer "~5.1.0" 2180 | 2181 | strip-ansi@^3.0.0: 2182 | version "3.0.1" 2183 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2184 | dependencies: 2185 | ansi-regex "^2.0.0" 2186 | 2187 | strip-bom@^1.0.0: 2188 | version "1.0.0" 2189 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-1.0.0.tgz#85b8862f3844b5a6d5ec8467a93598173a36f794" 2190 | dependencies: 2191 | first-chunk-stream "^1.0.0" 2192 | is-utf8 "^0.2.0" 2193 | 2194 | strip-json-comments@1.0.x: 2195 | version "1.0.4" 2196 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91" 2197 | 2198 | strip-json-comments@~2.0.1: 2199 | version "2.0.1" 2200 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2201 | 2202 | subarg@^1.0.0: 2203 | version "1.0.0" 2204 | resolved "https://registry.yarnpkg.com/subarg/-/subarg-1.0.0.tgz#f62cf17581e996b48fc965699f54c06ae268b8d2" 2205 | dependencies: 2206 | minimist "^1.1.0" 2207 | 2208 | subcommand@^2.0.3: 2209 | version "2.1.0" 2210 | resolved "https://registry.yarnpkg.com/subcommand/-/subcommand-2.1.0.tgz#5e4ceca5a3779e3365b1511e05f866877302f760" 2211 | dependencies: 2212 | cliclopts "^1.1.0" 2213 | debug "^2.1.3" 2214 | minimist "^1.2.0" 2215 | xtend "^4.0.0" 2216 | 2217 | supports-color@3.1.2: 2218 | version "3.1.2" 2219 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" 2220 | dependencies: 2221 | has-flag "^1.0.0" 2222 | 2223 | supports-color@^2.0.0: 2224 | version "2.0.0" 2225 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2226 | 2227 | syntax-error@^1.1.1: 2228 | version "1.3.0" 2229 | resolved "https://registry.yarnpkg.com/syntax-error/-/syntax-error-1.3.0.tgz#1ed9266c4d40be75dc55bf9bb1cb77062bb96ca1" 2230 | dependencies: 2231 | acorn "^4.0.3" 2232 | 2233 | textextensions@~1.0.0: 2234 | version "1.0.2" 2235 | resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-1.0.2.tgz#65486393ee1f2bb039a60cbba05b0b68bd9501d2" 2236 | 2237 | through2@^0.6.1: 2238 | version "0.6.5" 2239 | resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48" 2240 | dependencies: 2241 | readable-stream ">=1.0.33-1 <1.1.0-0" 2242 | xtend ">=4.0.0 <4.1.0-0" 2243 | 2244 | through2@^2.0.0: 2245 | version "2.0.3" 2246 | resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" 2247 | dependencies: 2248 | readable-stream "^2.1.5" 2249 | xtend "~4.0.1" 2250 | 2251 | "through@>=2.2.7 <3": 2252 | version "2.3.8" 2253 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 2254 | 2255 | tildify@^1.0.0: 2256 | version "1.2.0" 2257 | resolved "https://registry.yarnpkg.com/tildify/-/tildify-1.2.0.tgz#dcec03f55dca9b7aa3e5b04f21817eb56e63588a" 2258 | dependencies: 2259 | os-homedir "^1.0.0" 2260 | 2261 | time-stamp@^1.0.0: 2262 | version "1.1.0" 2263 | resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3" 2264 | 2265 | timers-browserify@^1.0.1: 2266 | version "1.4.2" 2267 | resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-1.4.2.tgz#c9c58b575be8407375cb5e2462dacee74359f41d" 2268 | dependencies: 2269 | process "~0.11.0" 2270 | 2271 | to-arraybuffer@^1.0.0: 2272 | version "1.0.1" 2273 | resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" 2274 | 2275 | topo@1.x.x: 2276 | version "1.1.0" 2277 | resolved "https://registry.yarnpkg.com/topo/-/topo-1.1.0.tgz#e9d751615d1bb87dc865db182fa1ca0a5ef536d5" 2278 | dependencies: 2279 | hoek "2.x.x" 2280 | 2281 | tty-browserify@~0.0.0: 2282 | version "0.0.0" 2283 | resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" 2284 | 2285 | type-detect@0.1.1: 2286 | version "0.1.1" 2287 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" 2288 | 2289 | type-detect@^1.0.0: 2290 | version "1.0.0" 2291 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" 2292 | 2293 | typedarray@~0.0.5: 2294 | version "0.0.6" 2295 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 2296 | 2297 | uglify-js@~2.8.10: 2298 | version "2.8.29" 2299 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" 2300 | dependencies: 2301 | source-map "~0.5.1" 2302 | yargs "~3.10.0" 2303 | optionalDependencies: 2304 | uglify-to-browserify "~1.0.0" 2305 | 2306 | uglify-save-license@^0.4.1: 2307 | version "0.4.1" 2308 | resolved "https://registry.yarnpkg.com/uglify-save-license/-/uglify-save-license-0.4.1.tgz#95726c17cc6fd171c3617e3bf4d8d82aa8c4cce1" 2309 | 2310 | uglify-to-browserify@~1.0.0: 2311 | version "1.0.2" 2312 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 2313 | 2314 | umd@^3.0.0: 2315 | version "3.0.1" 2316 | resolved "https://registry.yarnpkg.com/umd/-/umd-3.0.1.tgz#8ae556e11011f63c2596708a8837259f01b3d60e" 2317 | 2318 | unc-path-regex@^0.1.0: 2319 | version "0.1.2" 2320 | resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" 2321 | 2322 | unique-stream@^1.0.0: 2323 | version "1.0.0" 2324 | resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b" 2325 | 2326 | url@~0.11.0: 2327 | version "0.11.0" 2328 | resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" 2329 | dependencies: 2330 | punycode "1.3.2" 2331 | querystring "0.2.0" 2332 | 2333 | user-home@^1.1.1: 2334 | version "1.1.1" 2335 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" 2336 | 2337 | util-deprecate@~1.0.1: 2338 | version "1.0.2" 2339 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2340 | 2341 | util@0.10.3, util@~0.10.1: 2342 | version "0.10.3" 2343 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" 2344 | dependencies: 2345 | inherits "2.0.1" 2346 | 2347 | v8flags@^2.0.2: 2348 | version "2.1.1" 2349 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" 2350 | dependencies: 2351 | user-home "^1.1.1" 2352 | 2353 | vinyl-buffer@^1.0.0: 2354 | version "1.0.0" 2355 | resolved "https://registry.yarnpkg.com/vinyl-buffer/-/vinyl-buffer-1.0.0.tgz#ca067ea08431d507722b1de5083f602616ebc234" 2356 | dependencies: 2357 | bl "^0.9.1" 2358 | through2 "^0.6.1" 2359 | 2360 | vinyl-fs@^0.3.0: 2361 | version "0.3.14" 2362 | resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-0.3.14.tgz#9a6851ce1cac1c1cea5fe86c0931d620c2cfa9e6" 2363 | dependencies: 2364 | defaults "^1.0.0" 2365 | glob-stream "^3.1.5" 2366 | glob-watcher "^0.0.6" 2367 | graceful-fs "^3.0.0" 2368 | mkdirp "^0.5.0" 2369 | strip-bom "^1.0.0" 2370 | through2 "^0.6.1" 2371 | vinyl "^0.4.0" 2372 | 2373 | vinyl-source-stream@^1.1.0: 2374 | version "1.1.0" 2375 | resolved "https://registry.yarnpkg.com/vinyl-source-stream/-/vinyl-source-stream-1.1.0.tgz#44cbe5108205279deb0c5653c094a2887938b1ab" 2376 | dependencies: 2377 | through2 "^0.6.1" 2378 | vinyl "^0.4.3" 2379 | 2380 | vinyl-sourcemaps-apply@^0.2.0: 2381 | version "0.2.1" 2382 | resolved "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705" 2383 | dependencies: 2384 | source-map "^0.5.1" 2385 | 2386 | vinyl@^0.4.0, vinyl@^0.4.3: 2387 | version "0.4.6" 2388 | resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847" 2389 | dependencies: 2390 | clone "^0.2.0" 2391 | clone-stats "^0.0.1" 2392 | 2393 | vinyl@^0.5.0: 2394 | version "0.5.3" 2395 | resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.5.3.tgz#b0455b38fc5e0cf30d4325132e461970c2091cde" 2396 | dependencies: 2397 | clone "^1.0.0" 2398 | clone-stats "^0.0.1" 2399 | replace-ext "0.0.1" 2400 | 2401 | vm-browserify@~0.0.1: 2402 | version "0.0.4" 2403 | resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" 2404 | dependencies: 2405 | indexof "0.0.1" 2406 | 2407 | which@^1.2.12: 2408 | version "1.3.0" 2409 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" 2410 | dependencies: 2411 | isexe "^2.0.0" 2412 | 2413 | window-size@0.1.0: 2414 | version "0.1.0" 2415 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 2416 | 2417 | wordwrap@0.0.2: 2418 | version "0.0.2" 2419 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 2420 | 2421 | wrappy@1: 2422 | version "1.0.2" 2423 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2424 | 2425 | wreck@^6.3.0: 2426 | version "6.3.0" 2427 | resolved "https://registry.yarnpkg.com/wreck/-/wreck-6.3.0.tgz#a1369769f07bbb62d6a378336a7871fc773c740b" 2428 | dependencies: 2429 | boom "2.x.x" 2430 | hoek "2.x.x" 2431 | 2432 | xmlhttprequest@^1.8.0: 2433 | version "1.8.0" 2434 | resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" 2435 | 2436 | "xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@~4.0.1: 2437 | version "4.0.1" 2438 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 2439 | 2440 | yargs@~3.10.0: 2441 | version "3.10.0" 2442 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 2443 | dependencies: 2444 | camelcase "^1.0.2" 2445 | cliui "^2.1.0" 2446 | decamelize "^1.0.0" 2447 | window-size "0.1.0" 2448 | --------------------------------------------------------------------------------