diff --git a/.travis.yml b/.travis.yml index f945be7b8..4a5ba727d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,38 +7,9 @@ cache: yarn: true directories: - node_modules -# compiler & addons are both used for RocksDb -# compiler: -# - clang -# - gcc -# addons: -# apt: -# sources: -# - ubuntu-toolchain-r-test -# packages: -# - curl -# - g++-8 -# - libbz2-dev -# - libgflags-dev -# - libsnappy-dev -# - mingw-w64 -# - zlib1g-dev before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$(yarn global bin):$PATH -# install: -# - export ROCKSDB=$HOME/rocksdb-master -# - pushd $HOME -# - curl -sLO https://github.com/facebook/rocksdb/archive/master.zip -# - unzip -q master.zip -# - cd rocksdb-master -# - make shared_lib -# - popd -# - export CFLAGS="-I${ROCKSDB}/include/" -# - export CXXFLAGS="-I${ROCKSDB}/include/" -# - export LDFLAGS="-L${ROCKSDB} -lrocksdb -lstdc++ -lm -lz" -# - export LD_LIBRARY_PATH="${ROCKSDB}:/usr/local/lib" -# - yarn script: - yarn polkadot-dev-travis-build deploy: diff --git a/package.json b/package.json index 11219c732..020a14197 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "test": "jest --coverage" }, "devDependencies": { - "@babel/core": "^7.4.0", - "@polkadot/dev": "^0.29.1", + "@babel/core": "^7.4.3", + "@polkadot/dev": "^0.30.0-beta.0", "@polkadot/ts": "^0.1.56", "gh-pages": "^2.0.1" } diff --git a/packages/chainspec/package.json b/packages/chainspec/package.json index 58f8b1de8..f1bf5520d 100644 --- a/packages/chainspec/package.json +++ b/packages/chainspec/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/chainspec#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/util": "^0.76.0-beta.6" } } diff --git a/packages/db/package.json b/packages/db/package.json index bbd838033..66a2d4aad 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -28,15 +28,9 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/db#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/trie-hash": "^0.76.0-beta.6", "@polkadot/util": "^0.76.0-beta.6", - "@types/mkdirp": "^0.5.2", - "@types/rimraf": "^2.0.2", - "@types/snappy": "^6.0.0", - "lru_map": "^0.3.3", - "mkdirp": "^0.5.1", - "node-lmdb": "^0.6.2", - "snappy": "^6.1.2" + "lru_map": "^0.3.3" } } diff --git a/packages/db/src/Disk.ts b/packages/db/src/Disk.ts deleted file mode 100644 index 8b5666ae6..000000000 --- a/packages/db/src/Disk.ts +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { BaseDbOptions } from './types'; - -import FileFlatDb from './FileFlatDb'; -import LmDb from './engines/LmDb'; -import LruDb from './engines/LruDb'; -import TransactionDb from './engines/TransactionDb'; - -/** - * @name DiskDb - * @summary Creates DiskDb database using LruDb for caching with FileFlatDb and extending TransactionDb. - * @description Create an instance of a Disk database using - * LruDb (for caching with FileFlatDb) and extending TransactionDb. - * Note that LruDB uses the [Least Recently Used (LRU) cache algorithm](https://www.npmjs.com/package/lru_map) - * @example - *
- * - * ```javascript - * import stringToU8a from '@polkadot/util/string/toU8a'; - * import DiskDb from '@polkadot/db/Disk'; - * import TransactionDb from '@polkadot/db/engines/TransactionDb'; - * - * // Creat diskDb instance that wraps LruDb with backing and Lru cache - * const diskDb = new DiskDb(); - * - * // Creat txDb instance that uses diskDb - * const txDb = new TransactionDb(diskDb); - * - * // Open the disk db backing database. Clears the Lru cache - * diskDb.open(); - * - * // Declare key/value pair to allocate to store under a the key - * const key = stringToU8a('key'); - * const value = stringToU8a('some value'); - * - * // Store key/value pair in disk db backing and also in Lru cache - * diskDb.put(key, value); - * - * // Retrieve value for key from disk db. Returns cached value if key - * // in cache, otherwise returns backing value for key and stores - * // this latest retrieved key/value pair in Lru cache - * valueRetrieved = diskDb.get(key); - * - * // Delete key/value pair from disk db backing and set the key to null in Lru cache - * diskDb.del(key); - * - * // Transaction to Store key/value pair in transaction db - * const isTxSuccess = txDb.transaction(() => { - * txDb.put(key, value); - * - * // Boolean to indicate whether transaction was successful or not - * return true; - * }); - * - * console.log(`Transaction successful?: ${isTxSuccess}`); - * - * // Retrieve transaction value from diskDb db - * console.log(`Transfered value: ${diskDb.get(key)}`); - * - * // Close the diskDb database and clear Lru cache - * diskDb.close(); - * ``` - */ -export default class DiskDb extends TransactionDb { - constructor (base: string, name: string, options: BaseDbOptions = {}) { - const backing = options.isNative - ? new FileFlatDb(base, name, options) - : new LmDb(base, name, options); - - super( - options.isLru - ? new LruDb(backing) - : backing - ); - } -} diff --git a/packages/db/src/FileFlatDb/Cache.ts b/packages/db/src/FileFlatDb/Cache.ts deleted file mode 100644 index d4604c977..000000000 --- a/packages/db/src/FileFlatDb/Cache.ts +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { BaseDbOptions } from '../types'; - -import fs from 'fs'; -import { LRUMap } from 'lru_map'; - -import File from './File'; -import defaults from './defaults'; - -export default class Cache extends File { - protected _lruBranch: LRUMap; - protected _lruData: LRUMap; - - constructor (base: string, file: string, options: BaseDbOptions) { - super(base, file, options); - - this._lruBranch = new LRUMap(defaults.LRU_BRANCH_COUNT); - this._lruData = new LRUMap(defaults.LRU_DATA_COUNT); - } - - protected _cacheBranch (branchAt: number, branch: Buffer): void { - this._lruBranch.set(branchAt, branch); - } - - protected _cacheData (dataAt: number, data: Buffer): void { - this._lruData.set(dataAt, data); - } - - protected _getCachedBranch (branchAt: number): Buffer { - let branch = this._lruBranch.get(branchAt); - - if (!branch) { - branch = Buffer.alloc(defaults.BRANCH_SIZE); - - fs.readSync(this._fd, branch, 0, defaults.BRANCH_SIZE, branchAt); - this._cacheBranch(branchAt, branch); - } - - return branch; - } - - protected _getCachedData (dataAt: number, length: number): Buffer { - let data = this._lruData.get(dataAt); - - if (!data) { - data = Buffer.alloc(length); - - fs.readSync(this._fd, data, 0, length, dataAt); - this._cacheData(dataAt, data); - } - - return data; - } -} diff --git a/packages/db/src/FileFlatDb/Compact.spec.ts b/packages/db/src/FileFlatDb/Compact.spec.ts deleted file mode 100644 index a9cf8bea8..000000000 --- a/packages/db/src/FileFlatDb/Compact.spec.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import FileFlatDb from '.'; - -describe.skip('FileFlatDb (compacting)', () => { - const combined = new FileFlatDb(process.cwd()); - - it('compacts without failing', () => { - expect( - combined.maintain(() => { - // noop - }) - ).not.toBe(0); - }); -}); diff --git a/packages/db/src/FileFlatDb/Compact.ts b/packages/db/src/FileFlatDb/Compact.ts deleted file mode 100644 index 90fa8b91c..000000000 --- a/packages/db/src/FileFlatDb/Compact.ts +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { ProgressCb } from '../types'; -import { Slot } from './types'; - -import fs from 'fs'; -import { assert, logger } from '@polkadot/util'; - -import defaults from './defaults'; - -const l = logger('db/compact'); - -export default class Compact { - private _fd: number; - private _file: string; - - constructor (file: string) { - this._fd = -1; - this._file = file; - } - - maintain (fn: ProgressCb): void { - assert(this._fd === -1, 'Database cannot be open for compacting'); - - l.log('compacting database'); - - const start = Date.now(); - const newFile = `${this._file}.compacted`; - const newFd = this._open(newFile, true); - const oldFd = this._open(this._file); - const keys = this._compact(fn, newFd, oldFd); - - fs.closeSync(oldFd); - fs.closeSync(newFd); - - const newStat = fs.lstatSync(newFile); - const oldStat = fs.lstatSync(this._file); - const percentage = 100 * (newStat.size / oldStat.size); - const sizeMB = newStat.size / (1024 * 1024); - const elapsed = (Date.now() - start) / 1000; - - fs.unlinkSync(this._file); - fs.renameSync(newFile, this._file); - - l.log(`compacted in ${elapsed.toFixed(2)}s, ${(keys / 1000).toFixed(2)}k keys, ${sizeMB.toFixed(2)}MB (${percentage.toFixed(2)}%)`); - } - - private _open (file: string, startEmpty: boolean = false): number { - if (!fs.existsSync(file) || startEmpty) { - fs.writeFileSync(file, Buffer.alloc(defaults.BRANCH_SIZE)); - } - - return fs.openSync(file, 'r+'); - } - - private _compact (fn: ProgressCb, newFd: number, oldFd: number): number { - // l.debug(() => ['_compact', debug({ newFd, oldFd, newAt, oldAt })]); - - let keys = 0; - let percent = 0; - - const doCompact = (newAt: number, oldAt: number, depth: number) => { - const increment = (100 / defaults.ENTRY_NUM) / Math.pow(defaults.ENTRY_NUM, depth); - - for (let index = 0; index < defaults.ENTRY_NUM; index++) { - const entry = this._compactReadEntry(oldFd, oldAt, index); - const dataAt = entry.readUIntBE(1, defaults.UINT_SIZE); - const entryType = entry[0]; - - if (entryType === Slot.EMPTY) { - // l.debug(() => '_compact/isEmpty'); - percent += increment; - } else if (entryType === Slot.LEAF) { - // l.debug(() => '_compact/isLeaf'); - - const [key, value] = this._compactReadKey(oldFd, dataAt); - const keyAt = this._compactWriteKey(newFd, key, value); - - this._compactUpdateLink(newFd, newAt, index, keyAt, Slot.LEAF); - - keys++; - percent += increment; - } else if (entryType === Slot.BRANCH) { - // l.debug(() => '_compact/isBranch'); - - const headerAt = this._compactWriteHeader(newFd, newAt, index); - - doCompact(headerAt, dataAt, depth + 1); - } else { - throw new Error(`Unknown entry type, ${entryType}`); - } - - fn({ - isCompleted: depth === 0 && index === (defaults.ENTRY_NUM - 1), - keys, - percent - }); - } - - // l.debug(() => ['_compact', '=>', `${depth}: ${keys} keys written`]); - }; - - doCompact(0, 0, 0); - - return keys; - } - - private _compactReadEntry (fd: number, at: number, index: number): Buffer { - const entry = Buffer.alloc(defaults.ENTRY_SIZE); - const entryAt = at + (index * defaults.ENTRY_SIZE); - - fs.readSync(fd, entry, 0, defaults.ENTRY_SIZE, entryAt); - - return entry; - } - - private _compactReadKey (fd: number, at: number): [Buffer, Buffer] { - const key = Buffer.alloc(defaults.KEY_TOTAL_SIZE); - - fs.readSync(fd, key, 0, defaults.KEY_TOTAL_SIZE, at); - - const valueLength = key.readUIntBE(defaults.KEY_SIZE, defaults.UINT_SIZE); - const valueAt = key.readUIntBE(defaults.KEY_SIZE + defaults.UINT_SIZE, defaults.UINT_SIZE); - const value = Buffer.alloc(valueLength); - - fs.readSync(fd, value, 0, valueLength, valueAt); - - return [key, value]; - } - - private _compactWriteKey (fd: number, key: Buffer, value: Buffer): number { - const valueAt = fs.fstatSync(fd).size; - const keyAt = valueAt + value.length; - - key.writeUIntBE(valueAt, defaults.KEY_SIZE + defaults.UINT_SIZE, defaults.UINT_SIZE); - - fs.writeSync(fd, value, 0, value.length, valueAt); - fs.writeSync(fd, key, 0, defaults.KEY_TOTAL_SIZE, keyAt); - - return keyAt; - } - - private _compactUpdateLink (fd: number, at: number, index: number, pointer: number, type: Slot): void { - const entry = Buffer.alloc(defaults.ENTRY_SIZE); - - entry.set([type], 0); - entry.writeUIntBE(pointer, 1, defaults.UINT_SIZE); - - fs.writeSync(fd, entry, 0, defaults.ENTRY_SIZE, at + (index * defaults.ENTRY_SIZE)); - } - - private _compactWriteHeader (fd: number, at: number, index: number): number { - const headerAt = fs.fstatSync(fd).size; - const header = Buffer.alloc(defaults.BRANCH_SIZE); - - fs.writeSync(fd, header, 0, defaults.BRANCH_SIZE, headerAt); - - this._compactUpdateLink(fd, at, index, headerAt, Slot.BRANCH); - - return headerAt; - } -} diff --git a/packages/db/src/FileFlatDb/File.ts b/packages/db/src/FileFlatDb/File.ts deleted file mode 100644 index 8d6ab5bbc..000000000 --- a/packages/db/src/FileFlatDb/File.ts +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { BaseDbOptions } from '../types'; - -import fs from 'fs'; -import mkdirp from 'mkdirp'; -import path from 'path'; -import { assert, isUndefined } from '@polkadot/util'; - -import Serialize from './Serialize'; -import defaults from './defaults'; - -export default class File extends Serialize { - protected _fd: number = -1; - protected _fileSize: number = 0; - protected _path: string; - protected _file: string; - - constructor (base: string, file: string, options: BaseDbOptions) { - super(); - - this._file = file; - this._path = path.join(base, file); - this._isCompressed = options && !isUndefined(options.isCompressed) - ? options.isCompressed - : false; - - mkdirp.sync(base); - } - - protected assertOpen (open: boolean = true): void { - const test = open - ? this._fd !== -1 - : this._fd === -1; - - assert(test, `Expected ${open ? 'an open' : 'a closed'} database`); - } - - protected _close (): void { - fs.closeSync(this._fd); - - this._fd = -1; - } - - protected _open (file: string, startEmpty: boolean = false): void { - const isExisting = fs.existsSync(file); - - if (!isExisting || startEmpty) { - if (isExisting) { - fs.renameSync(file, `${file}.${Date.now()}`); - } - - fs.writeFileSync(file, Buffer.alloc(defaults.BRANCH_SIZE)); - } - - this._fd = fs.openSync(file, 'r+'); - this._fileSize = fs.fstatSync(this._fd).size; - } -} diff --git a/packages/db/src/FileFlatDb/Impl.ts b/packages/db/src/FileFlatDb/Impl.ts deleted file mode 100644 index fb0a4415d..000000000 --- a/packages/db/src/FileFlatDb/Impl.ts +++ /dev/null @@ -1,248 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { Key, NibbleBuffer, Slot, Value } from './types'; - -import fs from 'fs'; -import { logger } from '@polkadot/util'; - -import Cache from './Cache'; -import defaults from './defaults'; - -const l = logger('db/flat'); - -export default class Impl extends Cache { - protected _getKeyValue (keyAt: number): Buffer { - return this._getCachedData(keyAt, defaults.KEY_TOTAL_SIZE); - } - - protected _retrieveBranch (doCreate: boolean, branch: Buffer, entryIndex: number, keyIndex: number, key: NibbleBuffer): Key | null { - const nextBranchAt = branch.readUIntBE(entryIndex + 1, defaults.UINT_SIZE); - - l.debug(() => ['findKey/isBranch', { nextBranchAt }]); - - return this._findKey(key, doCreate, keyIndex + 1, nextBranchAt); - } - - protected _retrieveEmpty (doCreate: boolean, branch: Buffer, branchAt: number, entryIndex: number, key: NibbleBuffer): Key | null { - l.debug(() => ['findKey/isEmpty']); - - return doCreate - ? this.writeNewLeaf(branch, branchAt, entryIndex, key) - : null; - } - - protected _retrieveLeaf (doCreate: boolean, branch: Buffer, branchAt: number, entryIndex: number, keyIndex: number, key: NibbleBuffer): Key | null { - const keyAt = branch.readUIntBE(entryIndex + 1, defaults.UINT_SIZE); - const keyValue = this._getKeyValue(keyAt); - const prevKey = this._serializeKey(keyValue.subarray(0, defaults.KEY_SIZE)); - let matchIndex = keyIndex; - - l.debug(() => ['findKey/isLeaf', { keyAt, branch, branchAt, entryIndex, keyValue }]); - - while (matchIndex < defaults.KEY_PARTS_LENGTH) { - if (prevKey.parts[matchIndex] !== key.parts[matchIndex]) { - break; - } - - matchIndex++; - } - - if (matchIndex !== defaults.KEY_PARTS_LENGTH) { - return doCreate - ? this.writeNewBranch(branch, branchAt, entryIndex, key, keyAt, prevKey, matchIndex, matchIndex - keyIndex - 1) - : null; - } - - return { - key, - keyAt, - keyValue - }; - } - - protected _findKey (key: NibbleBuffer, doCreate: boolean, keyIndex: number, branchAt: number): Key | null { - const entryIndex = key.parts[keyIndex] * defaults.ENTRY_SIZE; - const branch = this._getCachedBranch(branchAt); - - l.debug(() => ['findKey', { key, doCreate, keyIndex, branchAt, branch, entryIndex }]); - - const entryType = branch[entryIndex]; - - switch (entryType) { - case Slot.BRANCH: - return this._retrieveBranch(doCreate, branch, entryIndex, keyIndex, key); - - case Slot.EMPTY: - return this._retrieveEmpty(doCreate, branch, branchAt, entryIndex, key); - - case Slot.LEAF: - return this._retrieveLeaf(doCreate, branch, branchAt, entryIndex, keyIndex, key); - - default: - throw new Error(`Unhandled entry type ${entryType}`); - } - } - - protected _extractValueInfo (keyValue: Buffer): { valueAt: number, valueLength: number } { - return { - valueLength: keyValue.readUIntBE(defaults.KEY_SIZE, defaults.UINT_SIZE), - valueAt: keyValue.readUIntBE(defaults.KEY_SIZE + defaults.UINT_SIZE, defaults.UINT_SIZE) - }; - } - - protected _readValue (keyValue: Buffer): Value { - l.debug(() => ['readValue', { keyValue }]); - - const { valueAt, valueLength } = this._extractValueInfo(keyValue); - const value = this._getCachedData(valueAt, valueLength); - - return { - value, - valueAt - }; - } - - protected _writeValue (keyAt: number, keyValue: Buffer, value: Buffer): Value { - // l.debug(() => ['writeValue', { keyAt, keyValue, value }]); - - const current = this._extractValueInfo(keyValue); - const valueAt = value.length > current.valueLength - ? this._writeNewBuffer(value) - : this._writeUpdatedBuffer(value, current.valueAt); - - keyValue.writeUIntBE(value.length, defaults.KEY_SIZE, defaults.UINT_SIZE); - keyValue.writeUIntBE(valueAt, defaults.KEY_SIZE + defaults.UINT_SIZE, defaults.UINT_SIZE); - fs.writeSync(this._fd, keyValue, defaults.KEY_SIZE, 2 * defaults.UINT_SIZE, keyAt + defaults.KEY_SIZE); - - return { - value, - valueAt - }; - } - - protected _writeNewKey (key: NibbleBuffer): Key { - // l.debug(() => ['writeNewKey', { key }]); - - const keyValue = Buffer.alloc(defaults.KEY_TOTAL_SIZE); - - keyValue.set(key.buffer, 0); - - const keyAt = this._writeNewBuffer(keyValue); - - return { - key, - keyAt, - keyValue - }; - } - - protected writeNewKey (key: NibbleBuffer): Key { - const result = this._writeNewKey(key); - - l.debug(() => ['writeNewKey', '=>', { result }]); - - return result; - } - - protected _writeNewBranch (branch: Buffer, branchAt: number, entryIndex: number, key: NibbleBuffer, prevAt: number, prevKey: NibbleBuffer, matchIndex: number, depth: number): Key { - // l.debug(() => ['writeNewBranch', { branch, branchAt, entryIndex, key, prevAt, prevKey, matchIndex, depth }]); - - const { keyAt, keyValue } = this.writeNewKey(key); - const keyIndex = key.parts[matchIndex] * defaults.ENTRY_SIZE; - const prevIndex = prevKey.parts[matchIndex] * defaults.ENTRY_SIZE; - const buffers: Array = []; - let newBranchAt = this._fileSize; - let newBranch = Buffer.alloc(defaults.BRANCH_SIZE); - - newBranch.set([Slot.LEAF], keyIndex); - newBranch.writeUIntBE(keyAt, keyIndex + 1, defaults.UINT_SIZE); - newBranch.set([Slot.LEAF], prevIndex); - newBranch.writeUIntBE(prevAt, prevIndex + 1, defaults.UINT_SIZE); - buffers.push(newBranch); - - for (let offset = 1; depth > 0; depth--, offset++) { - const branchIndex = key.parts[matchIndex - offset] * defaults.ENTRY_SIZE; - - newBranch = Buffer.alloc(defaults.BRANCH_SIZE); - newBranch.set([Slot.BRANCH], branchIndex); - newBranch.writeUIntBE(newBranchAt, branchIndex + 1, defaults.UINT_SIZE); - buffers.push(newBranch); - newBranchAt += defaults.BRANCH_SIZE; - } - - this._writeNewBuffers(buffers); - - branch.set([Slot.BRANCH], entryIndex); - branch.writeUIntBE(newBranchAt, entryIndex + 1, defaults.UINT_SIZE); - fs.writeSync(this._fd, branch, entryIndex, defaults.ENTRY_SIZE, branchAt + entryIndex); - - return { key, keyAt, keyValue }; - } - - protected writeNewBranch (branch: Buffer, branchAt: number, entryIndex: number, key: NibbleBuffer, prevAt: number, prevValue: NibbleBuffer, matchIndex: number, depth: number): Key { - const result = this._writeNewBranch(branch, branchAt, entryIndex, key, prevAt, prevValue, matchIndex, depth); - - l.debug(() => ['writeNewBranch', '=>', { result }]); - - return result; - } - - protected _writeNewLeaf (branch: Buffer, branchAt: number, entryIndex: number, key: NibbleBuffer): Key { - l.debug(() => ['writeNewLeaf', { branch, branchAt, entryIndex, key }]); - - const { keyAt, keyValue } = this.writeNewKey(key); - - branch.set([Slot.LEAF], entryIndex); - branch.writeUIntBE(keyAt, entryIndex + 1, defaults.UINT_SIZE); - - fs.writeSync(this._fd, branch, entryIndex, defaults.ENTRY_SIZE, branchAt + entryIndex); - - return { - key, - keyAt, - keyValue - }; - } - - protected writeNewLeaf (branch: Buffer, branchAt: number, entryIndex: number, key: NibbleBuffer): Key { - const result = this._writeNewLeaf(branch, branchAt, entryIndex, key); - - l.debug(() => ['writeNewLeaf', '=>', { result }]); - - return result; - } - - protected _writeUpdatedBuffer (buffer: Buffer, bufferAt: number): number { - fs.writeSync(this._fd, buffer, 0, buffer.length, bufferAt); - this._cacheData(bufferAt, buffer); - - return bufferAt; - } - - protected _writeNewBuffer (buffer: Buffer, withCache: boolean = true): number { - const startAt = this._fileSize; - - fs.writeSync(this._fd, buffer, 0, buffer.length, startAt); - - if (withCache) { - this._cacheData(startAt, buffer); - } - - this._fileSize += buffer.length; - - return startAt; - } - - protected _writeNewBuffers (buffers: Array): number { - let bufferAt = this._fileSize; - - buffers.forEach((buffer) => { - this._cacheData(bufferAt, buffer); - bufferAt += buffer.length; - }); - - return this._writeNewBuffer(Buffer.concat(buffers), false); - } -} diff --git a/packages/db/src/FileFlatDb/Serialize.ts b/packages/db/src/FileFlatDb/Serialize.ts deleted file mode 100644 index b296bccf2..000000000 --- a/packages/db/src/FileFlatDb/Serialize.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { NibbleBuffer } from './types'; - -import snappy from 'snappy'; -import { toNibbles } from '@polkadot/trie-codec/util'; -import { assert, bufferToU8a, u8aToBuffer, u8aToHex } from '@polkadot/util'; - -import defaults from './defaults'; - -export default class Serialize { - protected _isCompressed: boolean = false; - - protected _deserializeValue (value: Buffer): Uint8Array | null { - return bufferToU8a( - this._isCompressed - ? snappy.uncompressSync(value) - : value - ); - } - - protected _serializeValue (value: Uint8Array): Buffer { - return this._isCompressed - ? snappy.compressSync( - u8aToBuffer(value) - ) - : u8aToBuffer(value); - } - - protected _serializeKey (u8a: Uint8Array): NibbleBuffer { - assert(u8a.length <= defaults.KEY_SIZE, `${u8aToHex(u8a)} too large, expected <= 32 bytes`); - - let buffer; - let full; - - if (u8a.length === defaults.KEY_SIZE) { - full = u8a; - } else { - full = new Uint8Array(defaults.KEY_SIZE); - - full.set(u8a, 0); - } - - buffer = u8aToBuffer(full); - - return { - buffer, - parts: defaults.KEY_IS_NIBBLES - ? toNibbles(full) - : full - }; - } -} diff --git a/packages/db/src/FileFlatDb/ViaTrie.spec.ts b/packages/db/src/FileFlatDb/ViaTrie.spec.ts deleted file mode 100644 index 413951bc5..000000000 --- a/packages/db/src/FileFlatDb/ViaTrie.spec.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import mkdirp from 'mkdirp'; -import path from 'path'; -import rimraf from 'rimraf'; -import { alexander } from '@polkadot/chainspec'; -import TrieDb from '@polkadot/trie-db'; -import { hexToU8a, u8aToHex } from '@polkadot/util'; - -import DiskDb from '../Disk'; - -describe.skip('DB via a trie', () => { - const location = path.join(process.cwd(), '--test-FileFlatDb-ViaTrie'); - const { genesis: { raw }, genesisRoot } = alexander; - - beforeAll(() => { - rimraf.sync(location); - mkdirp.sync(location); - }); - - it('creates a trie with the correct root', () => { - const trie = new TrieDb(new DiskDb(location, 'test.db', { isNative: true })); - - trie.open(); - trie.transaction(() => { - Object.keys(raw).forEach((key) => { - trie.put(hexToU8a(key), hexToU8a(raw[key])); - }); - - return true; - }); - - expect( - u8aToHex(trie.getRoot()) - ).toEqual(genesisRoot); - }); - - describe('re-opens and has all the correct keys', () => { - const trie = new TrieDb(new DiskDb(location, 'test.db', { isNative: true })); - - trie.open(); - trie.setRoot(hexToU8a(genesisRoot)); - - Object.keys(raw).forEach((key) => { - it(key, () => { - expect( - u8aToHex(trie.get(hexToU8a(key))) - ).toEqual(raw[key]); - }); - }); - }); -}); diff --git a/packages/db/src/FileFlatDb/defaults.ts b/packages/db/src/FileFlatDb/defaults.ts deleted file mode 100644 index 42a54ac86..000000000 --- a/packages/db/src/FileFlatDb/defaults.ts +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -// Allows for 1,099,511,627,776 filesize (max allowed here is 6 as per Nodejs) -const UINT_SIZE = 5; -const DEFAULT_FILE = 'store.db'; -const ONE_K = 1024; - -// 16 for nibbles (key -> asNibbles), 256 for bytes (key -> asU8a) -// There is a tradeof here: -// - with nibbles there are more writes and more read branching traversals -// - with bytes there are less writes, however more disk space -const ENTRY_NUM: 16 | 256 = 16; -const ENTRY_SIZE = 1 + UINT_SIZE; - -// the size of a branch entry, 96 for nibbles, 1,536 for bytes -const BRANCH_SIZE = ENTRY_NUM * ENTRY_SIZE; - -// key calculations -const KEY_IS_NIBBLES = (ENTRY_NUM as any) === 16; -const KEY_SIZE = 32; -const KEY_PARTS_LENGTH = KEY_IS_NIBBLES - ? KEY_SIZE * 2 - : KEY_SIZE; -const KEY_TOTAL_SIZE = KEY_SIZE + UINT_SIZE + UINT_SIZE; - -// LRU caches so things don't need to be read directly from disk when fresh -const LRU_BRANCH_COUNT = KEY_IS_NIBBLES - ? 32 * ONE_K - : 4 * ONE_K; -const LRU_DATA_COUNT = 32 * ONE_K; - -export default { - BRANCH_SIZE, - DEFAULT_FILE, - ENTRY_NUM, - ENTRY_SIZE, - KEY_IS_NIBBLES, - KEY_PARTS_LENGTH, - KEY_SIZE, - KEY_TOTAL_SIZE, - LRU_BRANCH_COUNT, - LRU_DATA_COUNT, - UINT_SIZE -}; diff --git a/packages/db/src/FileFlatDb/index.spec.ts b/packages/db/src/FileFlatDb/index.spec.ts deleted file mode 100644 index fe966f098..000000000 --- a/packages/db/src/FileFlatDb/index.spec.ts +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import mkdirp from 'mkdirp'; -import path from 'path'; -import rimraf from 'rimraf'; - -import FileFlatDb from '.'; - -const KEY_A = new Uint8Array([ - 0x10, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -]); -const KEY_B = new Uint8Array([ - 0x20, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -]); -const KEY_C = new Uint8Array([ - 0x10, 2, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -]); -const KEY_D = new Uint8Array([ - 0x10, 2, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -]); -const KEY_E = new Uint8Array([ - 0x10, 2, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -]); -const KEY_F = new Uint8Array([ - 0x50, 2, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -]); -const VAL_A = new Uint8Array([0x42, 1, 0x69]); -const VAL_B = new Uint8Array([0x42, 1, 2, 0x69]); -const VAL_C = new Uint8Array([0x42, 1, 2, 3, 0x69]); -const VAL_D = new Uint8Array([0x42, 1, 2, 3, 4, 0x69]); -const VAL_E = new Uint8Array([0x42, 1, 2, 3, 4, 5, 0x69]); -const VAL_F = new Uint8Array([0x42, 1, 2, 3, 4, 5, 6, 0x69]); - -// NOTE Skipped, doesn't seem to be too happy on CI (cwd issues?) -describe.skip('FileFlatDb (basics)', () => { - const location = path.join(process.cwd(), '--test-FileFlatDb-index'); - let store: FileFlatDb; - - const testGet = (key: Uint8Array, value: Uint8Array) => - expect(store.get(key)).toEqual(value); - - beforeAll(() => { - mkdirp.sync(location); - - store = new FileFlatDb(location); - store.open(); - }); - - afterAll(() => { - store.close(); - rimraf.sync(location); - }); - - it('writes an entry', () => { - console.error('A: execute'); - - store.put(KEY_A, VAL_A); - - console.error('A: expectations'); - - testGet(KEY_A, VAL_A); - }); - - it('writes an entry (additional)', () => { - console.error('B: execute'); - - store.put(KEY_B, VAL_B); - - console.error('A: expectations'); - - testGet(KEY_A, VAL_A); - testGet(KEY_B, VAL_B); - }); - - it('writes an entry (expanding the tree)', () => { - console.error('C: execute'); - - store.put(KEY_C, VAL_C); - - console.error('C: expectations'); - - // testGet(KEY_A, VAL_A); - // testGet(KEY_B, VAL_B); - testGet(KEY_C, VAL_C); - }); - - it('writes an entry (expanding the tree, again)', () => { - console.error('D: execute'); - - store.put(KEY_D, VAL_D); - - console.error('D: expectations'); - - testGet(KEY_A, VAL_A); - testGet(KEY_B, VAL_B); - testGet(KEY_C, VAL_C); - testGet(KEY_D, VAL_D); - }); - - it('writes an entry (expanding the tree, yet again)', () => { - console.error('E: execute'); - - store.put(KEY_E, VAL_E); - - console.error('E: expectations'); - - testGet(KEY_A, VAL_A); - testGet(KEY_B, VAL_B); - testGet(KEY_C, VAL_C); - testGet(KEY_D, VAL_D); - testGet(KEY_E, VAL_E); - }); - - it('writes an entry, expanding the top-level', () => { - console.error('F: execute'); - - store.put(KEY_F, VAL_F); - - console.error('F: expectations'); - - testGet(KEY_A, VAL_A); - testGet(KEY_B, VAL_B); - testGet(KEY_C, VAL_C); - testGet(KEY_D, VAL_D); - testGet(KEY_E, VAL_E); - testGet(KEY_F, VAL_F); - }); - - it('overrides with smaller values', () => { - console.error('G: execute'); - - store.put(KEY_F, VAL_A); - - console.error('G: expectations'); - - testGet(KEY_F, VAL_A); - }); - - it('overrides with larger values', () => { - console.error('H: execute'); - - store.put(KEY_A, VAL_F); - - console.error('H: expectations'); - - testGet(KEY_A, VAL_F); - }); -}); diff --git a/packages/db/src/FileFlatDb/index.ts b/packages/db/src/FileFlatDb/index.ts deleted file mode 100644 index 7cd2faeef..000000000 --- a/packages/db/src/FileFlatDb/index.ts +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { BaseDb, BaseDbOptions, ProgressCb } from '../types'; -import { Key, NibbleBuffer, Value } from './types'; - -import fs from 'fs'; -import path from 'path'; -import { logger } from '@polkadot/util'; - -import defaults from './defaults'; -import Compact from './Compact'; -import Impl from './Impl'; - -const l = logger('db/flat'); - -export default class FileFlatDb extends Impl implements BaseDb { - constructor (base: string, file: string = defaults.DEFAULT_FILE, options: BaseDbOptions = {}) { - super(base, file, options); - } - - open (): void { - this.assertOpen(false); - - this._open(this._path); - this._lruBranch.clear(); - this._lruData.clear(); - } - - close (): void { - this.assertOpen(); - - this._close(); - this._lruBranch.clear(); - this._lruData.clear(); - } - - drop (): void { - this.assertOpen(false); - - fs.unlinkSync(this._path); - } - - empty (): void { - this.assertOpen(false); - - this._open(this._path, true); - } - - size (): number { - return this._fileSize; - } - - rename (base: string, file: string): void { - this.assertOpen(false); - - const oldPath = this._path; - - this._file = file; - this._path = path.join(base, file); - - fs.renameSync(oldPath, this._path); - } - - maintain (fn: ProgressCb): void { - this.assertOpen(false); - - const compactor = new Compact(this._file); - - compactor.maintain(fn); - } - - del (key: Uint8Array): void { - throw new Error('delete not implemented, only stubbed'); - } - - get (key: Uint8Array): Uint8Array | null { - this.assertOpen(); - - l.debug(() => ['get', { key }]); - - const desc = this.findKey(this._serializeKey(key), false); - - if (!desc) { - return null; - } - - const result = this.readValue(desc); - - return result && result.value - ? this._deserializeValue(result.value) - : null; - } - - put (key: Uint8Array, value: Uint8Array): void { - this.assertOpen(); - - l.debug(() => ['set', { key, value }]); - - const desc = this.findKey(this._serializeKey(key), true); - - if (!desc) { - throw new Error('Unable to create key'); - } - - this.writeValue( - desc, - this._serializeValue(value) - ); - } - - protected findKey (key: NibbleBuffer, doCreate: boolean): Key | null { - const result = this._findKey(key, doCreate, 0, 0); - - l.debug(() => ['findKey', { result }]); - - return result; - } - - protected readValue ({ keyValue }: Key): Value { - const result = this._readValue(keyValue); - - l.debug(() => ['readValue', { result }]); - - return result; - } - - protected writeValue ({ keyAt, keyValue }: Key, value: Buffer): Value { - const result = this._writeValue(keyAt, keyValue, value); - - l.debug(() => ['writeValue', '=>', { result }]); - - return result; - } -} diff --git a/packages/db/src/FileFlatDb/types.ts b/packages/db/src/FileFlatDb/types.ts deleted file mode 100644 index cb7795425..000000000 --- a/packages/db/src/FileFlatDb/types.ts +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -export enum Slot { - EMPTY = 0, - BRANCH = 1, - LEAF = 2 -} - -export type NibbleBuffer = { - buffer: Buffer, - parts: Uint8Array -}; - -export type Key = { - key: NibbleBuffer, - keyAt: number, - keyValue: Buffer -}; - -export type Value = { - value: Buffer, - valueAt: number -}; diff --git a/packages/db/src/engines/FileTreeDb.ts b/packages/db/src/engines/FileTreeDb.ts deleted file mode 100644 index 2895edae6..000000000 --- a/packages/db/src/engines/FileTreeDb.ts +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { BaseDb, ProgressCb } from '../types'; - -import fs from 'fs'; -import mkdirp from 'mkdirp'; -import { bufferToU8a, logger, u8aToBuffer, u8aToHex } from '@polkadot/util'; - -type FilePath = { - directory: string, - file: string -}; - -const DIR_DEPTH = 1; - -const l = logger('db/tree'); - -export default class FileTreeDb implements BaseDb { - _location: string; - - constructor (location: string) { - this._location = location; - } - - private _getFilePath (key: Uint8Array): FilePath { - // NOTE We want to limit the number of entries in any specific directory. Split the - // key into parts and use this to construct the path and the actual filename. We want - // to limit the entries per directory, but at the same time minimize the number of - // directories we need to create (when non-existent as well as the size overhead) - const parts = u8aToHex(key).match(/.{1,6}/g) || []; - const directory = `${this._location}/${parts.slice(0, DIR_DEPTH).join('/')}`; - const file = `${directory}/${parts.slice(DIR_DEPTH).join('')}`; - - return { - directory, - file - }; - } - - open (): void { - // noop - } - - close (): void { - // noop - } - - drop (): void { - l.error('drop() is not implemented'); - } - - empty (): void { - l.error('empty() is not implemented'); - } - - rename (base: string, file: string): void { - l.error('rename() is not implemented'); - } - - size (): number { - l.error('size() is not implemented'); - - return 0; - } - - maintain (fn: ProgressCb): void { - fn({ - isCompleted: true, - keys: 0, - percent: 100 - }); - } - - del (key: Uint8Array): void { - l.debug(() => ['del', { key }]); - - const { file } = this._getFilePath(key); - - if (fs.existsSync(file)) { - fs.unlinkSync(file); - } - } - - get (key: Uint8Array): Uint8Array | null { - l.debug(() => ['get', { key }]); - - const { file } = this._getFilePath(key); - - if (!fs.existsSync(file)) { - return null; - } - - return bufferToU8a( - fs.readFileSync(file) - ); - } - - put (key: Uint8Array, value: Uint8Array): void { - l.debug(() => ['set', { key, value }]); - - const { directory, file } = this._getFilePath(key); - - if (!fs.existsSync(directory)) { - mkdirp.sync(directory); - } - - fs.writeFileSync(file, u8aToBuffer(value)); - } -} diff --git a/packages/db/src/engines/LmDb.ts b/packages/db/src/engines/LmDb.ts deleted file mode 100644 index 05dac9e6a..000000000 --- a/packages/db/src/engines/LmDb.ts +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import { BaseDb, BaseDbOptions, ProgressCb } from '../types'; - -import fs from 'fs'; -import mkdirp from 'mkdirp'; -import lmdb from 'node-lmdb'; -import path from 'path'; -import { bufferToU8a, logger, u8aToBuffer } from '@polkadot/util'; - -const GB = 1 * 1024 * 1024 * 1024; - -const l = logger('db/lmdb'); - -// NOTE we manage 2 transaction types, one for read and one for write. For -// triedbs we assume that the transaction _only_ contains writes (managed by -// the transaction overlay). At the same time have a read that we keep open -// so we don't need to re-create the transaction, otherwise wastefull. -// -// There is reasoning behind this madness, reads cannot overlap with writes, -// so the database grows more than needed while making actual reads interleaved -// with writes. So manage these completely seperately. -export default class LmDb implements BaseDb { - private _env: any; - private _dbi: any | null; - private _path: string; - private _rtxn: any | null; - private _wtxn: any | null; - - constructor (base: string, name: string, options?: BaseDbOptions) { - this._env = new lmdb.Env(); - this._path = path.join(base, name); - this._rtxn = null; - this._wtxn = null; - - mkdirp.sync(this._path); - - const dbsize = this.size(true); - const mapSize = Math.ceil(1 + (dbsize / GB)) * GB; - - l.debug(() => `Current mapsize set to ${(mapSize / GB).toFixed(1)}GB`); - - this._env.open({ - path: this._path, - mapSize - }); - } - - private getNextMapSize (): number { - const dbsize = this.size(); - const mapSize = this._env.info().mapSize; - const remaining = (mapSize - dbsize) / GB; - - return (remaining < 0.25) - ? (mapSize + GB) - : mapSize; - } - - private growMapSize (): void { - const info = this._env.info(); - const next = this.getNextMapSize(); - - if (next > info.mapSize) { - l.debug(() => `Growing mapsize to ${(next / GB).toFixed(1)}GB`); - - this._env.resize(next); - } - } - - close (): void { - this.exitRead(); - - this._dbi.close(); - this._dbi = null; - this._env.close(); - } - - open (): void { - this._dbi = this._env.openDbi({ - create: true, - keyIsBuffer: true - }); - - this.enterRead(); - } - - drop (): void { - throw new Error('drop() not implemented'); - } - - empty (): void { - throw new Error('empty() not implemented'); - } - - maintain (fn: ProgressCb): void { - fn({ - isCompleted: true, - keys: 0, - percent: 100 - }); - } - - rename (base: string, file: string): void { - // nothing - } - - size (withExistsSync: boolean = false): number { - const db = path.join(this._path, 'data.mdb'); - - return !withExistsSync || fs.existsSync(db) - ? fs.statSync(db).size - : 0; - } - - private enterRead (): void { - this._rtxn = this._env.beginTxn({ readOnly: true }); - } - - private exitRead (): void { - this._rtxn.abort(); - this._rtxn = null; - } - - txCommit (): void { - this._wtxn.commit(); - this._wtxn = null; - this.enterRead(); - } - - txRevert (): void { - this._wtxn.abort(); - this._wtxn = null; - this.enterRead(); - } - - txStart (): void { - this.exitRead(); - - // grow between transactions - this.growMapSize(); - - this._wtxn = this._env.beginTxn(); - } - - del (key: Uint8Array): void { - this._wtxn.del(this._dbi, u8aToBuffer(key)); - } - - get (_key: Uint8Array): Uint8Array | null { - const value = this._rtxn.getBinary(this._dbi, u8aToBuffer(_key)); - - return value - ? bufferToU8a(value) - : null; - } - - put (key: Uint8Array, value: Uint8Array): void { - this._wtxn.putBinary(this._dbi, u8aToBuffer(key), u8aToBuffer(value)); - } -} diff --git a/packages/db/src/engines/node-lmdb.d.ts b/packages/db/src/engines/node-lmdb.d.ts deleted file mode 100644 index c87c6ccc5..000000000 --- a/packages/db/src/engines/node-lmdb.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module 'node-lmdb'; diff --git a/packages/db/src/engines/unused/LevelDb.spec.js-unused b/packages/db/src/engines/unused/LevelDb.spec.js-unused deleted file mode 100644 index 05530bcbb..000000000 --- a/packages/db/src/engines/unused/LevelDb.spec.js-unused +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import mkdirp from 'mkdirp'; -import os from 'os'; -import path from 'path'; -import stringToU8a from '@polkadot/util/string/toU8a'; - -import LevelDb from './LevelDb'; - -describe.skip('LevelDb', () => { - const base = path.join(os.tmpdir(), '--test--'); - const name = 'LevelDb'; - const location = path.join(base, name); - let db; - - beforeAll(() => { - db = new LevelDb(base, name); - db.open(); - }); - - afterAll(() => { - db.close(); - rimraf.sync(location); - }); - - it('sets & retrieves', () => { - const key = stringToU8a('key0'); - const value = stringToU8a('value0'); - - db.put(key, value); - - expect(db.get(key)).toEqual(value); - }); - - it('retrieves null for non-existing', () => { - const key = stringToU8a('key1'); - - expect(db.get(key)).toEqual(null); - }); - - it('overrides values', () => { - const key = stringToU8a('key2'); - const value = stringToU8a('value1'); - const replace = stringToU8a('value2'); - - db.put(key, value); - - expect(db.get(key)).toEqual(value); - - db.put(key, replace); - - expect(db.get(key)).toEqual(replace); - }); - - it('deletes values', () => { - const key = stringToU8a('key2'); - - db.del(key); - - expect(db.get(key)).toEqual(null); - }); -}); diff --git a/packages/db/src/engines/unused/LevelDb.ts-unused b/packages/db/src/engines/unused/LevelDb.ts-unused deleted file mode 100644 index a4b313809..000000000 --- a/packages/db/src/engines/unused/LevelDb.ts-unused +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -"nosql-leveldb": "^3.0.1", - -import { BaseDb, ProgressCb } from '../types'; - -import leveldb, { LevelDb } from 'nosql-leveldb'; -import mkdirp from 'mkdirp'; -import path from 'path'; -// import snappy from 'snappy'; -import logger from '@polkadot/util/logger'; -import stringToU8a from '@polkadot/util/u8a/fromUtf8'; -import u8aToString from '@polkadot/util/u8a/toUtf8'; -// import u8aToHex from '@polkadot/util/u8a/toHex'; - -// import assert from '@polkadot/util/assert'; -// import u8aToHex from '@polkadot/util/u8a/toHex'; - -const l = logger('db/leveldb'); - -// NOTE Looking at the implementation, the getSync does a new Buffer when requested as a Buffer. -// With this in mind, we always work with utf8 strings as encoded - serializing/deserializing -// on the way in and out - -export default class Level implements BaseDb { - private db: LevelDb; - - constructor (base: string, name: string) { - const location = path.join(base, name); - - mkdirp.sync(location); - - this.db = leveldb(location); - } - - close (): void { - l.debug(() => ['close']); - - this.db.closeSync(); - } - - open (): void { - l.debug(() => ['open']); - - this.db.openSync({ - createIfMissing: true - }); - } - - maintain (fn: ProgressCb): void { - fn({ - isCompleted: true, - keys: 0, - percent: 100 - }); - } - - del (key: Uint8Array): void { - this.db.delSync( - this._serializeKey(key) - ); - } - - get (key: Uint8Array): Uint8Array | null { - try { - return this._deserializeValue( - this.db.getSync( - this._serializeKey(key), - { asBuffer: false } - ) as string - ); - } catch (error) { - return null; - } - } - - put (key: Uint8Array, value: Uint8Array): void { - this.db.putSync( - this._serializeKey(key), - this._serializeValue(value) - ); - } - - private _deserializeValue (value: string): Uint8Array | null { - return value - ? stringToU8a(value) - : null; - // return value - // ? bufferToU8a(value) - // // ? bufferToU8a( - // // snappy.uncompressSync(value) - // // ) - // : null; - } - - private _serializeKey (key: Uint8Array): string { - return u8aToString(key); - } - - private _serializeValue (value: Uint8Array): string { - return u8aToString(value); - - // return snappy.compressSync( - // u8aToBuffer(value) - // ); - } -} diff --git a/packages/db/src/engines/unused/RocksDb.spec.ts-unused b/packages/db/src/engines/unused/RocksDb.spec.ts-unused deleted file mode 100644 index 54a35c16e..000000000 --- a/packages/db/src/engines/unused/RocksDb.spec.ts-unused +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import os from 'os'; -import path from 'path'; -import rimraf from 'rimraf'; -import { stringToU8a } from '@polkadot/util'; - -import RocksDb from '../RocksDb'; - -describe.skip('RocksDb', () => { - const base = path.join(os.tmpdir(), '--test--'); - const name = 'RocksDb'; - const location = path.join(base, name); - let db: any; - - beforeAll(() => { - db = new RocksDb(base, name); - db.open(); - }); - - afterAll(() => { - db.close(); - rimraf.sync(location); - }); - - it('sets & retrieves', () => { - const key = stringToU8a('key0'); - const value = stringToU8a('value0'); - - db.put(key, value); - - expect(db.get(key)).toEqual(value); - }); - - it('retrieves null for non-existing', () => { - const key = stringToU8a('key1'); - - expect(db.get(key)).toEqual(null); - }); - - it('overrides values', () => { - const key = stringToU8a('key2'); - const value = stringToU8a('value1'); - const replace = stringToU8a('value2'); - - db.put(key, value); - - expect(db.get(key)).toEqual(value); - - db.put(key, replace); - - expect(db.get(key)).toEqual(replace); - }); - - it('deletes values', () => { - const key = stringToU8a('key2'); - - db.del(key); - - expect(db.get(key)).toEqual(null); - }); -}); diff --git a/packages/db/src/engines/unused/RocksDb.ts-unused b/packages/db/src/engines/unused/RocksDb.ts-unused deleted file mode 100644 index c4e6ed611..000000000 --- a/packages/db/src/engines/unused/RocksDb.ts-unused +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2017-2019 @polkadot/db authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -// At this point, it doesn't seem to write anything to disk, so subsequent startups -// has an empty database - again. Something is wrong in the config and with -// life being too short... - -// "rocksdb-node": "jacogr/rocksdb-node#00ebfdbf0462ee615f4f48f1db403fd4df8471ea", - -import { BaseDb, ProgressCb } from '../types'; - -import rocksdb, { RocksDb } from 'rocksdb-node'; -import mkdirp from 'mkdirp'; -import path from 'path'; -// import snappy from 'snappy'; -import { bufferToU8a, logger, u8aToBuffer, u8aToHex } from '@polkadot/util'; - -const l = logger('db/rocksdb'); - -const OPEN_OPTIONS = { - allow_mmap_reads: true, - allow_mmap_writes: true, - bytes_per_sync: 1 * 1024 * 1024, // 1MB default - create_if_missing: true -}; - -export default class Rocks implements BaseDb { - private db: RocksDb; - - constructor (base: string, name: string) { - const location = path.join(base, name); - - mkdirp.sync(location); - - this.db = rocksdb.open(OPEN_OPTIONS, location); - } - - close (): void { - l.debug(() => ['close']); - - this.db.close(); - } - - drop (): void { - throw new Error('unimplemented'); - } - - empty (): void { - throw new Error('unimplemented'); - } - - open (): void { - l.debug(() => ['open']); - } - - maintain (fn: ProgressCb): void { - fn({ - isCompleted: true, - keys: 0, - percent: 100 - }); - } - - rename (base: string, file: string): void { - // nothing - } - - del (key: Uint8Array): void { - this.db.del( - {}, - this._serializeKey(key) - ); - } - - get (key: Uint8Array): Uint8Array | null { - try { - return this._deserializeValue( - this.db.get( - { buffer: true }, - this._serializeKey(key) - ) as Buffer - ); - } catch (error) { - return null; - } - } - - put (key: Uint8Array, value: Uint8Array): void { - this.db.put( - {}, - this._serializeKey(key), - this._serializeValue(value) - ); - } - - size (): number { - return 0; - } - - private _deserializeValue (value: Buffer): Uint8Array | null { - return value && value.length - ? bufferToU8a(value) - // ? bufferToU8a( - // snappy.uncompressSync(value) - // ) - : null; - } - - private _serializeKey (key: Uint8Array): string { - return u8aToHex(key); - } - - private _serializeValue (value: Uint8Array): Buffer { - return u8aToBuffer(value); - - // return snappy.compressSync( - // u8aToBuffer(value) - // ); - } -} diff --git a/packages/keyring/package.json b/packages/keyring/package.json index 0add1e2af..4ae549d51 100644 --- a/packages/keyring/package.json +++ b/packages/keyring/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/util": "^0.76.0-beta.6", "@polkadot/util-crypto": "^0.76.0-beta.6", "@types/bs58": "^4.0.0", diff --git a/packages/trie-codec/package.json b/packages/trie-codec/package.json index d41dd87f2..077b8c486 100644 --- a/packages/trie-codec/package.json +++ b/packages/trie-codec/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-codec#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/util": "^0.76.0-beta.6" } } diff --git a/packages/trie-db/package.json b/packages/trie-db/package.json index b855bfdcd..9b4913560 100644 --- a/packages/trie-db/package.json +++ b/packages/trie-db/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-db#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/db": "^0.76.0-beta.6", "@polkadot/trie-codec": "^0.76.0-beta.6", "@polkadot/trie-hash": "^0.76.0-beta.6", diff --git a/packages/trie-hash/package.json b/packages/trie-hash/package.json index 24b839673..ac4fa75c1 100644 --- a/packages/trie-hash/package.json +++ b/packages/trie-hash/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-hash#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/util": "^0.76.0-beta.6" }, "devDependencies": { diff --git a/packages/util-crypto/package.json b/packages/util-crypto/package.json index 43243d6f2..30176d2c4 100644 --- a/packages/util-crypto/package.json +++ b/packages/util-crypto/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/util": "^0.76.0-beta.6", "@polkadot/wasm-crypto": "^0.8.1", "@types/bip39": "^2.4.2", diff --git a/packages/util-rlp/package.json b/packages/util-rlp/package.json index 83ee0ceb5..c371d5207 100644 --- a/packages/util-rlp/package.json +++ b/packages/util-rlp/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-rlp#readme", "dependencies": { - "@babel/runtime": "^7.4.2", + "@babel/runtime": "^7.4.3", "@polkadot/util": "^0.76.0-beta.6" }, "devDependencies": { diff --git a/packages/util/package.json b/packages/util/package.json index 948345a46..1a1a8eddb 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -28,12 +28,12 @@ }, "homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme", "dependencies": { - "@babel/runtime": "^7.4.2", - "@types/bn.js": "^4.11.4", + "@babel/runtime": "^7.4.3", + "@types/bn.js": "^4.11.5", "@types/deasync": "^0.1.0", "@types/ip-regex": "^3.0.0", "bn.js": "^4.11.8", - "camelcase": "^5.2.0", + "camelcase": "^5.3.0", "chalk": "^2.4.2", "ip-regex": "^4.0.0", "moment": "^2.24.0" diff --git a/yarn.lock b/yarn.lock index e9fc48ae0..86ef236df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,22 +2,22 @@ # yarn lockfile v1 -"@babel/cli@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.2.3.tgz#1b262e42a3e959d28ab3d205ba2718e1923cfee6" - integrity sha512-bfna97nmJV6nDJhXNPeEfxyMjWnt6+IjUAaDPiYRTBlm8L41n8nvw6UAqUCbvpFfU246gHPxW7sfWwqtF4FcYA== +"@babel/cli@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.4.3.tgz#353048551306ff42e5855b788b6ccd9477289774" + integrity sha512-cbC5H9iTDV9H7sMxK5rUm18UbdVPNTPqgdzmQAkOUP3YLysgDWLZaysVAfylK49rgTlzL01a6tXyq9rCb3yLhQ== dependencies: commander "^2.8.1" convert-source-map "^1.1.0" fs-readdir-recursive "^1.1.0" glob "^7.0.0" - lodash "^4.17.10" + lodash "^4.17.11" mkdirp "^0.5.1" output-file-sync "^2.0.0" slash "^2.0.0" source-map "^0.5.0" optionalDependencies: - chokidar "^2.0.3" + chokidar "^2.0.4" "@babel/code-frame@^7.0.0": version "7.0.0" @@ -26,17 +26,17 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.0.tgz#248fd6874b7d755010bfe61f557461d4f446d9e9" - integrity sha512-Dzl7U0/T69DFOTwqz/FJdnOSWS57NpjNfCwMKHABr589Lg8uX1RrlBIJ7L5Dubt/xkLsx0xH5EBFzlBVes1ayA== +"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.3.tgz#198d6d3af4567be3989550d97e068de94503074f" + integrity sha512-oDpASqKFlbspQfzAE7yaeTmdljSH2ADIvBlb0RwbStltTuWa0+7CCI1fYVINNv9saHPa1W7oaKeuNuKj+RQCvA== dependencies: "@babel/code-frame" "^7.0.0" "@babel/generator" "^7.4.0" - "@babel/helpers" "^7.4.0" - "@babel/parser" "^7.4.0" + "@babel/helpers" "^7.4.3" + "@babel/parser" "^7.4.3" "@babel/template" "^7.4.0" - "@babel/traverse" "^7.4.0" + "@babel/traverse" "^7.4.3" "@babel/types" "^7.4.0" convert-source-map "^1.1.0" debug "^4.1.0" @@ -82,9 +82,9 @@ "@babel/types" "^7.4.0" "@babel/helper-create-class-features-plugin@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.4.0.tgz#30fd090e059d021995c1762a5b76798fa0b51d82" - integrity sha512-2K8NohdOT7P6Vyp23QH4w2IleP8yG3UJsbRKwA4YP6H8fErcLkFuuEEqbF2/BYBKSNci/FWJiqm6R3VhM/QHgw== + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.4.3.tgz#5bbd279c6c3ac6a60266b89bbfe7f8021080a1ef" + integrity sha512-UMl3TSpX11PuODYdWGrUeW6zFkdYhDn7wRLrOuNVM6f9L+S9CzmDXYyrp3MTHcwWjnzur1f/Op8A7iYZWya2Yg== dependencies: "@babel/helper-function-name" "^7.1.0" "@babel/helper-member-expression-to-functions" "^7.0.0" @@ -147,17 +147,17 @@ dependencies: "@babel/types" "^7.0.0" -"@babel/helper-module-transforms@^7.1.0": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.2.2.tgz#ab2f8e8d231409f8370c883d20c335190284b963" - integrity sha512-YRD7I6Wsv+IHuTPkAmAS4HhY0dkPobgLftHp0cRGZSdrRvmZY8rFvae/GVu3bD00qscuvK3WPHB3YdNpBXUqrA== +"@babel/helper-module-transforms@^7.1.0", "@babel/helper-module-transforms@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.4.3.tgz#b1e357a1c49e58a47211a6853abb8e2aaefeb064" + integrity sha512-H88T9IySZW25anu5uqyaC1DaQre7ofM+joZtAaO2F8NBdFfupH0SZ4gKjgSFVcvtx/aAirqA9L9Clio2heYbZA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-simple-access" "^7.1.0" "@babel/helper-split-export-declaration" "^7.0.0" "@babel/template" "^7.2.2" "@babel/types" "^7.2.2" - lodash "^4.17.10" + lodash "^4.17.11" "@babel/helper-optimise-call-expression@^7.0.0": version "7.0.0" @@ -171,12 +171,12 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== -"@babel/helper-regex@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.0.0.tgz#2c1718923b57f9bbe64705ffe5640ac64d9bdb27" - integrity sha512-TR0/N0NDCcUIUEbqV6dCO+LptmmSQFQ7q70lfcEB4URsjD0E1HzicrwUH+ap6BAQ2jhCX9Q4UqZy4wilujWlkg== +"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.4.3.tgz#9d6e5428bfd638ab53b37ae4ec8caf0477495147" + integrity sha512-hnoq5u96pLCfgjXuj8ZLX3QQ+6nAulS+zSgi6HulUwFbEruRAKwbGLU5OvXkE14L8XW6XsQEKsIDfgthKLRAyA== dependencies: - lodash "^4.17.10" + lodash "^4.17.11" "@babel/helper-remap-async-to-generator@^7.1.0": version "7.1.0" @@ -224,13 +224,13 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.2.0" -"@babel/helpers@^7.4.0": - version "7.4.2" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.4.2.tgz#3bdfa46a552ca77ef5a0f8551be5f0845ae989be" - integrity sha512-gQR1eQeroDzFBikhrCccm5Gs2xBjZ57DNjGbqTaHo911IpmSxflOQWMAHPw/TXk8L3isv7s9lYzUkexOeTQUYg== +"@babel/helpers@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.4.3.tgz#7b1d354363494b31cb9a2417ae86af32b7853a3b" + integrity sha512-BMh7X0oZqb36CfyhvtbSmcWc3GXocfxv3yNsAEuM0l+fAqSO22rQrUpijr3oE/10jCTrB6/0b9kzmG4VetCj8Q== dependencies: "@babel/template" "^7.4.0" - "@babel/traverse" "^7.4.0" + "@babel/traverse" "^7.4.3" "@babel/types" "^7.4.0" "@babel/highlight@^7.0.0": @@ -242,10 +242,10 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.4.0": - version "7.4.2" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.2.tgz#b4521a400cb5a871eab3890787b4bc1326d38d91" - integrity sha512-9fJTDipQFvlfSVdD/JBtkiY0br9BtfvW2R8wo6CX/Ej2eMuV0gWPk1M67Mt3eggQvBqYW1FCEk8BN7WvGm/g5g== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.4.0", "@babel/parser@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.3.tgz#eb3ac80f64aa101c907d4ce5406360fe75b7895b" + integrity sha512-gxpEUhTS1sGA63EGQGuA+WESPR/6tz6ng7tSHFCmaTJK/cGK8y37cBTspX+U2xCAue2IQVvF6Z0oigmjwD8YGQ== "@babel/plugin-proposal-async-generator-functions@^7.2.0": version "7.2.0" @@ -281,10 +281,10 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-json-strings" "^7.2.0" -"@babel/plugin-proposal-object-rest-spread@^7.3.4", "@babel/plugin-proposal-object-rest-spread@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.0.tgz#e4960575205eadf2a1ab4e0c79f9504d5b82a97f" - integrity sha512-uTNi8pPYyUH2eWHyYWWSYJKwKg34hhgl4/dbejEjL+64OhbHjTX7wEVWMQl82tEmdDsGeu77+s8HHLS627h6OQ== +"@babel/plugin-proposal-object-rest-spread@^7.3.4", "@babel/plugin-proposal-object-rest-spread@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.3.tgz#be27cd416eceeba84141305b93c282f5de23bbb4" + integrity sha512-xC//6DNSSHVjq8O2ge0dyYlhshsH4T7XdCVoxbi5HzLYWfsC5ooFlJjrXk8RcAT+hjHAK9UjBXdylzSoDK3t4g== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" @@ -393,10 +393,10 @@ "@babel/helper-plugin-utils" "^7.0.0" lodash "^4.17.11" -"@babel/plugin-transform-classes@^7.3.4", "@babel/plugin-transform-classes@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.0.tgz#e3428d3c8a3d01f33b10c529b998ba1707043d4d" - integrity sha512-XGg1Mhbw4LDmrO9rSTNe+uI79tQPdGs0YASlxgweYRLZqo/EQktjaOV4tchL/UZbM0F+/94uOipmdNGoaGOEYg== +"@babel/plugin-transform-classes@^7.3.4", "@babel/plugin-transform-classes@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.3.tgz#adc7a1137ab4287a555d429cc56ecde8f40c062c" + integrity sha512-PUaIKyFUDtG6jF5DUJOfkBdwAS/kFFV3XFk7Nn0a6vR7ZT8jYw5cGtIlat77wcnd0C6ViGqo/wyNf4ZHytF/nQ== dependencies: "@babel/helper-annotate-as-pure" "^7.0.0" "@babel/helper-define-map" "^7.4.0" @@ -414,21 +414,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-destructuring@^7.2.0", "@babel/plugin-transform-destructuring@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.0.tgz#acbb9b2418d290107db333f4d6cd8aa6aea00343" - integrity sha512-HySkoatyYTY3ZwLI8GGvkRWCFrjAGXUHur5sMecmCIdIharnlcWWivOqDJI76vvmVZfzwb6G08NREsrY96RhGQ== +"@babel/plugin-transform-destructuring@^7.2.0", "@babel/plugin-transform-destructuring@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.3.tgz#1a95f5ca2bf2f91ef0648d5de38a8d472da4350f" + integrity sha512-rVTLLZpydDFDyN4qnXdzwoVpk1oaXHIvPEOkOLyr88o7oHxVc/LyrnDx+amuBWGOwUb7D1s/uLsKBNTx08htZg== dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-dotall-regex@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.2.0.tgz#f0aabb93d120a8ac61e925ea0ba440812dbe0e49" - integrity sha512-sKxnyHfizweTgKZf7XsXu/CNupKhzijptfTM+bozonIuyVrLWVUvYjE2bhuSBML8VQeMxq4Mm63Q9qvcvUcciQ== +"@babel/plugin-transform-dotall-regex@^7.2.0", "@babel/plugin-transform-dotall-regex@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.3.tgz#fceff1c16d00c53d32d980448606f812cd6d02bf" + integrity sha512-9Arc2I0AGynzXRR/oPdSALv3k0rM38IMFyto7kOCwb5F9sLUt2Ykdo3V9yUPR+Bgr4kb6bVEyLkPEiBhzcTeoA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-regex" "^7.0.0" - regexpu-core "^4.1.3" + "@babel/helper-regex" "^7.4.3" + regexpu-core "^4.5.4" "@babel/plugin-transform-duplicate-keys@^7.2.0": version "7.2.0" @@ -445,17 +445,17 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-for-of@^7.2.0", "@babel/plugin-transform-for-of@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.0.tgz#56c8c36677f5d4a16b80b12f7b768de064aaeb5f" - integrity sha512-vWdfCEYLlYSxbsKj5lGtzA49K3KANtb8qCPQ1em07txJzsBwY+cKJzBHizj5fl3CCx7vt+WPdgDLTHmydkbQSQ== +"@babel/plugin-transform-for-of@^7.2.0", "@babel/plugin-transform-for-of@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.3.tgz#c36ff40d893f2b8352202a2558824f70cd75e9fe" + integrity sha512-UselcZPwVWNSURnqcfpnxtMehrb8wjXYOimlYQPBnup/Zld426YzIhNEvuRsEWVHfESIECGrxoI6L5QqzuLH5Q== dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-function-name@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.2.0.tgz#f7930362829ff99a3174c39f0afcc024ef59731a" - integrity sha512-kWgksow9lHdvBC2Z4mxTsvc7YdY7w/V6B2vy9cTIPtLEE9NhwoWivaxdNM/S37elu5bqlLP/qOY906LukO9lkQ== +"@babel/plugin-transform-function-name@^7.2.0", "@babel/plugin-transform-function-name@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.3.tgz#130c27ec7fb4f0cba30e958989449e5ec8d22bbd" + integrity sha512-uT5J/3qI/8vACBR9I1GlAuU/JqBtWdfCrynuOkrWG6nCDieZd5przB1vfP59FRHBZQ9DC2IUfqr/xKqzOD5x0A== dependencies: "@babel/helper-function-name" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -467,6 +467,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" +"@babel/plugin-transform-member-expression-literals@^7.2.0": + version "7.2.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz#fa10aa5c58a2cb6afcf2c9ffa8cb4d8b3d489a2d" + integrity sha512-HiU3zKkSU6scTidmnFJ0bMX8hz5ixC93b4MHMiYebmk2lUVNGOboPsqQvx5LzooihijUoLR/v7Nc1rbBtnc7FA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-transform-modules-amd@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.2.0.tgz#82a9bce45b95441f617a24011dc89d12da7f4ee6" @@ -475,12 +482,12 @@ "@babel/helper-module-transforms" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-modules-commonjs@^7.2.0", "@babel/plugin-transform-modules-commonjs@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.0.tgz#3b8ec61714d3b75d20c5ccfa157f2c2e087fd4ca" - integrity sha512-iWKAooAkipG7g1IY0eah7SumzfnIT3WNhT4uYB2kIsvHnNSB6MDYVa5qyICSwaTBDBY2c4SnJ3JtEa6ltJd6Jw== +"@babel/plugin-transform-modules-commonjs@^7.2.0", "@babel/plugin-transform-modules-commonjs@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.3.tgz#3917f260463ac08f8896aa5bd54403f6e1fed165" + integrity sha512-sMP4JqOTbMJMimqsSZwYWsMjppD+KRyDIUVW91pd7td0dZKAvPmhCaxhOzkzLParKwgQc7bdL9UNv+rpJB0HfA== dependencies: - "@babel/helper-module-transforms" "^7.1.0" + "@babel/helper-module-transforms" "^7.4.3" "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-simple-access" "^7.1.0" @@ -522,26 +529,40 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-replace-supers" "^7.1.0" -"@babel/plugin-transform-parameters@^7.2.0", "@babel/plugin-transform-parameters@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.0.tgz#a1309426fac4eecd2a9439a4c8c35124a11a48a9" - integrity sha512-Xqv6d1X+doyiuCGDoVJFtlZx0onAX0tnc3dY8w71pv/O0dODAbusVv2Ale3cGOwfiyi895ivOBhYa9DhAM8dUA== +"@babel/plugin-transform-parameters@^7.2.0", "@babel/plugin-transform-parameters@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.3.tgz#e5ff62929fdf4cf93e58badb5e2430303003800d" + integrity sha512-ULJYC2Vnw96/zdotCZkMGr2QVfKpIT/4/K+xWWY0MbOJyMZuk660BGkr3bEKWQrrciwz6xpmft39nA4BF7hJuA== dependencies: "@babel/helper-call-delegate" "^7.4.0" "@babel/helper-get-function-arity" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-regenerator@^7.3.4", "@babel/plugin-transform-regenerator@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.0.tgz#0780e27ee458cc3fdbad18294d703e972ae1f6d1" - integrity sha512-SZ+CgL4F0wm4npojPU6swo/cK4FcbLgxLd4cWpHaNXY/NJ2dpahODCqBbAwb2rDmVszVb3SSjnk9/vik3AYdBw== +"@babel/plugin-transform-property-literals@^7.2.0": + version "7.2.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz#03e33f653f5b25c4eb572c98b9485055b389e905" + integrity sha512-9q7Dbk4RhgcLp8ebduOpCbtjh7C0itoLYHXd9ueASKAG/is5PQtMR5VJGka9NKqGhYEGn5ITahd4h9QeBMylWQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-regenerator@^7.3.4", "@babel/plugin-transform-regenerator@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.3.tgz#2a697af96887e2bbf5d303ab0221d139de5e739c" + integrity sha512-kEzotPuOpv6/iSlHroCDydPkKYw7tiJGKlmYp6iJn4a6C/+b2FdttlJsLKYxolYHgotTJ5G5UY5h0qey5ka3+A== dependencies: regenerator-transform "^0.13.4" -"@babel/plugin-transform-runtime@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.0.tgz#b4d8c925ed957471bc57e0b9da53408ebb1ed457" - integrity sha512-1uv2h9wnRj98XX3g0l4q+O3jFM6HfayKup7aIu4pnnlzGz0H+cYckGBC74FZIWJXJSXAmeJ9Yu5Gg2RQpS4hWg== +"@babel/plugin-transform-reserved-words@^7.2.0": + version "7.2.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz#4792af87c998a49367597d07fedf02636d2e1634" + integrity sha512-fz43fqW8E1tAB3DKF19/vxbpib1fuyCwSPE418ge5ZxILnBhWyhtPgz8eh1RCGGJlwvksHkyxMxh0eenFi+kFw== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +"@babel/plugin-transform-runtime@^7.4.0", "@babel/plugin-transform-runtime@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.3.tgz#4d6691690ecdc9f5cb8c3ab170a1576c1f556371" + integrity sha512-7Q61bU+uEI7bCUFReT1NKn7/X6sDQsZ7wL1sJ9IYMAO7cI+eg6x9re1cEw2fCRMbbTVyoeUKWSV1M6azEfKCfg== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -593,14 +614,14 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-typescript" "^7.2.0" -"@babel/plugin-transform-unicode-regex@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.2.0.tgz#4eb8db16f972f8abb5062c161b8b115546ade08b" - integrity sha512-m48Y0lMhrbXEJnVUaYly29jRXbQ3ksxPrS1Tg8t+MHqzXhtBYAvI51euOBaoAlZLPHsieY9XPVMf80a5x0cPcA== +"@babel/plugin-transform-unicode-regex@^7.2.0", "@babel/plugin-transform-unicode-regex@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.3.tgz#3868703fc0e8f443dda65654b298df576f7b863b" + integrity sha512-lnSNgkVjL8EMtnE8eSS7t2ku8qvKH3eqNf/IwIfnSPUqzgqYmRwzdsQWv4mNQAN9Nuo6Gz1Y0a4CSmdpu1Pp6g== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-regex" "^7.0.0" - regexpu-core "^4.1.3" + "@babel/helper-regex" "^7.4.3" + regexpu-core "^4.5.4" "@babel/preset-env@^7.0.0 < 7.4.0": version "7.3.4" @@ -651,16 +672,16 @@ js-levenshtein "^1.1.3" semver "^5.3.0" -"@babel/preset-env@^7.4.2": - version "7.4.2" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.2.tgz#2f5ba1de2daefa9dcca653848f96c7ce2e406676" - integrity sha512-OEz6VOZaI9LW08CWVS3d9g/0jZA6YCn1gsKIy/fut7yZCJti5Lm1/Hi+uo/U+ODm7g4I6gULrCP+/+laT8xAsA== +"@babel/preset-env@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.3.tgz#e71e16e123dc0fbf65a52cbcbcefd072fbd02880" + integrity sha512-FYbZdV12yHdJU5Z70cEg0f6lvtpZ8jFSDakTm7WXeJbLXh4R0ztGEu/SW7G1nJ2ZvKwDhz8YrbA84eYyprmGqw== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-async-generator-functions" "^7.2.0" "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.4.0" + "@babel/plugin-proposal-object-rest-spread" "^7.4.3" "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" "@babel/plugin-proposal-unicode-property-regex" "^7.4.0" "@babel/plugin-syntax-async-generators" "^7.2.0" @@ -671,36 +692,39 @@ "@babel/plugin-transform-async-to-generator" "^7.4.0" "@babel/plugin-transform-block-scoped-functions" "^7.2.0" "@babel/plugin-transform-block-scoping" "^7.4.0" - "@babel/plugin-transform-classes" "^7.4.0" + "@babel/plugin-transform-classes" "^7.4.3" "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.4.0" - "@babel/plugin-transform-dotall-regex" "^7.2.0" + "@babel/plugin-transform-destructuring" "^7.4.3" + "@babel/plugin-transform-dotall-regex" "^7.4.3" "@babel/plugin-transform-duplicate-keys" "^7.2.0" "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.4.0" - "@babel/plugin-transform-function-name" "^7.2.0" + "@babel/plugin-transform-for-of" "^7.4.3" + "@babel/plugin-transform-function-name" "^7.4.3" "@babel/plugin-transform-literals" "^7.2.0" + "@babel/plugin-transform-member-expression-literals" "^7.2.0" "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.4.0" + "@babel/plugin-transform-modules-commonjs" "^7.4.3" "@babel/plugin-transform-modules-systemjs" "^7.4.0" "@babel/plugin-transform-modules-umd" "^7.2.0" "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.2" "@babel/plugin-transform-new-target" "^7.4.0" "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.4.0" - "@babel/plugin-transform-regenerator" "^7.4.0" + "@babel/plugin-transform-parameters" "^7.4.3" + "@babel/plugin-transform-property-literals" "^7.2.0" + "@babel/plugin-transform-regenerator" "^7.4.3" + "@babel/plugin-transform-reserved-words" "^7.2.0" "@babel/plugin-transform-shorthand-properties" "^7.2.0" "@babel/plugin-transform-spread" "^7.2.0" "@babel/plugin-transform-sticky-regex" "^7.2.0" "@babel/plugin-transform-template-literals" "^7.2.0" "@babel/plugin-transform-typeof-symbol" "^7.2.0" - "@babel/plugin-transform-unicode-regex" "^7.2.0" + "@babel/plugin-transform-unicode-regex" "^7.4.3" "@babel/types" "^7.4.0" - browserslist "^4.4.2" + browserslist "^4.5.2" core-js-compat "^3.0.0" invariant "^2.2.2" js-levenshtein "^1.1.3" - semver "^5.3.0" + semver "^5.5.0" "@babel/preset-typescript@^7.3.3": version "7.3.3" @@ -723,17 +747,17 @@ source-map-support "^0.5.9" "@babel/runtime-corejs2@^7.2.0": - version "7.4.2" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs2/-/runtime-corejs2-7.4.2.tgz#a0cec2c41717fa415e9c204f32b603d88b1796c2" - integrity sha512-y/Br/9uQnumcqcakkmobFqOTzYCWSS6Kuy1b2o7LTXR4lpeU0AhaOcPqIHW85LCxRWUDW5Vg0pU1KlE3YkORlg== + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/runtime-corejs2/-/runtime-corejs2-7.4.3.tgz#40271fc260e570fb356da984e42e5990bd275860" + integrity sha512-anTLTF7IK8Hd5f73zpPzt875I27UaaTWARJlfMGgnmQhvEe1uNHQRKBUbXL0Gc0VEYiVzsHsTPso5XdK8NGvFg== dependencies: core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.4.2": - version "7.4.2" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.2.tgz#f5ab6897320f16decd855eed70b705908a313fe8" - integrity sha512-7Bl2rALb7HpvXFL7TETNzKSAeBVCPHELzc0C//9FCxN8nsiueWSJBqaF+2oIJScyILStASR/Cx5WMkXGYTiJFA== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.3.tgz#79888e452034223ad9609187a0ad1fe0d2ad4bdc" + integrity sha512-9lsJwJLxDh/T3Q3SZszfWOTkk3pHbkmH+3KY+zwIDmsNlxsumuhS2TH3NIpktU4kNvfzy+k3eLT7aTJSPTo0OA== dependencies: regenerator-runtime "^0.13.2" @@ -746,16 +770,16 @@ "@babel/parser" "^7.4.0" "@babel/types" "^7.4.0" -"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.4.0.tgz#14006967dd1d2b3494cdd650c686db9daf0ddada" - integrity sha512-/DtIHKfyg2bBKnIN+BItaIlEg5pjAnzHOIQe5w+rHAw/rg9g0V7T4rqPX8BJPfW11kt3koyjAnTNwCzb28Y1PA== +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.0", "@babel/traverse@^7.4.3": + version "7.4.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.4.3.tgz#1a01f078fc575d589ff30c0f71bf3c3d9ccbad84" + integrity sha512-HmA01qrtaCwwJWpSKpA948cBvU5BrmviAief/b3AVw936DtcdsTexlbyzNuDnthwhOQ37xshn7hvQaEQk7ISYQ== dependencies: "@babel/code-frame" "^7.0.0" "@babel/generator" "^7.4.0" "@babel/helper-function-name" "^7.1.0" "@babel/helper-split-export-declaration" "^7.4.0" - "@babel/parser" "^7.4.0" + "@babel/parser" "^7.4.3" "@babel/types" "^7.4.0" debug "^4.1.0" globals "^11.1.0" @@ -778,42 +802,41 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@jest/console@^24.3.0": - version "24.3.0" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-24.3.0.tgz#7bd920d250988ba0bf1352c4493a48e1cb97671e" - integrity sha512-NaCty/OOei6rSDcbPdMiCbYCI0KGFGPgGO6B09lwWt5QTxnkuhKYET9El5u5z1GAcSxkQmSMtM63e24YabCWqA== +"@jest/console@^24.6.0": + version "24.6.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-24.6.0.tgz#63225e6889f3865ab5b7a0d8797e8aed417c4e0b" + integrity sha512-nNZbwtZwW6dr7bvZpRBCdBNvZYi+jr6lfnubSOCELk/Km/5csDmGdqeS4qKwGKIVlHTyZ95MYExYevpdh26tDA== dependencies: "@jest/source-map" "^24.3.0" - "@types/node" "*" chalk "^2.0.1" slash "^2.0.0" -"@jest/core@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-24.5.0.tgz#2cefc6a69e9ebcae1da8f7c75f8a257152ba1ec0" - integrity sha512-RDZArRzAs51YS7dXG1pbXbWGxK53rvUu8mCDYsgqqqQ6uSOaTjcVyBl2Jce0exT2rSLk38ca7az7t2f3b0/oYQ== +"@jest/core@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-24.7.0.tgz#7fd599fa89e7fcd0109a9f6d33fcce2da17a7f98" + integrity sha512-Ub8+TYkhYSTeQTUrrlDgfidpkVPjN8oZawagHlyJRrtITtR+FivmpqlfqmWziBgeJ3EuaWxF9Ctb55WvA95loA== dependencies: - "@jest/console" "^24.3.0" - "@jest/reporters" "^24.5.0" - "@jest/test-result" "^24.5.0" - "@jest/transform" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/console" "^24.6.0" + "@jest/reporters" "^24.7.0" + "@jest/test-result" "^24.7.0" + "@jest/transform" "^24.7.0" + "@jest/types" "^24.7.0" ansi-escapes "^3.0.0" chalk "^2.0.1" exit "^0.1.2" graceful-fs "^4.1.15" - jest-changed-files "^24.5.0" - jest-config "^24.5.0" - jest-haste-map "^24.5.0" - jest-message-util "^24.5.0" + jest-changed-files "^24.7.0" + jest-config "^24.7.0" + jest-haste-map "^24.7.0" + jest-message-util "^24.7.0" jest-regex-util "^24.3.0" - jest-resolve-dependencies "^24.5.0" - jest-runner "^24.5.0" - jest-runtime "^24.5.0" - jest-snapshot "^24.5.0" - jest-util "^24.5.0" - jest-validate "^24.5.0" - jest-watcher "^24.5.0" + jest-resolve-dependencies "^24.7.0" + jest-runner "^24.7.0" + jest-runtime "^24.7.0" + jest-snapshot "^24.7.0" + jest-util "^24.7.0" + jest-validate "^24.7.0" + jest-watcher "^24.7.0" micromatch "^3.1.10" p-each-series "^1.0.0" pirates "^4.0.1" @@ -821,36 +844,34 @@ rimraf "^2.5.4" strip-ansi "^5.0.0" -"@jest/environment@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-24.5.0.tgz#a2557f7808767abea3f9e4cc43a172122a63aca8" - integrity sha512-tzUHR9SHjMXwM8QmfHb/EJNbF0fjbH4ieefJBvtwO8YErLTrecc1ROj0uo2VnIT6SlpEGZnvdCK6VgKYBo8LsA== +"@jest/environment@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-24.7.0.tgz#5ff0099e1c184e2bd3a0517f60135baf28836b2e" + integrity sha512-Vfv5vTPcE5Rp5TYK/hpUI07LV+OH6HOIpDNZ5lWLQ88HkPsDi9ILcSDLJs4tBZLcYltotlGapb5XUTjAfaRWow== dependencies: - "@jest/fake-timers" "^24.5.0" - "@jest/transform" "^24.5.0" - "@jest/types" "^24.5.0" - "@types/node" "*" - jest-mock "^24.5.0" + "@jest/fake-timers" "^24.7.0" + "@jest/transform" "^24.7.0" + "@jest/types" "^24.7.0" + jest-mock "^24.7.0" -"@jest/fake-timers@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-24.5.0.tgz#4a29678b91fd0876144a58f8d46e6c62de0266f0" - integrity sha512-i59KVt3QBz9d+4Qr4QxsKgsIg+NjfuCjSOWj3RQhjF5JNy+eVJDhANQ4WzulzNCHd72srMAykwtRn5NYDGVraw== +"@jest/fake-timers@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-24.7.0.tgz#6735c6d88ee096a6303f369fa5fddef12f79779c" + integrity sha512-wwq54UIqxC0JsKNQcwJyD4JjSkUYV9rZ1qz2lGGG1iMrFgn6ls37GBo/Cay2qCcnmdyVy+kQ5RE1+7Un7Kw4ew== dependencies: - "@jest/types" "^24.5.0" - "@types/node" "*" - jest-message-util "^24.5.0" - jest-mock "^24.5.0" + "@jest/types" "^24.7.0" + jest-message-util "^24.7.0" + jest-mock "^24.7.0" -"@jest/reporters@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-24.5.0.tgz#9363a210d0daa74696886d9cb294eb8b3ad9b4d9" - integrity sha512-vfpceiaKtGgnuC3ss5czWOihKOUSyjJA4M4udm6nH8xgqsuQYcyDCi4nMMcBKsHXWgz9/V5G7iisnZGfOh1w6Q== +"@jest/reporters@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-24.7.0.tgz#f780e0811bd1de46ed78270eb622097387cbb442" + integrity sha512-iOLYOXtRJEkY//aI6b95U5T1JzcRrvfKAlk7zj5ab+4w/Drko9x0PaP0eRBMRvSolzwiXaF8f1zWId397N6Vyg== dependencies: - "@jest/environment" "^24.5.0" - "@jest/test-result" "^24.5.0" - "@jest/transform" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/environment" "^24.7.0" + "@jest/test-result" "^24.7.0" + "@jest/transform" "^24.7.0" + "@jest/types" "^24.7.0" chalk "^2.0.1" exit "^0.1.2" glob "^7.1.2" @@ -858,11 +879,11 @@ istanbul-lib-coverage "^2.0.2" istanbul-lib-instrument "^3.0.1" istanbul-lib-source-maps "^3.0.1" - jest-haste-map "^24.5.0" - jest-resolve "^24.5.0" - jest-runtime "^24.5.0" - jest-util "^24.5.0" - jest-worker "^24.4.0" + jest-haste-map "^24.7.0" + jest-resolve "^24.7.0" + jest-runtime "^24.7.0" + jest-util "^24.7.0" + jest-worker "^24.6.0" node-notifier "^5.2.1" slash "^2.0.0" source-map "^0.6.0" @@ -877,42 +898,52 @@ graceful-fs "^4.1.15" source-map "^0.6.0" -"@jest/test-result@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-24.5.0.tgz#ab66fb7741a04af3363443084e72ea84861a53f2" - integrity sha512-u66j2vBfa8Bli1+o3rCaVnVYa9O8CAFZeqiqLVhnarXtreSXG33YQ6vNYBogT7+nYiFNOohTU21BKiHlgmxD5A== +"@jest/test-result@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-24.7.0.tgz#062631a3b1727ef4cc6521df152b9142a68f081f" + integrity sha512-bl7HcDnMYEemy/myEmc9AaO9YXxANADNYtXJRC9haolx8btNHY6q78YdL+jb/KC4vBmEEoK+OSgMae90C1tZMQ== dependencies: - "@jest/console" "^24.3.0" - "@jest/types" "^24.5.0" - "@types/istanbul-lib-coverage" "^1.1.0" + "@jest/console" "^24.6.0" + "@jest/types" "^24.7.0" + "@types/istanbul-lib-coverage" "^2.0.0" -"@jest/transform@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-24.5.0.tgz#6709fc26db918e6af63a985f2cc3c464b4cf99d9" - integrity sha512-XSsDz1gdR/QMmB8UCKlweAReQsZrD/DK7FuDlNo/pE8EcKMrfi2kqLRk8h8Gy/PDzgqJj64jNEzOce9pR8oj1w== +"@jest/test-sequencer@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-24.7.0.tgz#05a53b29a78269143489d9653da3b31f6e32c702" + integrity sha512-+i7aeDimhwDVzk6pt5r7ZPNMMJ6/p9jaIu6nVumXQjDR2UmuH+/QOnQcKml7+9/U/TEX9Fl61n+OoH+Ds0PTxw== + dependencies: + "@jest/test-result" "^24.7.0" + jest-haste-map "^24.7.0" + jest-runner "^24.7.0" + jest-runtime "^24.7.0" + +"@jest/transform@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-24.7.0.tgz#c74a1ee5c02f532c22bfc3cddf2685cc3ee5a9b4" + integrity sha512-jwgjrNaZjUuYAf9OZFgyChqEN9p/LS8YkK6D0vuORLXoxiBSZy76tX0/RkCkSkOjgI8IsFwccOJ6RcYBw45R6Q== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" babel-plugin-istanbul "^5.1.0" chalk "^2.0.1" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.1.15" - jest-haste-map "^24.5.0" + jest-haste-map "^24.7.0" jest-regex-util "^24.3.0" - jest-util "^24.5.0" + jest-util "^24.7.0" micromatch "^3.1.10" realpath-native "^1.1.0" slash "^2.0.0" source-map "^0.6.1" write-file-atomic "2.4.1" -"@jest/types@^24.5.0": - version "24.5.0" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-24.5.0.tgz#feee214a4d0167b0ca447284e95a57aa10b3ee95" - integrity sha512-kN7RFzNMf2R8UDadPOl6ReyI+MT8xfqRuAnuVL+i4gwjv/zubdDK+EDeLHYwq1j0CSSR2W/MmgaRlMZJzXdmVA== +"@jest/types@^24.7.0": + version "24.7.0" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-24.7.0.tgz#c4ec8d1828cdf23234d9b4ee31f5482a3f04f48b" + integrity sha512-ipJUa2rFWiKoBqMKP63Myb6h9+iT3FHRTF2M8OR6irxWzItisa8i4dcSg14IbvmXUnBlHBlUQPYUHWyX3UPpYA== dependencies: - "@types/istanbul-lib-coverage" "^1.1.0" + "@types/istanbul-lib-coverage" "^2.0.0" "@types/yargs" "^12.0.9" "@lerna/add@3.13.1": @@ -1576,11 +1607,12 @@ universal-user-agent "^2.0.1" "@octokit/rest@^16.16.0": - version "16.22.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.22.0.tgz#461770ae6f8b5a50a85f7d1b2752645c3e01ba6a" - integrity sha512-1PGUwDxLuG7AZsiKaIdxJr918jcZ1FtPX0kGqxoUlssn+fIzzlwQY623gnM8vY9c9jfASD+QUQmflHh3FwBthw== + version "16.23.2" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.23.2.tgz#975e84610427c4ab6c41bec77c24aed9b7563db4" + integrity sha512-ZxiZMaCuqBG/IsbgNRVfGwYsvBb5DjHuMGjJgOrinT+/b+1j1U7PiGyRkHDJdjTGA6N/PsMC2lP2ZybX9579iA== dependencies: "@octokit/request" "2.4.2" + atob-lite "^2.0.0" before-after-hook "^1.4.0" btoa-lite "^1.0.0" deprecation "^1.0.1" @@ -1592,43 +1624,43 @@ universal-user-agent "^2.0.0" url-template "^2.0.8" -"@polkadot/dev@^0.29.1": - version "0.29.1" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.29.1.tgz#919c7b6b8e76dbdb4f59abe5f6d7f812d2b1e99d" - integrity sha512-Z3L2lvMQ/KAkIjP3MTgbjZGmX4WWXAR6S+mhQZ6srdFF+Y8uhmNIrC9QW+KQGGN7o1O8XglitRbQJKtsRkjdlg== +"@polkadot/dev@^0.30.0-beta.0": + version "0.30.0-beta.0" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.30.0-beta.0.tgz#9fb155fc33c334f4a8ecec282683331d5924a0cc" + integrity sha512-4Fvnd8elKr9bYarjtrdsVThtZgHTKP8emC0dI2wJ5I4Xr5g8+zlTGuIr9inQlhssT+x+QSsVlbYYrzS0hQaDlw== dependencies: - "@babel/cli" "^7.2.3" - "@babel/core" "^7.4.0" + "@babel/cli" "^7.4.3" + "@babel/core" "^7.4.3" "@babel/plugin-proposal-class-properties" "^7.4.0" "@babel/plugin-proposal-decorators" "^7.4.0" - "@babel/plugin-proposal-object-rest-spread" "^7.4.0" - "@babel/plugin-transform-runtime" "^7.4.0" - "@babel/preset-env" "^7.4.2" + "@babel/plugin-proposal-object-rest-spread" "^7.4.3" + "@babel/plugin-transform-runtime" "^7.4.3" + "@babel/preset-env" "^7.4.3" "@babel/preset-typescript" "^7.3.3" "@babel/register" "^7.4.0" - "@babel/runtime" "^7.4.2" + "@babel/runtime" "^7.4.3" "@types/jest" "^24.0.11" - "@types/node" "^11.12.2" + "@types/node" "^11.13.0" babel-core "^7.0.0-bridge.0" - babel-jest "^24.5.0" + babel-jest "^24.7.0" babel-plugin-module-resolver "^3.2.0" chalk "^2.4.2" codeclimate-test-reporter "^0.5.1" coveralls "^3.0.3" cpx "^1.5.0" - jest "^24.5.0" - jest-haste-map "^24.5.0" - jest-resolve "^24.5.0" + jest "^24.7.0" + jest-haste-map "^24.7.0" + jest-resolve "^24.7.0" lerna "^3.13.1" mkdirp "^0.5.1" rimraf "^2.6.3" - tslint "^5.14.0" + tslint "^5.15.0" tslint-config-standard "^8.0.1" typedoc "^0.14.2" typedoc-plugin-markdown "^1.1.27" typedoc-plugin-no-inherit "^1.1.6" typescript "^3.4.1" - vuepress "^1.0.0-alpha.44" + vuepress "^1.0.0-alpha.46" "@polkadot/ts@^0.1.56": version "0.1.56" @@ -1687,10 +1719,10 @@ dependencies: "@types/node" "*" -"@types/bn.js@^4.11.4": - version "4.11.4" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.4.tgz#a7bed5bdef9f16b25c92ba27745ab261374787d7" - integrity sha512-AO8WW+aRcKWKQAYTfKLzwnpL6U+TfPqS+haRrhCy5ff04Da8WZud3ZgVjspQXaEXJDcTlsjUEVvL39wegDek5w== +"@types/bn.js@^4.11.5": + version "4.11.5" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.5.tgz#40e36197433f78f807524ec623afcf0169ac81dc" + integrity sha512-AEAZcIZga0JgVMHNtl1CprA/hXX7/wPt79AgR4XqaDt7jyj3QWYw6LPoOiznPtugDmlubUnAahMs2PFxGcQrng== dependencies: "@types/node" "*" @@ -1744,10 +1776,10 @@ resolved "https://registry.yarnpkg.com/@types/ip-regex/-/ip-regex-3.0.0.tgz#f06748a44dd47810bb24555958b4b410cfe5abab" integrity sha512-4j26qYCikXbIaypgqdGQhhIvYfTR+40i/05jVQB8oc57RbROEkBocdIUZO7fOhyqJsx7WRY36ySW8hoUZn7Fgw== -"@types/istanbul-lib-coverage@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.0.tgz#2cc2ca41051498382b43157c8227fea60363f94a" - integrity sha512-ohkhb9LehJy+PA40rDtGAji61NCgdtKLAlFoYp4cnuuQEswwdK3vz9SOIkkyc3wrk8dzjphQApNs56yyXLStaQ== +"@types/istanbul-lib-coverage@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.0.tgz#1eb8c033e98cf4e1a4cedcaf8bcafe8cb7591e85" + integrity sha512-eAtOAFZefEnfJiRFQBGw1eYqa5GTLCZ1y86N0XSI/D6EB+E8z6VPV/UL7Gi5UEclFqoQk+6NRqEDsfmDLXn8sg== "@types/jest-diff@*": version "20.0.1" @@ -1776,17 +1808,10 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== -"@types/mkdirp@^0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-0.5.2.tgz#503aacfe5cc2703d5484326b1b27efa67a339c1f" - integrity sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg== - dependencies: - "@types/node" "*" - -"@types/node@*", "@types/node@^11.12.2": - version "11.12.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-11.12.2.tgz#d7f302e74b10e9801d52852137f652d9ee235da8" - integrity sha512-c82MtnqWB/CqqK7/zit74Ob8H1dBdV7bK+BcErwtXbe0+nUGkgzq5NTDmRW/pAv2lFtmeNmW95b0zK2hxpeklg== +"@types/node@*", "@types/node@^11.13.0": + version "11.13.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.0.tgz#b0df8d6ef9b5001b2be3a94d909ce3c29a80f9e1" + integrity sha512-rx29MMkRdVmzunmiA4lzBYJNnXsW/PhG4kMBy2ATsYaDjGGR75dCFEVVROKpNwlVdcUX3xxlghKQOeDPBJobng== "@types/pbkdf2@^3.0.0": version "3.0.0" @@ -1795,14 +1820,6 @@ dependencies: "@types/node" "*" -"@types/rimraf@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-2.0.2.tgz#7f0fc3cf0ff0ad2a99bb723ae1764f30acaf8b6e" - integrity sha512-Hm/bnWq0TCy7jmjeN5bKYij9vw5GrDFWME4IuxV08278NtU/VdGbzsBohcCUJ7+QMqmUq5hpRKB39HeQWJjztQ== - dependencies: - "@types/glob" "*" - "@types/node" "*" - "@types/secp256k1@^3.5.0": version "3.5.0" resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-3.5.0.tgz#0f3baf16b07488c6da2633a63b4160bcf8d0fd5b" @@ -1811,20 +1828,13 @@ "@types/node" "*" "@types/shelljs@^0.8.0": - version "0.8.3" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.3.tgz#f713f312dbae49ab5025290007e71ea32998e9a9" - integrity sha512-miY41hqc5SkRlsZDod3heDa4OS9xv8G77EMBQuSpqq86HBn66l7F+f8y9YKm+1PIuwC8QEZVwN8YxOOG7Y67fA== + version "0.8.4" + resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.4.tgz#b903e41ad5e5195b7d5e34d3cd33c94bdbd07895" + integrity sha512-UNACC6scKFVljWEvO3rHBkbbKXu3QkKPBOMCisxI7au9cnFK7tjOGPsKh5OjedAPLmtsKSarmk+YeehKTQSKtg== dependencies: "@types/glob" "*" "@types/node" "*" -"@types/snappy@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@types/snappy/-/snappy-6.0.0.tgz#9817e368bea67b7775b91b579700749b62d9bba5" - integrity sha512-ArYqOVVmkL+Ibp7qIUrvaqy791w98f/NARz90gF6NmV3IgW9cqCCHTruuXdvWnIc7kOiD3VhoZT4SXIMdzFvyQ== - dependencies: - "@types/node" "*" - "@types/stack-utils@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" @@ -1843,9 +1853,9 @@ "@types/node" "*" "@types/yargs@^12.0.2", "@types/yargs@^12.0.9": - version "12.0.10" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.10.tgz#17a8ec65cd8e88f51b418ceb271af18d3137df67" - integrity sha512-WsVzTPshvCSbHThUduGGxbmnwcpkgSctHGHTqzWyFg4lYAuV5qXlyFPOsP3OWqCINfmg/8VXP+zJaa4OxEsBQQ== + version "12.0.11" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.11.tgz#a090d88e1f40a910e6443c95493c1c035c76ebdc" + integrity sha512-IsU1TD+8cQCyG76ZqxP0cVFnofvfzT8p/wO8ENT4jbN/KKN3grsHFgHNl/U+08s33ayX4LwI85cEhYXCOlOkMw== "@vue/babel-helper-vue-jsx-merge-props@^1.0.0-beta.3": version "1.0.0-beta.3" @@ -1865,9 +1875,9 @@ svg-tags "^1.0.0" "@vue/babel-preset-app@^3.1.1": - version "3.5.3" - resolved "https://registry.yarnpkg.com/@vue/babel-preset-app/-/babel-preset-app-3.5.3.tgz#4c89b2b3608840300c3fa52b132330522983cbeb" - integrity sha512-PcREZtY5JOEct5IsDdLJ+RLoTmpNETdljGukw8lhvuUmaqDiLpzMfTnxQ4FJHS9A+SNs6W+OaWj+NyN7nTlf2Q== + version "3.5.5" + resolved "https://registry.yarnpkg.com/@vue/babel-preset-app/-/babel-preset-app-3.5.5.tgz#d28bfc5fdec0b3dcc4edf2aba975cce09699db92" + integrity sha512-kK2DkQ+uGOjDnVjgn8A3Rczic55rI42nMESmwWfrfjssPeFQLGqiJixk9eQccHNBjyHcl3D+UOWx+EHQbpPByg== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/plugin-proposal-class-properties" "^7.0.0" @@ -1944,19 +1954,18 @@ source-map "~0.6.1" vue-template-es2015-compiler "^1.9.0" -"@vuepress/core@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/core/-/core-1.0.0-alpha.44.tgz#820cbffc0bf7e620274bfb3fd988be5021ba4d92" - integrity sha512-hMOMD7ETxPduMJkUd6ii90vJ7IeNWojKl0mZ8M5NogJu3ZyR+VPv7IlbI3N5NaYnaZ44+awZVcgvsbDndxlowQ== +"@vuepress/core@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/core/-/core-1.0.0-alpha.46.tgz#a3756dad01e81cde012145afbd74c5d9ec6cf0bc" + integrity sha512-0dInY/68nmdkxTI481NdTVGsMWxdg1m3r4GqkdjYC+xn5E/MlQXUmsaBZy5jmQCsJ13+ZcXCCs7ymZqWjIWedw== dependencies: "@babel/core" "^7.0.0" "@vue/babel-preset-app" "^3.1.1" - "@vuepress/markdown" "^1.0.0-alpha.44" - "@vuepress/markdown-loader" "^1.0.0-alpha.44" - "@vuepress/plugin-container" "^1.0.0-alpha.44" - "@vuepress/plugin-last-updated" "^1.0.0-alpha.44" - "@vuepress/plugin-register-components" "^1.0.0-alpha.44" - "@vuepress/shared-utils" "^1.0.0-alpha.44" + "@vuepress/markdown" "^1.0.0-alpha.46" + "@vuepress/markdown-loader" "^1.0.0-alpha.46" + "@vuepress/plugin-last-updated" "^1.0.0-alpha.46" + "@vuepress/plugin-register-components" "^1.0.0-alpha.46" + "@vuepress/shared-utils" "^1.0.0-alpha.46" autoprefixer "^7.1.2" babel-loader "^8.0.4" cache-loader "^1.2.2" @@ -1980,27 +1989,28 @@ vue-server-renderer "^2.5.16" vue-template-compiler "^2.5.16" vuepress-html-webpack-plugin "^3.2.0" + vuepress-plugin-container "^2.0.0" webpack "^4.8.1" webpack-chain "^4.6.0" webpack-dev-server "^3.1.14" webpack-merge "^4.1.2" webpackbar "^2.6.1" -"@vuepress/markdown-loader@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/markdown-loader/-/markdown-loader-1.0.0-alpha.44.tgz#cea097d4f6eab0dc796965dcd9dab178ec968cbb" - integrity sha512-DNt6jS+7MhOD4uP1LWzJKNbst7oxL5DkVlvwUVF8tUlEyPoujBSHMwmRRsep/tk8eN9kggHP0PjXOUviHDkCeg== +"@vuepress/markdown-loader@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/markdown-loader/-/markdown-loader-1.0.0-alpha.46.tgz#414aa32beccbeefd0b713530e985f7e3c8a56db3" + integrity sha512-iJuzHx+Mufsuujc0A7FDrQ1bARNL1BAL/YUKDQwMCoygHphPOwzZ5lzDfxItBMNhshmdzRBA3yvFiayz+ThESg== dependencies: - "@vuepress/markdown" "^1.0.0-alpha.44" + "@vuepress/markdown" "^1.0.0-alpha.46" loader-utils "^1.1.0" lru-cache "^5.1.1" -"@vuepress/markdown@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/markdown/-/markdown-1.0.0-alpha.44.tgz#4fe7ba1de27959188d6146fbef935f90108587b5" - integrity sha512-wUjLKVlRv1BYDFm/2Q8MazIILag/RX4OguFHiyYwfta7REC4zCMIQhzqA5Aa/xhnX9yJb6L1L44KsbshjAv5OA== +"@vuepress/markdown@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/markdown/-/markdown-1.0.0-alpha.46.tgz#670d35b7c35437d5c50637f2462a2fb6b56d66d8" + integrity sha512-FfhnmDb4+d9I3iz5das8Bs//ut1vBUdvez9ZXxd3b8qoR7jLIke6lBSqS+pU5G88BLjWyTaJrMMxjWt/8EMoLA== dependencies: - "@vuepress/shared-utils" "^1.0.0-alpha.44" + "@vuepress/shared-utils" "^1.0.0-alpha.46" lru-cache "^5.1.1" markdown-it "^8.4.1" markdown-it-anchor "^5.0.2" @@ -2008,50 +2018,43 @@ markdown-it-emoji "^1.4.0" prismjs "^1.13.0" -"@vuepress/plugin-active-header-links@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-1.0.0-alpha.44.tgz#8d9dc12879054fbcfbba04e5076146b7d245a976" - integrity sha512-Dzl7EerzMhCeujxQWAiPFpAHBVrhGP3xadrk8OA4sTlwWpCObiSPj1rKDM3iVvP2HMC14klBfAuhMFPpxZN2/g== +"@vuepress/plugin-active-header-links@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-1.0.0-alpha.46.tgz#bcfe04123711deb62783f70bdb4ee6cd6e57e073" + integrity sha512-R3r75ABNo1yt3fxI1hJCt6zHImCU3ecJAKSa7PHUIpbX+4tVeczJPzq1EIJk/lmN/G0+ZAeNh/O5imXbPw87KA== dependencies: lodash.throttle "^4.1.1" -"@vuepress/plugin-container@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-container/-/plugin-container-1.0.0-alpha.44.tgz#57d067633804079d6d624d58a5def75859676c4a" - integrity sha512-AeoH44Pp1AtOjGtxAoj96DH6UjNVZxGm1oLb0/vgxp0i4PEdMjhzzlETS9FoUnHQK+kfmKyZMbbQOJCHzkuRIQ== - dependencies: - markdown-it-container "^2.0.0" - -"@vuepress/plugin-last-updated@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.0.0-alpha.44.tgz#89349ad745439abbfb2ed411f5b0789234f9717d" - integrity sha512-1bz5u0DdhOv2UCNONhW+KBW60qUf43cD8PEBLzc1GHJpucKNIahW/dqyaQMYRp9wVjqFEeTISOl6t+QMgtvyqQ== +"@vuepress/plugin-last-updated@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.0.0-alpha.46.tgz#f7c9cea8040c3cacaf8004f05b141f012c93b9b6" + integrity sha512-A2VtsbfddiJnk4d8yehH1UtwwmwCEqX12FVifPfq3NqxJEsCBnLPQX7Dh+aoDxZqzp3wFY/2uav2M1jAukBKAw== dependencies: cross-spawn "^6.0.5" -"@vuepress/plugin-nprogress@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.0.0-alpha.44.tgz#5f59cac82d3f0104199701e6090cf9c33af29859" - integrity sha512-wQmx+y3pR8slJ+mNri3I8spCDTQsDIfZPTv2YbYSQW8LeKRIhFch3lpJBQvY3yXUonxgE8pi9PIn3KIu8tusIw== +"@vuepress/plugin-nprogress@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.0.0-alpha.46.tgz#71d35eb1536de3d03f466770fae30c1eab141e5f" + integrity sha512-bpWe4VGCfAdsbN8d/arD4J75Uobw3OHeLHO2TBkAF6n62LqCw+bKBRrRA1LM2lKyhuH+i5YcIi+QEHFXy+GGzA== dependencies: nprogress "^0.2.0" -"@vuepress/plugin-register-components@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-register-components/-/plugin-register-components-1.0.0-alpha.44.tgz#7ef30c9e0516d19ba6b8e577cba6eda6e808753d" - integrity sha512-NluHmi491VO9SMdurOjcWsYQzAU+l4X6ZmDkliIqJ7EL99yNDizphIUS8Tpfh8BD40X/8PH5AArpUbxXMPw7+Q== +"@vuepress/plugin-register-components@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-register-components/-/plugin-register-components-1.0.0-alpha.46.tgz#266d6d2eaf57e4132828f16266af04e3f1493cfa" + integrity sha512-kWkYGQbJ551Ka7EYj12kVMLS+rTGjSrIpQpAn7Adi2Qv1EaM9auIsnOrM8SpSP7bx5y9fYo3L8XK2FQGGcoRVA== dependencies: - "@vuepress/shared-utils" "^1.0.0-alpha.44" + "@vuepress/shared-utils" "^1.0.0-alpha.46" -"@vuepress/plugin-search@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-1.0.0-alpha.44.tgz#c5ab7abe591ca025d57886a9ee817e4217504fd8" - integrity sha512-quRTG2w3EHdmo1ZNB26qcVpH/SJU1aAsKobjm4AyESgRCBQwfYbyHilWzM77gr2p6jnjAOfeV+ZegEDrM67HKA== +"@vuepress/plugin-search@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-1.0.0-alpha.46.tgz#6fa982d56663912897e77718fc80aa5cdf15883c" + integrity sha512-tn83vmBfR6I2dnaIOrr0d2H4I9yzR2vu/H8RPq40Ofrw3PGH5rFYQwkqrHhzb5F7jKnJlRmlnl5cxkoB7mZ/Yw== -"@vuepress/shared-utils@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/shared-utils/-/shared-utils-1.0.0-alpha.44.tgz#916f2c3c7f121d490936464997d7e31200e558b8" - integrity sha512-2dQWfvoJr9JskbHxsvR7WIFi5bqjbl5Uhlo5z1sw2nG7DsVwVTGvavfelijU6oJtAWzmKXaolpMfivHPgzIjWQ== +"@vuepress/shared-utils@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/shared-utils/-/shared-utils-1.0.0-alpha.46.tgz#19b67b47a93236ef197ac8ee76bfa265f99a9a95" + integrity sha512-A5WqlcEjrcUJtbq59UnjojOgbLSj4fp1F4Gf0/9zsOkRLt8TgPlCeBtvpkOZI5+JpTb7XeL+gqkVYJLWEAfWBw== dependencies: chalk "^2.3.2" diacritics "^1.3.0" @@ -2063,18 +2066,18 @@ semver "^5.5.0" upath "^1.1.0" -"@vuepress/theme-default@^1.0.0-alpha.44": - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/@vuepress/theme-default/-/theme-default-1.0.0-alpha.44.tgz#48f973dc52a83a9c64292ec15c2c341111bb28c4" - integrity sha512-a2OXi1Z73Ix2gZuFxwnpiwLG8AxrvRBLM8gzNjHh1VEd5YGOFaTh6wt/QHcuFmuUDCvH56HNBprTwTBYv9tHxA== +"@vuepress/theme-default@^1.0.0-alpha.46": + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/@vuepress/theme-default/-/theme-default-1.0.0-alpha.46.tgz#b25d4c2c56b225367d01762029497be3b7ef166e" + integrity sha512-OkHdyeywioNCH452ZGPO1fDYaMM8R+23CO1IvApNFG1GmRAwnEkoN12cVa/mMexWfk/N3BSpdsCOrGahtjbZlA== dependencies: - "@vuepress/plugin-active-header-links" "^1.0.0-alpha.44" - "@vuepress/plugin-container" "^1.0.0-alpha.44" - "@vuepress/plugin-nprogress" "^1.0.0-alpha.44" - "@vuepress/plugin-search" "^1.0.0-alpha.44" + "@vuepress/plugin-active-header-links" "^1.0.0-alpha.46" + "@vuepress/plugin-nprogress" "^1.0.0-alpha.46" + "@vuepress/plugin-search" "^1.0.0-alpha.46" docsearch.js "^2.5.2" stylus "^0.54.5" stylus-loader "^3.0.2" + vuepress-plugin-container "^2.0.0" "@webassemblyjs/ast@1.8.5": version "1.8.5" @@ -2610,6 +2613,11 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= +atob-lite@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" + integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY= + atob@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" @@ -2670,16 +2678,16 @@ babel-core@^7.0.0-bridge.0: resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== -babel-jest@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-24.5.0.tgz#0ea042789810c2bec9065f7c8ab4dc18e1d28559" - integrity sha512-0fKCXyRwxFTJL0UXDJiT2xYxO9Lu2vBd9n+cC+eDjESzcVG3s2DRGAxbzJX21fceB1WYoBjAh8pQ83dKcl003g== +babel-jest@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-24.7.0.tgz#9dfc6245a5a9b3757c1f1e3c19705cca0941d55d" + integrity sha512-7WRraf28jlluyVLPyDY4+DXzCptiWor44caqRzefo+3btgHUb7FXEFXeqxwH2UuNCMnNY3plh/7hQ9bsLVwmUQ== dependencies: - "@jest/transform" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/transform" "^24.7.0" + "@jest/types" "^24.7.0" "@types/babel__core" "^7.1.0" babel-plugin-istanbul "^5.1.0" - babel-preset-jest "^24.3.0" + babel-preset-jest "^24.6.0" chalk "^2.4.2" slash "^2.0.0" @@ -2709,10 +2717,10 @@ babel-plugin-istanbul@^5.1.0: istanbul-lib-instrument "^3.0.0" test-exclude "^5.0.0" -babel-plugin-jest-hoist@^24.3.0: - version "24.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.3.0.tgz#f2e82952946f6e40bb0a75d266a3790d854c8b5b" - integrity sha512-nWh4N1mVH55Tzhx2isvUN5ebM5CDUvIpXPZYMRazQughie/EqGnbR+czzoQlhUmJG9pPJmYDRhvocotb2THl1w== +babel-plugin-jest-hoist@^24.6.0: + version "24.6.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.6.0.tgz#f7f7f7ad150ee96d7a5e8e2c5da8319579e78019" + integrity sha512-3pKNH6hMt9SbOv0F3WVmy5CWQ4uogS3k0GY5XLyQHJ9EGpAT9XWkFd2ZiXXtkwFHdAHa5j7w7kfxSP5lAIwu7w== dependencies: "@types/babel__traverse" "^7.0.6" @@ -2727,13 +2735,13 @@ babel-plugin-module-resolver@^3.2.0: reselect "^3.0.1" resolve "^1.4.0" -babel-preset-jest@^24.3.0: - version "24.3.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-24.3.0.tgz#db88497e18869f15b24d9c0e547d8e0ab950796d" - integrity sha512-VGTV2QYBa/Kn3WCOKdfS31j9qomaXSgJqi65B6o05/1GsJyj9LVhSljM9ro4S+IBGj/ENhNBuH9bpqzztKAQSw== +babel-preset-jest@^24.6.0: + version "24.6.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz#66f06136eefce87797539c0d63f1769cc3915984" + integrity sha512-pdZqLEdmy1ZK5kyRUfvBb2IfTPb2BUvIJczlPspS8fWmBQslNNDBqVfh7BW5leOVJMDZKzjD8XEyABTk6gQ5yw== dependencies: "@babel/plugin-syntax-object-rest-spread" "^7.0.0" - babel-plugin-jest-hoist "^24.3.0" + babel-plugin-jest-hoist "^24.6.0" babel-runtime@^6.9.2: version "6.26.0" @@ -2810,7 +2818,7 @@ binary-extensions@^1.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== -bindings@^1.2.1, bindings@^1.3.1: +bindings@^1.2.1: version "1.5.0" resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== @@ -2818,9 +2826,9 @@ bindings@^1.2.1, bindings@^1.3.1: file-uri-to-path "1.0.0" bip39@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.5.0.tgz#51cbd5179460504a63ea3c000db3f787ca051235" - integrity sha512-xwIx/8JKoT2+IPJpFEfXoWdYwP7UVAoUxxLNfGCfVowaJE7yg1Y5B1BVPqlUNsBq5/nGwmFkwRJ8xDW4sX8OdA== + version "2.6.0" + resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.6.0.tgz#9e3a720b42ec8b3fbe4038f1e445317b6a99321c" + integrity sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg== dependencies: create-hash "^1.1.0" pbkdf2 "^3.0.9" @@ -2835,14 +2843,6 @@ bip66@^1.1.3: dependencies: safe-buffer "^5.0.1" -bl@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c" - integrity sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" - blakejs@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.1.0.tgz#69df92ef953aa88ca51a32df6ab1c54a155fc7a5" @@ -2856,9 +2856,9 @@ block-stream@*: inherits "~2.0.0" bluebird@^3.1.1, bluebird@^3.5.1, bluebird@^3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" - integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== + version "3.5.4" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.4.tgz#d6cc661595de30d5b3af5fcedd3c0b3ef6ec5714" + integrity sha512-FG+nFEZChJrbQ9tIccIfZJBz3J7mLrAhxakAbnrJWn8d7aKOC+LWifa0G+p4ZqKp4y13T7juYvdhq9NzKdsrjw== bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.11.3, bn.js@^4.11.8, bn.js@^4.4.0: version "4.11.8" @@ -3023,14 +3023,14 @@ browserslist@^2.11.3: caniuse-lite "^1.0.30000792" electron-to-chromium "^1.3.30" -browserslist@^4.3.4, browserslist@^4.4.2, browserslist@^4.5.1: - version "4.5.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.3.tgz#969495c410314bc89f14e748505e58be968080f1" - integrity sha512-Tx/Jtrmh6vFg24AelzLwCaCq1IUJiMDM1x/LPzqbmbktF8Zo7F9ONUpOWsFK6TtdON95mSMaQUWqi0ilc8xM6g== +browserslist@^4.3.4, browserslist@^4.5.1, browserslist@^4.5.2: + version "4.5.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.4.tgz#166c4ecef3b51737a42436ea8002aeea466ea2c7" + integrity sha512-rAjx494LMjqKnMPhFkuLmLp8JWEX0o8ADTGeAbOqaF+XCvYLreZrG5uVjnPBlAQ8REZK4pzXGvp0bWgrFtKaag== dependencies: caniuse-lite "^1.0.30000955" electron-to-chromium "^1.3.122" - node-releases "^1.1.12" + node-releases "^1.1.13" bs58@^4.0.1: version "4.0.1" @@ -3051,24 +3051,6 @@ btoa-lite@^1.0.0: resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= -buffer-alloc-unsafe@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" - integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== - -buffer-alloc@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec" - integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== - dependencies: - buffer-alloc-unsafe "^1.1.0" - buffer-fill "^1.0.0" - -buffer-fill@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" - integrity sha1-+PeLdniYiO858gXNY39o5wISKyw= - buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" @@ -3256,10 +3238,10 @@ camelcase@^4.1.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= -camelcase@^5.0.0, camelcase@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.2.0.tgz#e7522abda5ed94cc0489e1b8466610e88404cf45" - integrity sha512-IXFsBS2pC+X0j0N/GE7Dm7j3bsEBp+oTpb7F50dwEVX7rf3IgwO9XatnegTsDtniKCUtEJH4fSU6Asw7uoVLfQ== +camelcase@^5.0.0, camelcase@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.0.tgz#0a110882cbeba41f72f99fcf918f4a0a92a13ebf" + integrity sha512-Y05ICatFYPAfykDIB7VdwSJ0LUl1yq/BwO2OpyGGLjiRe1fgzTwVypPiWnzkGFOVFHXrCXUNBl86bpjBhZWSJg== caniuse-api@^1.5.2: version "1.6.1" @@ -3272,14 +3254,14 @@ caniuse-api@^1.5.2: lodash.uniq "^4.5.0" caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000955" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000955.tgz#d638a170f94654d77eff7821ec33b51dcd1330b0" - integrity sha512-VNb239mObbXMw9fWhd31idGYBG1gNBQc/qjUWa+ldoeWnjAkoeTZOowTMnVwcCiaMjbC7DNYw8YFkfdFlWLJrA== + version "1.0.30000957" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000957.tgz#311e86e6c7d192fd7d79fa80cd69879e41d01852" + integrity sha512-13rVZZO/75kPKJhJsi86lPUme7zlvfGDnnvSYx3TA+kYQxLtGywth5+81pyVZDjUfYyzatwA/yjv6DNsh66gmQ== caniuse-lite@^1.0.30000792, caniuse-lite@^1.0.30000805, caniuse-lite@^1.0.30000955: - version "1.0.30000955" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000955.tgz#360fdb9a1e41d6dd996130411334e44a39e4446d" - integrity sha512-6AwmIKgqCYfDWWadRkAuZSHMQP4Mmy96xAXEdRBlN/luQhlRYOKgwOlZ9plpCOsVbBuqbTmGqDK3JUM/nlr8CA== + version "1.0.30000957" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000957.tgz#fb1026bf184d7d62c685205358c3b24b9e29f7b3" + integrity sha512-8wxNrjAzyiHcLXN/iunskqQnJquQQ6VX8JHfW5kLgAPRSiSuKZiNfmIkP5j7jgyXqAQBSoXyJxfnbCFS0ThSiQ== capture-exit@^2.0.0: version "2.0.0" @@ -3334,7 +3316,7 @@ chokidar@^1.6.0: optionalDependencies: fsevents "^1.0.0" -chokidar@^2.0.0, chokidar@^2.0.2, chokidar@^2.0.3: +chokidar@^2.0.0, chokidar@^2.0.2, chokidar@^2.0.3, chokidar@^2.0.4: version "2.1.5" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.5.tgz#0ae8434d962281a5f56c72869e79cb6d9d86ad4d" integrity sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A== @@ -3559,7 +3541,12 @@ commander@2.9.0: dependencies: graceful-readlink ">= 1.0.0" -commander@^2.12.1, commander@^2.18.0, commander@^2.19.0, commander@^2.8.1, commander@~2.19.0: +commander@^2.12.1, commander@^2.18.0, commander@^2.19.0, commander@^2.8.1: + version "2.20.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422" + integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ== + +commander@~2.19.0: version "2.19.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== @@ -4183,13 +4170,6 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= - dependencies: - mimic-response "^1.0.0" - dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" @@ -4331,7 +4311,7 @@ detect-indent@^5.0.0: resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= -detect-libc@^1.0.2, detect-libc@^1.0.3: +detect-libc@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= @@ -4838,21 +4818,16 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -expand-template@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" - integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== - -expect@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-24.5.0.tgz#492fb0df8378d8474cc84b827776b069f46294ed" - integrity sha512-p2Gmc0CLxOgkyA93ySWmHFYHUPFIHG6XZ06l7WArWAsrqYVaVEkOU5NtT5i68KUyGKbkQgDCkiT65bWmdoL6Bw== +expect@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-24.7.0.tgz#80f7bffd700414df2e0b35f28d9ae4514d971ced" + integrity sha512-sVRlM83O5tH2G7VUZuClY01k1UGqw7jJcI9rCNn0zaPkbcn+nOOj8MLzhHxF7rI4Ak2vblW/KzCDwSXPhXHlOg== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" ansi-styles "^3.2.0" jest-get-type "^24.3.0" - jest-matcher-utils "^24.5.0" - jest-message-util "^24.5.0" + jest-matcher-utils "^24.7.0" + jest-message-util "^24.7.0" jest-regex-util "^24.3.0" express@^4.16.2: @@ -5227,11 +5202,6 @@ from2@^2.1.0: inherits "^2.0.1" readable-stream "^2.0.0" -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - fs-extra@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-5.0.0.tgz#414d0110cdd06705734d055652c5411260c31abd" @@ -5432,11 +5402,6 @@ gitconfiglocal@^1.0.0: dependencies: ini "^1.3.2" -github-from-package@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" - integrity sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4= - glob-base@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" @@ -6523,65 +6488,66 @@ javascript-stringify@^1.6.0: resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3" integrity sha1-FC0RHzpuPa6PSpr9d9RYVbWpzOM= -jest-changed-files@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-24.5.0.tgz#4075269ee115d87194fd5822e642af22133cf705" - integrity sha512-Ikl29dosYnTsH9pYa1Tv9POkILBhN/TLZ37xbzgNsZ1D2+2n+8oEZS2yP1BrHn/T4Rs4Ggwwbp/x8CKOS5YJOg== +jest-changed-files@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-24.7.0.tgz#39d723a11b16ed7b373ac83adc76a69464b0c4fa" + integrity sha512-33BgewurnwSfJrW7T5/ZAXGE44o7swLslwh8aUckzq2e17/2Os1V0QU506ZNik3hjs8MgnEMKNkcud442NCDTw== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" execa "^1.0.0" throat "^4.0.0" -jest-cli@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-24.5.0.tgz#598139d3446d1942fb7dc93944b9ba766d756d4b" - integrity sha512-P+Jp0SLO4KWN0cGlNtC7JV0dW1eSFR7eRpoOucP2UM0sqlzp/bVHeo71Omonvigrj9AvCKy7NtQANtqJ7FXz8g== +jest-cli@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-24.7.0.tgz#b4f399662747f04b92b66e4844c77fa8c817034a" + integrity sha512-/JNCbQGRTc2+HE+Qq1vCExOyyHvAFIdhBvdsEjQvH+UmghJBvA4UdOl6ok4fsPQnysa/p3gez3KosCWJdt0l6w== dependencies: - "@jest/core" "^24.5.0" - "@jest/test-result" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/core" "^24.7.0" + "@jest/test-result" "^24.7.0" + "@jest/types" "^24.7.0" chalk "^2.0.1" exit "^0.1.2" import-local "^2.0.0" is-ci "^2.0.0" - jest-config "^24.5.0" - jest-util "^24.5.0" - jest-validate "^24.5.0" + jest-config "^24.7.0" + jest-util "^24.7.0" + jest-validate "^24.7.0" prompts "^2.0.1" realpath-native "^1.1.0" yargs "^12.0.2" -jest-config@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-24.5.0.tgz#404d1bc6bb81aed6bd1890d07e2dca9fbba2e121" - integrity sha512-t2UTh0Z2uZhGBNVseF8wA2DS2SuBiLOL6qpLq18+OZGfFUxTM7BzUVKyHFN/vuN+s/aslY1COW95j1Rw81huOQ== +jest-config@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-24.7.0.tgz#42d64ced31a144aeca4c681de42850e703549a28" + integrity sha512-OsE0l9+QrXCLPQ8yJOWX/hQiH8OBf10/5pmBN6OTttU80KE0nF17gs3sUJ4ZikNsQLkbjQs1hW7g9Wg7u0eTpw== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^24.5.0" - babel-jest "^24.5.0" + "@jest/test-sequencer" "^24.7.0" + "@jest/types" "^24.7.0" + babel-jest "^24.7.0" chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^24.5.0" - jest-environment-node "^24.5.0" + jest-environment-jsdom "^24.7.0" + jest-environment-node "^24.7.0" jest-get-type "^24.3.0" - jest-jasmine2 "^24.5.0" + jest-jasmine2 "^24.7.0" jest-regex-util "^24.3.0" - jest-resolve "^24.5.0" - jest-util "^24.5.0" - jest-validate "^24.5.0" + jest-resolve "^24.7.0" + jest-util "^24.7.0" + jest-validate "^24.7.0" micromatch "^3.1.10" - pretty-format "^24.5.0" + pretty-format "^24.7.0" realpath-native "^1.1.0" -jest-diff@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-24.5.0.tgz#a2d8627964bb06a91893c0fbcb28ab228c257652" - integrity sha512-mCILZd9r7zqL9Uh6yNoXjwGQx0/J43OD2vvWVKwOEOLZliQOsojXwqboubAQ+Tszrb6DHGmNU7m4whGeB9YOqw== +jest-diff@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-24.7.0.tgz#5d862899be46249754806f66e5729c07fcb3580f" + integrity sha512-ULQZ5B1lWpH70O4xsANC4tf4Ko6RrpwhE3PtG6ERjMg1TiYTC2Wp4IntJVGro6a8HG9luYHhhmF4grF0Pltckg== dependencies: chalk "^2.0.1" diff-sequences "^24.3.0" jest-get-type "^24.3.0" - pretty-format "^24.5.0" + pretty-format "^24.7.0" jest-docblock@^24.3.0: version "24.3.0" @@ -6590,119 +6556,123 @@ jest-docblock@^24.3.0: dependencies: detect-newline "^2.1.0" -jest-each@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-24.5.0.tgz#da14d017a1b7d0f01fb458d338314cafe7f72318" - integrity sha512-6gy3Kh37PwIT5sNvNY2VchtIFOOBh8UCYnBlxXMb5sr5wpJUDPTUATX2Axq1Vfk+HWTMpsYPeVYp4TXx5uqUBw== +jest-each@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-24.7.0.tgz#7850862106bc9ecb875ffb8eb5e3d3fd9885208f" + integrity sha512-QIva7rgK9R+23uQUnqgSRlZJ5MwJIVanoQNzRZl0zbhv9M05TDqoneVOhpQyDM5ZUJjqCLzwu0PoG6L8U7i8qA== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" chalk "^2.0.1" jest-get-type "^24.3.0" - jest-util "^24.5.0" - pretty-format "^24.5.0" + jest-util "^24.7.0" + pretty-format "^24.7.0" -jest-environment-jsdom@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-24.5.0.tgz#1c3143063e1374100f8c2723a8b6aad23b6db7eb" - integrity sha512-62Ih5HbdAWcsqBx2ktUnor/mABBo1U111AvZWcLKeWN/n/gc5ZvDBKe4Og44fQdHKiXClrNGC6G0mBo6wrPeGQ== +jest-environment-jsdom@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-24.7.0.tgz#e263adb59edb79194caae10e20f39d324e35dffb" + integrity sha512-U3IscwOkfZLUfv0sgeHX2DP7gxZNREXBwulNyP2+SYtLKdGYYjD7pLY4DcUq0y7cc0+VXfrok2QXeGF8qDbixw== dependencies: - "@jest/environment" "^24.5.0" - "@jest/fake-timers" "^24.5.0" - "@jest/types" "^24.5.0" - jest-mock "^24.5.0" - jest-util "^24.5.0" + "@jest/environment" "^24.7.0" + "@jest/fake-timers" "^24.7.0" + "@jest/types" "^24.7.0" + jest-mock "^24.7.0" + jest-util "^24.7.0" jsdom "^11.5.1" -jest-environment-node@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-24.5.0.tgz#763eebdf529f75b60aa600c6cf8cb09873caa6ab" - integrity sha512-du6FuyWr/GbKLsmAbzNF9mpr2Iu2zWSaq/BNHzX+vgOcts9f2ayXBweS7RAhr+6bLp6qRpMB6utAMF5Ygktxnw== +jest-environment-node@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-24.7.0.tgz#d18cf65f4417e665df118b966149a990b7b3bd20" + integrity sha512-XECuhDfrdHuw/+5JrjS+D9tuBsv2M0MpSzJmSTGqBeCmgekaCbLB4wcU5XYWsyFUAlhDTU2Vn6UqReQceiHtKQ== dependencies: - "@jest/environment" "^24.5.0" - "@jest/fake-timers" "^24.5.0" - "@jest/types" "^24.5.0" - jest-mock "^24.5.0" - jest-util "^24.5.0" + "@jest/environment" "^24.7.0" + "@jest/fake-timers" "^24.7.0" + "@jest/types" "^24.7.0" + jest-mock "^24.7.0" + jest-util "^24.7.0" jest-get-type@^24.3.0: version "24.3.0" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-24.3.0.tgz#582cfd1a4f91b5cdad1d43d2932f816d543c65da" integrity sha512-HYF6pry72YUlVcvUx3sEpMRwXEWGEPlJ0bSPVnB3b3n++j4phUEoSPcS6GC0pPJ9rpyPSe4cb5muFo6D39cXow== -jest-haste-map@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-24.5.0.tgz#3f17d0c548b99c0c96ed2893f9c0ccecb2eb9066" - integrity sha512-mb4Yrcjw9vBgSvobDwH8QUovxApdimGcOkp+V1ucGGw4Uvr3VzZQBJhNm1UY3dXYm4XXyTW2G7IBEZ9pM2ggRQ== +jest-haste-map@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-24.7.0.tgz#3b05c832e3fc41f45f8c061cbca0ed4c604787a4" + integrity sha512-f84QcZoA/PbAjGbPnisNJfj73x3noM/wgPhRO5kT1l18pi46Lcs+QsN3WW+bGNdzIUUDzjaJqZtRTJxT71sHCA== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" + anymatch "^2.0.0" fb-watchman "^2.0.0" graceful-fs "^4.1.15" invariant "^2.2.4" jest-serializer "^24.4.0" - jest-util "^24.5.0" - jest-worker "^24.4.0" + jest-util "^24.7.0" + jest-worker "^24.6.0" micromatch "^3.1.10" sane "^4.0.3" + walker "^1.0.7" + optionalDependencies: + fsevents "^1.2.7" -jest-jasmine2@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-24.5.0.tgz#e6af4d7f73dc527d007cca5a5b177c0bcc29d111" - integrity sha512-sfVrxVcx1rNUbBeyIyhkqZ4q+seNKyAG6iM0S2TYBdQsXjoFDdqWFfsUxb6uXSsbimbXX/NMkJIwUZ1uT9+/Aw== +jest-jasmine2@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-24.7.0.tgz#53ec46f1e7de94e17d1c5a702744f8d30f37583c" + integrity sha512-bPlCXEl3YXeCLAXa0tegW8WWa94RQkXf4K4FaoMXS8F5iNic6qdj0CaPNQjMkz8s3qdnSN8GMgwF5RK8Vu5krQ== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^24.5.0" - "@jest/test-result" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/environment" "^24.7.0" + "@jest/test-result" "^24.7.0" + "@jest/types" "^24.7.0" chalk "^2.0.1" co "^4.6.0" - expect "^24.5.0" + expect "^24.7.0" is-generator-fn "^2.0.0" - jest-each "^24.5.0" - jest-matcher-utils "^24.5.0" - jest-message-util "^24.5.0" - jest-runtime "^24.5.0" - jest-snapshot "^24.5.0" - jest-util "^24.5.0" - pretty-format "^24.5.0" + jest-each "^24.7.0" + jest-matcher-utils "^24.7.0" + jest-message-util "^24.7.0" + jest-runtime "^24.7.0" + jest-snapshot "^24.7.0" + jest-util "^24.7.0" + pretty-format "^24.7.0" throat "^4.0.0" -jest-leak-detector@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-24.5.0.tgz#21ae2b3b0da252c1171cd494f75696d65fb6fa89" - integrity sha512-LZKBjGovFRx3cRBkqmIg+BZnxbrLqhQl09IziMk3oeh1OV81Hg30RUIx885mq8qBv1PA0comB9bjKcuyNO1bCQ== +jest-leak-detector@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-24.7.0.tgz#323ff93ed69be12e898f5b040952f08a94288ff9" + integrity sha512-zV0qHKZGXtmPVVzT99CVEcHE9XDf+8LwiE0Ob7jjezERiGVljmqKFWpV2IkG+rkFIEUHFEkMiICu7wnoPM/RoQ== dependencies: - pretty-format "^24.5.0" + pretty-format "^24.7.0" -jest-matcher-utils@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-24.5.0.tgz#5995549dcf09fa94406e89526e877b094dad8770" - integrity sha512-QM1nmLROjLj8GMGzg5VBra3I9hLpjMPtF1YqzQS3rvWn2ltGZLrGAO1KQ9zUCVi5aCvrkbS5Ndm2evIP9yZg1Q== +jest-matcher-utils@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-24.7.0.tgz#bbee1ff37bc8b2e4afcaabc91617c1526af4bcd4" + integrity sha512-158ieSgk3LNXeUhbVJYRXyTPSCqNgVXOp/GT7O94mYd3pk/8+odKTyR1JLtNOQSPzNi8NFYVONtvSWA/e1RDXg== dependencies: chalk "^2.0.1" - jest-diff "^24.5.0" + jest-diff "^24.7.0" jest-get-type "^24.3.0" - pretty-format "^24.5.0" + pretty-format "^24.7.0" -jest-message-util@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-24.5.0.tgz#181420a65a7ef2e8b5c2f8e14882c453c6d41d07" - integrity sha512-6ZYgdOojowCGiV0D8WdgctZEAe+EcFU+KrVds+0ZjvpZurUW2/oKJGltJ6FWY2joZwYXN5VL36GPV6pNVRqRnQ== +jest-message-util@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-24.7.0.tgz#9d80f14eff66004ec82707e46d58387586df7335" + integrity sha512-hzuxx/g7t3uWxC2A12cZbVQI0XDyaXbvcvjNqX/XYijRDJa73/7PDl8ZdCRicbE5L7/jLK9kfzwDd/AimuUWbQ== dependencies: "@babel/code-frame" "^7.0.0" - "@jest/test-result" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/test-result" "^24.7.0" + "@jest/types" "^24.7.0" "@types/stack-utils" "^1.0.1" chalk "^2.0.1" micromatch "^3.1.10" slash "^2.0.0" stack-utils "^1.0.1" -jest-mock@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-24.5.0.tgz#976912c99a93f2a1c67497a9414aa4d9da4c7b76" - integrity sha512-ZnAtkWrKf48eERgAOiUxVoFavVBziO2pAi2MfZ1+bGXVkDfxWLxU0//oJBkgwbsv6OAmuLBz4XFFqvCFMqnGUw== +jest-mock@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-24.7.0.tgz#e49ce7262c12d7f5897b0d8af77f6db8e538023b" + integrity sha512-6taW4B4WUcEiT2V9BbOmwyGuwuAFT2G8yghF7nyNW1/2gq5+6aTqSPcS9lS6ArvEkX55vbPAS/Jarx5LSm4Fng== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" jest-pnp-resolver@^1.2.1: version "1.2.1" @@ -6714,75 +6684,75 @@ jest-regex-util@^24.3.0: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-24.3.0.tgz#d5a65f60be1ae3e310d5214a0307581995227b36" integrity sha512-tXQR1NEOyGlfylyEjg1ImtScwMq8Oh3iJbGTjN7p0J23EuVX1MA8rwU69K4sLbCmwzgCUbVkm0FkSF9TdzOhtg== -jest-resolve-dependencies@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-24.5.0.tgz#1a0dae9cdd41349ca4a84148b3e78da2ba33fd4b" - integrity sha512-dRVM1D+gWrFfrq2vlL5P9P/i8kB4BOYqYf3S7xczZ+A6PC3SgXYSErX/ScW/469pWMboM1uAhgLF+39nXlirCQ== +jest-resolve-dependencies@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-24.7.0.tgz#f7d232e4be4f4b8a4fde09ac2341ea8979a18cf4" + integrity sha512-R0nllgRNorl/Z1SPp669f3ELTLPTIQ1ZbLyHZW9KYCLgUhbUVESwbOsXjcWmtrhKKxtTaaLtQbDkynOIj53gJQ== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" jest-regex-util "^24.3.0" - jest-snapshot "^24.5.0" + jest-snapshot "^24.7.0" -jest-resolve@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-24.5.0.tgz#8c16ba08f60a1616c3b1cd7afb24574f50a24d04" - integrity sha512-ZIfGqLX1Rg8xJpQqNjdoO8MuxHV1q/i2OO1hLXjgCWFWs5bsedS8UrOdgjUqqNae6DXA+pCyRmdcB7lQEEbXew== +jest-resolve@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-24.7.0.tgz#0b13604676131a64e4d90cd1d34296b052ebc08e" + integrity sha512-1coBnLJHuz3VEe1x/I1tFaAgPsp42KVIZKNaVSUxVUyDEwkp4OvsZ59Mwl+bF3L+2OFEdCWj3DFU398NUrANsg== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" browser-resolve "^1.11.3" chalk "^2.0.1" jest-pnp-resolver "^1.2.1" realpath-native "^1.1.0" -jest-runner@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-24.5.0.tgz#9be26ece4fd4ab3dfb528b887523144b7c5ffca8" - integrity sha512-oqsiS9TkIZV5dVkD+GmbNfWBRPIvxqmlTQ+AQUJUQ07n+4xTSDc40r+aKBynHw9/tLzafC00DIbJjB2cOZdvMA== +jest-runner@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-24.7.0.tgz#ba0141f1b3a93dc1c26e4db57655163f6cb62975" + integrity sha512-1ClbQ5CoRjyjmIOR5k5O0EhrVi0N0p7Q7eD9AKlWLMhrYwQOJrVclI/II0g5W4kPsKHZIdoL7KhwcUEiXNmckg== dependencies: - "@jest/console" "^24.3.0" - "@jest/environment" "^24.5.0" - "@jest/test-result" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/console" "^24.6.0" + "@jest/environment" "^24.7.0" + "@jest/test-result" "^24.7.0" + "@jest/types" "^24.7.0" chalk "^2.4.2" exit "^0.1.2" graceful-fs "^4.1.15" - jest-config "^24.5.0" + jest-config "^24.7.0" jest-docblock "^24.3.0" - jest-haste-map "^24.5.0" - jest-jasmine2 "^24.5.0" - jest-leak-detector "^24.5.0" - jest-message-util "^24.5.0" - jest-resolve "^24.5.0" - jest-runtime "^24.5.0" - jest-util "^24.5.0" - jest-worker "^24.4.0" + jest-haste-map "^24.7.0" + jest-jasmine2 "^24.7.0" + jest-leak-detector "^24.7.0" + jest-message-util "^24.7.0" + jest-resolve "^24.7.0" + jest-runtime "^24.7.0" + jest-util "^24.7.0" + jest-worker "^24.6.0" source-map-support "^0.5.6" throat "^4.0.0" -jest-runtime@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-24.5.0.tgz#3a76e0bfef4db3896d5116e9e518be47ba771aa2" - integrity sha512-GTFHzfLdwpaeoDPilNpBrorlPoNZuZrwKKzKJs09vWwHo+9TOsIIuszK8cWOuKC7ss07aN1922Ge8fsGdsqCuw== +jest-runtime@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-24.7.0.tgz#80c393970e81d0a86aa79fdf987470afa515ebf6" + integrity sha512-UHrBjGhXM8zjhxgaYqHD9GqN/nr14dHNJSltQY2GKFIYFup2PpGYPs/UgaioAdmWpgmAHxrrZD2T2o8JaBiKMg== dependencies: - "@jest/console" "^24.3.0" - "@jest/environment" "^24.5.0" + "@jest/console" "^24.6.0" + "@jest/environment" "^24.7.0" "@jest/source-map" "^24.3.0" - "@jest/transform" "^24.5.0" - "@jest/types" "^24.5.0" + "@jest/transform" "^24.7.0" + "@jest/types" "^24.7.0" "@types/yargs" "^12.0.2" chalk "^2.0.1" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.1.15" - jest-config "^24.5.0" - jest-haste-map "^24.5.0" - jest-message-util "^24.5.0" - jest-mock "^24.5.0" + jest-config "^24.7.0" + jest-haste-map "^24.7.0" + jest-message-util "^24.7.0" + jest-mock "^24.7.0" jest-regex-util "^24.3.0" - jest-resolve "^24.5.0" - jest-snapshot "^24.5.0" - jest-util "^24.5.0" - jest-validate "^24.5.0" + jest-resolve "^24.7.0" + jest-snapshot "^24.7.0" + jest-util "^24.7.0" + jest-validate "^24.7.0" realpath-native "^1.1.0" slash "^2.0.0" strip-bom "^3.0.0" @@ -6793,35 +6763,34 @@ jest-serializer@^24.4.0: resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-24.4.0.tgz#f70c5918c8ea9235ccb1276d232e459080588db3" integrity sha512-k//0DtglVstc1fv+GY/VHDIjrtNjdYvYjMlbLUed4kxrE92sIUewOi5Hj3vrpB8CXfkJntRPDRjCrCvUhBdL8Q== -jest-snapshot@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.5.0.tgz#e5d224468a759fd19e36f01217aac912f500f779" - integrity sha512-eBEeJb5ROk0NcpodmSKnCVgMOo+Qsu5z9EDl3tGffwPzK1yV37mjGWF2YeIz1NkntgTzP+fUL4s09a0+0dpVWA== +jest-snapshot@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.7.0.tgz#2d279f756f2b771ef0a72a96055a36f71d44dfe0" + integrity sha512-2TsxHzf4LZ8Wp1a4ORNnM+aL3lN30nOn4V5rNInGQ5an56u3k4lzOQ45AbzFArvcxPpujY6GzNCmstNJ5p/LYA== dependencies: "@babel/types" "^7.0.0" - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" chalk "^2.0.1" - expect "^24.5.0" - jest-diff "^24.5.0" - jest-matcher-utils "^24.5.0" - jest-message-util "^24.5.0" - jest-resolve "^24.5.0" + expect "^24.7.0" + jest-diff "^24.7.0" + jest-matcher-utils "^24.7.0" + jest-message-util "^24.7.0" + jest-resolve "^24.7.0" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^24.5.0" + pretty-format "^24.7.0" semver "^5.5.0" -jest-util@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-24.5.0.tgz#9d9cb06d9dcccc8e7cc76df91b1635025d7baa84" - integrity sha512-Xy8JsD0jvBz85K7VsTIQDuY44s+hYJyppAhcsHsOsGisVtdhar6fajf2UOf2mEVEgh15ZSdA0zkCuheN8cbr1Q== +jest-util@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-24.7.0.tgz#1526be657e7b6a21b6af0cc64f74af44513f3a35" + integrity sha512-rgkYsdFksdXiLT74l282VJC0AEqcJ/xNwfnX7kNdIwCD5CA7j6D3kk3MlnVYdE0EVYTqSN7Q8tOFp5n2HQU2PQ== dependencies: - "@jest/console" "^24.3.0" - "@jest/fake-timers" "^24.5.0" + "@jest/console" "^24.6.0" + "@jest/fake-timers" "^24.7.0" "@jest/source-map" "^24.3.0" - "@jest/test-result" "^24.5.0" - "@jest/types" "^24.5.0" - "@types/node" "*" + "@jest/test-result" "^24.7.0" + "@jest/types" "^24.7.0" callsites "^3.0.0" chalk "^2.0.1" graceful-fs "^4.1.15" @@ -6830,48 +6799,46 @@ jest-util@^24.5.0: slash "^2.0.0" source-map "^0.6.0" -jest-validate@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-24.5.0.tgz#62fd93d81214c070bb2d7a55f329a79d8057c7de" - integrity sha512-gg0dYszxjgK2o11unSIJhkOFZqNRQbWOAB2/LOUdsd2LfD9oXiMeuee8XsT0iRy5EvSccBgB4h/9HRbIo3MHgQ== +jest-validate@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-24.7.0.tgz#70007076f338528ee1b1c8a8258b1b0bb982508d" + integrity sha512-cgai/gts9B2chz1rqVdmLhzYxQbgQurh1PEQSvSgPZ8KGa1AqXsqC45W5wKEwzxKrWqypuQrQxnF4+G9VejJJA== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" camelcase "^5.0.0" chalk "^2.0.1" jest-get-type "^24.3.0" leven "^2.1.0" - pretty-format "^24.5.0" + pretty-format "^24.7.0" -jest-watcher@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-24.5.0.tgz#da7bd9cb5967e274889b42078c8f501ae1c47761" - integrity sha512-/hCpgR6bg0nKvD3nv4KasdTxuhwfViVMHUATJlnGCD0r1QrmIssimPbmc5KfAQblAVxkD8xrzuij9vfPUk1/rA== +jest-watcher@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-24.7.0.tgz#c0229f166bfe1561f939f7b0d83f12fb512f2a2c" + integrity sha512-BBDn/6iG1dSM7fR7FBu5o6R+ZwBJBhKmM2tAqpp3yOzZD/1Aerhdx7laLFs2gajWpBzC7OEHr6yMddDX+6n0Mw== dependencies: - "@jest/test-result" "^24.5.0" - "@jest/types" "^24.5.0" - "@types/node" "*" + "@jest/test-result" "^24.7.0" + "@jest/types" "^24.7.0" "@types/yargs" "^12.0.9" ansi-escapes "^3.0.0" chalk "^2.0.1" - jest-util "^24.5.0" + jest-util "^24.7.0" string-length "^2.0.0" -jest-worker@^24.4.0: - version "24.4.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.4.0.tgz#fbc452b0120bb5c2a70cdc88fa132b48eeb11dd0" - integrity sha512-BH9X/klG9vxwoO99ZBUbZFfV8qO0XNZ5SIiCyYK2zOuJBl6YJVAeNIQjcoOVNu4HGEHeYEKsUWws8kSlSbZ9YQ== +jest-worker@^24.6.0: + version "24.6.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.6.0.tgz#7f81ceae34b7cde0c9827a6980c35b7cdc0161b3" + integrity sha512-jDwgW5W9qGNvpI1tNnvajh0a5IE/PuGLFmHk6aR/BZFz8tSgGw17GsDPXAJ6p91IvYDjOw8GpFbvvZGAK+DPQQ== dependencies: - "@types/node" "*" merge-stream "^1.0.1" supports-color "^6.1.0" -jest@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-24.5.0.tgz#38f11ae2c2baa2f86c2bc4d8a91d2b51612cd19a" - integrity sha512-lxL+Fq5/RH7inxxmfS2aZLCf8MsS+YCUBfeiNO6BWz/MmjhDGaIEA/2bzEf9q4Q0X+mtFHiinHFvQ0u+RvW/qQ== +jest@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-24.7.0.tgz#5fa8dee8b81d734d80af14a2606cbb90c682664d" + integrity sha512-1bb9H06UeqTgiyZ9Lm81No06YdWq7f4ahLdQZJnQ0n2wuyA+ODrRfbqM8emmSS85IDw54LodW0tlud/b2F+4dQ== dependencies: import-local "^2.0.0" - jest-cli "^24.5.0" + jest-cli "^24.7.0" js-base64@^2.1.9: version "2.5.1" @@ -6898,7 +6865,7 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.13.0, js-yaml@^3.7.0, js-yaml@^3.9.0: +js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.13.0, js-yaml@^3.9.0: version "3.13.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.0.tgz#38ee7178ac0eea2c97ff6d96fff4b18c7d8cf98e" integrity sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ== @@ -7355,9 +7322,9 @@ lru_map@^0.3.3: integrity sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0= macos-release@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.1.0.tgz#c87935891fbeb0dba7537913fc66f469fee9d662" - integrity sha512-8TCbwvN1mfNxbBv0yBtfyIFMo3m1QsNbKHv7PYIp/abRBKVQBXN7ecu3aeGGgT18VC/Tf397LBDGZF9KBGJFFw== + version "2.2.0" + resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.2.0.tgz#ab58d55dd4714f0a05ad4b0e90f4370fef5cdea8" + integrity sha512-iV2IDxZaX8dIcM7fG6cI46uNmHUxHE4yN+Z8tKHAW1TBPMZDIKHf/3L+YnOuj/FK9il14UaVdHmiQ1tsi90ltA== make-dir@^1.0.0, make-dir@^1.3.0: version "1.3.0" @@ -7500,9 +7467,9 @@ media-typer@0.3.0: integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= mem@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.2.0.tgz#5ee057680ed9cb8dad8a78d820f9a8897a102025" - integrity sha512-5fJxa68urlY0Ir8ijatKa3eRz5lwXnRCTvo9+TbTGAuTFJOwpGcY0X05moBd0nW45965Njt4CDI2GFQoG8DvqA== + version "4.3.0" + resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" + integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== dependencies: map-age-cleaner "^0.1.1" mimic-fn "^2.0.0" @@ -7650,14 +7617,9 @@ mimic-fn@^1.0.0: integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== mimic-fn@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.0.0.tgz#0913ff0b121db44ef5848242c38bbb35d44cabde" - integrity sha512-jbex9Yd/3lmICXwYT6gA/j2mNQGU48wCh/VzRd+/Y/PjYQtlg1gLMdZqvu9s/xH7qKvngxRObl56XZR609IMbA== - -mimic-response@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== min-document@^2.19.0: version "2.19.0" @@ -7847,7 +7809,7 @@ mute-stream@~0.0.4: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nan@^2.12.0, nan@^2.12.1, nan@^2.2.1, nan@^2.9.2: +nan@^2.2.1, nan@^2.9.2: version "2.13.2" resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== @@ -7869,11 +7831,6 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" -napi-build-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.1.tgz#1381a0f92c39d66bf19852e7873432fc2123e508" - integrity sha512-boQj1WFgQH3v4clhu3mTNfP+vOBxorDlE8EKiMjUlLG3C4qAESnn9AxIOkFgTR2c9LtzNjPrjS60cT27ZKBhaA== - natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -7910,13 +7867,6 @@ no-case@^2.2.0: dependencies: lower-case "^1.1.1" -node-abi@^2.7.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.7.1.tgz#a8997ae91176a5fbaa455b194976e32683cda643" - integrity sha512-OV8Bq1OrPh6z+Y4dqwo05HqrRL9YNF7QVMRfq1/pguwKLG+q9UB/Lk0x5qXjO23JjJg+/jqCHSTaG1P3tfKfuw== - dependencies: - semver "^5.4.1" - node-dir@^0.1.16: version "0.1.17" resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" @@ -7995,14 +7945,6 @@ node-libs-browser@^2.0.0: util "^0.11.0" vm-browserify "0.0.4" -node-lmdb@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/node-lmdb/-/node-lmdb-0.6.2.tgz#2adc8b3907b067b25a3cfd2ea093253aada54ebd" - integrity sha512-j9K0qVBSZ1YqP2hg++zxvxKL8mDYAhaprlH2VdfCI2Y+Pfr11kFXLfZ9lXs/H5gMq+Xy39zSR2Kh/DWU8+bUUQ== - dependencies: - bindings "^1.2.1" - nan "^2.12.0" - node-modules-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" @@ -8035,18 +7977,13 @@ node-pre-gyp@^0.10.0: semver "^5.3.0" tar "^4" -node-releases@^1.1.12: - version "1.1.12" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.12.tgz#1d6baf544316b5422fcd35efe18708370a4e7637" - integrity sha512-Y+AQ1xdjcgaEzpL65PBEF3fnl1FNKnDh9Zm+AUQLIlyyqtSc4u93jyMN4zrjMzdwKQ10RTr3tgY1x7qpsfF/xg== +node-releases@^1.1.13: + version "1.1.13" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.13.tgz#8c03296b5ae60c08e2ff4f8f22ae45bd2f210083" + integrity sha512-fKZGviSXR6YvVPyc011NHuJDSD8gFQvLPmc2d2V3BS4gr52ycyQ1Xzs7a8B+Ax3Ni/W+5h1h4SqmzeoA8WZRmA== dependencies: semver "^5.3.0" -noop-logger@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/noop-logger/-/noop-logger-0.1.1.tgz#94a2b1633c4f1317553007d8966fd0e841b6a4c2" - integrity sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI= - nopt@1.0.10: version "1.0.10" resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" @@ -8176,7 +8113,7 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.1, npmlog@^4.0.2, npmlog@^4.1.2: +"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.2, npmlog@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== @@ -8360,7 +8297,7 @@ os-browserify@^0.3.0: resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= -os-homedir@^1.0.0, os-homedir@^1.0.1: +os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= @@ -8482,9 +8419,9 @@ p-try@^1.0.0: integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= p-try@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.1.0.tgz#c1a0f1030e97de018bb2c718929d2af59463e505" - integrity sha512-H2RyIJ7+A3rjkwKC2l5GGtU4H1vkxKCAGsWasNVd0Set+6i4znxbWy6/j16YDPJDWxhsgZiKAstMEP8wCdSpjA== + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== p-waterfall@^1.0.0: version "1.0.0" @@ -9090,28 +9027,6 @@ postcss@^7.0.14: source-map "^0.6.1" supports-color "^6.1.0" -prebuild-install@^5.2.2: - version "5.2.5" - resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.2.5.tgz#c7485911fe98950b7f7cd15bb9daee11b875cc44" - integrity sha512-6uZgMVg7yDfqlP5CPurVhtq3hUKBFNufiar4J5hZrlHTo59DDBEtyxw01xCdFss9j0Zb9+qzFVf/s4niayba3w== - dependencies: - detect-libc "^1.0.3" - expand-template "^2.0.3" - github-from-package "0.0.0" - minimist "^1.2.0" - mkdirp "^0.5.1" - napi-build-utils "^1.0.1" - node-abi "^2.7.0" - noop-logger "^0.1.1" - npmlog "^4.0.1" - os-homedir "^1.0.1" - pump "^2.0.1" - rc "^1.2.7" - simple-get "^2.7.0" - tar-fs "^1.13.0" - tunnel-agent "^0.6.0" - which-pm-runs "^1.0.0" - prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -9140,12 +9055,12 @@ pretty-error@^2.0.2: renderkid "^2.0.1" utila "~0.4" -pretty-format@^24.5.0: - version "24.5.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.5.0.tgz#cc69a0281a62cd7242633fc135d6930cd889822d" - integrity sha512-/3RuSghukCf8Riu5Ncve0iI+BzVkbRU5EeUoArKARZobREycuH5O4waxvaNIloEXdb0qwgmEAed5vTpX1HNROQ== +pretty-format@^24.7.0: + version "24.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.7.0.tgz#d23106bc2edcd776079c2daa5da02bcb12ed0c10" + integrity sha512-apen5cjf/U4dj7tHetpC7UEFCvtAgnNZnBDkfPv3fokzIqyOJckAG9OlAPC1BlFALnqT/lGB2tl9EJjlK6eCsA== dependencies: - "@jest/types" "^24.5.0" + "@jest/types" "^24.7.0" ansi-regex "^4.0.0" ansi-styles "^3.2.0" react-is "^16.8.4" @@ -9267,14 +9182,6 @@ public-encrypt@^4.0.0: randombytes "^2.0.1" safe-buffer "^5.1.2" -pump@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" - integrity sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - pump@^2.0.0, pump@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" @@ -9486,7 +9393,7 @@ read@1, read@~1.0.1: dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== @@ -9500,9 +9407,9 @@ read@1, read@~1.0.1: util-deprecate "~1.0.1" readable-stream@^3.0.6, readable-stream@^3.1.1: - version "3.2.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.2.0.tgz#de17f229864c120a9f56945756e4f32c4045245d" - integrity sha512-RV20kLjdmpZuTF1INEb9IA3L68Nmi+Ri7ppZqo78wj//Pn62fCoJyV9zalccNzDD/OuJpMG4f+pfMl8+L6QdGw== + version "3.3.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.3.0.tgz#cb8011aad002eb717bf040291feba8569c986fb9" + integrity sha512-EsI+s3k3XsW+fU8fQACLN59ky34AZ14LoeVZpYwmZvldCFo0r0gnelwF2TcMjLor/BTL5aDJVBMkss0dthToPw== dependencies: inherits "^2.0.3" string_decoder "^1.1.1" @@ -9638,7 +9545,7 @@ regexpu-core@^1.0.0: regjsgen "^0.2.0" regjsparser "^0.1.4" -regexpu-core@^4.1.3, regexpu-core@^4.5.4: +regexpu-core@^4.5.4: version "4.5.4" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae" integrity sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ== @@ -10111,20 +10018,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= -simple-concat@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.0.tgz#7344cbb8b6e26fb27d66b2fc86f9f6d5997521c6" - integrity sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY= - -simple-get@^2.7.0: - version "2.8.1" - resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.1.tgz#0e22e91d4575d87620620bc91308d57a77f44b5d" - integrity sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw== - dependencies: - decompress-response "^3.3.0" - once "^1.3.1" - simple-concat "^1.0.0" - sisteransi@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.0.tgz#77d9622ff909080f1c19e5f4a1df0c1b0a27b88c" @@ -10187,15 +10080,6 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -snappy@^6.1.2: - version "6.1.2" - resolved "https://registry.yarnpkg.com/snappy/-/snappy-6.1.2.tgz#05b25252894f9f46494e01ada7c7708e80b4cf90" - integrity sha512-oYjYCA5/XoYBA5t9lAaQfzq+qJ1eKqoBb7dRCk+BE2dIFe+tMJcpRnraSsK/W9Z6qnXf1oBnhRX9Lr2yMQJ91A== - dependencies: - bindings "^1.3.1" - nan "^2.12.1" - prebuild-install "^5.2.2" - sockjs-client@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.3.0.tgz#12fc9d6cb663da5739d3dc5fb6e8687da95cb177" @@ -10687,29 +10571,6 @@ tapable@^1.0.0, tapable@^1.1.0: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.1.tgz#4d297923c5a72a42360de2ab52dadfaaec00018e" integrity sha512-9I2ydhj8Z9veORCw5PRm4u9uebCn0mcCa6scWoNcbZ6dAtoo2618u9UUzxgmsCOreJpqDDuv61LvwofW7hLcBA== -tar-fs@^1.13.0: - version "1.16.3" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-1.16.3.tgz#966a628841da2c4010406a82167cbd5e0c72d509" - integrity sha512-NvCeXpYx7OsmOh8zIOP/ebG55zZmxLE0etfWRbWok+q2Qo8x/vOR/IJT1taADXPe+jsiu9axDb3X4B+iIgNlKw== - dependencies: - chownr "^1.0.1" - mkdirp "^0.5.1" - pump "^1.0.0" - tar-stream "^1.1.2" - -tar-stream@^1.1.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" - integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A== - dependencies: - bl "^1.0.0" - buffer-alloc "^1.2.0" - end-of-stream "^1.0.0" - fs-constants "^1.0.0" - readable-stream "^2.3.0" - to-buffer "^1.1.1" - xtend "^4.0.0" - tar@^2.0.0: version "2.2.1" resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" @@ -10839,11 +10700,6 @@ to-arraybuffer@^1.0.0: resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= -to-buffer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" - integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== - to-factory@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/to-factory/-/to-factory-1.0.0.tgz#8738af8bd97120ad1d4047972ada5563bf9479b1" @@ -10965,10 +10821,10 @@ tslint-eslint-rules@^5.3.1: tslib "1.9.0" tsutils "^3.0.0" -tslint@^5.14.0: - version "5.14.0" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.14.0.tgz#be62637135ac244fc9b37ed6ea5252c9eba1616e" - integrity sha512-IUla/ieHVnB8Le7LdQFRGlVJid2T/gaJe5VkjzRVSRR6pA2ODYrnfR1hmxi+5+au9l50jBwpbBL34txgv4NnTQ== +tslint@^5.15.0: + version "5.15.0" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.15.0.tgz#6ffb180986d63afa1e531feb2a134dbf961e27d3" + integrity sha512-6bIEujKR21/3nyeoX2uBnE8s+tMXCQXhqMmaIPJpHmXJoBJPTLcI7/VHRtUwMhnLVdwLqqY3zmd8Dxqa5CVdJA== dependencies: babel-code-frame "^6.22.0" builtin-modules "^1.1.1" @@ -10976,7 +10832,7 @@ tslint@^5.14.0: commander "^2.12.1" diff "^3.2.0" glob "^7.1.1" - js-yaml "^3.7.0" + js-yaml "^3.13.0" minimatch "^3.0.4" mkdirp "^0.5.1" resolve "^1.3.2" @@ -10992,9 +10848,9 @@ tsutils@^2.29.0: tslib "^1.8.1" tsutils@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.9.1.tgz#2a40dc742943c71eca6d5c1994fcf999956be387" - integrity sha512-hrxVtLtPqQr//p8/msPT1X1UYXUjizqSit5d9AQ5k38TcV38NyecL5xODNxa73cLe/5sdiJ+w1FqzDhRBA/anA== + version "3.10.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.10.0.tgz#6f1c95c94606e098592b0dff06590cf9659227d6" + integrity sha512-q20XSMq7jutbGB8luhKKsQldRKWvyBO2BGqni3p4yq8Ys9bEP/xQw3KepKmMRt9gJ4lvQSScrihJrcKdKoSU7Q== dependencies: tslib "^1.8.1" @@ -11106,9 +10962,9 @@ uglify-js@3.4.x: source-map "~0.6.1" uglify-js@^3.1.4: - version "3.5.2" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.5.2.tgz#dc0c7ac2da0a4b7d15e84266818ff30e82529474" - integrity sha512-imog1WIsi9Yb56yRt5TfYVxGmnWs3WSGU73ieSOlMVFwhJCA9W8fqFFMMj4kgDqiS/80LGdsYnWL7O9UcjEBlg== + version "3.5.3" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.5.3.tgz#d490bb5347f23025f0c1bc0dee901d98e4d6b063" + integrity sha512-rIQPT2UMDnk4jRX+w4WO84/pebU2jiLsjgIyrCktYgSvx28enOE3iYQMr+BD1rHiitWnDmpu0cY/LfIEpKcjcw== dependencies: commander "~2.19.0" source-map "~0.6.1" @@ -11424,13 +11280,20 @@ vuepress-html-webpack-plugin@^3.2.0: toposort "^1.0.0" util.promisify "1.0.0" -vuepress@^1.0.0-alpha.44: - version "1.0.0-alpha.44" - resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.0.0-alpha.44.tgz#044048047651f7e8890d48886e97f2ad5eb5ddea" - integrity sha512-m6tYdmQbqZQ2frqyPa/OwFoRRv+SY0nkv6dai+74+Vy4IAnPmY7/otrlvmWVNpPh6X4pT2HvNh08YetfUnWX7g== +vuepress-plugin-container@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/vuepress-plugin-container/-/vuepress-plugin-container-2.0.1.tgz#b20ef97dd91f137c8be119460927c5ffd64e0f77" + integrity sha512-SMlWJl0uZYkqAxD2RUZmIrANZWKgiZdM64K7WmdyHyQPYI+NUj3ugi5D+zDn62BoO9NfQTiskEIa2u619SRweA== dependencies: - "@vuepress/core" "^1.0.0-alpha.44" - "@vuepress/theme-default" "^1.0.0-alpha.44" + markdown-it-container "^2.0.0" + +vuepress@^1.0.0-alpha.46: + version "1.0.0-alpha.46" + resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.0.0-alpha.46.tgz#a5b141fa47d87e522f196947b3f9f0e3b73c9fd7" + integrity sha512-7UIHpcG3cvBhPRIX3ws2DO6pdJKIxal9CYZ+vDhRCK5x+6kJteYqzeqbkEFvuYfa6whISxd6sLsdPby+Tqlavg== + dependencies: + "@vuepress/core" "^1.0.0-alpha.46" + "@vuepress/theme-default" "^1.0.0-alpha.46" cac "^6.3.9" w3c-hr-time@^1.0.1: @@ -11440,7 +11303,7 @@ w3c-hr-time@^1.0.1: dependencies: browser-process-hrtime "^0.1.2" -walker@~1.0.5: +walker@^1.0.7, walker@~1.0.5: version "1.0.7" resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs= @@ -11656,11 +11519,6 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which-pm-runs@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" - integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= - which@1, which@^1.2.9, which@^1.3.0, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"