├── .dockerignore ├── .github └── workflows │ └── tests.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── architecture.png ├── bin └── server.js ├── lib ├── abstract-swarm.js ├── error.js ├── ldp.js ├── server.js ├── subscription.js ├── swarm.js └── util.js ├── package-lock.json ├── package.json ├── test └── util.js └── tools └── touch.js /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- 1 | name: tests 2 | on: [push] 3 | jobs: 4 | run: 5 | name: npm test 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v1 9 | - uses: actions/setup-node@v1 10 | with: 11 | node-version: '12.x' 12 | - run: npm ci 13 | - run: npm test 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | /dist 3 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:12 2 | 3 | WORKDIR /usr/src/app 4 | COPY package*.json ./ 5 | RUN npm ci 6 | 7 | COPY . . 8 | 9 | EXPOSE 8080 10 | CMD ["./bin/server.js", "-p", "8080"] 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2019-2020 Jan Kaßel 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Hyperwell Gateway 2 | 3 | [![DOI](https://zenodo.org/badge/208063924.svg)](https://zenodo.org/badge/latestdoi/208063924) 4 | 5 | Proof-of-concept implementation of a peer-to-peer (P2P) system that leverages collaboration, local-first principles, and more on [W3C Web Annotations](https://www.w3.org/TR/annotation-model/). The system provides software for local nodes that store annotations, as well as a gateway server that implements the [Web Annotation Protocol](https://www.w3.org/TR/annotation-protocol/). 6 | 7 | For establishing an environment of [local-first applications](https://www.inkandswitch.com/local-first.html) for collaborative annotation, we store collections of annotations called **notebooks** in [Hypermerge](https://github.com/automerge/hypermerge) documents. These documents are distributed via the [hyperswarm](https://github.com/hyperswarm/hyperswarm) decentralized network and merged without conflicts via [automerge](https://github.com/automerge/automerge). 8 | 9 | The Hyperwell gateway aims to bridge the decentralized network and the web, offering collaborative annotation to Linked Data systems and web-based annotation environments alike by implementing the W3C Web Annotation specifications. For users, the gateway aims to offer institutional affiliation and archiving. 10 | 11 | ![Hyperwell architecture](architecture.png) 12 | 13 | We laid out the motivation behind the decentralized annotation architecture of Hyperwell in our 2020 paper, [‘From Me to You: Peer-to-Peer Collaboration with Linked Data‘](https://zenodo.org/record/3750243). For more on Hyperwell and the journey behind it: https://kassel.works/hyperwell 14 | 15 | **Important**: This is alpha software for research. Your annotations will be available publicly and accessible without authentication. This software has not been professionally audited. 16 | 17 | ## Usage 18 | 19 | Run a gateway server via `npm start` or `./bin/server.js`. The CLI accepts the following arguments: 20 | 21 | - `--port ` (`-p`): The port number to listen on. Defaults to `3000`. Example: `--port 8080`. 22 | - `--host `: The public hostname. Defaults to `localhost:3000`. Example: `--host www.example.com:8080` 23 | - `--ssl` (`-s`): Whether the gateway is served via SSL. This will not make the gateway actually terminate HTTPS requests (it listens for standard HTTP requests), but will transform annotation IDs accordingly, using the `https:` scheme. Defaults to `false` (not set). 24 | 25 | ## API 26 | 27 | The gateway exposes a web-based API as a superset of the [Web Annotation Protocol](https://www.w3.org/TR/annotation-protocol/), including support for batch operations as well as subscribing to real-time updates on notebooks via the WebSocket protocol. In the following, the `` identifier corresponds to the notion of [‘containers’](https://www.w3.org/TR/ldp/#ldpc) on the LDP. We simply use a hexadecimal encoding of the respective Hypermerge document URL (`hypermerge://abc123...`) for URL safety. `` corresponds to the ID of an annotation within a notebook, which commonly is a [UUID](https://tools.ietf.org/html/rfc4122) string. 28 | 29 | - `/annotations/`. REST endpoint for operations on an entire notebook. This endpoint supports retrieval of all of its annotations (`GET`) and creation of new a new annotation (`POST`). 30 | - `/annotations//`. REST endpoint for operations on a particular annotation within a notebook. This endpoint supports retrieval (`GET`), editing (`PUT`), and deletion (`DELETE`). 31 | - `/annotations/batch/`. REST endpoint for batch operations on a notebook. This endpoint supports batch creation (`POST`), batch edits (`PUT`), and batch deletions (`DELETE`). 32 | - `/annotations/subscribe/`. WebSocket endpoint for subscribing to changes on a notebook. Upon initiating a connection via the standard WebSocket protocol, the gateway will send messages as soon as the respective notebooks receives changes. 33 | 34 | (tbc). 35 | 36 | ## License 37 | 38 | MIT License, see [`./LICENSE`](/LICENSE). 39 | -------------------------------------------------------------------------------- /architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperwell/gateway/ccda33c426466e2441cf75023fc9ab962099c3dc/architecture.png -------------------------------------------------------------------------------- /bin/server.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const parseArgs = require('minimist') 3 | const {createServer} = require('../lib/server') 4 | const HyperwellSwarm = require('../lib/swarm') 5 | 6 | async function main() { 7 | const argv = parseArgs(process.argv.slice(2), { 8 | string: ['port', 'host'], 9 | boolean: ['ssl'], 10 | alias: { 11 | port: ['p'], 12 | ssl: ['s'], 13 | }, 14 | default: { 15 | port: '3000', 16 | host: 'localhost:3000', 17 | ssl: false, 18 | }, 19 | }) 20 | 21 | await createServer(new HyperwellSwarm(), Number.parseInt(argv.port), { 22 | ssl: argv.ssl, 23 | host: argv.host, 24 | }) 25 | } 26 | 27 | main() 28 | -------------------------------------------------------------------------------- /lib/abstract-swarm.js: -------------------------------------------------------------------------------- 1 | const assert = require('assert') 2 | 3 | class AbstractSwarm { 4 | async getAnnotations(docUrl) { 5 | assert.fail('`swarm.getAnnotations needs to be implemented.') 6 | } 7 | 8 | async getAnnotation(docUrl, annotationId) { 9 | assert.fail('`swarm.getAnnotation needs to be implemented.') 10 | } 11 | 12 | async createAnnotation(docUrl) { 13 | assert.fail('`swarm.createAnnotation needs to be implemented.') 14 | } 15 | 16 | async updateAnnotation(docUrl, annotation) { 17 | assert.fail('`swarm.updateAnnotation needs to be implemented.') 18 | } 19 | 20 | async deleteAnnotation(docUrl, annotation) { 21 | assert.fail('`swarm.deleteAnnotation needs to be implemented.') 22 | } 23 | 24 | async subscribeToAnnotations(docUrl) { 25 | assert.fail('`swarm.subscribeToAnnotations needs to be implemented.') 26 | } 27 | 28 | async destroy() { 29 | assert.fail('`swarm.destroy needs to be implemented.') 30 | } 31 | } 32 | 33 | module.exports = AbstractSwarm 34 | -------------------------------------------------------------------------------- /lib/error.js: -------------------------------------------------------------------------------- 1 | const ERROR_NOT_FOUND = 1 2 | const ERROR_BAD_DOC = 2 3 | const ERROR_BAD_REQUEST = 3 4 | 5 | class SwarmError extends Error { 6 | constructor(code, message) { 7 | super(message) 8 | this.code = code 9 | } 10 | 11 | static badRequest(message) { 12 | return new SwarmError(ERROR_BAD_REQUEST, message) 13 | } 14 | 15 | static notFound(message) { 16 | return new SwarmError(ERROR_NOT_FOUND, message) 17 | } 18 | 19 | static badDoc(message) { 20 | return new SwarmError(ERROR_BAD_DOC, message) 21 | } 22 | } 23 | 24 | module.exports = { 25 | SwarmError, 26 | ERROR_NOT_FOUND, 27 | ERROR_BAD_DOC, 28 | ERROR_BAD_REQUEST, 29 | } 30 | -------------------------------------------------------------------------------- /lib/ldp.js: -------------------------------------------------------------------------------- 1 | const Boom = require('@hapi/boom') 2 | const etag = require('etag') 3 | 4 | class PagedCollection { 5 | constructor(getPage, notebookInfo, total, pageSize) { 6 | if (Array.isArray(getPage)) { 7 | const items = getPage 8 | this._getPage = () => items 9 | this.total = items.length 10 | this.pageSize = Infinity 11 | } else { 12 | this._getPage = getPage 13 | this.total = total 14 | this.pageSize = pageSize 15 | } 16 | this.notebookInfo = notebookInfo 17 | } 18 | 19 | getPage(pageNumber) { 20 | return this._getPage(pageNumber, this.pageSize) 21 | } 22 | 23 | get lastPage() { 24 | return this.pageSize === Infinity 25 | ? 0 26 | : Math.floor(this.total / this.pageSize) 27 | } 28 | } 29 | 30 | function createPage(h, collection, pageNumber, iris) { 31 | if (pageNumber > collection.lastPage) { 32 | return Boom.notFound() 33 | } 34 | 35 | const items = collection.getPage(pageNumber) 36 | const containerUrl = collection.notebookInfo.getContainerUrl() 37 | const page = { 38 | '@context': 'http://www.w3.org/ns/anno.jsonld', 39 | id: `${containerUrl}/?page=${pageNumber}&iris=${iris ? 1 : 0}`, 40 | type: 'AnnotationPage', 41 | partOf: { 42 | id: `${containerUrl}/?iris=${iris ? 1 : 0}`, 43 | total: collection.total, 44 | modified: '2016-07-20T12:00:00Z', 45 | }, 46 | startIndex: pageNumber === 0 ? 0 : collection.pageSize * pageNumber, 47 | items: iris ? items.map(item => item.id) : items, 48 | } 49 | 50 | const response = h.response(page) 51 | response.type( 52 | 'application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"' 53 | ) 54 | response.header('allow', 'HEAD, GET, OPTIONS') 55 | 56 | return response 57 | } 58 | 59 | function createContainer(h, collection, iris) { 60 | const containerUrl = collection.notebookInfo.getContainerUrl() 61 | const container = { 62 | '@context': [ 63 | 'http://www.w3.org/ns/anno.jsonld', 64 | 'http://www.w3.org/ns/ldp.jsonld', 65 | ], 66 | id: `${containerUrl}/?iris=${iris ? 1 : 0}`, 67 | type: ['BasicContainer', 'AnnotationCollection'], 68 | total: collection.total, 69 | modified: '2016-07-20T12:00:00Z', 70 | label: 'tbd', 71 | first: `${containerUrl}/?iris=${iris ? 1 : 0}&page=0`, 72 | ...(collection.lastPage > 0 && { 73 | last: `${containerUrl}/?iris=${iris ? 1 : 0}&page=${collection.lastPage}`, 74 | }), 75 | } 76 | 77 | const response = h.response(container) 78 | response.header('link', [ 79 | '; rel="type"', 80 | '; rel="http://www.w3.org/ns/ldp#constrainedBy"', 81 | ]) 82 | response.header( 83 | 'Accept-Post', 84 | 'application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"' 85 | ) 86 | response.type( 87 | 'application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"' 88 | ) 89 | response.header('allow', 'HEAD, GET, POST, OPTIONS') 90 | response.etag(etag(JSON.stringify(container))) 91 | 92 | return response 93 | } 94 | 95 | function wrapResource(h, annotation) { 96 | const response = h.response(annotation) 97 | response.etag(etag(JSON.stringify(annotation))) 98 | response.type( 99 | 'application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"' 100 | ) 101 | response.header('allow', 'OPTIONS,HEAD,GET,PUT,DELETE') 102 | response.header('link', '; rel="type"') 103 | 104 | return response 105 | } 106 | 107 | module.exports = {PagedCollection, createPage, createContainer, wrapResource} 108 | -------------------------------------------------------------------------------- /lib/server.js: -------------------------------------------------------------------------------- 1 | const assert = require('assert') 2 | const Hapi = require('@hapi/hapi') 3 | const Boom = require('@hapi/boom') 4 | const WebSocketPlugin = require('hapi-plugin-websocket') 5 | const { 6 | PagedCollection, 7 | createContainer, 8 | createPage, 9 | wrapResource, 10 | } = require('./ldp') 11 | const { 12 | SwarmError, 13 | ERROR_NOT_FOUND, 14 | ERROR_BAD_DOC, 15 | ERROR_BAD_REQUEST, 16 | } = require('./error') 17 | const { 18 | NotebookInfo, 19 | encodeDocUrl, 20 | decodeDocUrl, 21 | normalizeAnnotation, 22 | denormalizeAnnotation, 23 | } = require('./util') 24 | const Subscription = require('./subscription') 25 | const debug = require('debug')('hyperwell:gateway:server') 26 | 27 | let server 28 | 29 | const handleError = err => { 30 | debug(err) 31 | if (err instanceof SwarmError) { 32 | if (err.code === ERROR_NOT_FOUND || err.code === ERROR_BAD_DOC) { 33 | return Boom.notFound() 34 | } else if (err.code === ERROR_BAD_REQUEST) { 35 | return Boom.badRequest() 36 | } 37 | } 38 | 39 | console.error(err) 40 | return Boom.internal() 41 | } 42 | 43 | async function createServer(backendSwarm, port, {host, ssl}) { 44 | assert(Number.isInteger(port), 'Not a valid port number provided.') 45 | server = Hapi.server({ 46 | port, 47 | router: { 48 | stripTrailingSlash: true, 49 | }, 50 | routes: { 51 | cors: { 52 | origin: ['*'], 53 | exposedHeaders: ['link', 'allow', 'etag'], 54 | }, 55 | }, 56 | }) 57 | await server.register(WebSocketPlugin) 58 | 59 | server.route({ 60 | method: 'GET', 61 | path: '/', 62 | handler: () => { 63 | return "Hi! I'm hyperwell, a Web Annotation P2P gateway." 64 | }, 65 | }) 66 | 67 | server.route({ 68 | method: 'GET', 69 | path: '/annotations/{container}', 70 | handler: async (request, h) => { 71 | const docUrl = decodeDocUrl(request.params.container) 72 | const pageNumber = request.query.page 73 | ? Number.parseInt(request.query.page) 74 | : null 75 | const iris = request.query.iris === '1' 76 | const notebookInfo = new NotebookInfo(host, ssl, docUrl) 77 | 78 | try { 79 | const annotations = await backendSwarm.getAnnotations(docUrl) 80 | const collection = new PagedCollection( 81 | annotations.map(annotation => 82 | denormalizeAnnotation(host, docUrl, annotation, {ssl}) 83 | ), 84 | notebookInfo 85 | ) 86 | 87 | if (pageNumber !== null) { 88 | return createPage(h, collection, pageNumber, iris) 89 | } 90 | return createContainer(h, collection, iris) 91 | } catch (err) { 92 | return handleError(err) 93 | } 94 | }, 95 | }) 96 | 97 | server.route({ 98 | method: 'POST', 99 | path: '/annotations/subscribe/{container}', 100 | config: { 101 | plugins: { 102 | websocket: { 103 | only: true, 104 | initially: true, 105 | autoping: 30 * 1000, 106 | }, 107 | }, 108 | }, 109 | handler: async request => { 110 | let {ws, initially} = request.websocket() 111 | if (!initially) { 112 | return Boom.badRequest() 113 | } 114 | 115 | const docUrl = decodeDocUrl(request.params.container) 116 | const subscription = new Subscription() 117 | subscription.on('change', ({inserted, changed, deleted}) => { 118 | ws.send( 119 | JSON.stringify({ 120 | inserted: inserted.map(annotation => 121 | denormalizeAnnotation(host, docUrl, annotation, {ssl}) 122 | ), 123 | changed: changed.map(annotation => 124 | denormalizeAnnotation(host, docUrl, annotation, {ssl}) 125 | ), 126 | deleted: deleted.map(annotation => 127 | denormalizeAnnotation(host, docUrl, annotation, {ssl}) 128 | ), 129 | }) 130 | ) 131 | }) 132 | 133 | ws.on('close', () => subscription.close()) 134 | 135 | await backendSwarm.subscribeToAnnotations(docUrl, subscription) 136 | await new Promise(resolve => subscription.on('close', resolve)) 137 | return '' 138 | }, 139 | }) 140 | 141 | server.route({ 142 | method: 'GET', 143 | path: '/annotations/{container}/{id}', 144 | handler: async (request, h) => { 145 | const docUrl = decodeDocUrl(request.params.container) 146 | 147 | try { 148 | const annotation = await backendSwarm.getAnnotation( 149 | docUrl, 150 | request.params.id 151 | ) 152 | const resource = denormalizeAnnotation(host, docUrl, annotation, {ssl}) 153 | return wrapResource(h, resource) 154 | } catch (err) { 155 | return handleError(err) 156 | } 157 | }, 158 | }) 159 | 160 | server.route({ 161 | method: 'POST', 162 | path: '/annotations/{container}', 163 | handler: async (request, h) => { 164 | const docUrl = decodeDocUrl(request.params.container) 165 | const annotation = request.payload 166 | 167 | try { 168 | const annotationId = await backendSwarm.createAnnotation( 169 | docUrl, 170 | annotation 171 | ) 172 | return h.redirect( 173 | `${ssl ? 'https' : 'http'}://${host}/annotations/${encodeDocUrl( 174 | docUrl 175 | )}/${annotationId}` 176 | ) 177 | } catch (err) { 178 | return handleError(err) 179 | } 180 | }, 181 | }) 182 | 183 | server.route({ 184 | method: 'PUT', 185 | path: '/annotations/{container}/{id}', 186 | handler: async (request, h) => { 187 | const docUrl = decodeDocUrl(request.params.container) 188 | const annotation = request.payload 189 | try { 190 | return await backendSwarm.updateAnnotation( 191 | docUrl, 192 | // FIXME: add error handling for invalid annotations (e.g., wrong ID) 193 | normalizeAnnotation(host, docUrl, annotation, {ssl}) 194 | ) 195 | } catch (err) { 196 | return handleError(err) 197 | } 198 | }, 199 | }) 200 | 201 | server.route({ 202 | method: 'DELETE', 203 | path: '/annotations/{container}/{id}', 204 | handler: async (request, h) => { 205 | const docUrl = decodeDocUrl(request.params.container) 206 | try { 207 | await backendSwarm.deleteAnnotation(docUrl, request.params.id) 208 | return h.response().code(204) 209 | } catch (err) { 210 | return handleError(err) 211 | } 212 | }, 213 | }) 214 | 215 | server.route({ 216 | method: 'POST', 217 | path: '/annotations/batch/{container}', 218 | handler: async (request, h) => { 219 | const docUrl = decodeDocUrl(request.params.container) 220 | const annotations = request.payload 221 | 222 | try { 223 | const insertedAnnotations = await backendSwarm.createAnnotationsBatch( 224 | docUrl, 225 | annotations 226 | ) 227 | return insertedAnnotations.map(annotation => 228 | denormalizeAnnotation(host, docUrl, annotation, {ssl}) 229 | ) 230 | } catch (err) { 231 | return handleError(err) 232 | } 233 | }, 234 | }) 235 | 236 | server.route({ 237 | method: 'PUT', 238 | path: '/annotations/batch/{container}', 239 | handler: async (request, h) => { 240 | const docUrl = decodeDocUrl(request.params.container) 241 | const annotations = request.payload 242 | 243 | try { 244 | const changedAnnotations = await backendSwarm.updateAnnotationsBatch( 245 | docUrl, 246 | annotations.map(annotation => 247 | normalizeAnnotation(host, docUrl, annotation, {ssl}) 248 | ) 249 | ) 250 | return changedAnnotations.map(annotation => 251 | denormalizeAnnotation(host, docUrl, annotation, {ssl}) 252 | ) 253 | } catch (err) { 254 | return handleError(err) 255 | } 256 | }, 257 | }) 258 | 259 | server.route({ 260 | method: 'DELETE', 261 | path: '/annotations/batch/{container}', 262 | handler: async (request, h) => { 263 | const docUrl = decodeDocUrl(request.params.container) 264 | const annotations = request.payload 265 | 266 | try { 267 | await backendSwarm.deleteAnnotationsBatch( 268 | docUrl, 269 | annotations.map(annotation => 270 | normalizeAnnotation(host, docUrl, annotation, {ssl}) 271 | ) 272 | ) 273 | return { 274 | deleted: true, 275 | error: null, 276 | } 277 | } catch (err) { 278 | return handleError(err) 279 | } 280 | }, 281 | }) 282 | 283 | server.route({ 284 | method: 'PUT', 285 | path: '/annotations/announce', 286 | handler: async request => { 287 | if (typeof request.payload !== 'object' || !request.payload.docUrl) { 288 | return Boom.badRequest() 289 | } 290 | return `/annotations/${encodeDocUrl(request.payload.docUrl)}/` 291 | }, 292 | }) 293 | 294 | await server.start() 295 | console.log('Server running on %s', server.info.uri) 296 | 297 | return server 298 | } 299 | 300 | process.on('unhandledRejection', err => { 301 | console.error(err) 302 | process.exit(1) 303 | }) 304 | 305 | module.exports = {createServer} 306 | -------------------------------------------------------------------------------- /lib/subscription.js: -------------------------------------------------------------------------------- 1 | const crypto = require('crypto') 2 | const EventEmitter = require('events') 3 | const Cache = require('node-cache') 4 | const uuid = require('uuid/v1') 5 | const debug = require('debug')('hyperwell:gateway:subscription') 6 | 7 | const hashAnnotation = annotation => 8 | crypto 9 | .createHash('sha256') 10 | .update(JSON.stringify(annotation)) 11 | .digest() 12 | 13 | class Subscription extends EventEmitter { 14 | constructor() { 15 | super() 16 | this.id = uuid() 17 | this.cache = new Cache() 18 | } 19 | 20 | init(annotations) { 21 | debug(`initializing subscription ${this.id}`) 22 | this.cache.mset( 23 | annotations.reduce( 24 | (pairs, annotation) => [ 25 | ...pairs, 26 | { 27 | key: annotation.id, 28 | val: { 29 | hash: hashAnnotation(annotation), 30 | annotation, 31 | }, 32 | }, 33 | ], 34 | [] 35 | ) 36 | ) 37 | } 38 | 39 | diff(annotations) { 40 | const inserted = [] 41 | const changed = [] 42 | const deleted = [] 43 | 44 | const ids = annotations.map(({id}) => id) 45 | for (const id of this.cache.keys()) { 46 | if (!ids.includes(id)) { 47 | deleted.push(this.cache.get(id).annotation) 48 | this.cache.del(id) 49 | } 50 | } 51 | 52 | for (const annotation of annotations) { 53 | const hash = hashAnnotation(annotation) 54 | if (!this.cache.has(annotation.id)) { 55 | inserted.push(annotation) 56 | this.cache.set(annotation.id, {hash, annotation}) 57 | } else { 58 | if (!this.cache.get(annotation.id).hash.equals(hash)) { 59 | changed.push(annotation) 60 | this.cache.set(annotation.id, {hash, annotation}) 61 | } 62 | } 63 | } 64 | 65 | return {inserted, changed, deleted} 66 | } 67 | 68 | close() { 69 | debug(`closing subscription ${this.id}`) 70 | this.emit('close') 71 | this.removeAllListeners() 72 | this.cache.close() 73 | } 74 | } 75 | 76 | module.exports = Subscription 77 | -------------------------------------------------------------------------------- /lib/swarm.js: -------------------------------------------------------------------------------- 1 | const uuid = require('uuid/v1') 2 | const {Repo} = require('hypermerge') 3 | const Hyperswarm = require('hyperswarm') 4 | const Cache = require('node-cache') 5 | const {SwarmError} = require('./error') 6 | const AbstractSwarm = require('./abstract-swarm') 7 | const debug = require('debug')('hyperwell:gateway:swarm') 8 | 9 | const cacheTTL = 60 * 10 10 | 11 | // FIXME: validate with JSON schema 12 | const validDoc = doc => Array.isArray(doc.annotations) 13 | const findAnnotation = (doc, annotationId) => { 14 | if (!validDoc(doc)) { 15 | throw SwarmError.badDoc() 16 | } 17 | 18 | const index = doc.annotations.findIndex(({id}) => id === annotationId) 19 | return index > -1 20 | ? [true, doc.annotations[index], index] 21 | : [false, index, null] 22 | } 23 | 24 | class HyperwellSwarm extends AbstractSwarm { 25 | constructor() { 26 | super() 27 | 28 | this.repo = new Repo({ 29 | memory: true, 30 | }) 31 | this.repo.setSwarm(Hyperswarm(), { 32 | lookup: true, 33 | announce: false, 34 | }) 35 | 36 | this.cache = new Cache({ 37 | stdTTL: cacheTTL, 38 | checkPeriod: 60, 39 | }) 40 | this.cache.on('expired', this._handleDocExpired) 41 | this.cache.on('del', this._handleDocExpired) 42 | } 43 | 44 | async getAnnotations(docUrl) { 45 | const doc = await this.repo.doc(docUrl) 46 | 47 | if (!validDoc(doc)) { 48 | throw SwarmError.badDoc() 49 | } 50 | 51 | this.cache.set(docUrl, true) 52 | return doc.annotations 53 | } 54 | 55 | async getAnnotation(docUrl, annotationId) { 56 | const doc = await this.repo.doc(docUrl) 57 | const [found, annotation] = findAnnotation(doc, annotationId) 58 | if (!found) { 59 | throw SwarmError.notFound() 60 | } 61 | 62 | this.cache.set(docUrl, true) 63 | return annotation 64 | } 65 | 66 | async createAnnotation(docUrl, annotation) { 67 | // FIXME: validate with JSON schema 68 | // if (annotation.id || !annotation.body) { 69 | if (annotation.id) { 70 | throw SwarmError.badRequest() 71 | } 72 | 73 | const id = uuid() 74 | await new Promise((resolve, reject) => 75 | this.repo.change(docUrl, doc => { 76 | // FIXME: validate with JSON schema 77 | if (!validDoc(doc)) { 78 | reject(SwarmError.badDoc()) 79 | } 80 | 81 | doc.annotations.push({ 82 | ...annotation, 83 | id, 84 | }) 85 | 86 | resolve() 87 | }) 88 | ) 89 | 90 | this.cache.set(docUrl, true) 91 | return id 92 | } 93 | 94 | async createAnnotationsBatch(docUrl, annotations) { 95 | // FIXME: validate with JSON schema 96 | if (annotations.some(annotation => annotation.id)) { 97 | throw SwarmError.badRequest() 98 | } 99 | 100 | const newAnnotations = annotations.map(annotation => ({ 101 | ...annotation, 102 | id: uuid(), 103 | })) 104 | await new Promise((resolve, reject) => 105 | this.repo.change(docUrl, doc => { 106 | // FIXME: validate with JSON schema 107 | if (!validDoc(doc)) { 108 | reject(SwarmError.badDoc()) 109 | } 110 | 111 | for (const newAnnotation of newAnnotations) { 112 | doc.annotations.push(newAnnotation) 113 | } 114 | 115 | resolve() 116 | }) 117 | ) 118 | 119 | this.cache.set(docUrl, true) 120 | return newAnnotations 121 | } 122 | 123 | async updateAnnotation(docUrl, annotation) { 124 | // FIXME: validate with JSON schema 125 | // if (annotation.id || !annotation.body) { 126 | if (!annotation.id) { 127 | throw SwarmError.badRequest() 128 | } 129 | 130 | await new Promise((resolve, reject) => 131 | this.repo.change(docUrl, doc => { 132 | const [found, previousAnnotation, index] = findAnnotation( 133 | doc, 134 | annotation.id 135 | ) 136 | if (!found) { 137 | reject(SwarmError.notFound()) 138 | } 139 | 140 | doc.annotations.splice(index, 1, annotation) 141 | resolve() 142 | }) 143 | ) 144 | 145 | this.cache.set(docUrl, true) 146 | return annotation 147 | } 148 | 149 | async updateAnnotationsBatch(docUrl, changedAnnotations) { 150 | // FIXME: validate with JSON schema 151 | if (changedAnnotations.some(annotation => !annotation.id)) { 152 | throw SwarmError.badRequest() 153 | } 154 | 155 | await new Promise((resolve, reject) => 156 | this.repo.change(docUrl, doc => { 157 | // FIXME: validate with JSON schema 158 | if (!validDoc(doc)) { 159 | reject(SwarmError.badDoc()) 160 | } 161 | 162 | const changedIds = changedAnnotations.map(({id}) => id) 163 | for (let i = 0; i < doc.annotations.length; i++) { 164 | var j = changedIds.indexOf(doc.annotations[i].id) 165 | if (j > -1) { 166 | doc.annotations.splice(i, 1, changedAnnotations[j]) 167 | } 168 | } 169 | resolve() 170 | }) 171 | ) 172 | this.cache.set(docUrl, true) 173 | return changedAnnotations 174 | } 175 | 176 | async deleteAnnotation(docUrl, annotationId) { 177 | await new Promise((resolve, reject) => 178 | this.repo.change(docUrl, doc => { 179 | const [found, annotation, index] = findAnnotation(doc, annotationId) 180 | if (!found) { 181 | reject(SwarmError.notFound()) 182 | } 183 | 184 | doc.annotations.splice(index, 1) 185 | resolve() 186 | }) 187 | ) 188 | 189 | this.cache.set(docUrl, true) 190 | } 191 | 192 | async deleteAnnotationsBatch(docUrl, deletedAnnotations) { 193 | // FIXME: validate with JSON schema 194 | if (deletedAnnotations.some(annotation => !annotation.id)) { 195 | throw SwarmError.badRequest() 196 | } 197 | 198 | const deletedAnnotationIds = deletedAnnotations.map(({id}) => id) 199 | await new Promise(resolve => 200 | this.repo.change(docUrl, doc => { 201 | for (const annotationId of deletedAnnotationIds) { 202 | // FIXME: validate if all deleted annotations exist 203 | const [found, annotation, index] = findAnnotation(doc, annotationId) 204 | if (found) { 205 | doc.annotations.splice(index, 1) 206 | } 207 | } 208 | resolve() 209 | }) 210 | ) 211 | 212 | this.cache.set(docUrl, true) 213 | } 214 | 215 | async subscribeToAnnotations(docUrl, subscription) { 216 | const annotations = await this.getAnnotations(docUrl) 217 | subscription.init(annotations) 218 | 219 | const handle = this.repo.watch(docUrl, doc => { 220 | if (!validDoc(doc)) { 221 | return 222 | } 223 | 224 | const diff = subscription.diff(doc.annotations) 225 | if (diff !== null) { 226 | subscription.emit('change', diff) 227 | } 228 | }) 229 | 230 | subscription.on('close', () => handle.close()) 231 | } 232 | 233 | _handleDocExpired = docUrl => { 234 | debug('document expired:', docUrl) 235 | // FIXME: `repo.close()` and `repo.destroy()` will render the gateway unable 236 | // to re-open/retrieve the document later on. 237 | // this.repo.close(docUrl) 238 | } 239 | 240 | async destroy() { 241 | this.cache.close() 242 | } 243 | } 244 | 245 | module.exports = HyperwellSwarm 246 | -------------------------------------------------------------------------------- /lib/util.js: -------------------------------------------------------------------------------- 1 | const encodeDocUrl = docUrl => Buffer.from(docUrl).toString('hex') 2 | const decodeDocUrl = encodedDocUrl => 3 | Buffer.from(encodedDocUrl, 'hex').toString() 4 | 5 | class NotebookInfo { 6 | constructor(host, ssl, docUrl) { 7 | this.host = host 8 | this.ssl = ssl 9 | this.docUrl = docUrl 10 | } 11 | 12 | getContainerUrl() { 13 | return `${this.ssl ? 'https' : 'http'}://${ 14 | this.host 15 | }/annotations/${encodeDocUrl(this.docUrl)}` 16 | } 17 | } 18 | 19 | function normalizeId(host, docUrl, annotationId, opts = {}) { 20 | const ssl = opts.ssl || false 21 | const pattern = new RegExp( 22 | `^${ssl ? 'https' : 'http'}:\/\/${host}\/annotations\/${encodeDocUrl( 23 | docUrl 24 | )}\/([0-9a-z-]+)$` 25 | ) 26 | // FIXME: validate annotation schema prior to normalizing ID 27 | const matches = annotationId.match(pattern) 28 | return !matches ? null : matches[1] 29 | } 30 | 31 | function normalizeAnnotation(host, docUrl, annotation, opts = {}) { 32 | return { 33 | ...annotation, 34 | id: normalizeId(host, docUrl, annotation.id, opts), 35 | } 36 | } 37 | 38 | const denormalizeAnnotation = (host, docUrl, annotation, opts = {}) => { 39 | const ssl = opts.ssl || false 40 | // FIXME: validate annotation schema prior to denormalizing ID 41 | return { 42 | ...annotation, 43 | id: `${ssl ? 'https' : 'http'}://${host}/annotations/${encodeDocUrl( 44 | docUrl 45 | )}/${annotation.id}`, 46 | } 47 | } 48 | 49 | module.exports = { 50 | NotebookInfo, 51 | normalizeId, 52 | normalizeAnnotation, 53 | denormalizeAnnotation, 54 | encodeDocUrl, 55 | decodeDocUrl, 56 | } 57 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@hyperwell/gateway", 3 | "version": "0.2.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/code-frame": { 8 | "version": "7.8.3", 9 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", 10 | "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", 11 | "dev": true, 12 | "requires": { 13 | "@babel/highlight": "^7.8.3" 14 | } 15 | }, 16 | "@babel/helper-validator-identifier": { 17 | "version": "7.9.0", 18 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.0.tgz", 19 | "integrity": "sha512-6G8bQKjOh+of4PV/ThDm/rRqlU7+IGoJuofpagU5GlEl29Vv0RGqqt86ZGRV8ZuSOY3o+8yXl5y782SMcG7SHw==", 20 | "dev": true 21 | }, 22 | "@babel/highlight": { 23 | "version": "7.9.0", 24 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", 25 | "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", 26 | "dev": true, 27 | "requires": { 28 | "@babel/helper-validator-identifier": "^7.9.0", 29 | "chalk": "^2.0.0", 30 | "js-tokens": "^4.0.0" 31 | } 32 | }, 33 | "@cto.af/textdecoder": { 34 | "version": "0.0.0", 35 | "resolved": "https://registry.npmjs.org/@cto.af/textdecoder/-/textdecoder-0.0.0.tgz", 36 | "integrity": "sha512-sJpx3F5xcVV/9jNYJQtvimo4Vfld/nD3ph+ZWtQzZ03Zo8rJC7QKQTRcIGS13Rcz80DwFNthCWMrd58vpY4ZAQ==" 37 | }, 38 | "@hapi/accept": { 39 | "version": "3.2.4", 40 | "resolved": "https://registry.npmjs.org/@hapi/accept/-/accept-3.2.4.tgz", 41 | "integrity": "sha512-soThGB+QMgfxlh0Vzhzlf3ZOEOPk5biEwcOXhkF0Eedqx8VnhGiggL9UYHrIsOb1rUg3Be3K8kp0iDL2wbVSOQ==", 42 | "requires": { 43 | "@hapi/boom": "7.x.x", 44 | "@hapi/hoek": "8.x.x" 45 | }, 46 | "dependencies": { 47 | "@hapi/boom": { 48 | "version": "7.4.11", 49 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 50 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 51 | "requires": { 52 | "@hapi/hoek": "8.x.x" 53 | } 54 | } 55 | } 56 | }, 57 | "@hapi/address": { 58 | "version": "2.1.4", 59 | "resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz", 60 | "integrity": "sha512-QD1PhQk+s31P1ixsX0H0Suoupp3VMXzIVMSwobR3F3MSUO2YCV0B7xqLcUw/Bh8yuvd3LhpyqLQWTNcRmp6IdQ==" 61 | }, 62 | "@hapi/ammo": { 63 | "version": "3.1.2", 64 | "resolved": "https://registry.npmjs.org/@hapi/ammo/-/ammo-3.1.2.tgz", 65 | "integrity": "sha512-ej9OtFmiZv1qr45g1bxEZNGyaR4jRpyMxU6VhbxjaYThymvOwsyIsUKMZnP5Qw2tfYFuwqCJuIBHGpeIbdX9gQ==", 66 | "requires": { 67 | "@hapi/hoek": "8.x.x" 68 | } 69 | }, 70 | "@hapi/b64": { 71 | "version": "4.2.1", 72 | "resolved": "https://registry.npmjs.org/@hapi/b64/-/b64-4.2.1.tgz", 73 | "integrity": "sha512-zqHpQuH5CBMw6hADzKfU/IGNrxq1Q+/wTYV+OiZRQN9F3tMyk+9BUMeBvFRMamduuqL8iSp62QAnJ+7ATiYLWA==", 74 | "requires": { 75 | "@hapi/hoek": "8.x.x" 76 | } 77 | }, 78 | "@hapi/boom": { 79 | "version": "8.0.1", 80 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-8.0.1.tgz", 81 | "integrity": "sha512-SnBM2GzEYEA6AGFKXBqNLWXR3uNBui0bkmklYXX1gYtevVhDTy2uakwkSauxvIWMtlANGRhzChYg95If3FWCwA==", 82 | "requires": { 83 | "@hapi/hoek": "8.x.x" 84 | } 85 | }, 86 | "@hapi/bounce": { 87 | "version": "1.3.2", 88 | "resolved": "https://registry.npmjs.org/@hapi/bounce/-/bounce-1.3.2.tgz", 89 | "integrity": "sha512-3bnb1AlcEByFZnpDIidxQyw1Gds81z/1rSqlx4bIEE+wUN0ATj0D49B5cE1wGocy90Rp/de4tv7GjsKd5RQeew==", 90 | "requires": { 91 | "@hapi/boom": "7.x.x", 92 | "@hapi/hoek": "^8.3.1" 93 | }, 94 | "dependencies": { 95 | "@hapi/boom": { 96 | "version": "7.4.11", 97 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 98 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 99 | "requires": { 100 | "@hapi/hoek": "8.x.x" 101 | } 102 | } 103 | } 104 | }, 105 | "@hapi/bourne": { 106 | "version": "1.3.2", 107 | "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-1.3.2.tgz", 108 | "integrity": "sha512-1dVNHT76Uu5N3eJNTYcvxee+jzX4Z9lfciqRRHCU27ihbUcYi+iSc2iml5Ke1LXe1SyJCLA0+14Jh4tXJgOppA==" 109 | }, 110 | "@hapi/call": { 111 | "version": "5.1.3", 112 | "resolved": "https://registry.npmjs.org/@hapi/call/-/call-5.1.3.tgz", 113 | "integrity": "sha512-5DfWpMk7qZiYhvBhM5oUiT4GQ/O8a2rFR121/PdwA/eZ2C1EsuD547ZggMKAR5bZ+FtxOf0fdM20zzcXzq2mZA==", 114 | "requires": { 115 | "@hapi/boom": "7.x.x", 116 | "@hapi/hoek": "8.x.x" 117 | }, 118 | "dependencies": { 119 | "@hapi/boom": { 120 | "version": "7.4.11", 121 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 122 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 123 | "requires": { 124 | "@hapi/hoek": "8.x.x" 125 | } 126 | } 127 | } 128 | }, 129 | "@hapi/catbox": { 130 | "version": "10.2.3", 131 | "resolved": "https://registry.npmjs.org/@hapi/catbox/-/catbox-10.2.3.tgz", 132 | "integrity": "sha512-kN9hXO4NYyOHW09CXiuj5qW1syc/0XeVOBsNNk0Tz89wWNQE5h21WF+VsfAw3uFR8swn/Wj3YEVBnWqo82m/JQ==", 133 | "requires": { 134 | "@hapi/boom": "7.x.x", 135 | "@hapi/hoek": "8.x.x", 136 | "@hapi/joi": "16.x.x", 137 | "@hapi/podium": "3.x.x" 138 | }, 139 | "dependencies": { 140 | "@hapi/boom": { 141 | "version": "7.4.11", 142 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 143 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 144 | "requires": { 145 | "@hapi/hoek": "8.x.x" 146 | } 147 | }, 148 | "@hapi/joi": { 149 | "version": "16.1.8", 150 | "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-16.1.8.tgz", 151 | "integrity": "sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg==", 152 | "requires": { 153 | "@hapi/address": "^2.1.2", 154 | "@hapi/formula": "^1.2.0", 155 | "@hapi/hoek": "^8.2.4", 156 | "@hapi/pinpoint": "^1.0.2", 157 | "@hapi/topo": "^3.1.3" 158 | } 159 | } 160 | } 161 | }, 162 | "@hapi/catbox-memory": { 163 | "version": "4.1.1", 164 | "resolved": "https://registry.npmjs.org/@hapi/catbox-memory/-/catbox-memory-4.1.1.tgz", 165 | "integrity": "sha512-T6Hdy8DExzG0jY7C8yYWZB4XHfc0v+p1EGkwxl2HoaPYAmW7I3E59M/IvmSVpis8RPcIoBp41ZpO2aZPBpM2Ww==", 166 | "requires": { 167 | "@hapi/boom": "7.x.x", 168 | "@hapi/hoek": "8.x.x" 169 | }, 170 | "dependencies": { 171 | "@hapi/boom": { 172 | "version": "7.4.11", 173 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 174 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 175 | "requires": { 176 | "@hapi/hoek": "8.x.x" 177 | } 178 | } 179 | } 180 | }, 181 | "@hapi/content": { 182 | "version": "4.1.1", 183 | "resolved": "https://registry.npmjs.org/@hapi/content/-/content-4.1.1.tgz", 184 | "integrity": "sha512-3TWvmwpVPxFSF3KBjKZ8yDqIKKZZIm7VurDSweYpXYENZrJH3C1hd1+qEQW9wQaUaI76pPBLGrXl6I3B7i3ipA==", 185 | "requires": { 186 | "@hapi/boom": "7.x.x" 187 | }, 188 | "dependencies": { 189 | "@hapi/boom": { 190 | "version": "7.4.11", 191 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 192 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 193 | "requires": { 194 | "@hapi/hoek": "8.x.x" 195 | } 196 | } 197 | } 198 | }, 199 | "@hapi/cryptiles": { 200 | "version": "4.2.1", 201 | "resolved": "https://registry.npmjs.org/@hapi/cryptiles/-/cryptiles-4.2.1.tgz", 202 | "integrity": "sha512-XoqgKsHK0l/VpqPs+tr6j6vE+VQ3+2bkF2stvttmc7xAOf1oSAwHcJ0tlp/6MxMysktt1IEY0Csy3khKaP9/uQ==", 203 | "requires": { 204 | "@hapi/boom": "7.x.x" 205 | }, 206 | "dependencies": { 207 | "@hapi/boom": { 208 | "version": "7.4.11", 209 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 210 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 211 | "requires": { 212 | "@hapi/hoek": "8.x.x" 213 | } 214 | } 215 | } 216 | }, 217 | "@hapi/file": { 218 | "version": "1.0.0", 219 | "resolved": "https://registry.npmjs.org/@hapi/file/-/file-1.0.0.tgz", 220 | "integrity": "sha512-Bsfp/+1Gyf70eGtnIgmScvrH8sSypO3TcK3Zf0QdHnzn/ACnAkI6KLtGACmNRPEzzIy+W7aJX5E+1fc9GwIABQ==" 221 | }, 222 | "@hapi/formula": { 223 | "version": "1.2.0", 224 | "resolved": "https://registry.npmjs.org/@hapi/formula/-/formula-1.2.0.tgz", 225 | "integrity": "sha512-UFbtbGPjstz0eWHb+ga/GM3Z9EzqKXFWIbSOFURU0A/Gku0Bky4bCk9/h//K2Xr3IrCfjFNhMm4jyZ5dbCewGA==" 226 | }, 227 | "@hapi/hapi": { 228 | "version": "18.4.1", 229 | "resolved": "https://registry.npmjs.org/@hapi/hapi/-/hapi-18.4.1.tgz", 230 | "integrity": "sha512-9HjVGa0Z4Qv9jk9AVoUdJMQLA+KuZ+liKWyEEkVBx3e3H1F0JM6aGbPkY9jRfwsITBWGBU2iXazn65SFKSi/tg==", 231 | "requires": { 232 | "@hapi/accept": "^3.2.4", 233 | "@hapi/ammo": "^3.1.2", 234 | "@hapi/boom": "7.x.x", 235 | "@hapi/bounce": "1.x.x", 236 | "@hapi/call": "^5.1.3", 237 | "@hapi/catbox": "10.x.x", 238 | "@hapi/catbox-memory": "4.x.x", 239 | "@hapi/heavy": "6.x.x", 240 | "@hapi/hoek": "8.x.x", 241 | "@hapi/joi": "15.x.x", 242 | "@hapi/mimos": "4.x.x", 243 | "@hapi/podium": "3.x.x", 244 | "@hapi/shot": "4.x.x", 245 | "@hapi/somever": "2.x.x", 246 | "@hapi/statehood": "6.x.x", 247 | "@hapi/subtext": "^6.1.3", 248 | "@hapi/teamwork": "3.x.x", 249 | "@hapi/topo": "3.x.x" 250 | }, 251 | "dependencies": { 252 | "@hapi/boom": { 253 | "version": "7.4.11", 254 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 255 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 256 | "requires": { 257 | "@hapi/hoek": "8.x.x" 258 | } 259 | } 260 | } 261 | }, 262 | "@hapi/heavy": { 263 | "version": "6.2.2", 264 | "resolved": "https://registry.npmjs.org/@hapi/heavy/-/heavy-6.2.2.tgz", 265 | "integrity": "sha512-PY1dCCO6dsze7RlafIRhTaGeyTgVe49A/lSkxbhKGjQ7x46o/OFf7hLiRqTCDh3atcEKf6362EaB3+kTUbCsVA==", 266 | "requires": { 267 | "@hapi/boom": "7.x.x", 268 | "@hapi/hoek": "8.x.x", 269 | "@hapi/joi": "16.x.x" 270 | }, 271 | "dependencies": { 272 | "@hapi/boom": { 273 | "version": "7.4.11", 274 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 275 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 276 | "requires": { 277 | "@hapi/hoek": "8.x.x" 278 | } 279 | }, 280 | "@hapi/joi": { 281 | "version": "16.1.8", 282 | "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-16.1.8.tgz", 283 | "integrity": "sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg==", 284 | "requires": { 285 | "@hapi/address": "^2.1.2", 286 | "@hapi/formula": "^1.2.0", 287 | "@hapi/hoek": "^8.2.4", 288 | "@hapi/pinpoint": "^1.0.2", 289 | "@hapi/topo": "^3.1.3" 290 | } 291 | } 292 | } 293 | }, 294 | "@hapi/hoek": { 295 | "version": "8.5.1", 296 | "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.1.tgz", 297 | "integrity": "sha512-yN7kbciD87WzLGc5539Tn0sApjyiGHAJgKvG9W8C7O+6c7qmoQMfVs0W4bX17eqz6C78QJqqFrtgdK5EWf6Qow==" 298 | }, 299 | "@hapi/iron": { 300 | "version": "5.1.4", 301 | "resolved": "https://registry.npmjs.org/@hapi/iron/-/iron-5.1.4.tgz", 302 | "integrity": "sha512-+ElC+OCiwWLjlJBmm8ZEWjlfzTMQTdgPnU/TsoU5QsktspIWmWi9IU4kU83nH+X/SSya8TP8h8P11Wr5L7dkQQ==", 303 | "requires": { 304 | "@hapi/b64": "4.x.x", 305 | "@hapi/boom": "7.x.x", 306 | "@hapi/bourne": "1.x.x", 307 | "@hapi/cryptiles": "4.x.x", 308 | "@hapi/hoek": "8.x.x" 309 | }, 310 | "dependencies": { 311 | "@hapi/boom": { 312 | "version": "7.4.11", 313 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 314 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 315 | "requires": { 316 | "@hapi/hoek": "8.x.x" 317 | } 318 | } 319 | } 320 | }, 321 | "@hapi/joi": { 322 | "version": "15.1.1", 323 | "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-15.1.1.tgz", 324 | "integrity": "sha512-entf8ZMOK8sc+8YfeOlM8pCfg3b5+WZIKBfUaaJT8UsjAAPjartzxIYm3TIbjvA4u+u++KbcXD38k682nVHDAQ==", 325 | "requires": { 326 | "@hapi/address": "2.x.x", 327 | "@hapi/bourne": "1.x.x", 328 | "@hapi/hoek": "8.x.x", 329 | "@hapi/topo": "3.x.x" 330 | } 331 | }, 332 | "@hapi/mimos": { 333 | "version": "4.1.1", 334 | "resolved": "https://registry.npmjs.org/@hapi/mimos/-/mimos-4.1.1.tgz", 335 | "integrity": "sha512-CXoi/zfcTWfKYX756eEea8rXJRIb9sR4d7VwyAH9d3BkDyNgAesZxvqIdm55npQc6S9mU3FExinMAQVlIkz0eA==", 336 | "requires": { 337 | "@hapi/hoek": "8.x.x", 338 | "mime-db": "1.x.x" 339 | } 340 | }, 341 | "@hapi/nigel": { 342 | "version": "3.1.1", 343 | "resolved": "https://registry.npmjs.org/@hapi/nigel/-/nigel-3.1.1.tgz", 344 | "integrity": "sha512-R9YWx4S8yu0gcCBrMUDCiEFm1SQT895dMlYoeNBp8I6YhF1BFF1iYPueKA2Kkp9BvyHdjmvrxCOns7GMmpl+Fw==", 345 | "requires": { 346 | "@hapi/hoek": "8.x.x", 347 | "@hapi/vise": "3.x.x" 348 | } 349 | }, 350 | "@hapi/pez": { 351 | "version": "4.1.2", 352 | "resolved": "https://registry.npmjs.org/@hapi/pez/-/pez-4.1.2.tgz", 353 | "integrity": "sha512-8zSdJ8cZrJLFldTgwjU9Fb1JebID+aBCrCsycgqKYe0OZtM2r3Yv3aAwW5z97VsZWCROC1Vx6Mdn4rujh5Ktcg==", 354 | "requires": { 355 | "@hapi/b64": "4.x.x", 356 | "@hapi/boom": "7.x.x", 357 | "@hapi/content": "^4.1.1", 358 | "@hapi/hoek": "8.x.x", 359 | "@hapi/nigel": "3.x.x" 360 | }, 361 | "dependencies": { 362 | "@hapi/boom": { 363 | "version": "7.4.11", 364 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 365 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 366 | "requires": { 367 | "@hapi/hoek": "8.x.x" 368 | } 369 | } 370 | } 371 | }, 372 | "@hapi/pinpoint": { 373 | "version": "1.0.2", 374 | "resolved": "https://registry.npmjs.org/@hapi/pinpoint/-/pinpoint-1.0.2.tgz", 375 | "integrity": "sha512-dtXC/WkZBfC5vxscazuiJ6iq4j9oNx1SHknmIr8hofarpKUZKmlUVYVIhNVzIEgK5Wrc4GMHL5lZtt1uS2flmQ==" 376 | }, 377 | "@hapi/podium": { 378 | "version": "3.4.3", 379 | "resolved": "https://registry.npmjs.org/@hapi/podium/-/podium-3.4.3.tgz", 380 | "integrity": "sha512-QJlnYLEYZWlKQ9fSOtuUcpANyoVGwT68GA9P0iQQCAetBK0fI+nbRBt58+aMixoifczWZUthuGkNjqKxgPh/CQ==", 381 | "requires": { 382 | "@hapi/hoek": "8.x.x", 383 | "@hapi/joi": "16.x.x" 384 | }, 385 | "dependencies": { 386 | "@hapi/joi": { 387 | "version": "16.1.8", 388 | "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-16.1.8.tgz", 389 | "integrity": "sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg==", 390 | "requires": { 391 | "@hapi/address": "^2.1.2", 392 | "@hapi/formula": "^1.2.0", 393 | "@hapi/hoek": "^8.2.4", 394 | "@hapi/pinpoint": "^1.0.2", 395 | "@hapi/topo": "^3.1.3" 396 | } 397 | } 398 | } 399 | }, 400 | "@hapi/shot": { 401 | "version": "4.1.2", 402 | "resolved": "https://registry.npmjs.org/@hapi/shot/-/shot-4.1.2.tgz", 403 | "integrity": "sha512-6LeHLjvsq/bQ0R+fhEyr7mqExRGguNTrxFZf5DyKe3CK6pNabiGgYO4JVFaRrLZ3JyuhkS0fo8iiRE2Ql2oA/A==", 404 | "requires": { 405 | "@hapi/hoek": "8.x.x", 406 | "@hapi/joi": "16.x.x" 407 | }, 408 | "dependencies": { 409 | "@hapi/joi": { 410 | "version": "16.1.8", 411 | "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-16.1.8.tgz", 412 | "integrity": "sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg==", 413 | "requires": { 414 | "@hapi/address": "^2.1.2", 415 | "@hapi/formula": "^1.2.0", 416 | "@hapi/hoek": "^8.2.4", 417 | "@hapi/pinpoint": "^1.0.2", 418 | "@hapi/topo": "^3.1.3" 419 | } 420 | } 421 | } 422 | }, 423 | "@hapi/somever": { 424 | "version": "2.1.1", 425 | "resolved": "https://registry.npmjs.org/@hapi/somever/-/somever-2.1.1.tgz", 426 | "integrity": "sha512-cic5Sto4KGd9B0oQSdKTokju+rYhCbdpzbMb0EBnrH5Oc1z048hY8PaZ1lx2vBD7I/XIfTQVQetBH57fU51XRA==", 427 | "requires": { 428 | "@hapi/bounce": "1.x.x", 429 | "@hapi/hoek": "8.x.x" 430 | } 431 | }, 432 | "@hapi/statehood": { 433 | "version": "6.1.2", 434 | "resolved": "https://registry.npmjs.org/@hapi/statehood/-/statehood-6.1.2.tgz", 435 | "integrity": "sha512-pYXw1x6npz/UfmtcpUhuMvdK5kuOGTKcJNfLqdNptzietK2UZH5RzNJSlv5bDHeSmordFM3kGItcuQWX2lj2nQ==", 436 | "requires": { 437 | "@hapi/boom": "7.x.x", 438 | "@hapi/bounce": "1.x.x", 439 | "@hapi/bourne": "1.x.x", 440 | "@hapi/cryptiles": "4.x.x", 441 | "@hapi/hoek": "8.x.x", 442 | "@hapi/iron": "5.x.x", 443 | "@hapi/joi": "16.x.x" 444 | }, 445 | "dependencies": { 446 | "@hapi/boom": { 447 | "version": "7.4.11", 448 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 449 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 450 | "requires": { 451 | "@hapi/hoek": "8.x.x" 452 | } 453 | }, 454 | "@hapi/joi": { 455 | "version": "16.1.8", 456 | "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-16.1.8.tgz", 457 | "integrity": "sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg==", 458 | "requires": { 459 | "@hapi/address": "^2.1.2", 460 | "@hapi/formula": "^1.2.0", 461 | "@hapi/hoek": "^8.2.4", 462 | "@hapi/pinpoint": "^1.0.2", 463 | "@hapi/topo": "^3.1.3" 464 | } 465 | } 466 | } 467 | }, 468 | "@hapi/subtext": { 469 | "version": "6.1.3", 470 | "resolved": "https://registry.npmjs.org/@hapi/subtext/-/subtext-6.1.3.tgz", 471 | "integrity": "sha512-qWN6NbiHNzohVcJMeAlpku/vzbyH4zIpnnMPMPioQMwIxbPFKeNViDCNI6fVBbMPBiw/xB4FjqiJkRG5P9eWWg==", 472 | "requires": { 473 | "@hapi/boom": "7.x.x", 474 | "@hapi/bourne": "1.x.x", 475 | "@hapi/content": "^4.1.1", 476 | "@hapi/file": "1.x.x", 477 | "@hapi/hoek": "8.x.x", 478 | "@hapi/pez": "^4.1.2", 479 | "@hapi/wreck": "15.x.x" 480 | }, 481 | "dependencies": { 482 | "@hapi/boom": { 483 | "version": "7.4.11", 484 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 485 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 486 | "requires": { 487 | "@hapi/hoek": "8.x.x" 488 | } 489 | } 490 | } 491 | }, 492 | "@hapi/teamwork": { 493 | "version": "3.3.1", 494 | "resolved": "https://registry.npmjs.org/@hapi/teamwork/-/teamwork-3.3.1.tgz", 495 | "integrity": "sha512-61tiqWCYvMKP7fCTXy0M4VE6uNIwA0qvgFoiDubgfj7uqJ0fdHJFQNnVPGrxhLWlwz0uBPWrQlBH7r8y9vFITQ==" 496 | }, 497 | "@hapi/topo": { 498 | "version": "3.1.6", 499 | "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.6.tgz", 500 | "integrity": "sha512-tAag0jEcjwH+P2quUfipd7liWCNX2F8NvYjQp2wtInsZxnMlypdw0FtAOLxtvvkO+GSRRbmNi8m/5y42PQJYCQ==", 501 | "requires": { 502 | "@hapi/hoek": "^8.3.0" 503 | } 504 | }, 505 | "@hapi/vise": { 506 | "version": "3.1.1", 507 | "resolved": "https://registry.npmjs.org/@hapi/vise/-/vise-3.1.1.tgz", 508 | "integrity": "sha512-OXarbiCSadvtg+bSdVPqu31Z1JoBL+FwNYz3cYoBKQ5xq1/Cr4A3IkGpAZbAuxU5y4NL5pZFZG3d2a3ZGm/dOQ==", 509 | "requires": { 510 | "@hapi/hoek": "8.x.x" 511 | } 512 | }, 513 | "@hapi/wreck": { 514 | "version": "15.1.0", 515 | "resolved": "https://registry.npmjs.org/@hapi/wreck/-/wreck-15.1.0.tgz", 516 | "integrity": "sha512-tQczYRTTeYBmvhsek/D49En/5khcShaBEmzrAaDjMrFXKJRuF8xA8+tlq1ETLBFwGd6Do6g2OC74rt11kzawzg==", 517 | "requires": { 518 | "@hapi/boom": "7.x.x", 519 | "@hapi/bourne": "1.x.x", 520 | "@hapi/hoek": "8.x.x" 521 | }, 522 | "dependencies": { 523 | "@hapi/boom": { 524 | "version": "7.4.11", 525 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.11.tgz", 526 | "integrity": "sha512-VSU/Cnj1DXouukYxxkes4nNJonCnlogHvIff1v1RVoN4xzkKhMXX+GRmb3NyH1iar10I9WFPDv2JPwfH3GaV0A==", 527 | "requires": { 528 | "@hapi/hoek": "8.x.x" 529 | } 530 | } 531 | } 532 | }, 533 | "@hyperswarm/dht": { 534 | "version": "4.0.1", 535 | "resolved": "https://registry.npmjs.org/@hyperswarm/dht/-/dht-4.0.1.tgz", 536 | "integrity": "sha512-wMBbz0m8rgQMERt/Ot6BGo5Y8+ovJSZmqxF0oA2xYPT8vCVBIr8g2F1BkQcLbX2iKRLXRnhic02OEq8b41M0sw==", 537 | "requires": { 538 | "@hyperswarm/hypersign": "^2.0.0", 539 | "dht-rpc": "^4.8.0", 540 | "end-of-stream": "^1.4.1", 541 | "guard-timeout": "^2.0.0", 542 | "hashlru": "^2.3.0", 543 | "protocol-buffers-encodings": "^1.1.0", 544 | "record-cache": "^1.1.0", 545 | "sodium-native": "^3.1.1" 546 | }, 547 | "dependencies": { 548 | "sodium-native": { 549 | "version": "3.2.1", 550 | "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-3.2.1.tgz", 551 | "integrity": "sha512-EgDZ/Z7PxL2kCasKk7wnRkV8W9kvwuIlHuHXAxkQm3FF0MgVsjyLBXGjSRGhjE6u7rhSpk3KaMfFM23bfMysIQ==", 552 | "requires": { 553 | "ini": "^1.3.5", 554 | "node-gyp-build": "^4.2.0" 555 | } 556 | } 557 | } 558 | }, 559 | "@hyperswarm/discovery": { 560 | "version": "2.0.1", 561 | "resolved": "https://registry.npmjs.org/@hyperswarm/discovery/-/discovery-2.0.1.tgz", 562 | "integrity": "sha512-LM0DxxXYFEOZoUhN4g9VhHKGeM2mQIf8rnfSu/epBLmASAKNoKMijgGUZwhrh06wPROdBSJumjVzKl+8GPnRhA==", 563 | "requires": { 564 | "@hyperswarm/dht": "^4.0.0", 565 | "multicast-dns": "^7.2.2", 566 | "timeout-refresh": "^1.0.2" 567 | } 568 | }, 569 | "@hyperswarm/hypersign": { 570 | "version": "2.1.1", 571 | "resolved": "https://registry.npmjs.org/@hyperswarm/hypersign/-/hypersign-2.1.1.tgz", 572 | "integrity": "sha512-RcczqJsu2VScRoyJdLbxpYMBNq+73HJT3FVzDZXSOob/WqEeiN2WIvuDtvmFoufAuO/3YVfde/NpZFc/OPjmjw==", 573 | "requires": { 574 | "sodium-native": "^3.1.1" 575 | }, 576 | "dependencies": { 577 | "sodium-native": { 578 | "version": "3.2.1", 579 | "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-3.2.1.tgz", 580 | "integrity": "sha512-EgDZ/Z7PxL2kCasKk7wnRkV8W9kvwuIlHuHXAxkQm3FF0MgVsjyLBXGjSRGhjE6u7rhSpk3KaMfFM23bfMysIQ==", 581 | "requires": { 582 | "ini": "^1.3.5", 583 | "node-gyp-build": "^4.2.0" 584 | } 585 | } 586 | } 587 | }, 588 | "@hyperswarm/network": { 589 | "version": "2.1.0", 590 | "resolved": "https://registry.npmjs.org/@hyperswarm/network/-/network-2.1.0.tgz", 591 | "integrity": "sha512-TvRRRd//a3q+JhpSh5PaHJfnP4oLM/0eZikyDh2Z+eaJpIZP+vZwdlpPd10neTsPq1zfJX8weRjYLFHNpoMZVg==", 592 | "requires": { 593 | "@hyperswarm/discovery": "^2.0.0", 594 | "nanoresource": "^1.3.0", 595 | "utp-native": "^2.2.1" 596 | } 597 | }, 598 | "@leichtgewicht/ip-codec": { 599 | "version": "2.0.3", 600 | "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.3.tgz", 601 | "integrity": "sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==" 602 | }, 603 | "@nodelib/fs.scandir": { 604 | "version": "2.1.3", 605 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", 606 | "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==", 607 | "dev": true, 608 | "requires": { 609 | "@nodelib/fs.stat": "2.0.3", 610 | "run-parallel": "^1.1.9" 611 | } 612 | }, 613 | "@nodelib/fs.stat": { 614 | "version": "2.0.3", 615 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz", 616 | "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==", 617 | "dev": true 618 | }, 619 | "@nodelib/fs.walk": { 620 | "version": "1.2.4", 621 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz", 622 | "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==", 623 | "dev": true, 624 | "requires": { 625 | "@nodelib/fs.scandir": "2.1.3", 626 | "fastq": "^1.6.0" 627 | } 628 | }, 629 | "@samverschueren/stream-to-observable": { 630 | "version": "0.3.0", 631 | "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz", 632 | "integrity": "sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg==", 633 | "dev": true, 634 | "requires": { 635 | "any-observable": "^0.3.0" 636 | } 637 | }, 638 | "@types/events": { 639 | "version": "3.0.0", 640 | "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", 641 | "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==", 642 | "dev": true 643 | }, 644 | "@types/glob": { 645 | "version": "7.1.1", 646 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz", 647 | "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==", 648 | "dev": true, 649 | "requires": { 650 | "@types/events": "*", 651 | "@types/minimatch": "*", 652 | "@types/node": "*" 653 | } 654 | }, 655 | "@types/minimatch": { 656 | "version": "3.0.3", 657 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", 658 | "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", 659 | "dev": true 660 | }, 661 | "@types/node": { 662 | "version": "13.9.5", 663 | "resolved": "https://registry.npmjs.org/@types/node/-/node-13.9.5.tgz", 664 | "integrity": "sha512-hkzMMD3xu6BrJpGVLeQ3htQQNAcOrJjX7WFmtK8zWQpz2UJf13LCFF2ALA7c9OVdvc2vQJeDdjfR35M0sBCxvw==", 665 | "dev": true 666 | }, 667 | "@types/normalize-package-data": { 668 | "version": "2.4.0", 669 | "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", 670 | "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", 671 | "dev": true 672 | }, 673 | "abstract-extension": { 674 | "version": "3.1.1", 675 | "resolved": "https://registry.npmjs.org/abstract-extension/-/abstract-extension-3.1.1.tgz", 676 | "integrity": "sha512-qmUIqQEh6ZZBKN6JfysKgCEBqI4qVexE6/N/MUJjqtQhhuGR8a16GKnK6SGFKv/n1cAlbYxLDXbtyhkxSnVYRQ==", 677 | "requires": { 678 | "codecs": "^2.0.0" 679 | } 680 | }, 681 | "aggregate-error": { 682 | "version": "3.0.1", 683 | "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz", 684 | "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==", 685 | "dev": true, 686 | "requires": { 687 | "clean-stack": "^2.0.0", 688 | "indent-string": "^4.0.0" 689 | } 690 | }, 691 | "ansi-escapes": { 692 | "version": "3.2.0", 693 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", 694 | "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", 695 | "dev": true 696 | }, 697 | "ansi-regex": { 698 | "version": "5.0.0", 699 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", 700 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" 701 | }, 702 | "ansi-styles": { 703 | "version": "3.2.1", 704 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 705 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 706 | "dev": true, 707 | "requires": { 708 | "color-convert": "^1.9.0" 709 | } 710 | }, 711 | "any-observable": { 712 | "version": "0.3.0", 713 | "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.3.0.tgz", 714 | "integrity": "sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog==", 715 | "dev": true 716 | }, 717 | "argparse": { 718 | "version": "1.0.10", 719 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 720 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 721 | "dev": true, 722 | "requires": { 723 | "sprintf-js": "~1.0.2" 724 | } 725 | }, 726 | "array-union": { 727 | "version": "2.1.0", 728 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 729 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 730 | "dev": true 731 | }, 732 | "atomic-batcher": { 733 | "version": "1.0.2", 734 | "resolved": "https://registry.npmjs.org/atomic-batcher/-/atomic-batcher-1.0.2.tgz", 735 | "integrity": "sha1-0WkB0QzOxZUWwZe5zNiTBom4E7Q=" 736 | }, 737 | "automerge": { 738 | "version": "github:automerge/automerge#340ca073b716f28426175e221766352e52d84daf", 739 | "from": "github:automerge/automerge#opaque-strings", 740 | "requires": { 741 | "immutable": "^3.8.2", 742 | "transit-immutable-js": "^0.7.0", 743 | "transit-js": "^0.8.861", 744 | "uuid": "3.3.2" 745 | }, 746 | "dependencies": { 747 | "uuid": { 748 | "version": "3.3.2", 749 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", 750 | "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" 751 | } 752 | } 753 | }, 754 | "balanced-match": { 755 | "version": "1.0.0", 756 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 757 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 758 | }, 759 | "base-x": { 760 | "version": "3.0.8", 761 | "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", 762 | "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", 763 | "requires": { 764 | "safe-buffer": "^5.0.1" 765 | } 766 | }, 767 | "better-sqlite3": { 768 | "version": "5.4.3", 769 | "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-5.4.3.tgz", 770 | "integrity": "sha512-fPp+8f363qQIhuhLyjI4bu657J/FfMtgiiHKfaTsj3RWDkHlWC1yT7c6kHZDnBxzQVoAINuzg553qKmZ4F1rEw==", 771 | "requires": { 772 | "integer": "^2.1.0", 773 | "tar": "^4.4.10" 774 | } 775 | }, 776 | "bignumber.js": { 777 | "version": "9.0.1", 778 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", 779 | "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==" 780 | }, 781 | "bitfield-rle": { 782 | "version": "2.2.1", 783 | "resolved": "https://registry.npmjs.org/bitfield-rle/-/bitfield-rle-2.2.1.tgz", 784 | "integrity": "sha512-wrDhHe7LUkqaytxgbsFXoemzHRv6e8FrVNWWsQCgUfmuVYW6ke44hoGc9VdpjgfIsJ/ejmCFA8wDtDqACNAvyw==", 785 | "requires": { 786 | "buffer-alloc-unsafe": "^1.1.0", 787 | "varint": "^4.0.0" 788 | } 789 | }, 790 | "blake2b": { 791 | "version": "2.1.3", 792 | "resolved": "https://registry.npmjs.org/blake2b/-/blake2b-2.1.3.tgz", 793 | "integrity": "sha512-pkDss4xFVbMb4270aCyGD3qLv92314Et+FsKzilCLxDz5DuZ2/1g3w4nmBbu6nKApPspnjG7JcwTjGZnduB1yg==", 794 | "requires": { 795 | "blake2b-wasm": "^1.1.0", 796 | "nanoassert": "^1.0.0" 797 | } 798 | }, 799 | "blake2b-universal": { 800 | "version": "1.0.1", 801 | "resolved": "https://registry.npmjs.org/blake2b-universal/-/blake2b-universal-1.0.1.tgz", 802 | "integrity": "sha512-vmMqpF8E9RCde8/+Su/s2rZRxOBwAYQsTyCgok4kLWhWrzMrX0CzID6pVheNJSESY0S0FNTOG4QfRJqnSLOjFA==", 803 | "requires": { 804 | "blake2b": "^2.1.3", 805 | "sodium-native": "^3.0.1" 806 | }, 807 | "dependencies": { 808 | "sodium-native": { 809 | "version": "3.2.1", 810 | "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-3.2.1.tgz", 811 | "integrity": "sha512-EgDZ/Z7PxL2kCasKk7wnRkV8W9kvwuIlHuHXAxkQm3FF0MgVsjyLBXGjSRGhjE6u7rhSpk3KaMfFM23bfMysIQ==", 812 | "requires": { 813 | "ini": "^1.3.5", 814 | "node-gyp-build": "^4.2.0" 815 | } 816 | } 817 | } 818 | }, 819 | "blake2b-wasm": { 820 | "version": "1.1.7", 821 | "resolved": "https://registry.npmjs.org/blake2b-wasm/-/blake2b-wasm-1.1.7.tgz", 822 | "integrity": "sha512-oFIHvXhlz/DUgF0kq5B1CqxIDjIJwh9iDeUUGQUcvgiGz7Wdw03McEO7CfLBy7QKGdsydcMCgO9jFNBAFCtFcA==", 823 | "requires": { 824 | "nanoassert": "^1.0.0" 825 | } 826 | }, 827 | "brace-expansion": { 828 | "version": "1.1.11", 829 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 830 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 831 | "requires": { 832 | "balanced-match": "^1.0.0", 833 | "concat-map": "0.0.1" 834 | } 835 | }, 836 | "braces": { 837 | "version": "3.0.2", 838 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 839 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 840 | "dev": true, 841 | "requires": { 842 | "fill-range": "^7.0.1" 843 | } 844 | }, 845 | "browserify-package-json": { 846 | "version": "1.0.1", 847 | "resolved": "https://registry.npmjs.org/browserify-package-json/-/browserify-package-json-1.0.1.tgz", 848 | "integrity": "sha1-mN3oqlxWH9bT/km7qhArdLOW/eo=" 849 | }, 850 | "bs58": { 851 | "version": "4.0.1", 852 | "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", 853 | "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", 854 | "requires": { 855 | "base-x": "^3.0.2" 856 | } 857 | }, 858 | "buffer-alloc": { 859 | "version": "1.2.0", 860 | "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", 861 | "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", 862 | "requires": { 863 | "buffer-alloc-unsafe": "^1.1.0", 864 | "buffer-fill": "^1.0.0" 865 | } 866 | }, 867 | "buffer-alloc-unsafe": { 868 | "version": "1.1.0", 869 | "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", 870 | "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" 871 | }, 872 | "buffer-fill": { 873 | "version": "1.0.0", 874 | "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", 875 | "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" 876 | }, 877 | "buffer-from": { 878 | "version": "1.1.1", 879 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", 880 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" 881 | }, 882 | "bulk-write-stream": { 883 | "version": "1.1.4", 884 | "resolved": "https://registry.npmjs.org/bulk-write-stream/-/bulk-write-stream-1.1.4.tgz", 885 | "integrity": "sha512-GtKwd/4etuk1hNeprXoESBO1RSeRYJMXKf+O0qHmWdUomLT8ysNEfX/4bZFXr3BK6eukpHiEnhY2uMtEHDM2ng==", 886 | "requires": { 887 | "buffer-from": "^1.0.0", 888 | "inherits": "^2.0.1", 889 | "readable-stream": "^2.1.4" 890 | }, 891 | "dependencies": { 892 | "isarray": { 893 | "version": "1.0.0", 894 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 895 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 896 | }, 897 | "readable-stream": { 898 | "version": "2.3.7", 899 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 900 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 901 | "requires": { 902 | "core-util-is": "~1.0.0", 903 | "inherits": "~2.0.3", 904 | "isarray": "~1.0.0", 905 | "process-nextick-args": "~2.0.0", 906 | "safe-buffer": "~5.1.1", 907 | "string_decoder": "~1.1.1", 908 | "util-deprecate": "~1.0.1" 909 | } 910 | }, 911 | "safe-buffer": { 912 | "version": "5.1.2", 913 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 914 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 915 | }, 916 | "string_decoder": { 917 | "version": "1.1.1", 918 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 919 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 920 | "requires": { 921 | "safe-buffer": "~5.1.0" 922 | } 923 | } 924 | } 925 | }, 926 | "caller-callsite": { 927 | "version": "2.0.0", 928 | "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", 929 | "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", 930 | "dev": true, 931 | "requires": { 932 | "callsites": "^2.0.0" 933 | } 934 | }, 935 | "caller-path": { 936 | "version": "2.0.0", 937 | "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", 938 | "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", 939 | "dev": true, 940 | "requires": { 941 | "caller-callsite": "^2.0.0" 942 | } 943 | }, 944 | "callsites": { 945 | "version": "2.0.0", 946 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", 947 | "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", 948 | "dev": true 949 | }, 950 | "cbor": { 951 | "version": "7.0.5", 952 | "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.5.tgz", 953 | "integrity": "sha512-0aaAPgW92lLmypb9iCd22k7tSD1FbF6dps8VQzmIBKY6ych2gO09b2vo/SbaLTmezJuB8Kh88Rvpl/Uq52mNZg==", 954 | "requires": { 955 | "@cto.af/textdecoder": "^0.0.0", 956 | "nofilter": "^2.0.3" 957 | } 958 | }, 959 | "chalk": { 960 | "version": "2.4.2", 961 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 962 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 963 | "dev": true, 964 | "requires": { 965 | "ansi-styles": "^3.2.1", 966 | "escape-string-regexp": "^1.0.5", 967 | "supports-color": "^5.3.0" 968 | } 969 | }, 970 | "chownr": { 971 | "version": "1.1.4", 972 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", 973 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" 974 | }, 975 | "ci-info": { 976 | "version": "2.0.0", 977 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", 978 | "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", 979 | "dev": true 980 | }, 981 | "clean-stack": { 982 | "version": "2.2.0", 983 | "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", 984 | "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", 985 | "dev": true 986 | }, 987 | "cli-cursor": { 988 | "version": "2.1.0", 989 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", 990 | "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", 991 | "dev": true, 992 | "requires": { 993 | "restore-cursor": "^2.0.0" 994 | } 995 | }, 996 | "cli-truncate": { 997 | "version": "0.2.1", 998 | "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", 999 | "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", 1000 | "dev": true, 1001 | "requires": { 1002 | "slice-ansi": "0.0.4", 1003 | "string-width": "^1.0.1" 1004 | }, 1005 | "dependencies": { 1006 | "ansi-regex": { 1007 | "version": "2.1.1", 1008 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 1009 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 1010 | "dev": true 1011 | }, 1012 | "is-fullwidth-code-point": { 1013 | "version": "1.0.0", 1014 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 1015 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 1016 | "dev": true, 1017 | "requires": { 1018 | "number-is-nan": "^1.0.0" 1019 | } 1020 | }, 1021 | "string-width": { 1022 | "version": "1.0.2", 1023 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 1024 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 1025 | "dev": true, 1026 | "requires": { 1027 | "code-point-at": "^1.0.0", 1028 | "is-fullwidth-code-point": "^1.0.0", 1029 | "strip-ansi": "^3.0.0" 1030 | } 1031 | }, 1032 | "strip-ansi": { 1033 | "version": "3.0.1", 1034 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 1035 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 1036 | "dev": true, 1037 | "requires": { 1038 | "ansi-regex": "^2.0.0" 1039 | } 1040 | } 1041 | } 1042 | }, 1043 | "cliui": { 1044 | "version": "7.0.4", 1045 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 1046 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 1047 | "requires": { 1048 | "string-width": "^4.2.0", 1049 | "strip-ansi": "^6.0.0", 1050 | "wrap-ansi": "^7.0.0" 1051 | } 1052 | }, 1053 | "clone": { 1054 | "version": "2.1.2", 1055 | "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", 1056 | "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" 1057 | }, 1058 | "code-point-at": { 1059 | "version": "1.1.0", 1060 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 1061 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", 1062 | "dev": true 1063 | }, 1064 | "codecs": { 1065 | "version": "2.0.0", 1066 | "resolved": "https://registry.npmjs.org/codecs/-/codecs-2.0.0.tgz", 1067 | "integrity": "sha512-WXvpJRAgc693oqYvZte9uYEiL5YHtfrxyEq12uVny9oBJ1k37zSva5vVz7trsnt6R9Y15hEgOSC7VFZT2pfYnA==" 1068 | }, 1069 | "color-convert": { 1070 | "version": "1.9.3", 1071 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1072 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1073 | "dev": true, 1074 | "requires": { 1075 | "color-name": "1.1.3" 1076 | } 1077 | }, 1078 | "color-name": { 1079 | "version": "1.1.3", 1080 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1081 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 1082 | "dev": true 1083 | }, 1084 | "commander": { 1085 | "version": "2.20.3", 1086 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", 1087 | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", 1088 | "dev": true 1089 | }, 1090 | "concat-map": { 1091 | "version": "0.0.1", 1092 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1093 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 1094 | }, 1095 | "copyfiles": { 1096 | "version": "2.4.1", 1097 | "resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.4.1.tgz", 1098 | "integrity": "sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==", 1099 | "requires": { 1100 | "glob": "^7.0.5", 1101 | "minimatch": "^3.0.3", 1102 | "mkdirp": "^1.0.4", 1103 | "noms": "0.0.0", 1104 | "through2": "^2.0.1", 1105 | "untildify": "^4.0.0", 1106 | "yargs": "^16.1.0" 1107 | }, 1108 | "dependencies": { 1109 | "mkdirp": { 1110 | "version": "1.0.4", 1111 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", 1112 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" 1113 | } 1114 | } 1115 | }, 1116 | "core-util-is": { 1117 | "version": "1.0.2", 1118 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 1119 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 1120 | }, 1121 | "cosmiconfig": { 1122 | "version": "5.2.1", 1123 | "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", 1124 | "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", 1125 | "dev": true, 1126 | "requires": { 1127 | "import-fresh": "^2.0.0", 1128 | "is-directory": "^0.3.1", 1129 | "js-yaml": "^3.13.1", 1130 | "parse-json": "^4.0.0" 1131 | } 1132 | }, 1133 | "count-trailing-zeros": { 1134 | "version": "1.0.1", 1135 | "resolved": "https://registry.npmjs.org/count-trailing-zeros/-/count-trailing-zeros-1.0.1.tgz", 1136 | "integrity": "sha1-q6bFgzvkENRbHso+bVg4RM5oLHc=" 1137 | }, 1138 | "cross-spawn": { 1139 | "version": "6.0.5", 1140 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", 1141 | "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", 1142 | "dev": true, 1143 | "requires": { 1144 | "nice-try": "^1.0.4", 1145 | "path-key": "^2.0.1", 1146 | "semver": "^5.5.0", 1147 | "shebang-command": "^1.2.0", 1148 | "which": "^1.2.9" 1149 | } 1150 | }, 1151 | "date-fns": { 1152 | "version": "1.30.1", 1153 | "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz", 1154 | "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==", 1155 | "dev": true 1156 | }, 1157 | "debug": { 1158 | "version": "4.1.1", 1159 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", 1160 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", 1161 | "requires": { 1162 | "ms": "^2.1.1" 1163 | } 1164 | }, 1165 | "dedent": { 1166 | "version": "0.7.0", 1167 | "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", 1168 | "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", 1169 | "dev": true 1170 | }, 1171 | "deep-equal": { 1172 | "version": "1.1.1", 1173 | "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", 1174 | "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", 1175 | "dev": true, 1176 | "requires": { 1177 | "is-arguments": "^1.0.4", 1178 | "is-date-object": "^1.0.1", 1179 | "is-regex": "^1.0.4", 1180 | "object-is": "^1.0.1", 1181 | "object-keys": "^1.1.1", 1182 | "regexp.prototype.flags": "^1.2.0" 1183 | } 1184 | }, 1185 | "define-properties": { 1186 | "version": "1.1.3", 1187 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 1188 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 1189 | "dev": true, 1190 | "requires": { 1191 | "object-keys": "^1.0.12" 1192 | } 1193 | }, 1194 | "defined": { 1195 | "version": "1.0.0", 1196 | "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", 1197 | "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", 1198 | "dev": true 1199 | }, 1200 | "del": { 1201 | "version": "5.1.0", 1202 | "resolved": "https://registry.npmjs.org/del/-/del-5.1.0.tgz", 1203 | "integrity": "sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==", 1204 | "dev": true, 1205 | "requires": { 1206 | "globby": "^10.0.1", 1207 | "graceful-fs": "^4.2.2", 1208 | "is-glob": "^4.0.1", 1209 | "is-path-cwd": "^2.2.0", 1210 | "is-path-inside": "^3.0.1", 1211 | "p-map": "^3.0.0", 1212 | "rimraf": "^3.0.0", 1213 | "slash": "^3.0.0" 1214 | } 1215 | }, 1216 | "dht-rpc": { 1217 | "version": "4.9.6", 1218 | "resolved": "https://registry.npmjs.org/dht-rpc/-/dht-rpc-4.9.6.tgz", 1219 | "integrity": "sha512-gzZPsesqOh0Lj0GxjbNhPe42tppSt9qpcMXifcwtr2i3WnhgyhjlXTFrq/po9kl4X98M7+RxwmzpXzPt7hcXwA==", 1220 | "requires": { 1221 | "blake2b-universal": "^1.0.0", 1222 | "codecs": "^2.0.0", 1223 | "ipv4-peers": "^2.0.0", 1224 | "k-bucket": "^5.0.0", 1225 | "protocol-buffers-encodings": "^1.1.0", 1226 | "sodium-native": "^3.1.1", 1227 | "speedometer": "^1.1.0", 1228 | "stream-collector": "^1.0.1", 1229 | "time-ordered-set": "^1.0.1", 1230 | "xor-distance": "^2.0.0" 1231 | }, 1232 | "dependencies": { 1233 | "sodium-native": { 1234 | "version": "3.2.1", 1235 | "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-3.2.1.tgz", 1236 | "integrity": "sha512-EgDZ/Z7PxL2kCasKk7wnRkV8W9kvwuIlHuHXAxkQm3FF0MgVsjyLBXGjSRGhjE6u7rhSpk3KaMfFM23bfMysIQ==", 1237 | "requires": { 1238 | "ini": "^1.3.5", 1239 | "node-gyp-build": "^4.2.0" 1240 | } 1241 | } 1242 | } 1243 | }, 1244 | "dir-glob": { 1245 | "version": "3.0.1", 1246 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 1247 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 1248 | "dev": true, 1249 | "requires": { 1250 | "path-type": "^4.0.0" 1251 | } 1252 | }, 1253 | "dns-packet": { 1254 | "version": "5.3.0", 1255 | "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.0.tgz", 1256 | "integrity": "sha512-Nce7YLu6YCgWRvOmDBsJMo9M5/jV3lEZ5vUWnWXYmwURvPylHvq7nkDWhNmk1ZQoZZOP7oQh/S0lSxbisKOfHg==", 1257 | "requires": { 1258 | "@leichtgewicht/ip-codec": "^2.0.1" 1259 | } 1260 | }, 1261 | "dotignore": { 1262 | "version": "0.1.2", 1263 | "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz", 1264 | "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", 1265 | "dev": true, 1266 | "requires": { 1267 | "minimatch": "^3.0.4" 1268 | } 1269 | }, 1270 | "elegant-spinner": { 1271 | "version": "1.0.1", 1272 | "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", 1273 | "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", 1274 | "dev": true 1275 | }, 1276 | "emoji-regex": { 1277 | "version": "8.0.0", 1278 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1279 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 1280 | }, 1281 | "encodr": { 1282 | "version": "1.3.0", 1283 | "resolved": "https://registry.npmjs.org/encodr/-/encodr-1.3.0.tgz", 1284 | "integrity": "sha512-yPTpvcJdVDqBA6hde6K/S1Q8zO3npKDwKl7oHLJbKLs0WVoc5w8wHApzw2qu8yPG8idEGYh0cXtk0D53O7gV8w==", 1285 | "requires": { 1286 | "bignumber.js": "9.0.1", 1287 | "cbor": "7.0.5", 1288 | "msgpack-lite": "0.1.26", 1289 | "node-inspect-extracted": "1.0.7", 1290 | "utf8": "3.0.0" 1291 | } 1292 | }, 1293 | "end-of-stream": { 1294 | "version": "1.4.4", 1295 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 1296 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 1297 | "requires": { 1298 | "once": "^1.4.0" 1299 | } 1300 | }, 1301 | "error-ex": { 1302 | "version": "1.3.2", 1303 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 1304 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 1305 | "dev": true, 1306 | "requires": { 1307 | "is-arrayish": "^0.2.1" 1308 | } 1309 | }, 1310 | "es-abstract": { 1311 | "version": "1.17.5", 1312 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", 1313 | "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", 1314 | "dev": true, 1315 | "requires": { 1316 | "es-to-primitive": "^1.2.1", 1317 | "function-bind": "^1.1.1", 1318 | "has": "^1.0.3", 1319 | "has-symbols": "^1.0.1", 1320 | "is-callable": "^1.1.5", 1321 | "is-regex": "^1.0.5", 1322 | "object-inspect": "^1.7.0", 1323 | "object-keys": "^1.1.1", 1324 | "object.assign": "^4.1.0", 1325 | "string.prototype.trimleft": "^2.1.1", 1326 | "string.prototype.trimright": "^2.1.1" 1327 | } 1328 | }, 1329 | "es-to-primitive": { 1330 | "version": "1.2.1", 1331 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 1332 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 1333 | "dev": true, 1334 | "requires": { 1335 | "is-callable": "^1.1.4", 1336 | "is-date-object": "^1.0.1", 1337 | "is-symbol": "^1.0.2" 1338 | } 1339 | }, 1340 | "escalade": { 1341 | "version": "3.1.1", 1342 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 1343 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" 1344 | }, 1345 | "escape-string-regexp": { 1346 | "version": "1.0.5", 1347 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 1348 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 1349 | "dev": true 1350 | }, 1351 | "esprima": { 1352 | "version": "4.0.1", 1353 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 1354 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 1355 | "dev": true 1356 | }, 1357 | "etag": { 1358 | "version": "1.8.1", 1359 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 1360 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 1361 | }, 1362 | "event-lite": { 1363 | "version": "0.1.2", 1364 | "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.2.tgz", 1365 | "integrity": "sha512-HnSYx1BsJ87/p6swwzv+2v6B4X+uxUteoDfRxsAb1S1BePzQqOLevVmkdA15GHJVd9A9Ok6wygUR18Hu0YeV9g==" 1366 | }, 1367 | "eventemitter3": { 1368 | "version": "4.0.7", 1369 | "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", 1370 | "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" 1371 | }, 1372 | "execa": { 1373 | "version": "1.0.0", 1374 | "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", 1375 | "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", 1376 | "dev": true, 1377 | "requires": { 1378 | "cross-spawn": "^6.0.0", 1379 | "get-stream": "^4.0.0", 1380 | "is-stream": "^1.1.0", 1381 | "npm-run-path": "^2.0.0", 1382 | "p-finally": "^1.0.0", 1383 | "signal-exit": "^3.0.0", 1384 | "strip-eof": "^1.0.0" 1385 | } 1386 | }, 1387 | "fast-bitfield": { 1388 | "version": "1.2.2", 1389 | "resolved": "https://registry.npmjs.org/fast-bitfield/-/fast-bitfield-1.2.2.tgz", 1390 | "integrity": "sha512-t8HYqkuE3YEqNcyWlAfh55479aTxO+GpYwvQvJppYqyBfSmRdNIhzY2m09FKN/MENTzq4wH6heHOIvsPyMAwvQ==", 1391 | "requires": { 1392 | "count-trailing-zeros": "^1.0.1" 1393 | } 1394 | }, 1395 | "fast-fifo": { 1396 | "version": "1.0.0", 1397 | "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.0.0.tgz", 1398 | "integrity": "sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==" 1399 | }, 1400 | "fast-glob": { 1401 | "version": "3.2.2", 1402 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.2.tgz", 1403 | "integrity": "sha512-UDV82o4uQyljznxwMxyVRJgZZt3O5wENYojjzbaGEGZgeOxkLFf+V4cnUD+krzb2F72E18RhamkMZ7AdeggF7A==", 1404 | "dev": true, 1405 | "requires": { 1406 | "@nodelib/fs.stat": "^2.0.2", 1407 | "@nodelib/fs.walk": "^1.2.3", 1408 | "glob-parent": "^5.1.0", 1409 | "merge2": "^1.3.0", 1410 | "micromatch": "^4.0.2", 1411 | "picomatch": "^2.2.1" 1412 | } 1413 | }, 1414 | "fastq": { 1415 | "version": "1.6.1", 1416 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.6.1.tgz", 1417 | "integrity": "sha512-mpIH5sKYueh3YyeJwqtVo8sORi0CgtmkVbK6kZStpQlZBYQuTzG2CZ7idSiJuA7bY0SFCWUc5WIs+oYumGCQNw==", 1418 | "dev": true, 1419 | "requires": { 1420 | "reusify": "^1.0.4" 1421 | } 1422 | }, 1423 | "fd-lock": { 1424 | "version": "1.2.0", 1425 | "resolved": "https://registry.npmjs.org/fd-lock/-/fd-lock-1.2.0.tgz", 1426 | "integrity": "sha512-Lk/pKH2DldLpG4Yh/sOOY84k5VqNzxHPffGwf1+yYI+/qMXzTPp9KJMX+Wh6n4xqGSA1Mu7JPmaDArfJGw2O/A==", 1427 | "optional": true, 1428 | "requires": { 1429 | "napi-macros": "^2.0.0", 1430 | "node-gyp-build": "^4.2.2" 1431 | } 1432 | }, 1433 | "figures": { 1434 | "version": "1.7.0", 1435 | "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", 1436 | "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", 1437 | "dev": true, 1438 | "requires": { 1439 | "escape-string-regexp": "^1.0.5", 1440 | "object-assign": "^4.1.0" 1441 | } 1442 | }, 1443 | "fill-range": { 1444 | "version": "7.0.1", 1445 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1446 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1447 | "dev": true, 1448 | "requires": { 1449 | "to-regex-range": "^5.0.1" 1450 | } 1451 | }, 1452 | "find-up": { 1453 | "version": "4.1.0", 1454 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", 1455 | "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", 1456 | "dev": true, 1457 | "requires": { 1458 | "locate-path": "^5.0.0", 1459 | "path-exists": "^4.0.0" 1460 | } 1461 | }, 1462 | "flat-tree": { 1463 | "version": "1.8.0", 1464 | "resolved": "https://registry.npmjs.org/flat-tree/-/flat-tree-1.8.0.tgz", 1465 | "integrity": "sha512-VIdjqvARJGq1V+EhT18prwhrR4McbY2M6iH1vyKTgewfQtpyd1jhLXcnQJFZZDKBhpJM8zCB2kLQEiy51bhcOw==" 1466 | }, 1467 | "for-each": { 1468 | "version": "0.3.3", 1469 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", 1470 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", 1471 | "dev": true, 1472 | "requires": { 1473 | "is-callable": "^1.1.3" 1474 | } 1475 | }, 1476 | "from2": { 1477 | "version": "2.3.0", 1478 | "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", 1479 | "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", 1480 | "requires": { 1481 | "inherits": "^2.0.1", 1482 | "readable-stream": "^2.0.0" 1483 | }, 1484 | "dependencies": { 1485 | "isarray": { 1486 | "version": "1.0.0", 1487 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1488 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 1489 | }, 1490 | "readable-stream": { 1491 | "version": "2.3.7", 1492 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1493 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1494 | "requires": { 1495 | "core-util-is": "~1.0.0", 1496 | "inherits": "~2.0.3", 1497 | "isarray": "~1.0.0", 1498 | "process-nextick-args": "~2.0.0", 1499 | "safe-buffer": "~5.1.1", 1500 | "string_decoder": "~1.1.1", 1501 | "util-deprecate": "~1.0.1" 1502 | } 1503 | }, 1504 | "safe-buffer": { 1505 | "version": "5.1.2", 1506 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1507 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1508 | }, 1509 | "string_decoder": { 1510 | "version": "1.1.1", 1511 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1512 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1513 | "requires": { 1514 | "safe-buffer": "~5.1.0" 1515 | } 1516 | } 1517 | } 1518 | }, 1519 | "fs-minipass": { 1520 | "version": "1.2.7", 1521 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", 1522 | "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", 1523 | "requires": { 1524 | "minipass": "^2.6.0" 1525 | } 1526 | }, 1527 | "fs.realpath": { 1528 | "version": "1.0.0", 1529 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1530 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 1531 | }, 1532 | "function-bind": { 1533 | "version": "1.1.1", 1534 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1535 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1536 | "dev": true 1537 | }, 1538 | "get-caller-file": { 1539 | "version": "2.0.5", 1540 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1541 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" 1542 | }, 1543 | "get-own-enumerable-property-symbols": { 1544 | "version": "3.0.2", 1545 | "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", 1546 | "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", 1547 | "dev": true 1548 | }, 1549 | "get-stdin": { 1550 | "version": "7.0.0", 1551 | "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", 1552 | "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", 1553 | "dev": true 1554 | }, 1555 | "get-stream": { 1556 | "version": "4.1.0", 1557 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", 1558 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", 1559 | "dev": true, 1560 | "requires": { 1561 | "pump": "^3.0.0" 1562 | } 1563 | }, 1564 | "glob": { 1565 | "version": "7.1.6", 1566 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 1567 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 1568 | "requires": { 1569 | "fs.realpath": "^1.0.0", 1570 | "inflight": "^1.0.4", 1571 | "inherits": "2", 1572 | "minimatch": "^3.0.4", 1573 | "once": "^1.3.0", 1574 | "path-is-absolute": "^1.0.0" 1575 | } 1576 | }, 1577 | "glob-parent": { 1578 | "version": "5.1.2", 1579 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1580 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1581 | "dev": true, 1582 | "requires": { 1583 | "is-glob": "^4.0.1" 1584 | } 1585 | }, 1586 | "globby": { 1587 | "version": "10.0.2", 1588 | "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz", 1589 | "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==", 1590 | "dev": true, 1591 | "requires": { 1592 | "@types/glob": "^7.1.1", 1593 | "array-union": "^2.1.0", 1594 | "dir-glob": "^3.0.1", 1595 | "fast-glob": "^3.0.3", 1596 | "glob": "^7.1.3", 1597 | "ignore": "^5.1.1", 1598 | "merge2": "^1.2.3", 1599 | "slash": "^3.0.0" 1600 | } 1601 | }, 1602 | "graceful-fs": { 1603 | "version": "4.2.3", 1604 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", 1605 | "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", 1606 | "dev": true 1607 | }, 1608 | "guard-timeout": { 1609 | "version": "2.0.0", 1610 | "resolved": "https://registry.npmjs.org/guard-timeout/-/guard-timeout-2.0.0.tgz", 1611 | "integrity": "sha512-35geHv72oal0cRUE5t1tZ5KHm3OVPXzFtiMG8AnRPV5FkkEf84RUpeQ0BCeCZunfSLGATW5ZVyALhJKgM7I/6A==" 1612 | }, 1613 | "hapi-plugin-websocket": { 1614 | "version": "2.3.5", 1615 | "resolved": "https://registry.npmjs.org/hapi-plugin-websocket/-/hapi-plugin-websocket-2.3.5.tgz", 1616 | "integrity": "sha512-VwEzuy4zNV9g9KWI3H67gjB36Ia/Of3U7BDe05gRLA+1eljOp6nw7kf6QesQOFZT5573CvxNxS7BFQvsjTvLAA==", 1617 | "requires": { 1618 | "@hapi/boom": "9.1.3", 1619 | "@hapi/hoek": "9.2.0", 1620 | "urijs": "1.19.7", 1621 | "websocket-framed": "1.2.6", 1622 | "ws": "8.0.0" 1623 | }, 1624 | "dependencies": { 1625 | "@hapi/boom": { 1626 | "version": "9.1.3", 1627 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.3.tgz", 1628 | "integrity": "sha512-RlrGyZ603hE/eRTZtTltocRm50HHmrmL3kGOP0SQ9MasazlW1mt/fkv4C5P/6rnpFXjwld/POFX1C8tMZE3ldg==", 1629 | "requires": { 1630 | "@hapi/hoek": "9.x.x" 1631 | } 1632 | }, 1633 | "@hapi/hoek": { 1634 | "version": "9.2.0", 1635 | "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.0.tgz", 1636 | "integrity": "sha512-sqKVVVOe5ivCaXDWivIJYVSaEgdQK9ul7a4Kity5Iw7u9+wBAPbX1RMSnLLmp7O4Vzj0WOWwMAJsTL00xwaNug==" 1637 | } 1638 | } 1639 | }, 1640 | "has": { 1641 | "version": "1.0.3", 1642 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1643 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1644 | "dev": true, 1645 | "requires": { 1646 | "function-bind": "^1.1.1" 1647 | } 1648 | }, 1649 | "has-ansi": { 1650 | "version": "2.0.0", 1651 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 1652 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 1653 | "dev": true, 1654 | "requires": { 1655 | "ansi-regex": "^2.0.0" 1656 | }, 1657 | "dependencies": { 1658 | "ansi-regex": { 1659 | "version": "2.1.1", 1660 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 1661 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 1662 | "dev": true 1663 | } 1664 | } 1665 | }, 1666 | "has-flag": { 1667 | "version": "3.0.0", 1668 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1669 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 1670 | "dev": true 1671 | }, 1672 | "has-symbols": { 1673 | "version": "1.0.1", 1674 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", 1675 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", 1676 | "dev": true 1677 | }, 1678 | "hashlru": { 1679 | "version": "2.3.0", 1680 | "resolved": "https://registry.npmjs.org/hashlru/-/hashlru-2.3.0.tgz", 1681 | "integrity": "sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==" 1682 | }, 1683 | "hmac-blake2b": { 1684 | "version": "0.2.0", 1685 | "resolved": "https://registry.npmjs.org/hmac-blake2b/-/hmac-blake2b-0.2.0.tgz", 1686 | "integrity": "sha512-cJpnWOYMtaLr+3O32OII7DSTmQh+BKoeLXw49UAIc2QU68UwD2iBjItwxRVHmu1GBTuHeqME+rq7GpW2rBncCQ==", 1687 | "requires": { 1688 | "nanoassert": "^1.1.0", 1689 | "sodium-universal": "^2.0.0" 1690 | } 1691 | }, 1692 | "hosted-git-info": { 1693 | "version": "2.8.9", 1694 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", 1695 | "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", 1696 | "dev": true 1697 | }, 1698 | "husky": { 1699 | "version": "3.1.0", 1700 | "resolved": "https://registry.npmjs.org/husky/-/husky-3.1.0.tgz", 1701 | "integrity": "sha512-FJkPoHHB+6s4a+jwPqBudBDvYZsoQW5/HBuMSehC8qDiCe50kpcxeqFoDSlow+9I6wg47YxBoT3WxaURlrDIIQ==", 1702 | "dev": true, 1703 | "requires": { 1704 | "chalk": "^2.4.2", 1705 | "ci-info": "^2.0.0", 1706 | "cosmiconfig": "^5.2.1", 1707 | "execa": "^1.0.0", 1708 | "get-stdin": "^7.0.0", 1709 | "opencollective-postinstall": "^2.0.2", 1710 | "pkg-dir": "^4.2.0", 1711 | "please-upgrade-node": "^3.2.0", 1712 | "read-pkg": "^5.2.0", 1713 | "run-node": "^1.0.0", 1714 | "slash": "^3.0.0" 1715 | } 1716 | }, 1717 | "hypercore": { 1718 | "version": "8.14.0", 1719 | "resolved": "https://registry.npmjs.org/hypercore/-/hypercore-8.14.0.tgz", 1720 | "integrity": "sha512-UIW0qSjBzQL4Z9tN97kBxM85JJsQL9osA6FWD9BYB/UKPD+umGgrocaN3kM9l3g2yKe/ziFU0DP5ys+qgqYIdQ==", 1721 | "requires": { 1722 | "abstract-extension": "^3.0.1", 1723 | "atomic-batcher": "^1.0.2", 1724 | "bitfield-rle": "^2.2.1", 1725 | "bulk-write-stream": "^1.1.3", 1726 | "codecs": "^2.0.0", 1727 | "fast-bitfield": "^1.2.2", 1728 | "fd-lock": "^1.0.2", 1729 | "flat-tree": "^1.6.0", 1730 | "from2": "^2.3.0", 1731 | "hypercore-cache": "^1.0.1", 1732 | "hypercore-crypto": "^1.0.0", 1733 | "hypercore-protocol": "^7.9.0", 1734 | "inherits": "^2.0.3", 1735 | "inspect-custom-symbol": "^1.1.0", 1736 | "last-one-wins": "^1.0.4", 1737 | "memory-pager": "^1.0.2", 1738 | "merkle-tree-stream": "^3.0.3", 1739 | "nanoguard": "^1.2.0", 1740 | "nanoresource": "^1.3.0", 1741 | "pretty-hash": "^1.0.1", 1742 | "random-access-file": "^2.1.0", 1743 | "sodium-universal": "^2.0.0", 1744 | "sparse-bitfield": "^3.0.0", 1745 | "timeout-refresh": "^1.0.1", 1746 | "uint64be": "^2.0.1", 1747 | "unordered-array-remove": "^1.0.2", 1748 | "unordered-set": "^2.0.0" 1749 | } 1750 | }, 1751 | "hypercore-cache": { 1752 | "version": "1.0.2", 1753 | "resolved": "https://registry.npmjs.org/hypercore-cache/-/hypercore-cache-1.0.2.tgz", 1754 | "integrity": "sha512-AJ/q7y6EOrXnOH/4+DVcfDygsh1ZXMRGvNc67GBNqwCt22oSCOWhRI6EJ+3HEJciM9M2oSm1WX3qg6kgRhT/Gw==" 1755 | }, 1756 | "hypercore-crypto": { 1757 | "version": "1.0.0", 1758 | "resolved": "https://registry.npmjs.org/hypercore-crypto/-/hypercore-crypto-1.0.0.tgz", 1759 | "integrity": "sha512-xFwOnNlOt8L+SovC7dTNchKaNYJb5l8rKZZwpWQnCme1r7CU4Hlhp1RDqPES6b0OpS7DkTo9iU0GltQGkpsjMw==", 1760 | "requires": { 1761 | "buffer-alloc-unsafe": "^1.1.0", 1762 | "buffer-from": "^1.1.0", 1763 | "sodium-universal": "^2.0.0", 1764 | "uint64be": "^2.0.2" 1765 | } 1766 | }, 1767 | "hypercore-protocol": { 1768 | "version": "7.10.0", 1769 | "resolved": "https://registry.npmjs.org/hypercore-protocol/-/hypercore-protocol-7.10.0.tgz", 1770 | "integrity": "sha512-9p+Mm8yTp8pW3EURSSQYSqEcDOWW1Fyg/Pqfxr1WYnWAvotuqPq2lIBSIuUOb6AIvHISuCKRqLxSLfJkvIWZ7g==", 1771 | "requires": { 1772 | "abstract-extension": "^3.0.1", 1773 | "debug": "^4.1.1", 1774 | "hypercore-crypto": "^1.0.0", 1775 | "inspect-custom-symbol": "^1.1.0", 1776 | "nanoguard": "^1.2.1", 1777 | "pretty-hash": "^1.0.1", 1778 | "simple-hypercore-protocol": "^1.4.0", 1779 | "streamx": "^2.1.0", 1780 | "timeout-refresh": "^1.0.0" 1781 | } 1782 | }, 1783 | "hypermerge": { 1784 | "version": "github:automerge/hypermerge#63182fa3e19bcd2cb6a636cd5f62b787323d68be", 1785 | "from": "github:automerge/hypermerge#63182f", 1786 | "requires": { 1787 | "automerge": "github:automerge/automerge#opaque-strings", 1788 | "better-sqlite3": "^5.4.3", 1789 | "bs58": "^4.0.1", 1790 | "copyfiles": "^2.1.1", 1791 | "debug": "^4.1.1", 1792 | "hypercore": "^8.2.5", 1793 | "hypercore-crypto": "^1.0.0", 1794 | "hypercore-protocol": "^7.6.0", 1795 | "js-sha1": "^0.6.0", 1796 | "mime-types": "^2.1.24", 1797 | "noise-peer": "^1.1.0", 1798 | "proper-lockfile": "^4.1.1", 1799 | "pump": "^3.0.0", 1800 | "random-access-file": "^2.1.3", 1801 | "random-access-memory": "^3.0.0", 1802 | "simple-message-channels": "^1.2.1", 1803 | "sodium-native": "^2.4.6", 1804 | "streamx": "^2.5.0", 1805 | "uuid": "^3.3.3" 1806 | } 1807 | }, 1808 | "hyperswarm": { 1809 | "version": "2.15.3", 1810 | "resolved": "https://registry.npmjs.org/hyperswarm/-/hyperswarm-2.15.3.tgz", 1811 | "integrity": "sha512-bESly7s6X7cLMWCn4dsAVE/ttNbbB13o6jku2B7fV2wIV/g7NVC/yF7S3NiknGlftKn/uLU3fhMmbOfdBvQ5IA==", 1812 | "requires": { 1813 | "@hyperswarm/network": "^2.0.0", 1814 | "shuffled-priority-queue": "^2.1.0", 1815 | "utp-native": "^2.1.7" 1816 | } 1817 | }, 1818 | "ieee754": { 1819 | "version": "1.2.1", 1820 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1821 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" 1822 | }, 1823 | "ignore": { 1824 | "version": "5.1.4", 1825 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz", 1826 | "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==", 1827 | "dev": true 1828 | }, 1829 | "immutable": { 1830 | "version": "3.8.2", 1831 | "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.8.2.tgz", 1832 | "integrity": "sha1-wkOZUUVbs5kT2vKBN28VMOEErfM=" 1833 | }, 1834 | "import-fresh": { 1835 | "version": "2.0.0", 1836 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", 1837 | "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", 1838 | "dev": true, 1839 | "requires": { 1840 | "caller-path": "^2.0.0", 1841 | "resolve-from": "^3.0.0" 1842 | } 1843 | }, 1844 | "indent-string": { 1845 | "version": "4.0.0", 1846 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", 1847 | "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", 1848 | "dev": true 1849 | }, 1850 | "inflight": { 1851 | "version": "1.0.6", 1852 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1853 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1854 | "requires": { 1855 | "once": "^1.3.0", 1856 | "wrappy": "1" 1857 | } 1858 | }, 1859 | "inherits": { 1860 | "version": "2.0.4", 1861 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1862 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1863 | }, 1864 | "ini": { 1865 | "version": "1.3.8", 1866 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 1867 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" 1868 | }, 1869 | "inspect-custom-symbol": { 1870 | "version": "1.1.1", 1871 | "resolved": "https://registry.npmjs.org/inspect-custom-symbol/-/inspect-custom-symbol-1.1.1.tgz", 1872 | "integrity": "sha512-GOucsp9EcdlLdhPUyOTvQDnbFJtp2WBWZV1Jqe+mVnkJQBL3w96+fB84C+JL+EKXOspMdB0eMDQPDp5w9fkfZA==" 1873 | }, 1874 | "int64-buffer": { 1875 | "version": "0.1.10", 1876 | "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", 1877 | "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" 1878 | }, 1879 | "integer": { 1880 | "version": "2.1.0", 1881 | "resolved": "https://registry.npmjs.org/integer/-/integer-2.1.0.tgz", 1882 | "integrity": "sha512-vBtiSgrEiNocWvvZX1RVfeOKa2mCHLZQ2p9nkQkQZ/BvEiY+6CcUz0eyjvIiewjJoeNidzg2I+tpPJvpyspL1w==" 1883 | }, 1884 | "ipv4-peers": { 1885 | "version": "2.0.0", 1886 | "resolved": "https://registry.npmjs.org/ipv4-peers/-/ipv4-peers-2.0.0.tgz", 1887 | "integrity": "sha512-6ZMWB3JnCWT0gISUkzChcUEkJS6+LpGRU3h10f9Mfc0usVmyIcbcTN9+QPMg29gLOY8WtaKFbM5ME8qNySoh8g==" 1888 | }, 1889 | "is-arguments": { 1890 | "version": "1.0.4", 1891 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", 1892 | "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==", 1893 | "dev": true 1894 | }, 1895 | "is-arrayish": { 1896 | "version": "0.2.1", 1897 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 1898 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", 1899 | "dev": true 1900 | }, 1901 | "is-callable": { 1902 | "version": "1.1.5", 1903 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", 1904 | "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", 1905 | "dev": true 1906 | }, 1907 | "is-date-object": { 1908 | "version": "1.0.2", 1909 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", 1910 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", 1911 | "dev": true 1912 | }, 1913 | "is-directory": { 1914 | "version": "0.3.1", 1915 | "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", 1916 | "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", 1917 | "dev": true 1918 | }, 1919 | "is-extglob": { 1920 | "version": "2.1.1", 1921 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1922 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 1923 | "dev": true 1924 | }, 1925 | "is-fullwidth-code-point": { 1926 | "version": "2.0.0", 1927 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 1928 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 1929 | "dev": true 1930 | }, 1931 | "is-glob": { 1932 | "version": "4.0.1", 1933 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 1934 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 1935 | "dev": true, 1936 | "requires": { 1937 | "is-extglob": "^2.1.1" 1938 | } 1939 | }, 1940 | "is-number": { 1941 | "version": "7.0.0", 1942 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1943 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1944 | "dev": true 1945 | }, 1946 | "is-obj": { 1947 | "version": "1.0.1", 1948 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", 1949 | "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", 1950 | "dev": true 1951 | }, 1952 | "is-observable": { 1953 | "version": "1.1.0", 1954 | "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz", 1955 | "integrity": "sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==", 1956 | "dev": true, 1957 | "requires": { 1958 | "symbol-observable": "^1.1.0" 1959 | } 1960 | }, 1961 | "is-options": { 1962 | "version": "1.0.1", 1963 | "resolved": "https://registry.npmjs.org/is-options/-/is-options-1.0.1.tgz", 1964 | "integrity": "sha512-2Xj8sA0zDrAcaoWfBiNmc6VPWAgKDpim0T3J9Djq7vbm1UjwbUWzeuLu/FwC46g3cBbAn0E5R0xwVtOobM6Xxg==" 1965 | }, 1966 | "is-path-cwd": { 1967 | "version": "2.2.0", 1968 | "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", 1969 | "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", 1970 | "dev": true 1971 | }, 1972 | "is-path-inside": { 1973 | "version": "3.0.2", 1974 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", 1975 | "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==", 1976 | "dev": true 1977 | }, 1978 | "is-promise": { 1979 | "version": "2.1.0", 1980 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 1981 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", 1982 | "dev": true 1983 | }, 1984 | "is-regex": { 1985 | "version": "1.0.5", 1986 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", 1987 | "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", 1988 | "dev": true, 1989 | "requires": { 1990 | "has": "^1.0.3" 1991 | } 1992 | }, 1993 | "is-regexp": { 1994 | "version": "1.0.0", 1995 | "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", 1996 | "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", 1997 | "dev": true 1998 | }, 1999 | "is-stream": { 2000 | "version": "1.1.0", 2001 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 2002 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", 2003 | "dev": true 2004 | }, 2005 | "is-symbol": { 2006 | "version": "1.0.3", 2007 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", 2008 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", 2009 | "dev": true, 2010 | "requires": { 2011 | "has-symbols": "^1.0.1" 2012 | } 2013 | }, 2014 | "isarray": { 2015 | "version": "0.0.1", 2016 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", 2017 | "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" 2018 | }, 2019 | "isexe": { 2020 | "version": "2.0.0", 2021 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 2022 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 2023 | "dev": true 2024 | }, 2025 | "js-sha1": { 2026 | "version": "0.6.0", 2027 | "resolved": "https://registry.npmjs.org/js-sha1/-/js-sha1-0.6.0.tgz", 2028 | "integrity": "sha512-01gwBFreYydzmU9BmZxpVk6svJJHrVxEN3IOiGl6VO93bVKYETJ0sIth6DASI6mIFdt7NmfX9UiByRzsYHGU9w==" 2029 | }, 2030 | "js-tokens": { 2031 | "version": "4.0.0", 2032 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 2033 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 2034 | "dev": true 2035 | }, 2036 | "js-yaml": { 2037 | "version": "3.13.1", 2038 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", 2039 | "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", 2040 | "dev": true, 2041 | "requires": { 2042 | "argparse": "^1.0.7", 2043 | "esprima": "^4.0.0" 2044 | } 2045 | }, 2046 | "json-parse-better-errors": { 2047 | "version": "1.0.2", 2048 | "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", 2049 | "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", 2050 | "dev": true 2051 | }, 2052 | "k-bucket": { 2053 | "version": "5.1.0", 2054 | "resolved": "https://registry.npmjs.org/k-bucket/-/k-bucket-5.1.0.tgz", 2055 | "integrity": "sha512-Fac7iINEovXIWU20GPnOMLUbjctiS+cnmyjC4zAUgvs3XPf1vo9akfCHkigftSic/jiKqKl+KA3a/vFcJbHyCg==", 2056 | "requires": { 2057 | "randombytes": "^2.1.0" 2058 | } 2059 | }, 2060 | "last-one-wins": { 2061 | "version": "1.0.4", 2062 | "resolved": "https://registry.npmjs.org/last-one-wins/-/last-one-wins-1.0.4.tgz", 2063 | "integrity": "sha1-wb/Qy8tGeQ7JFWuNGu6Py4bNoio=" 2064 | }, 2065 | "lines-and-columns": { 2066 | "version": "1.1.6", 2067 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", 2068 | "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", 2069 | "dev": true 2070 | }, 2071 | "lint-staged": { 2072 | "version": "9.5.0", 2073 | "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-9.5.0.tgz", 2074 | "integrity": "sha512-nawMob9cb/G1J98nb8v3VC/E8rcX1rryUYXVZ69aT9kde6YWX+uvNOEHY5yf2gcWcTJGiD0kqXmCnS3oD75GIA==", 2075 | "dev": true, 2076 | "requires": { 2077 | "chalk": "^2.4.2", 2078 | "commander": "^2.20.0", 2079 | "cosmiconfig": "^5.2.1", 2080 | "debug": "^4.1.1", 2081 | "dedent": "^0.7.0", 2082 | "del": "^5.0.0", 2083 | "execa": "^2.0.3", 2084 | "listr": "^0.14.3", 2085 | "log-symbols": "^3.0.0", 2086 | "micromatch": "^4.0.2", 2087 | "normalize-path": "^3.0.0", 2088 | "please-upgrade-node": "^3.1.1", 2089 | "string-argv": "^0.3.0", 2090 | "stringify-object": "^3.3.0" 2091 | }, 2092 | "dependencies": { 2093 | "cross-spawn": { 2094 | "version": "7.0.1", 2095 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz", 2096 | "integrity": "sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg==", 2097 | "dev": true, 2098 | "requires": { 2099 | "path-key": "^3.1.0", 2100 | "shebang-command": "^2.0.0", 2101 | "which": "^2.0.1" 2102 | } 2103 | }, 2104 | "execa": { 2105 | "version": "2.1.0", 2106 | "resolved": "https://registry.npmjs.org/execa/-/execa-2.1.0.tgz", 2107 | "integrity": "sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==", 2108 | "dev": true, 2109 | "requires": { 2110 | "cross-spawn": "^7.0.0", 2111 | "get-stream": "^5.0.0", 2112 | "is-stream": "^2.0.0", 2113 | "merge-stream": "^2.0.0", 2114 | "npm-run-path": "^3.0.0", 2115 | "onetime": "^5.1.0", 2116 | "p-finally": "^2.0.0", 2117 | "signal-exit": "^3.0.2", 2118 | "strip-final-newline": "^2.0.0" 2119 | } 2120 | }, 2121 | "get-stream": { 2122 | "version": "5.1.0", 2123 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", 2124 | "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", 2125 | "dev": true, 2126 | "requires": { 2127 | "pump": "^3.0.0" 2128 | } 2129 | }, 2130 | "is-stream": { 2131 | "version": "2.0.0", 2132 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", 2133 | "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", 2134 | "dev": true 2135 | }, 2136 | "npm-run-path": { 2137 | "version": "3.1.0", 2138 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz", 2139 | "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", 2140 | "dev": true, 2141 | "requires": { 2142 | "path-key": "^3.0.0" 2143 | } 2144 | }, 2145 | "p-finally": { 2146 | "version": "2.0.1", 2147 | "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz", 2148 | "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", 2149 | "dev": true 2150 | }, 2151 | "path-key": { 2152 | "version": "3.1.1", 2153 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 2154 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 2155 | "dev": true 2156 | }, 2157 | "shebang-command": { 2158 | "version": "2.0.0", 2159 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2160 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2161 | "dev": true, 2162 | "requires": { 2163 | "shebang-regex": "^3.0.0" 2164 | } 2165 | }, 2166 | "shebang-regex": { 2167 | "version": "3.0.0", 2168 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2169 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2170 | "dev": true 2171 | }, 2172 | "which": { 2173 | "version": "2.0.2", 2174 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2175 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2176 | "dev": true, 2177 | "requires": { 2178 | "isexe": "^2.0.0" 2179 | } 2180 | } 2181 | } 2182 | }, 2183 | "listr": { 2184 | "version": "0.14.3", 2185 | "resolved": "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz", 2186 | "integrity": "sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==", 2187 | "dev": true, 2188 | "requires": { 2189 | "@samverschueren/stream-to-observable": "^0.3.0", 2190 | "is-observable": "^1.1.0", 2191 | "is-promise": "^2.1.0", 2192 | "is-stream": "^1.1.0", 2193 | "listr-silent-renderer": "^1.1.1", 2194 | "listr-update-renderer": "^0.5.0", 2195 | "listr-verbose-renderer": "^0.5.0", 2196 | "p-map": "^2.0.0", 2197 | "rxjs": "^6.3.3" 2198 | }, 2199 | "dependencies": { 2200 | "p-map": { 2201 | "version": "2.1.0", 2202 | "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", 2203 | "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", 2204 | "dev": true 2205 | } 2206 | } 2207 | }, 2208 | "listr-silent-renderer": { 2209 | "version": "1.1.1", 2210 | "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", 2211 | "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", 2212 | "dev": true 2213 | }, 2214 | "listr-update-renderer": { 2215 | "version": "0.5.0", 2216 | "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz", 2217 | "integrity": "sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==", 2218 | "dev": true, 2219 | "requires": { 2220 | "chalk": "^1.1.3", 2221 | "cli-truncate": "^0.2.1", 2222 | "elegant-spinner": "^1.0.1", 2223 | "figures": "^1.7.0", 2224 | "indent-string": "^3.0.0", 2225 | "log-symbols": "^1.0.2", 2226 | "log-update": "^2.3.0", 2227 | "strip-ansi": "^3.0.1" 2228 | }, 2229 | "dependencies": { 2230 | "ansi-regex": { 2231 | "version": "2.1.1", 2232 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 2233 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 2234 | "dev": true 2235 | }, 2236 | "ansi-styles": { 2237 | "version": "2.2.1", 2238 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 2239 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 2240 | "dev": true 2241 | }, 2242 | "chalk": { 2243 | "version": "1.1.3", 2244 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 2245 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 2246 | "dev": true, 2247 | "requires": { 2248 | "ansi-styles": "^2.2.1", 2249 | "escape-string-regexp": "^1.0.2", 2250 | "has-ansi": "^2.0.0", 2251 | "strip-ansi": "^3.0.0", 2252 | "supports-color": "^2.0.0" 2253 | } 2254 | }, 2255 | "indent-string": { 2256 | "version": "3.2.0", 2257 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", 2258 | "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", 2259 | "dev": true 2260 | }, 2261 | "log-symbols": { 2262 | "version": "1.0.2", 2263 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", 2264 | "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", 2265 | "dev": true, 2266 | "requires": { 2267 | "chalk": "^1.0.0" 2268 | } 2269 | }, 2270 | "strip-ansi": { 2271 | "version": "3.0.1", 2272 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 2273 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 2274 | "dev": true, 2275 | "requires": { 2276 | "ansi-regex": "^2.0.0" 2277 | } 2278 | }, 2279 | "supports-color": { 2280 | "version": "2.0.0", 2281 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 2282 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 2283 | "dev": true 2284 | } 2285 | } 2286 | }, 2287 | "listr-verbose-renderer": { 2288 | "version": "0.5.0", 2289 | "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz", 2290 | "integrity": "sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==", 2291 | "dev": true, 2292 | "requires": { 2293 | "chalk": "^2.4.1", 2294 | "cli-cursor": "^2.1.0", 2295 | "date-fns": "^1.27.2", 2296 | "figures": "^2.0.0" 2297 | }, 2298 | "dependencies": { 2299 | "figures": { 2300 | "version": "2.0.0", 2301 | "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", 2302 | "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", 2303 | "dev": true, 2304 | "requires": { 2305 | "escape-string-regexp": "^1.0.5" 2306 | } 2307 | } 2308 | } 2309 | }, 2310 | "locate-path": { 2311 | "version": "5.0.0", 2312 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", 2313 | "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", 2314 | "dev": true, 2315 | "requires": { 2316 | "p-locate": "^4.1.0" 2317 | } 2318 | }, 2319 | "log-symbols": { 2320 | "version": "3.0.0", 2321 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", 2322 | "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", 2323 | "dev": true, 2324 | "requires": { 2325 | "chalk": "^2.4.2" 2326 | } 2327 | }, 2328 | "log-update": { 2329 | "version": "2.3.0", 2330 | "resolved": "https://registry.npmjs.org/log-update/-/log-update-2.3.0.tgz", 2331 | "integrity": "sha1-iDKP19HOeTiykoN0bwsbwSayRwg=", 2332 | "dev": true, 2333 | "requires": { 2334 | "ansi-escapes": "^3.0.0", 2335 | "cli-cursor": "^2.0.0", 2336 | "wrap-ansi": "^3.0.1" 2337 | }, 2338 | "dependencies": { 2339 | "ansi-regex": { 2340 | "version": "3.0.0", 2341 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 2342 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", 2343 | "dev": true 2344 | }, 2345 | "string-width": { 2346 | "version": "2.1.1", 2347 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 2348 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 2349 | "dev": true, 2350 | "requires": { 2351 | "is-fullwidth-code-point": "^2.0.0", 2352 | "strip-ansi": "^4.0.0" 2353 | } 2354 | }, 2355 | "strip-ansi": { 2356 | "version": "4.0.0", 2357 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 2358 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 2359 | "dev": true, 2360 | "requires": { 2361 | "ansi-regex": "^3.0.0" 2362 | } 2363 | }, 2364 | "wrap-ansi": { 2365 | "version": "3.0.1", 2366 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz", 2367 | "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=", 2368 | "dev": true, 2369 | "requires": { 2370 | "string-width": "^2.1.1", 2371 | "strip-ansi": "^4.0.0" 2372 | } 2373 | } 2374 | } 2375 | }, 2376 | "memory-pager": { 2377 | "version": "1.5.0", 2378 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 2379 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==" 2380 | }, 2381 | "merge-stream": { 2382 | "version": "2.0.0", 2383 | "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", 2384 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", 2385 | "dev": true 2386 | }, 2387 | "merge2": { 2388 | "version": "1.3.0", 2389 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz", 2390 | "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==", 2391 | "dev": true 2392 | }, 2393 | "merkle-tree-stream": { 2394 | "version": "3.0.3", 2395 | "resolved": "https://registry.npmjs.org/merkle-tree-stream/-/merkle-tree-stream-3.0.3.tgz", 2396 | "integrity": "sha1-+KBkdg0355eK1fn208EZpJT1cIE=", 2397 | "requires": { 2398 | "flat-tree": "^1.3.0", 2399 | "readable-stream": "^2.0.5" 2400 | }, 2401 | "dependencies": { 2402 | "isarray": { 2403 | "version": "1.0.0", 2404 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2405 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 2406 | }, 2407 | "readable-stream": { 2408 | "version": "2.3.7", 2409 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 2410 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 2411 | "requires": { 2412 | "core-util-is": "~1.0.0", 2413 | "inherits": "~2.0.3", 2414 | "isarray": "~1.0.0", 2415 | "process-nextick-args": "~2.0.0", 2416 | "safe-buffer": "~5.1.1", 2417 | "string_decoder": "~1.1.1", 2418 | "util-deprecate": "~1.0.1" 2419 | } 2420 | }, 2421 | "safe-buffer": { 2422 | "version": "5.1.2", 2423 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2424 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 2425 | }, 2426 | "string_decoder": { 2427 | "version": "1.1.1", 2428 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2429 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2430 | "requires": { 2431 | "safe-buffer": "~5.1.0" 2432 | } 2433 | } 2434 | } 2435 | }, 2436 | "micromatch": { 2437 | "version": "4.0.2", 2438 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", 2439 | "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", 2440 | "dev": true, 2441 | "requires": { 2442 | "braces": "^3.0.1", 2443 | "picomatch": "^2.0.5" 2444 | } 2445 | }, 2446 | "mime-db": { 2447 | "version": "1.43.0", 2448 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz", 2449 | "integrity": "sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==" 2450 | }, 2451 | "mime-types": { 2452 | "version": "2.1.31", 2453 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", 2454 | "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", 2455 | "requires": { 2456 | "mime-db": "1.48.0" 2457 | }, 2458 | "dependencies": { 2459 | "mime-db": { 2460 | "version": "1.48.0", 2461 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", 2462 | "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" 2463 | } 2464 | } 2465 | }, 2466 | "mimic-fn": { 2467 | "version": "2.1.0", 2468 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 2469 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 2470 | "dev": true 2471 | }, 2472 | "minimatch": { 2473 | "version": "3.0.4", 2474 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 2475 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 2476 | "requires": { 2477 | "brace-expansion": "^1.1.7" 2478 | } 2479 | }, 2480 | "minimist": { 2481 | "version": "1.2.5", 2482 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 2483 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" 2484 | }, 2485 | "minipass": { 2486 | "version": "2.9.0", 2487 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", 2488 | "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", 2489 | "requires": { 2490 | "safe-buffer": "^5.1.2", 2491 | "yallist": "^3.0.0" 2492 | } 2493 | }, 2494 | "minizlib": { 2495 | "version": "1.3.3", 2496 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", 2497 | "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", 2498 | "requires": { 2499 | "minipass": "^2.9.0" 2500 | } 2501 | }, 2502 | "mkdirp": { 2503 | "version": "0.5.5", 2504 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", 2505 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", 2506 | "requires": { 2507 | "minimist": "^1.2.5" 2508 | } 2509 | }, 2510 | "mkdirp-classic": { 2511 | "version": "0.5.3", 2512 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 2513 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" 2514 | }, 2515 | "ms": { 2516 | "version": "2.1.2", 2517 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2518 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2519 | }, 2520 | "msgpack-lite": { 2521 | "version": "0.1.26", 2522 | "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", 2523 | "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", 2524 | "requires": { 2525 | "event-lite": "^0.1.1", 2526 | "ieee754": "^1.1.8", 2527 | "int64-buffer": "^0.1.9", 2528 | "isarray": "^1.0.0" 2529 | }, 2530 | "dependencies": { 2531 | "isarray": { 2532 | "version": "1.0.0", 2533 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2534 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 2535 | } 2536 | } 2537 | }, 2538 | "multicast-dns": { 2539 | "version": "7.2.3", 2540 | "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.3.tgz", 2541 | "integrity": "sha512-TzxgGSLRLB7tqAlzjgd2x2ZE0cDsGFq4rs9W4yE5xp+7hlRXeUQGtXZsTGfGw2FwWB45rfe8DtXMYBpZGMLUng==", 2542 | "requires": { 2543 | "dns-packet": "^5.2.2", 2544 | "thunky": "^1.0.2" 2545 | } 2546 | }, 2547 | "nan": { 2548 | "version": "2.14.0", 2549 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", 2550 | "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==" 2551 | }, 2552 | "nanoassert": { 2553 | "version": "1.1.0", 2554 | "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-1.1.0.tgz", 2555 | "integrity": "sha1-TzFS4JVA/eKMdvRLGbvNHVpCR40=" 2556 | }, 2557 | "nanoguard": { 2558 | "version": "1.3.0", 2559 | "resolved": "https://registry.npmjs.org/nanoguard/-/nanoguard-1.3.0.tgz", 2560 | "integrity": "sha512-K/ON5wyflyPyZskdeT3m7Y2gJVkm3QLdKykMCquAbK8A2erstyMpZUc3NG8Nz5jKdfatiYndONrlmLF8+pGl+A==" 2561 | }, 2562 | "nanoresource": { 2563 | "version": "1.3.0", 2564 | "resolved": "https://registry.npmjs.org/nanoresource/-/nanoresource-1.3.0.tgz", 2565 | "integrity": "sha512-OI5dswqipmlYfyL3k/YMm7mbERlh4Bd1KuKdMHpeoVD1iVxqxaTMKleB4qaA2mbQZ6/zMNSxCXv9M9P/YbqTuQ==", 2566 | "requires": { 2567 | "inherits": "^2.0.4" 2568 | } 2569 | }, 2570 | "napi-macros": { 2571 | "version": "2.0.0", 2572 | "resolved": "https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz", 2573 | "integrity": "sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg==" 2574 | }, 2575 | "nice-try": { 2576 | "version": "1.0.5", 2577 | "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", 2578 | "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", 2579 | "dev": true 2580 | }, 2581 | "node-cache": { 2582 | "version": "5.1.0", 2583 | "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.0.tgz", 2584 | "integrity": "sha512-gFQwYdoOztBuPlwg6DKQEf50G+gkK69aqLnw4djkmlHCzeVrLJfwvg9xl4RCAGviTIMUVoqcyoZ/V/wPEu/VVg==", 2585 | "requires": { 2586 | "clone": "2.x" 2587 | } 2588 | }, 2589 | "node-gyp-build": { 2590 | "version": "4.2.3", 2591 | "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", 2592 | "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==" 2593 | }, 2594 | "node-inspect-extracted": { 2595 | "version": "1.0.7", 2596 | "resolved": "https://registry.npmjs.org/node-inspect-extracted/-/node-inspect-extracted-1.0.7.tgz", 2597 | "integrity": "sha512-FDdIQtuAVzkmV8Qh/Z0MdUvj4p6rRHYl28PkwnlRzwXNGFMd5leouoLtqaAqvtG0RG0jj0/RzYOznNe5XZw1lg==" 2598 | }, 2599 | "nofilter": { 2600 | "version": "2.0.3", 2601 | "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-2.0.3.tgz", 2602 | "integrity": "sha512-FbuXC+lK+GU2+63D1kC1ETiZo+Z7SIi7B+mxKTCH1byrh6WFvfBCN/wpherFz0a0bjGd7EKTst/cz0yLeNngug==", 2603 | "requires": { 2604 | "@cto.af/textdecoder": "^0.0.0" 2605 | } 2606 | }, 2607 | "noise-peer": { 2608 | "version": "1.1.0", 2609 | "resolved": "https://registry.npmjs.org/noise-peer/-/noise-peer-1.1.0.tgz", 2610 | "integrity": "sha512-dzsc5/WxArnPK46aFx9OstdTDKPr7HkfPKQFsI5hL17hfLgblZsP1sZFxxr9tna1Debq4+HxK/17bXLUow+hxw==", 2611 | "requires": { 2612 | "readable-stream": "^3.0.6", 2613 | "secretstream-stream": "^1.2.1", 2614 | "simple-handshake": "^1.2.0", 2615 | "sodium-universal": "^2.0.0" 2616 | }, 2617 | "dependencies": { 2618 | "readable-stream": { 2619 | "version": "3.6.0", 2620 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 2621 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 2622 | "requires": { 2623 | "inherits": "^2.0.3", 2624 | "string_decoder": "^1.1.1", 2625 | "util-deprecate": "^1.0.1" 2626 | } 2627 | }, 2628 | "string_decoder": { 2629 | "version": "1.3.0", 2630 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 2631 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 2632 | "requires": { 2633 | "safe-buffer": "~5.2.0" 2634 | } 2635 | } 2636 | } 2637 | }, 2638 | "noise-protocol": { 2639 | "version": "1.0.0", 2640 | "resolved": "https://registry.npmjs.org/noise-protocol/-/noise-protocol-1.0.0.tgz", 2641 | "integrity": "sha512-MEseV3jGZGkPPlhJMHrjFHs9XCEcnoYg72hI89GMz/JfDjWEHzhTaTGqHM5gTGtLA9Z04XoGvEI5aCEAqplQrQ==", 2642 | "requires": { 2643 | "clone": "^2.1.2", 2644 | "hmac-blake2b": "^0.2.0", 2645 | "nanoassert": "^1.1.0", 2646 | "sodium-native": "^2.2.1" 2647 | } 2648 | }, 2649 | "noms": { 2650 | "version": "0.0.0", 2651 | "resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz", 2652 | "integrity": "sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=", 2653 | "requires": { 2654 | "inherits": "^2.0.1", 2655 | "readable-stream": "~1.0.31" 2656 | } 2657 | }, 2658 | "normalize-package-data": { 2659 | "version": "2.5.0", 2660 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 2661 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 2662 | "dev": true, 2663 | "requires": { 2664 | "hosted-git-info": "^2.1.4", 2665 | "resolve": "^1.10.0", 2666 | "semver": "2 || 3 || 4 || 5", 2667 | "validate-npm-package-license": "^3.0.1" 2668 | } 2669 | }, 2670 | "normalize-path": { 2671 | "version": "3.0.0", 2672 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2673 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2674 | "dev": true 2675 | }, 2676 | "npm-run-path": { 2677 | "version": "2.0.2", 2678 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", 2679 | "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", 2680 | "dev": true, 2681 | "requires": { 2682 | "path-key": "^2.0.0" 2683 | } 2684 | }, 2685 | "number-is-nan": { 2686 | "version": "1.0.1", 2687 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 2688 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", 2689 | "dev": true 2690 | }, 2691 | "object-assign": { 2692 | "version": "4.1.1", 2693 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 2694 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", 2695 | "dev": true 2696 | }, 2697 | "object-inspect": { 2698 | "version": "1.7.0", 2699 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", 2700 | "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", 2701 | "dev": true 2702 | }, 2703 | "object-is": { 2704 | "version": "1.0.2", 2705 | "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz", 2706 | "integrity": "sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==", 2707 | "dev": true 2708 | }, 2709 | "object-keys": { 2710 | "version": "1.1.1", 2711 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 2712 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 2713 | "dev": true 2714 | }, 2715 | "object.assign": { 2716 | "version": "4.1.0", 2717 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", 2718 | "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", 2719 | "dev": true, 2720 | "requires": { 2721 | "define-properties": "^1.1.2", 2722 | "function-bind": "^1.1.1", 2723 | "has-symbols": "^1.0.0", 2724 | "object-keys": "^1.0.11" 2725 | } 2726 | }, 2727 | "once": { 2728 | "version": "1.4.0", 2729 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2730 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 2731 | "requires": { 2732 | "wrappy": "1" 2733 | } 2734 | }, 2735 | "onetime": { 2736 | "version": "5.1.0", 2737 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", 2738 | "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", 2739 | "dev": true, 2740 | "requires": { 2741 | "mimic-fn": "^2.1.0" 2742 | } 2743 | }, 2744 | "opencollective-postinstall": { 2745 | "version": "2.0.2", 2746 | "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz", 2747 | "integrity": "sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==", 2748 | "dev": true 2749 | }, 2750 | "p-finally": { 2751 | "version": "1.0.0", 2752 | "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", 2753 | "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", 2754 | "dev": true 2755 | }, 2756 | "p-limit": { 2757 | "version": "2.2.2", 2758 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz", 2759 | "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==", 2760 | "dev": true, 2761 | "requires": { 2762 | "p-try": "^2.0.0" 2763 | } 2764 | }, 2765 | "p-locate": { 2766 | "version": "4.1.0", 2767 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", 2768 | "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", 2769 | "dev": true, 2770 | "requires": { 2771 | "p-limit": "^2.2.0" 2772 | } 2773 | }, 2774 | "p-map": { 2775 | "version": "3.0.0", 2776 | "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", 2777 | "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", 2778 | "dev": true, 2779 | "requires": { 2780 | "aggregate-error": "^3.0.0" 2781 | } 2782 | }, 2783 | "p-try": { 2784 | "version": "2.2.0", 2785 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 2786 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", 2787 | "dev": true 2788 | }, 2789 | "parse-json": { 2790 | "version": "4.0.0", 2791 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", 2792 | "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", 2793 | "dev": true, 2794 | "requires": { 2795 | "error-ex": "^1.3.1", 2796 | "json-parse-better-errors": "^1.0.1" 2797 | } 2798 | }, 2799 | "path-exists": { 2800 | "version": "4.0.0", 2801 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2802 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2803 | "dev": true 2804 | }, 2805 | "path-is-absolute": { 2806 | "version": "1.0.1", 2807 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2808 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" 2809 | }, 2810 | "path-key": { 2811 | "version": "2.0.1", 2812 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 2813 | "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", 2814 | "dev": true 2815 | }, 2816 | "path-parse": { 2817 | "version": "1.0.7", 2818 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 2819 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 2820 | "dev": true 2821 | }, 2822 | "path-type": { 2823 | "version": "4.0.0", 2824 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 2825 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 2826 | "dev": true 2827 | }, 2828 | "picomatch": { 2829 | "version": "2.2.2", 2830 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", 2831 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", 2832 | "dev": true 2833 | }, 2834 | "pkg-dir": { 2835 | "version": "4.2.0", 2836 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", 2837 | "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", 2838 | "dev": true, 2839 | "requires": { 2840 | "find-up": "^4.0.0" 2841 | } 2842 | }, 2843 | "please-upgrade-node": { 2844 | "version": "3.2.0", 2845 | "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", 2846 | "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", 2847 | "dev": true, 2848 | "requires": { 2849 | "semver-compare": "^1.0.0" 2850 | } 2851 | }, 2852 | "prettier": { 2853 | "version": "1.19.1", 2854 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", 2855 | "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", 2856 | "dev": true 2857 | }, 2858 | "pretty-hash": { 2859 | "version": "1.0.1", 2860 | "resolved": "https://registry.npmjs.org/pretty-hash/-/pretty-hash-1.0.1.tgz", 2861 | "integrity": "sha1-FuBXkYje9WvbVliSvNBaXWUySAc=" 2862 | }, 2863 | "process-nextick-args": { 2864 | "version": "2.0.1", 2865 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2866 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 2867 | }, 2868 | "proper-lockfile": { 2869 | "version": "4.1.2", 2870 | "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz", 2871 | "integrity": "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==", 2872 | "requires": { 2873 | "graceful-fs": "^4.2.4", 2874 | "retry": "^0.12.0", 2875 | "signal-exit": "^3.0.2" 2876 | }, 2877 | "dependencies": { 2878 | "graceful-fs": { 2879 | "version": "4.2.6", 2880 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", 2881 | "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" 2882 | } 2883 | } 2884 | }, 2885 | "protocol-buffers-encodings": { 2886 | "version": "1.1.0", 2887 | "resolved": "https://registry.npmjs.org/protocol-buffers-encodings/-/protocol-buffers-encodings-1.1.0.tgz", 2888 | "integrity": "sha512-SmjEuAf3hc3h3rWZ6V1YaaQw2MNJWK848gLJgzx/sefOJdNLujKinJVXIS0q2cBQpQn2Q32TinawZyDZPzm4kQ==", 2889 | "requires": { 2890 | "signed-varint": "^2.0.1", 2891 | "varint": "^5.0.0" 2892 | }, 2893 | "dependencies": { 2894 | "varint": { 2895 | "version": "5.0.0", 2896 | "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.0.tgz", 2897 | "integrity": "sha1-2Ca4n3SQcy+rwMDtaT7Uddyynr8=" 2898 | } 2899 | } 2900 | }, 2901 | "pump": { 2902 | "version": "3.0.0", 2903 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 2904 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 2905 | "requires": { 2906 | "end-of-stream": "^1.1.0", 2907 | "once": "^1.3.1" 2908 | } 2909 | }, 2910 | "random-access-file": { 2911 | "version": "2.2.0", 2912 | "resolved": "https://registry.npmjs.org/random-access-file/-/random-access-file-2.2.0.tgz", 2913 | "integrity": "sha512-B744003Mj7v3EcuPl9hCiB2Ot4aZjgtU2mV6yFY1THiWU/XfGf1uSadR+SlQdJcwHgAWeG7Lbos0aUqjtj8FQg==", 2914 | "requires": { 2915 | "mkdirp-classic": "^0.5.2", 2916 | "random-access-storage": "^1.1.1" 2917 | } 2918 | }, 2919 | "random-access-memory": { 2920 | "version": "3.1.2", 2921 | "resolved": "https://registry.npmjs.org/random-access-memory/-/random-access-memory-3.1.2.tgz", 2922 | "integrity": "sha512-wIfh4OZ9T+FRNf6rbXLvEb4FfSxyZpvGnC5kC7Xi39SyPkRYfeJyR9Xwa13iLbNyoNKNIkTFUE4g9lXFb1ZflA==", 2923 | "requires": { 2924 | "inherits": "^2.0.3", 2925 | "is-options": "^1.0.1", 2926 | "random-access-storage": "^1.1.1" 2927 | } 2928 | }, 2929 | "random-access-storage": { 2930 | "version": "1.4.1", 2931 | "resolved": "https://registry.npmjs.org/random-access-storage/-/random-access-storage-1.4.1.tgz", 2932 | "integrity": "sha512-DbCc2TIzOxPaHF6KCbr8zLtiYOJQQQCBHUVNHV/SckUQobCBB2YkDtbLdxGnPwPNpJfEyMWxDAm36A2xkbxxtw==", 2933 | "requires": { 2934 | "inherits": "^2.0.3" 2935 | } 2936 | }, 2937 | "randombytes": { 2938 | "version": "2.1.0", 2939 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 2940 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 2941 | "requires": { 2942 | "safe-buffer": "^5.1.0" 2943 | } 2944 | }, 2945 | "read-pkg": { 2946 | "version": "5.2.0", 2947 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", 2948 | "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", 2949 | "dev": true, 2950 | "requires": { 2951 | "@types/normalize-package-data": "^2.4.0", 2952 | "normalize-package-data": "^2.5.0", 2953 | "parse-json": "^5.0.0", 2954 | "type-fest": "^0.6.0" 2955 | }, 2956 | "dependencies": { 2957 | "parse-json": { 2958 | "version": "5.0.0", 2959 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", 2960 | "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", 2961 | "dev": true, 2962 | "requires": { 2963 | "@babel/code-frame": "^7.0.0", 2964 | "error-ex": "^1.3.1", 2965 | "json-parse-better-errors": "^1.0.1", 2966 | "lines-and-columns": "^1.1.6" 2967 | } 2968 | } 2969 | } 2970 | }, 2971 | "readable-stream": { 2972 | "version": "1.0.34", 2973 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", 2974 | "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", 2975 | "requires": { 2976 | "core-util-is": "~1.0.0", 2977 | "inherits": "~2.0.1", 2978 | "isarray": "0.0.1", 2979 | "string_decoder": "~0.10.x" 2980 | } 2981 | }, 2982 | "record-cache": { 2983 | "version": "1.1.1", 2984 | "resolved": "https://registry.npmjs.org/record-cache/-/record-cache-1.1.1.tgz", 2985 | "integrity": "sha512-L5hZlgWc7CmGbztnemQoKE1bLu9rtI2skOB0ttE4C5+TVszLE8Rd0YLTROSgvXKLAqPumS/soyN5tJW5wJLmJQ==" 2986 | }, 2987 | "regexp.prototype.flags": { 2988 | "version": "1.3.0", 2989 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", 2990 | "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", 2991 | "dev": true, 2992 | "requires": { 2993 | "define-properties": "^1.1.3", 2994 | "es-abstract": "^1.17.0-next.1" 2995 | } 2996 | }, 2997 | "require-directory": { 2998 | "version": "2.1.1", 2999 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 3000 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" 3001 | }, 3002 | "resolve": { 3003 | "version": "1.15.1", 3004 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz", 3005 | "integrity": "sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==", 3006 | "dev": true, 3007 | "requires": { 3008 | "path-parse": "^1.0.6" 3009 | } 3010 | }, 3011 | "resolve-from": { 3012 | "version": "3.0.0", 3013 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", 3014 | "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", 3015 | "dev": true 3016 | }, 3017 | "restore-cursor": { 3018 | "version": "2.0.0", 3019 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", 3020 | "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", 3021 | "dev": true, 3022 | "requires": { 3023 | "onetime": "^2.0.0", 3024 | "signal-exit": "^3.0.2" 3025 | }, 3026 | "dependencies": { 3027 | "mimic-fn": { 3028 | "version": "1.2.0", 3029 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", 3030 | "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", 3031 | "dev": true 3032 | }, 3033 | "onetime": { 3034 | "version": "2.0.1", 3035 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", 3036 | "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", 3037 | "dev": true, 3038 | "requires": { 3039 | "mimic-fn": "^1.0.0" 3040 | } 3041 | } 3042 | } 3043 | }, 3044 | "resumer": { 3045 | "version": "0.0.0", 3046 | "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", 3047 | "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", 3048 | "dev": true, 3049 | "requires": { 3050 | "through": "~2.3.4" 3051 | } 3052 | }, 3053 | "retry": { 3054 | "version": "0.12.0", 3055 | "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", 3056 | "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" 3057 | }, 3058 | "reusify": { 3059 | "version": "1.0.4", 3060 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 3061 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 3062 | "dev": true 3063 | }, 3064 | "rimraf": { 3065 | "version": "3.0.2", 3066 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 3067 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 3068 | "dev": true, 3069 | "requires": { 3070 | "glob": "^7.1.3" 3071 | } 3072 | }, 3073 | "run-node": { 3074 | "version": "1.0.0", 3075 | "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz", 3076 | "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==", 3077 | "dev": true 3078 | }, 3079 | "run-parallel": { 3080 | "version": "1.1.9", 3081 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz", 3082 | "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==", 3083 | "dev": true 3084 | }, 3085 | "rxjs": { 3086 | "version": "6.5.4", 3087 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz", 3088 | "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==", 3089 | "dev": true, 3090 | "requires": { 3091 | "tslib": "^1.9.0" 3092 | } 3093 | }, 3094 | "safe-buffer": { 3095 | "version": "5.2.0", 3096 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", 3097 | "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" 3098 | }, 3099 | "secretstream-stream": { 3100 | "version": "1.2.1", 3101 | "resolved": "https://registry.npmjs.org/secretstream-stream/-/secretstream-stream-1.2.1.tgz", 3102 | "integrity": "sha512-mAfqXrNMRQZ60xkj3O32buVUVSgg/S2hEeMpDsIN8vZwG1BXOL+Z0NlAyLad4YNkLlEXiiLOzxDNi17rOiSwKg==", 3103 | "requires": { 3104 | "nanoassert": "^1.1.0", 3105 | "sodium-native": "^2.1.4" 3106 | } 3107 | }, 3108 | "semver": { 3109 | "version": "5.7.1", 3110 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 3111 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 3112 | "dev": true 3113 | }, 3114 | "semver-compare": { 3115 | "version": "1.0.0", 3116 | "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", 3117 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", 3118 | "dev": true 3119 | }, 3120 | "shebang-command": { 3121 | "version": "1.2.0", 3122 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 3123 | "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", 3124 | "dev": true, 3125 | "requires": { 3126 | "shebang-regex": "^1.0.0" 3127 | } 3128 | }, 3129 | "shebang-regex": { 3130 | "version": "1.0.0", 3131 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 3132 | "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", 3133 | "dev": true 3134 | }, 3135 | "shuffled-priority-queue": { 3136 | "version": "2.1.0", 3137 | "resolved": "https://registry.npmjs.org/shuffled-priority-queue/-/shuffled-priority-queue-2.1.0.tgz", 3138 | "integrity": "sha512-xhdh7fHyMsr0m/w2kDfRJuBFRS96b9l8ZPNWGaQ+PMvnUnZ/Eh+gJJ9NsHBd7P9k0399WYlCLzsy18EaMfyadA==", 3139 | "requires": { 3140 | "unordered-set": "^2.0.1" 3141 | } 3142 | }, 3143 | "signal-exit": { 3144 | "version": "3.0.3", 3145 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", 3146 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" 3147 | }, 3148 | "signed-varint": { 3149 | "version": "2.0.1", 3150 | "resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz", 3151 | "integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=", 3152 | "requires": { 3153 | "varint": "~5.0.0" 3154 | }, 3155 | "dependencies": { 3156 | "varint": { 3157 | "version": "5.0.0", 3158 | "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.0.tgz", 3159 | "integrity": "sha1-2Ca4n3SQcy+rwMDtaT7Uddyynr8=" 3160 | } 3161 | } 3162 | }, 3163 | "simple-handshake": { 3164 | "version": "1.3.1", 3165 | "resolved": "https://registry.npmjs.org/simple-handshake/-/simple-handshake-1.3.1.tgz", 3166 | "integrity": "sha512-3Q6FjXdVFCa5JiLsWFl9s/Wp9hfBI9OqGfnlA/fUqIgR8M6zykFMxgGmV7M3YFbBkXYXQYayj6D6aFDejQcPjA==", 3167 | "requires": { 3168 | "nanoassert": "^1.1.0", 3169 | "noise-protocol": "^1.0.0" 3170 | } 3171 | }, 3172 | "simple-hypercore-protocol": { 3173 | "version": "1.5.0", 3174 | "resolved": "https://registry.npmjs.org/simple-hypercore-protocol/-/simple-hypercore-protocol-1.5.0.tgz", 3175 | "integrity": "sha512-HEweK2xilxAZ2RjDg770xDKPbKwvIR9OUTRtFLHsepFYiyfFxAoZkUxFkJQMTav935P8ompf6npnIie+d/8Dsw==", 3176 | "requires": { 3177 | "protocol-buffers-encodings": "^1.1.0", 3178 | "simple-handshake": "^1.3.1", 3179 | "simple-message-channels": "^1.2.1", 3180 | "sodium-universal": "^2.0.0", 3181 | "varint": "^5.0.0" 3182 | }, 3183 | "dependencies": { 3184 | "varint": { 3185 | "version": "5.0.2", 3186 | "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", 3187 | "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" 3188 | } 3189 | } 3190 | }, 3191 | "simple-message-channels": { 3192 | "version": "1.2.1", 3193 | "resolved": "https://registry.npmjs.org/simple-message-channels/-/simple-message-channels-1.2.1.tgz", 3194 | "integrity": "sha512-knSr69GKW9sCjzpoy817xQelpOASUQ53TXCBcSLDKLE7GTGpUAhZzOZYrdbX2Ig//m+8AIrNp7sM7HDNHBRzXw==", 3195 | "requires": { 3196 | "varint": "^5.0.0" 3197 | }, 3198 | "dependencies": { 3199 | "varint": { 3200 | "version": "5.0.2", 3201 | "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", 3202 | "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" 3203 | } 3204 | } 3205 | }, 3206 | "siphash24": { 3207 | "version": "1.1.1", 3208 | "resolved": "https://registry.npmjs.org/siphash24/-/siphash24-1.1.1.tgz", 3209 | "integrity": "sha512-dKKwjIoTOa587TARYLlBRXq2lkbu5Iz35XrEVWpelhBP1m8r2BGOy1QlaZe84GTFHG/BTucEUd2btnNc8QzIVA==", 3210 | "requires": { 3211 | "nanoassert": "^1.0.0" 3212 | } 3213 | }, 3214 | "slash": { 3215 | "version": "3.0.0", 3216 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 3217 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 3218 | "dev": true 3219 | }, 3220 | "slice-ansi": { 3221 | "version": "0.0.4", 3222 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", 3223 | "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", 3224 | "dev": true 3225 | }, 3226 | "sodium-javascript": { 3227 | "version": "0.5.6", 3228 | "resolved": "https://registry.npmjs.org/sodium-javascript/-/sodium-javascript-0.5.6.tgz", 3229 | "integrity": "sha512-Uk+JpqHEbzsEmiMxwL7TB/ndhMEpc52KdReYXXSIX2oRFPaI7ZDlDImF8KbkFWbYl9BJRtc82AZ/kNf4/0n9KA==", 3230 | "requires": { 3231 | "blake2b": "^2.1.1", 3232 | "nanoassert": "^1.0.0", 3233 | "siphash24": "^1.0.1", 3234 | "xsalsa20": "^1.0.0" 3235 | } 3236 | }, 3237 | "sodium-native": { 3238 | "version": "2.4.9", 3239 | "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-2.4.9.tgz", 3240 | "integrity": "sha512-mbkiyA2clyfwAyOFIzMvsV6ny2KrKEIhFVASJxWfsmgfUEymgLIS2MLHHcGIQMkrcKhPErRaMR5Dzv0EEn+BWg==", 3241 | "requires": { 3242 | "ini": "^1.3.5", 3243 | "nan": "^2.14.0", 3244 | "node-gyp-build": "^4.1.0" 3245 | }, 3246 | "dependencies": { 3247 | "node-gyp-build": { 3248 | "version": "4.2.1", 3249 | "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.1.tgz", 3250 | "integrity": "sha512-XyCKXsqZfLqHep1hhsMncoXuUNt/cXCjg1+8CLbu69V1TKuPiOeSGbL9n+k/ByKH8UT0p4rdIX8XkTRZV0i7Sw==" 3251 | } 3252 | } 3253 | }, 3254 | "sodium-universal": { 3255 | "version": "2.0.0", 3256 | "resolved": "https://registry.npmjs.org/sodium-universal/-/sodium-universal-2.0.0.tgz", 3257 | "integrity": "sha512-csdVyakzHJRyCevY4aZC2Eacda8paf+4nmRGF2N7KxCLKY2Ajn72JsExaQlJQ2BiXJncp44p3T+b80cU+2TTsg==", 3258 | "requires": { 3259 | "sodium-javascript": "~0.5.0", 3260 | "sodium-native": "^2.0.0" 3261 | } 3262 | }, 3263 | "sparse-bitfield": { 3264 | "version": "3.0.3", 3265 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 3266 | "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", 3267 | "requires": { 3268 | "memory-pager": "^1.0.2" 3269 | } 3270 | }, 3271 | "spdx-correct": { 3272 | "version": "3.1.0", 3273 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", 3274 | "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", 3275 | "dev": true, 3276 | "requires": { 3277 | "spdx-expression-parse": "^3.0.0", 3278 | "spdx-license-ids": "^3.0.0" 3279 | } 3280 | }, 3281 | "spdx-exceptions": { 3282 | "version": "2.2.0", 3283 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", 3284 | "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", 3285 | "dev": true 3286 | }, 3287 | "spdx-expression-parse": { 3288 | "version": "3.0.0", 3289 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", 3290 | "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", 3291 | "dev": true, 3292 | "requires": { 3293 | "spdx-exceptions": "^2.1.0", 3294 | "spdx-license-ids": "^3.0.0" 3295 | } 3296 | }, 3297 | "spdx-license-ids": { 3298 | "version": "3.0.5", 3299 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", 3300 | "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", 3301 | "dev": true 3302 | }, 3303 | "speedometer": { 3304 | "version": "1.1.0", 3305 | "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-1.1.0.tgz", 3306 | "integrity": "sha512-z/wAiTESw2XVPssY2XRcme4niTc4S5FkkJ4gknudtVoc33Zil8TdTxHy5torRcgqMqksJV2Yz8HQcvtbsnw0mQ==" 3307 | }, 3308 | "sprintf-js": { 3309 | "version": "1.0.3", 3310 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 3311 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 3312 | "dev": true 3313 | }, 3314 | "stream-collector": { 3315 | "version": "1.0.1", 3316 | "resolved": "https://registry.npmjs.org/stream-collector/-/stream-collector-1.0.1.tgz", 3317 | "integrity": "sha1-TU5V8XE1YSGyxfZVn5RHBaso2xU=", 3318 | "requires": { 3319 | "once": "^1.3.1" 3320 | } 3321 | }, 3322 | "streamx": { 3323 | "version": "2.10.3", 3324 | "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.10.3.tgz", 3325 | "integrity": "sha512-Ss4rEDWlTAUrIqaQsX6tNBNANHxSmbyrA5PlCji0a6xdJtVzfkEMLLrkVW5OSyr4TshiSb1WA2TqMGMUpGnouQ==", 3326 | "requires": { 3327 | "fast-fifo": "^1.0.0" 3328 | } 3329 | }, 3330 | "string-argv": { 3331 | "version": "0.3.1", 3332 | "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", 3333 | "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", 3334 | "dev": true 3335 | }, 3336 | "string-width": { 3337 | "version": "4.2.2", 3338 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", 3339 | "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", 3340 | "requires": { 3341 | "emoji-regex": "^8.0.0", 3342 | "is-fullwidth-code-point": "^3.0.0", 3343 | "strip-ansi": "^6.0.0" 3344 | }, 3345 | "dependencies": { 3346 | "is-fullwidth-code-point": { 3347 | "version": "3.0.0", 3348 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 3349 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" 3350 | } 3351 | } 3352 | }, 3353 | "string.prototype.trim": { 3354 | "version": "1.2.1", 3355 | "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.1.tgz", 3356 | "integrity": "sha512-MjGFEeqixw47dAMFMtgUro/I0+wNqZB5GKXGt1fFr24u3TzDXCPu7J9Buppzoe3r/LqkSDLDDJzE15RGWDGAVw==", 3357 | "dev": true, 3358 | "requires": { 3359 | "define-properties": "^1.1.3", 3360 | "es-abstract": "^1.17.0-next.1", 3361 | "function-bind": "^1.1.1" 3362 | } 3363 | }, 3364 | "string.prototype.trimleft": { 3365 | "version": "2.1.1", 3366 | "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", 3367 | "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", 3368 | "dev": true, 3369 | "requires": { 3370 | "define-properties": "^1.1.3", 3371 | "function-bind": "^1.1.1" 3372 | } 3373 | }, 3374 | "string.prototype.trimright": { 3375 | "version": "2.1.1", 3376 | "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", 3377 | "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", 3378 | "dev": true, 3379 | "requires": { 3380 | "define-properties": "^1.1.3", 3381 | "function-bind": "^1.1.1" 3382 | } 3383 | }, 3384 | "string_decoder": { 3385 | "version": "0.10.31", 3386 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", 3387 | "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" 3388 | }, 3389 | "stringify-object": { 3390 | "version": "3.3.0", 3391 | "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", 3392 | "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", 3393 | "dev": true, 3394 | "requires": { 3395 | "get-own-enumerable-property-symbols": "^3.0.0", 3396 | "is-obj": "^1.0.1", 3397 | "is-regexp": "^1.0.0" 3398 | } 3399 | }, 3400 | "strip-ansi": { 3401 | "version": "6.0.0", 3402 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", 3403 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", 3404 | "requires": { 3405 | "ansi-regex": "^5.0.0" 3406 | } 3407 | }, 3408 | "strip-eof": { 3409 | "version": "1.0.0", 3410 | "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", 3411 | "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", 3412 | "dev": true 3413 | }, 3414 | "strip-final-newline": { 3415 | "version": "2.0.0", 3416 | "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", 3417 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", 3418 | "dev": true 3419 | }, 3420 | "supports-color": { 3421 | "version": "5.5.0", 3422 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 3423 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 3424 | "dev": true, 3425 | "requires": { 3426 | "has-flag": "^3.0.0" 3427 | } 3428 | }, 3429 | "symbol-observable": { 3430 | "version": "1.2.0", 3431 | "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", 3432 | "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", 3433 | "dev": true 3434 | }, 3435 | "tape": { 3436 | "version": "4.13.2", 3437 | "resolved": "https://registry.npmjs.org/tape/-/tape-4.13.2.tgz", 3438 | "integrity": "sha512-waWwC/OqYVE9TS6r1IynlP2sEdk4Lfo6jazlgkuNkPTHIbuG2BTABIaKdlQWwPeB6Oo4ksZ1j33Yt0NTOAlYMQ==", 3439 | "dev": true, 3440 | "requires": { 3441 | "deep-equal": "~1.1.1", 3442 | "defined": "~1.0.0", 3443 | "dotignore": "~0.1.2", 3444 | "for-each": "~0.3.3", 3445 | "function-bind": "~1.1.1", 3446 | "glob": "~7.1.6", 3447 | "has": "~1.0.3", 3448 | "inherits": "~2.0.4", 3449 | "is-regex": "~1.0.5", 3450 | "minimist": "~1.2.0", 3451 | "object-inspect": "~1.7.0", 3452 | "resolve": "~1.15.1", 3453 | "resumer": "~0.0.0", 3454 | "string.prototype.trim": "~1.2.1", 3455 | "through": "~2.3.8" 3456 | } 3457 | }, 3458 | "tar": { 3459 | "version": "4.4.19", 3460 | "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", 3461 | "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", 3462 | "requires": { 3463 | "chownr": "^1.1.4", 3464 | "fs-minipass": "^1.2.7", 3465 | "minipass": "^2.9.0", 3466 | "minizlib": "^1.3.3", 3467 | "mkdirp": "^0.5.5", 3468 | "safe-buffer": "^5.2.1", 3469 | "yallist": "^3.1.1" 3470 | }, 3471 | "dependencies": { 3472 | "safe-buffer": { 3473 | "version": "5.2.1", 3474 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 3475 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 3476 | } 3477 | } 3478 | }, 3479 | "through": { 3480 | "version": "2.3.8", 3481 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 3482 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", 3483 | "dev": true 3484 | }, 3485 | "through2": { 3486 | "version": "2.0.5", 3487 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 3488 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 3489 | "requires": { 3490 | "readable-stream": "~2.3.6", 3491 | "xtend": "~4.0.1" 3492 | }, 3493 | "dependencies": { 3494 | "isarray": { 3495 | "version": "1.0.0", 3496 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 3497 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 3498 | }, 3499 | "readable-stream": { 3500 | "version": "2.3.7", 3501 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 3502 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 3503 | "requires": { 3504 | "core-util-is": "~1.0.0", 3505 | "inherits": "~2.0.3", 3506 | "isarray": "~1.0.0", 3507 | "process-nextick-args": "~2.0.0", 3508 | "safe-buffer": "~5.1.1", 3509 | "string_decoder": "~1.1.1", 3510 | "util-deprecate": "~1.0.1" 3511 | } 3512 | }, 3513 | "safe-buffer": { 3514 | "version": "5.1.2", 3515 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 3516 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 3517 | }, 3518 | "string_decoder": { 3519 | "version": "1.1.1", 3520 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 3521 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 3522 | "requires": { 3523 | "safe-buffer": "~5.1.0" 3524 | } 3525 | } 3526 | } 3527 | }, 3528 | "thunky": { 3529 | "version": "1.1.0", 3530 | "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", 3531 | "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==" 3532 | }, 3533 | "time-ordered-set": { 3534 | "version": "1.0.2", 3535 | "resolved": "https://registry.npmjs.org/time-ordered-set/-/time-ordered-set-1.0.2.tgz", 3536 | "integrity": "sha512-vGO99JkxvgX+u+LtOKQEpYf31Kj3i/GNwVstfnh4dyINakMgeZCpew1e3Aj+06hEslhtHEd52g7m5IV+o1K8Mw==" 3537 | }, 3538 | "timeout-refresh": { 3539 | "version": "1.0.2", 3540 | "resolved": "https://registry.npmjs.org/timeout-refresh/-/timeout-refresh-1.0.2.tgz", 3541 | "integrity": "sha512-lsO23gD/EeW53AvEoTOleUFqTIapZTu5NPzD6ndUGs0+G1IuN0+hu2kT6I3AmNX2fiOrcC6umtzMEv1XQmajgQ==" 3542 | }, 3543 | "to-regex-range": { 3544 | "version": "5.0.1", 3545 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3546 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3547 | "dev": true, 3548 | "requires": { 3549 | "is-number": "^7.0.0" 3550 | } 3551 | }, 3552 | "transit-immutable-js": { 3553 | "version": "0.7.0", 3554 | "resolved": "https://registry.npmjs.org/transit-immutable-js/-/transit-immutable-js-0.7.0.tgz", 3555 | "integrity": "sha1-mT4lCJtjEf9AIUD1VidtbSUwBdk=" 3556 | }, 3557 | "transit-js": { 3558 | "version": "0.8.874", 3559 | "resolved": "https://registry.npmjs.org/transit-js/-/transit-js-0.8.874.tgz", 3560 | "integrity": "sha512-IDJJGKRzUbJHmN0P15HBBa05nbKor3r2MmG6aSt0UxXIlJZZKcddTk67/U7WyAeW9Hv/VYI02IqLzolsC4sbPA==" 3561 | }, 3562 | "tslib": { 3563 | "version": "1.11.1", 3564 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", 3565 | "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==", 3566 | "dev": true 3567 | }, 3568 | "type-fest": { 3569 | "version": "0.6.0", 3570 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", 3571 | "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", 3572 | "dev": true 3573 | }, 3574 | "uint64be": { 3575 | "version": "2.0.2", 3576 | "resolved": "https://registry.npmjs.org/uint64be/-/uint64be-2.0.2.tgz", 3577 | "integrity": "sha512-9QqdvpGQTXgxthP+lY4e/gIBy+RuqcBaC6JVwT5I3bDLgT/btL6twZMR0pI3/Fgah9G/pdwzIprE5gL6v9UvyQ==", 3578 | "requires": { 3579 | "buffer-alloc": "^1.1.0" 3580 | } 3581 | }, 3582 | "unordered-array-remove": { 3583 | "version": "1.0.2", 3584 | "resolved": "https://registry.npmjs.org/unordered-array-remove/-/unordered-array-remove-1.0.2.tgz", 3585 | "integrity": "sha1-xUbo+I4xegzyZEyX7LV9umbSUO8=" 3586 | }, 3587 | "unordered-set": { 3588 | "version": "2.0.1", 3589 | "resolved": "https://registry.npmjs.org/unordered-set/-/unordered-set-2.0.1.tgz", 3590 | "integrity": "sha512-eUmNTPzdx+q/WvOHW0bgGYLWvWHNT3PTKEQLg0MAQhc0AHASHVHoP/9YytYd4RBVariqno/mEUhVZN98CmD7bg==" 3591 | }, 3592 | "untildify": { 3593 | "version": "4.0.0", 3594 | "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", 3595 | "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==" 3596 | }, 3597 | "urijs": { 3598 | "version": "1.19.7", 3599 | "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.7.tgz", 3600 | "integrity": "sha512-Id+IKjdU0Hx+7Zx717jwLPsPeUqz7rAtuVBRLLs+qn+J2nf9NGITWVCxcijgYxBqe83C7sqsQPs6H1pyz3x9gA==" 3601 | }, 3602 | "utf8": { 3603 | "version": "3.0.0", 3604 | "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", 3605 | "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==" 3606 | }, 3607 | "util-deprecate": { 3608 | "version": "1.0.2", 3609 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3610 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 3611 | }, 3612 | "utp-native": { 3613 | "version": "2.5.3", 3614 | "resolved": "https://registry.npmjs.org/utp-native/-/utp-native-2.5.3.tgz", 3615 | "integrity": "sha512-sWTrWYXPhhWJh+cS2baPzhaZc89zwlWCfwSthUjGhLkZztyPhcQllo+XVVCbNGi7dhyRlxkWxN4NKU6FbA9Y8w==", 3616 | "requires": { 3617 | "napi-macros": "^2.0.0", 3618 | "node-gyp-build": "^4.2.0", 3619 | "readable-stream": "^3.0.2", 3620 | "timeout-refresh": "^1.0.0", 3621 | "unordered-set": "^2.0.1" 3622 | }, 3623 | "dependencies": { 3624 | "readable-stream": { 3625 | "version": "3.6.0", 3626 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 3627 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 3628 | "requires": { 3629 | "inherits": "^2.0.3", 3630 | "string_decoder": "^1.1.1", 3631 | "util-deprecate": "^1.0.1" 3632 | } 3633 | }, 3634 | "string_decoder": { 3635 | "version": "1.3.0", 3636 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 3637 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 3638 | "requires": { 3639 | "safe-buffer": "~5.2.0" 3640 | } 3641 | } 3642 | } 3643 | }, 3644 | "uuid": { 3645 | "version": "3.4.0", 3646 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 3647 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" 3648 | }, 3649 | "validate-npm-package-license": { 3650 | "version": "3.0.4", 3651 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 3652 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 3653 | "dev": true, 3654 | "requires": { 3655 | "spdx-correct": "^3.0.0", 3656 | "spdx-expression-parse": "^3.0.0" 3657 | } 3658 | }, 3659 | "varint": { 3660 | "version": "4.0.1", 3661 | "resolved": "https://registry.npmjs.org/varint/-/varint-4.0.1.tgz", 3662 | "integrity": "sha1-SQgpuULSSEY7KzUJeZXDv3NxmOk=" 3663 | }, 3664 | "websocket-framed": { 3665 | "version": "1.2.6", 3666 | "resolved": "https://registry.npmjs.org/websocket-framed/-/websocket-framed-1.2.6.tgz", 3667 | "integrity": "sha512-jfkpKBgpfffPtVIovN7+Sv0KJFl967l6PrSbaM1BYW3wx/4hKajoMIoALZ8mzPsCa1wIfYO8anEspx0CsEMkPw==", 3668 | "requires": { 3669 | "encodr": "1.3.0", 3670 | "eventemitter3": "4.0.7" 3671 | } 3672 | }, 3673 | "which": { 3674 | "version": "1.3.1", 3675 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 3676 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 3677 | "dev": true, 3678 | "requires": { 3679 | "isexe": "^2.0.0" 3680 | } 3681 | }, 3682 | "wrap-ansi": { 3683 | "version": "7.0.0", 3684 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 3685 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 3686 | "requires": { 3687 | "ansi-styles": "^4.0.0", 3688 | "string-width": "^4.1.0", 3689 | "strip-ansi": "^6.0.0" 3690 | }, 3691 | "dependencies": { 3692 | "ansi-styles": { 3693 | "version": "4.3.0", 3694 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 3695 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 3696 | "requires": { 3697 | "color-convert": "^2.0.1" 3698 | } 3699 | }, 3700 | "color-convert": { 3701 | "version": "2.0.1", 3702 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 3703 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 3704 | "requires": { 3705 | "color-name": "~1.1.4" 3706 | } 3707 | }, 3708 | "color-name": { 3709 | "version": "1.1.4", 3710 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 3711 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 3712 | } 3713 | } 3714 | }, 3715 | "wrappy": { 3716 | "version": "1.0.2", 3717 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3718 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 3719 | }, 3720 | "ws": { 3721 | "version": "8.0.0", 3722 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.0.0.tgz", 3723 | "integrity": "sha512-6AcSIXpBlS0QvCVKk+3cWnWElLsA6SzC0lkQ43ciEglgXJXiCWK3/CGFEJ+Ybgp006CMibamAsqOlxE9s4AvYA==" 3724 | }, 3725 | "xor-distance": { 3726 | "version": "2.0.0", 3727 | "resolved": "https://registry.npmjs.org/xor-distance/-/xor-distance-2.0.0.tgz", 3728 | "integrity": "sha512-AsAqZfPAuWx7qB/0kyRDUEvoU3QKsHWzHU9smFlkaiprEpGfJ/NBbLze2Uq0rdkxCxkNM9uOLvz/KoNBCbZiLQ==" 3729 | }, 3730 | "xsalsa20": { 3731 | "version": "1.1.0", 3732 | "resolved": "https://registry.npmjs.org/xsalsa20/-/xsalsa20-1.1.0.tgz", 3733 | "integrity": "sha512-zd3ytX2cm+tcSndRU+krm0eL4TMMpZE7evs5hLRAoOy6gviqLfe3qOlkjF3i5SeAkQUCeJk0lJZrEU56kHRfWw==" 3734 | }, 3735 | "xtend": { 3736 | "version": "4.0.2", 3737 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 3738 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" 3739 | }, 3740 | "y18n": { 3741 | "version": "5.0.8", 3742 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 3743 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" 3744 | }, 3745 | "yallist": { 3746 | "version": "3.1.1", 3747 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", 3748 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" 3749 | }, 3750 | "yargs": { 3751 | "version": "16.2.0", 3752 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 3753 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 3754 | "requires": { 3755 | "cliui": "^7.0.2", 3756 | "escalade": "^3.1.1", 3757 | "get-caller-file": "^2.0.5", 3758 | "require-directory": "^2.1.1", 3759 | "string-width": "^4.2.0", 3760 | "y18n": "^5.0.5", 3761 | "yargs-parser": "^20.2.2" 3762 | } 3763 | }, 3764 | "yargs-parser": { 3765 | "version": "20.2.7", 3766 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", 3767 | "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==" 3768 | } 3769 | } 3770 | } 3771 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@hyperwell/gateway", 3 | "version": "0.2.0", 4 | "author": "Jan Kaßel ", 5 | "description": "A P2P system that leverages collaboration, local-first principles, and more on W3C Web Annotations", 6 | "private": true, 7 | "bin": { 8 | "hyperwell-gateway": "./bin/server.js" 9 | }, 10 | "scripts": { 11 | "start": "node ./bin/server.js", 12 | "test": "tape test/*.js" 13 | }, 14 | "license": "MIT", 15 | "dependencies": { 16 | "@hapi/boom": "^8.0.1", 17 | "@hapi/hapi": "^18.4.1", 18 | "browserify-package-json": "^1.0.1", 19 | "debug": "^4.1.1", 20 | "etag": "^1.8.1", 21 | "hapi-plugin-websocket": "^2.3.5", 22 | "hypermerge": "github:automerge/hypermerge#63182f", 23 | "hyperswarm": "^2.15.3", 24 | "minimist": "^1.2.5", 25 | "node-cache": "^5.1.0", 26 | "uuid": "^3.4.0" 27 | }, 28 | "devDependencies": { 29 | "husky": "^3.1.0", 30 | "lint-staged": "^9.5.0", 31 | "prettier": "^1.19.1", 32 | "tape": "^4.13.2" 33 | }, 34 | "engines": { 35 | "node": ">=12.0.0" 36 | }, 37 | "husky": { 38 | "hooks": { 39 | "pre-commit": "lint-staged" 40 | } 41 | }, 42 | "lint-staged": { 43 | "*.{js,css,json,md}": [ 44 | "prettier --write", 45 | "git add" 46 | ] 47 | }, 48 | "prettier": { 49 | "trailingComma": "es5", 50 | "tabWidth": 2, 51 | "semi": false, 52 | "singleQuote": true, 53 | "bracketSpacing": false 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /test/util.js: -------------------------------------------------------------------------------- 1 | const test = require('tape') 2 | const { 3 | normalizeId, 4 | normalizeAnnotation, 5 | denormalizeAnnotation, 6 | encodeDocUrl, 7 | decodeDocUrl, 8 | } = require('../lib/util') 9 | 10 | const docUrl = 'foo-container' 11 | const annotationId = '1c76c270-11fb-11ea-b65a-d9e5ad101414' 12 | const fixture = { 13 | type: 'Annotation', 14 | body: [ 15 | { 16 | type: 'TextualBody', 17 | value: 'foobar', 18 | }, 19 | ], 20 | target: { 21 | selector: [ 22 | { 23 | type: 'TextQuoteSelector', 24 | exact: 'baz', 25 | }, 26 | { 27 | type: 'TextPositionSelector', 28 | start: 98, 29 | end: 104, 30 | }, 31 | ], 32 | }, 33 | '@context': 'http://www.w3.org/ns/anno.jsonld', 34 | id: `https://www.example.com/annotations/${encodeDocUrl( 35 | docUrl 36 | )}/${annotationId}`, 37 | } 38 | 39 | test('normalizeId', t => { 40 | const fixtures = [ 41 | [ 42 | `https://www.example.com/annotations/${encodeDocUrl( 43 | docUrl 44 | )}/${annotationId}`, 45 | 'www.example.com', 46 | docUrl, 47 | annotationId, 48 | ], 49 | [ 50 | `https://www.example.com/annotations/${encodeDocUrl( 51 | docUrl 52 | )}/${annotationId}`, 53 | 'www.example2.com', 54 | docUrl, 55 | null, 56 | ], 57 | [ 58 | `https://www.example.com/annotations/${encodeDocUrl( 59 | docUrl 60 | )}/${annotationId}`, 61 | 'www.example.com', 62 | 'bar-container', 63 | null, 64 | ], 65 | [ 66 | `https://www.example.com:80/annotations/${encodeDocUrl( 67 | docUrl 68 | )}/${annotationId}`, 69 | 'www.example.com:80', 70 | docUrl, 71 | annotationId, 72 | ], 73 | [ 74 | `http://www.example.com:80/annotations/${encodeDocUrl( 75 | docUrl 76 | )}/${annotationId}`, 77 | 'www.example.com:80', 78 | docUrl, 79 | annotationId, 80 | false, 81 | ], 82 | [ 83 | `https://www.example.com:80/annotations/${encodeDocUrl( 84 | docUrl 85 | )}/${annotationId}`, 86 | 'www.example.com:80', 87 | docUrl, 88 | null, 89 | false, 90 | ], 91 | ] 92 | t.plan(fixtures.length) 93 | 94 | for (const [id, hostname, docUrl, expectedId, ssl = true] of fixtures) { 95 | t.equal( 96 | normalizeId(hostname, docUrl, id, {ssl}), 97 | expectedId, 98 | 'Annotation IDs do match' 99 | ) 100 | } 101 | }) 102 | 103 | test('normalizeAnnotation', t => { 104 | t.plan(1) 105 | const normalizedAnnotation = normalizeAnnotation( 106 | 'www.example.com', 107 | docUrl, 108 | fixture, 109 | {ssl: true} 110 | ) 111 | t.deepEqual( 112 | normalizedAnnotation, 113 | { 114 | ...fixture, 115 | id: annotationId, 116 | }, 117 | 'Normalized annotation does match' 118 | ) 119 | }) 120 | 121 | test('denormalizeAnnotation', t => { 122 | t.plan(1) 123 | const annotation = denormalizeAnnotation( 124 | 'www.example.com', 125 | docUrl, 126 | {...fixture, id: annotationId}, 127 | {ssl: true} 128 | ) 129 | t.deepEqual( 130 | annotation, 131 | { 132 | ...fixture, 133 | id: `https://www.example.com/annotations/${encodeDocUrl( 134 | docUrl 135 | )}/${annotationId}`, 136 | }, 137 | 'Normalized annotation does match' 138 | ) 139 | }) 140 | 141 | test('denormalizeAnnotation') 142 | -------------------------------------------------------------------------------- /tools/touch.js: -------------------------------------------------------------------------------- 1 | const {Repo} = require('hypermerge') 2 | const Hyperswarm = require('hyperswarm') 3 | const {encodeDocUrl} = require('../lib/util') 4 | 5 | const repo = new Repo({memory: true}) 6 | repo.setSwarm(Hyperswarm(), { 7 | lookup: false, 8 | announce: true, 9 | }) 10 | 11 | const url = repo.create({annotations: []}) 12 | const handle = repo.watch(url, () => {}) 13 | 14 | console.log(`New notebook created. 15 | Document URL: ${url} 16 | Encoded URL: ${encodeDocUrl(url)}`) 17 | --------------------------------------------------------------------------------