├── .gitignore ├── .npmignore ├── .travis.yml ├── README.md ├── examples └── server.js ├── images ├── screenshot-with-auth.png └── screenshot.png ├── lib └── index.js ├── package-lock.json ├── package.json └── test └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.tgz 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | images -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 12 5 | - 14 6 | - "node" 7 | 8 | sudo: false 9 | 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # blipp ![build](https://travis-ci.org/danielb2/blipp.svg?branch=master) 2 | 3 | `blipp` is a simple hapi plugin to display the routes table to console at 4 | startup. It organizes the display per connection so if you have multiple 5 | connections you can easily ensure that you've done your routing table 6 | correctly. This can be difficult to see otherwise. 7 | 8 | ![image](images/screenshot.png) 9 | 10 | ## Usage (Hapi v17) 11 | 12 | Register like any other plugin 13 | 14 | See [examples](examples/) for examples 15 | 16 | ## Options 17 | 18 | The following options are available: 19 | 20 | * `showAuth`: Shows any hapi authentication scheme using _server.auth.strategy_. Default: false 21 | * `showScope`: Shows route access rules using _route.options.auth.access.scope_. Default: false 22 | * `showStart`: Shows route information during startup of server. Default: true 23 | 24 | 25 | The module also registers the _'info()'_ and _'text()'_ API methods: 26 | ```javascript 27 | console.log(server.plugins.blipp.info()); 28 | console.log(server.plugins.blipp.text()); 29 | var json = JSON.stringify(server.plugins.blipp.info()); 30 | ``` 31 | 32 | 33 | With showAuth: 34 | 35 | ![image](images/screenshot-with-auth.png) 36 | 37 | ## Versions 38 | 39 | * 1.x = hapi 7.x 40 | * 2.x = hapi 8.x 41 | * 3.x = hapi 17.x 42 | * 4.x = hapi 18.x -------------------------------------------------------------------------------- /examples/server.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Hapi = require('hapi'); 4 | const Boom = require('boom'); 5 | const Blipp = require('../'); 6 | 7 | const internals = {}; 8 | 9 | const init = async () => { 10 | 11 | const server = new Hapi.Server(); 12 | 13 | await server.register({ plugin: Blipp, options: { showAuth: true } }); 14 | 15 | server.auth.scheme('custom', internals.scheme); 16 | server.auth.strategy('stimpy', 'custom'); 17 | 18 | server.route({ 19 | method: 'GET', 20 | path: '/user/{id}', 21 | config: { 22 | auth: 'stimpy', 23 | description: 'Display user specific info', 24 | handler: (request, h) => 'Something' 25 | } 26 | }); 27 | 28 | server.route({ 29 | method: 'GET', 30 | path: '/user/{id}/profile', 31 | config: { 32 | auth: false, 33 | description: 'Display user public info', 34 | handler: (request, h) => 'Something' 35 | } 36 | }); 37 | 38 | server.route({ 39 | method: 'GET', 40 | path: '/users', 41 | config: { 42 | auth: false, 43 | description: 'List all users', 44 | handler: (request, h) => 'Something' 45 | } 46 | }); 47 | 48 | server.route({ 49 | method: 'GET', 50 | path: '/routes.table', 51 | config: { 52 | auth: false, 53 | description: 'List routes table', 54 | handler: (request, h) => { 55 | 56 | return request.server.plugins.blipp.info(); 57 | } 58 | } 59 | }); 60 | 61 | await server.start(); 62 | }; 63 | 64 | init(); 65 | 66 | 67 | internals.scheme = function (server, options) { 68 | 69 | return { 70 | authenticate: function (request, h) { 71 | 72 | const authorization = request.headers.authorization; 73 | if (!authorization) { 74 | throw Boom.unauthorized(null, 'Custom'); 75 | } 76 | 77 | return h.authenticated({ credentials: { user: 'john' } }); 78 | } 79 | }; 80 | }; 81 | -------------------------------------------------------------------------------- /images/screenshot-with-auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielb2/blipp/ac4153e83778ad43377629ef0c5d74c01faf9478/images/screenshot-with-auth.png -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielb2/blipp/ac4153e83778ad43377629ef0c5d74c01faf9478/images/screenshot.png -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Load modules 4 | const Chalk = require('chalk'); 5 | const Hoek = require('@hapi/hoek'); 6 | const Joi = require('joi'); 7 | const Pkg = require('../package.json'); 8 | const Table = require('easy-table'); 9 | 10 | 11 | // Declare internals 12 | const internals = { 13 | schema: { 14 | showAuth: Joi.boolean().default(false), 15 | showScope: Joi.boolean().default(false), 16 | showStart: Joi.boolean().default(true) 17 | } 18 | }; 19 | 20 | exports.register = function (server, options) { 21 | 22 | const result = Joi.object(internals.schema).validate(options); 23 | Hoek.assert(!result.error, result.error && result.error.annotate()); 24 | options = result.value; 25 | 26 | server.expose('text', function () { 27 | 28 | const info = this.info(); 29 | return internals.printableInfo(info, options); 30 | }); 31 | 32 | server.expose('info', () => { 33 | 34 | return internals.getRouteInfo(server, options); 35 | }); 36 | 37 | if (options.showStart) { 38 | server.events.on('start', () => { 39 | 40 | const out = server.plugins[Pkg.name].text(); 41 | console.log(out); 42 | }); 43 | } 44 | }; 45 | 46 | internals.printableInfo = function (connections, options) { 47 | 48 | let out = ''; 49 | for (let i = 0; i < connections.length; ++i) { 50 | const connection = connections[i]; 51 | 52 | out += internals.printableConnection(connection, options); 53 | } 54 | 55 | return out; 56 | }; 57 | 58 | 59 | internals.printableConnection = function (connection, options) { 60 | 61 | let out = internals.printableTitle(connection, options) + '\n'; 62 | out += internals.printableRoutes(connection.routes, options); 63 | return out; 64 | }; 65 | 66 | 67 | internals.printableRoutes = function (routes, options) { 68 | 69 | const out = []; 70 | 71 | routes.forEach((show) => { 72 | 73 | const row = { 74 | method: internals.formatMethod(show.method), 75 | path: internals.formatPath(show.path), 76 | auth: internals.formatAuth(show.auth), 77 | scope: internals.formatScope(show.scope), 78 | description: internals.formatDescription(show.description) 79 | }; 80 | 81 | if (!options.showAuth) { 82 | delete row.auth; 83 | } 84 | 85 | if (!options.showScope) { 86 | delete row.scope; 87 | } 88 | 89 | out.push(row); 90 | }); 91 | 92 | return Table.print(out); 93 | }; 94 | 95 | 96 | internals.printableTitle = function (connection) { 97 | 98 | const title = Chalk.underline(connection.uri); 99 | return Chalk.cyan(title); 100 | }; 101 | 102 | 103 | internals.getRouteInfo = function (server, options) { 104 | 105 | const routingTable = server.table(); 106 | 107 | const connectionInfo = { 108 | uri: server.info.uri, 109 | routes: [] 110 | }; 111 | 112 | internals.connectionInfo(server, routingTable, options, connectionInfo); 113 | 114 | return [connectionInfo]; 115 | }; 116 | 117 | internals.connectionInfo = function (server, routes, options, connectionInfo) { 118 | 119 | for (let i = 0; i < routes.length; ++i) { 120 | const route = routes[i]; 121 | 122 | const defaultStrategy = Hoek.reach(server, 'auth.settings.default.strategies'); 123 | let authStrategy = route.settings.auth ? route.settings.auth.strategies.toString() : false; 124 | let authScope = []; 125 | 126 | const required = Hoek.reach(route, 'settings.auth.access.0.scope.required', { default: '' }); 127 | if (required !== '' ) { 128 | authScope.push(required.map((item) => `+${item}`).join(', ')); 129 | } 130 | 131 | const forbidden = Hoek.reach(route, 'settings.auth.access.0.scope.forbidden', { default: '' }); 132 | if (forbidden !== '' ) { 133 | authScope.push(forbidden.map((item) => `!${item}`).join(', ')); 134 | } 135 | 136 | const selection = Hoek.reach(route, 'settings.auth.access.0.scope.selection', { default: '' }); 137 | if (selection !== '') { 138 | authScope.push(selection.join(', ')); 139 | } 140 | 141 | if (authScope.length > 0) { 142 | authScope = authScope.join(', '); 143 | } 144 | else { 145 | authScope = false; 146 | } 147 | 148 | if (route.settings.auth === undefined) { 149 | authStrategy = defaultStrategy ? String(defaultStrategy) : false; 150 | } 151 | 152 | const row = { 153 | method: route.method.toUpperCase(), 154 | path: route.path, 155 | auth: authStrategy, 156 | scope: authScope, 157 | description: route.settings.description || '' 158 | }; 159 | 160 | if (!options.showAuth) { 161 | delete row.auth; 162 | } 163 | 164 | if (!options.showScope) { 165 | delete row.scope; 166 | } 167 | 168 | connectionInfo.routes.push(row); 169 | } 170 | 171 | connectionInfo.routes.sort((a, b) => a.path.localeCompare(b.path)); 172 | }; 173 | 174 | 175 | internals.formatPath = function (path) { 176 | 177 | path = path.replace(/({.*?})/g, Chalk.gray('$1')); 178 | return path; 179 | }; 180 | 181 | 182 | internals.formatMethod = function (method) { 183 | 184 | method = method.toUpperCase(); 185 | method = Chalk.green(method); 186 | return method; 187 | }; 188 | 189 | internals.formatAuth = function (auth) { 190 | 191 | auth = String(auth); 192 | if (auth === 'false') { 193 | auth = Chalk.red('none'); 194 | } 195 | else { 196 | auth = Chalk.green(auth); 197 | } 198 | 199 | return auth; 200 | }; 201 | 202 | internals.formatScope = function (scope) { 203 | 204 | scope = String(scope); 205 | if (scope === 'false') { 206 | scope = Chalk.red('none'); 207 | } 208 | else { 209 | scope = Chalk.green(scope); 210 | } 211 | 212 | return scope; 213 | }; 214 | 215 | internals.formatDescription = function (description) { 216 | 217 | description = description || ''; 218 | description = Chalk.yellow(description); 219 | 220 | return description; 221 | }; 222 | 223 | exports.pkg = Pkg; 224 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blipp", 3 | "version": "4.0.2", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/code-frame": { 8 | "version": "7.10.4", 9 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", 10 | "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", 11 | "dev": true, 12 | "requires": { 13 | "@babel/highlight": "^7.10.4" 14 | } 15 | }, 16 | "@babel/generator": { 17 | "version": "7.12.5", 18 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.5.tgz", 19 | "integrity": "sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A==", 20 | "dev": true, 21 | "requires": { 22 | "@babel/types": "^7.12.5", 23 | "jsesc": "^2.5.1", 24 | "source-map": "^0.5.0" 25 | }, 26 | "dependencies": { 27 | "source-map": { 28 | "version": "0.5.7", 29 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 30 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 31 | "dev": true 32 | } 33 | } 34 | }, 35 | "@babel/helper-function-name": { 36 | "version": "7.10.4", 37 | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", 38 | "integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", 39 | "dev": true, 40 | "requires": { 41 | "@babel/helper-get-function-arity": "^7.10.4", 42 | "@babel/template": "^7.10.4", 43 | "@babel/types": "^7.10.4" 44 | } 45 | }, 46 | "@babel/helper-get-function-arity": { 47 | "version": "7.10.4", 48 | "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", 49 | "integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", 50 | "dev": true, 51 | "requires": { 52 | "@babel/types": "^7.10.4" 53 | } 54 | }, 55 | "@babel/helper-split-export-declaration": { 56 | "version": "7.11.0", 57 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", 58 | "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", 59 | "dev": true, 60 | "requires": { 61 | "@babel/types": "^7.11.0" 62 | } 63 | }, 64 | "@babel/helper-validator-identifier": { 65 | "version": "7.10.4", 66 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", 67 | "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", 68 | "dev": true 69 | }, 70 | "@babel/highlight": { 71 | "version": "7.10.4", 72 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", 73 | "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", 74 | "dev": true, 75 | "requires": { 76 | "@babel/helper-validator-identifier": "^7.10.4", 77 | "chalk": "^2.0.0", 78 | "js-tokens": "^4.0.0" 79 | }, 80 | "dependencies": { 81 | "ansi-styles": { 82 | "version": "3.2.1", 83 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 84 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 85 | "dev": true, 86 | "requires": { 87 | "color-convert": "^1.9.0" 88 | } 89 | }, 90 | "chalk": { 91 | "version": "2.4.2", 92 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 93 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 94 | "dev": true, 95 | "requires": { 96 | "ansi-styles": "^3.2.1", 97 | "escape-string-regexp": "^1.0.5", 98 | "supports-color": "^5.3.0" 99 | } 100 | }, 101 | "color-convert": { 102 | "version": "1.9.3", 103 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 104 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 105 | "dev": true, 106 | "requires": { 107 | "color-name": "1.1.3" 108 | } 109 | }, 110 | "color-name": { 111 | "version": "1.1.3", 112 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 113 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 114 | "dev": true 115 | }, 116 | "has-flag": { 117 | "version": "3.0.0", 118 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 119 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 120 | "dev": true 121 | }, 122 | "supports-color": { 123 | "version": "5.5.0", 124 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 125 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 126 | "dev": true, 127 | "requires": { 128 | "has-flag": "^3.0.0" 129 | } 130 | } 131 | } 132 | }, 133 | "@babel/parser": { 134 | "version": "7.12.5", 135 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.5.tgz", 136 | "integrity": "sha512-FVM6RZQ0mn2KCf1VUED7KepYeUWoVShczewOCfm3nzoBybaih51h+sYVVGthW9M6lPByEPTQf+xm27PBdlpwmQ==", 137 | "dev": true 138 | }, 139 | "@babel/template": { 140 | "version": "7.10.4", 141 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", 142 | "integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==", 143 | "dev": true, 144 | "requires": { 145 | "@babel/code-frame": "^7.10.4", 146 | "@babel/parser": "^7.10.4", 147 | "@babel/types": "^7.10.4" 148 | } 149 | }, 150 | "@babel/traverse": { 151 | "version": "7.12.5", 152 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.5.tgz", 153 | "integrity": "sha512-xa15FbQnias7z9a62LwYAA5SZZPkHIXpd42C6uW68o8uTuua96FHZy1y61Va5P/i83FAAcMpW8+A/QayntzuqA==", 154 | "dev": true, 155 | "requires": { 156 | "@babel/code-frame": "^7.10.4", 157 | "@babel/generator": "^7.12.5", 158 | "@babel/helper-function-name": "^7.10.4", 159 | "@babel/helper-split-export-declaration": "^7.11.0", 160 | "@babel/parser": "^7.12.5", 161 | "@babel/types": "^7.12.5", 162 | "debug": "^4.1.0", 163 | "globals": "^11.1.0", 164 | "lodash": "^4.17.19" 165 | } 166 | }, 167 | "@babel/types": { 168 | "version": "7.12.6", 169 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.6.tgz", 170 | "integrity": "sha512-hwyjw6GvjBLiyy3W0YQf0Z5Zf4NpYejUnKFcfcUhZCSffoBBp30w6wP2Wn6pk31jMYZvcOrB/1b7cGXvEoKogA==", 171 | "dev": true, 172 | "requires": { 173 | "@babel/helper-validator-identifier": "^7.10.4", 174 | "lodash": "^4.17.19", 175 | "to-fast-properties": "^2.0.0" 176 | } 177 | }, 178 | "@eslint/eslintrc": { 179 | "version": "0.2.1", 180 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.1.tgz", 181 | "integrity": "sha512-XRUeBZ5zBWLYgSANMpThFddrZZkEbGHgUdt5UJjZfnlN9BGCiUBrf+nvbRupSjMvqzwnQN0qwCmOxITt1cfywA==", 182 | "dev": true, 183 | "requires": { 184 | "ajv": "^6.12.4", 185 | "debug": "^4.1.1", 186 | "espree": "^7.3.0", 187 | "globals": "^12.1.0", 188 | "ignore": "^4.0.6", 189 | "import-fresh": "^3.2.1", 190 | "js-yaml": "^3.13.1", 191 | "lodash": "^4.17.19", 192 | "minimatch": "^3.0.4", 193 | "strip-json-comments": "^3.1.1" 194 | }, 195 | "dependencies": { 196 | "globals": { 197 | "version": "12.4.0", 198 | "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", 199 | "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", 200 | "dev": true, 201 | "requires": { 202 | "type-fest": "^0.8.1" 203 | } 204 | } 205 | } 206 | }, 207 | "@hapi/accept": { 208 | "version": "5.0.1", 209 | "resolved": "https://registry.npmjs.org/@hapi/accept/-/accept-5.0.1.tgz", 210 | "integrity": "sha512-fMr4d7zLzsAXo28PRRQPXR1o2Wmu+6z+VY1UzDp0iFo13Twj8WePakwXBiqn3E1aAlTpSNzCXdnnQXFhst8h8Q==", 211 | "dev": true, 212 | "requires": { 213 | "@hapi/boom": "9.x.x", 214 | "@hapi/hoek": "9.x.x" 215 | } 216 | }, 217 | "@hapi/ammo": { 218 | "version": "5.0.1", 219 | "resolved": "https://registry.npmjs.org/@hapi/ammo/-/ammo-5.0.1.tgz", 220 | "integrity": "sha512-FbCNwcTbnQP4VYYhLNGZmA76xb2aHg9AMPiy18NZyWMG310P5KdFGyA9v2rm5ujrIny77dEEIkMOwl0Xv+fSSA==", 221 | "dev": true, 222 | "requires": { 223 | "@hapi/hoek": "9.x.x" 224 | } 225 | }, 226 | "@hapi/b64": { 227 | "version": "5.0.0", 228 | "resolved": "https://registry.npmjs.org/@hapi/b64/-/b64-5.0.0.tgz", 229 | "integrity": "sha512-ngu0tSEmrezoiIaNGG6rRvKOUkUuDdf4XTPnONHGYfSGRmDqPZX5oJL6HAdKTo1UQHECbdB4OzhWrfgVppjHUw==", 230 | "dev": true, 231 | "requires": { 232 | "@hapi/hoek": "9.x.x" 233 | } 234 | }, 235 | "@hapi/basic": { 236 | "version": "6.0.0", 237 | "resolved": "https://registry.npmjs.org/@hapi/basic/-/basic-6.0.0.tgz", 238 | "integrity": "sha512-nWWSXNCq3WptnP3To2c8kfQiRFDUnd9FQOcMS0B85y1x/m12c0hhp+VdmK60BMe44k6WIog1n6g8f9gZOagqBg==", 239 | "dev": true, 240 | "requires": { 241 | "@hapi/boom": "9.x.x", 242 | "@hapi/hoek": "9.x.x" 243 | } 244 | }, 245 | "@hapi/boom": { 246 | "version": "9.1.0", 247 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.0.tgz", 248 | "integrity": "sha512-4nZmpp4tXbm162LaZT45P7F7sgiem8dwAh2vHWT6XX24dozNjGMg6BvKCRvtCUcmcXqeMIUqWN8Rc5X8yKuROQ==", 249 | "dev": true, 250 | "requires": { 251 | "@hapi/hoek": "9.x.x" 252 | } 253 | }, 254 | "@hapi/bossy": { 255 | "version": "5.0.1", 256 | "resolved": "https://registry.npmjs.org/@hapi/bossy/-/bossy-5.0.1.tgz", 257 | "integrity": "sha512-/HP5KSQ7EGLcnIdmwYj47mKh6f1htos2Dd8QlQjy59k61lENzKgvFbaPa+REQQGGgVQK7QREO55w/Wjkw2dzrQ==", 258 | "dev": true, 259 | "requires": { 260 | "@hapi/boom": "9.x.x", 261 | "@hapi/hoek": "9.x.x", 262 | "@hapi/validate": "1.x.x" 263 | } 264 | }, 265 | "@hapi/bounce": { 266 | "version": "2.0.0", 267 | "resolved": "https://registry.npmjs.org/@hapi/bounce/-/bounce-2.0.0.tgz", 268 | "integrity": "sha512-JesW92uyzOOyuzJKjoLHM1ThiOvHPOLDHw01YV8yh5nCso7sDwJho1h0Ad2N+E62bZyz46TG3xhAi/78Gsct6A==", 269 | "dev": true, 270 | "requires": { 271 | "@hapi/boom": "9.x.x", 272 | "@hapi/hoek": "9.x.x" 273 | } 274 | }, 275 | "@hapi/bourne": { 276 | "version": "2.0.0", 277 | "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-2.0.0.tgz", 278 | "integrity": "sha512-WEezM1FWztfbzqIUbsDzFRVMxSoLy3HugVcux6KDDtTqzPsLE8NDRHfXvev66aH1i2oOKKar3/XDjbvh/OUBdg==", 279 | "dev": true 280 | }, 281 | "@hapi/call": { 282 | "version": "8.0.1", 283 | "resolved": "https://registry.npmjs.org/@hapi/call/-/call-8.0.1.tgz", 284 | "integrity": "sha512-bOff6GTdOnoe5b8oXRV3lwkQSb/LAWylvDMae6RgEWWntd0SHtkYbQukDHKlfaYtVnSAgIavJ0kqszF/AIBb6g==", 285 | "dev": true, 286 | "requires": { 287 | "@hapi/boom": "9.x.x", 288 | "@hapi/hoek": "9.x.x" 289 | } 290 | }, 291 | "@hapi/catbox": { 292 | "version": "11.1.1", 293 | "resolved": "https://registry.npmjs.org/@hapi/catbox/-/catbox-11.1.1.tgz", 294 | "integrity": "sha512-u/8HvB7dD/6X8hsZIpskSDo4yMKpHxFd7NluoylhGrL6cUfYxdQPnvUp9YU2C6F9hsyBVLGulBd9vBN1ebfXOQ==", 295 | "dev": true, 296 | "requires": { 297 | "@hapi/boom": "9.x.x", 298 | "@hapi/hoek": "9.x.x", 299 | "@hapi/podium": "4.x.x", 300 | "@hapi/validate": "1.x.x" 301 | } 302 | }, 303 | "@hapi/catbox-memory": { 304 | "version": "5.0.0", 305 | "resolved": "https://registry.npmjs.org/@hapi/catbox-memory/-/catbox-memory-5.0.0.tgz", 306 | "integrity": "sha512-ByuxVJPHNaXwLzbBv4GdTr6ccpe1nG+AfYt+8ftDWEJY7EWBWzD+Klhy5oPTDGzU26pNUh1e7fcYI1ILZRxAXQ==", 307 | "dev": true, 308 | "requires": { 309 | "@hapi/boom": "9.x.x", 310 | "@hapi/hoek": "9.x.x" 311 | } 312 | }, 313 | "@hapi/code": { 314 | "version": "8.0.2", 315 | "resolved": "https://registry.npmjs.org/@hapi/code/-/code-8.0.2.tgz", 316 | "integrity": "sha512-JG3yfRMU/acl48i14YAwucyf12wtIyyfEJ4PyL/qZxDd3ltjqCVIlZmOSCazxFjtDZTfMx6TLVcDU5XWvP8tNQ==", 317 | "dev": true, 318 | "requires": { 319 | "@hapi/hoek": "9.x.x" 320 | } 321 | }, 322 | "@hapi/content": { 323 | "version": "5.0.2", 324 | "resolved": "https://registry.npmjs.org/@hapi/content/-/content-5.0.2.tgz", 325 | "integrity": "sha512-mre4dl1ygd4ZyOH3tiYBrOUBzV7Pu/EOs8VLGf58vtOEECWed8Uuw6B4iR9AN/8uQt42tB04qpVaMyoMQh0oMw==", 326 | "dev": true, 327 | "requires": { 328 | "@hapi/boom": "9.x.x" 329 | } 330 | }, 331 | "@hapi/cryptiles": { 332 | "version": "5.1.0", 333 | "resolved": "https://registry.npmjs.org/@hapi/cryptiles/-/cryptiles-5.1.0.tgz", 334 | "integrity": "sha512-fo9+d1Ba5/FIoMySfMqPBR/7Pa29J2RsiPrl7bkwo5W5o+AN1dAYQRi4SPrPwwVxVGKjgLOEWrsvt1BonJSfLA==", 335 | "dev": true, 336 | "requires": { 337 | "@hapi/boom": "9.x.x" 338 | } 339 | }, 340 | "@hapi/eslint-plugin": { 341 | "version": "5.0.0", 342 | "resolved": "https://registry.npmjs.org/@hapi/eslint-plugin/-/eslint-plugin-5.0.0.tgz", 343 | "integrity": "sha512-a3K7cVhxhcN3NJv+UCFeOS8RO+mFtnpgbtkDIPplOdBQoYEuAUCePooZKJuYu07N5z/QjmsSQz83Xx/hHlfJDA==", 344 | "dev": true 345 | }, 346 | "@hapi/file": { 347 | "version": "2.0.0", 348 | "resolved": "https://registry.npmjs.org/@hapi/file/-/file-2.0.0.tgz", 349 | "integrity": "sha512-WSrlgpvEqgPWkI18kkGELEZfXr0bYLtr16iIN4Krh9sRnzBZN6nnWxHFxtsnP684wueEySBbXPDg/WfA9xJdBQ==", 350 | "dev": true 351 | }, 352 | "@hapi/hapi": { 353 | "version": "20.0.2", 354 | "resolved": "https://registry.npmjs.org/@hapi/hapi/-/hapi-20.0.2.tgz", 355 | "integrity": "sha512-F59cZOZhEXpOL+o7RT76M/QDUwSn3u+RBkB+9l2NqTPEA11+inaiEZ0Z2DrRoo9g5EzWVU/gygdP4uo5aXQNHg==", 356 | "dev": true, 357 | "requires": { 358 | "@hapi/accept": "^5.0.1", 359 | "@hapi/ammo": "^5.0.1", 360 | "@hapi/boom": "9.x.x", 361 | "@hapi/bounce": "2.x.x", 362 | "@hapi/call": "8.x.x", 363 | "@hapi/catbox": "^11.1.1", 364 | "@hapi/catbox-memory": "5.x.x", 365 | "@hapi/heavy": "^7.0.1", 366 | "@hapi/hoek": "9.x.x", 367 | "@hapi/mimos": "5.x.x", 368 | "@hapi/podium": "^4.1.1", 369 | "@hapi/shot": "^5.0.1", 370 | "@hapi/somever": "3.x.x", 371 | "@hapi/statehood": "^7.0.3", 372 | "@hapi/subtext": "^7.0.3", 373 | "@hapi/teamwork": "5.x.x", 374 | "@hapi/topo": "5.x.x", 375 | "@hapi/validate": "^1.1.0" 376 | } 377 | }, 378 | "@hapi/heavy": { 379 | "version": "7.0.1", 380 | "resolved": "https://registry.npmjs.org/@hapi/heavy/-/heavy-7.0.1.tgz", 381 | "integrity": "sha512-vJ/vzRQ13MtRzz6Qd4zRHWS3FaUc/5uivV2TIuExGTM9Qk+7Zzqj0e2G7EpE6KztO9SalTbiIkTh7qFKj/33cA==", 382 | "dev": true, 383 | "requires": { 384 | "@hapi/boom": "9.x.x", 385 | "@hapi/hoek": "9.x.x", 386 | "@hapi/validate": "1.x.x" 387 | } 388 | }, 389 | "@hapi/hoek": { 390 | "version": "9.1.0", 391 | "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.1.0.tgz", 392 | "integrity": "sha512-i9YbZPN3QgfighY/1X1Pu118VUz2Fmmhd6b2n0/O8YVgGGfw0FbUYoA97k7FkpGJ+pLCFEDLUmAPPV4D1kpeFw==" 393 | }, 394 | "@hapi/iron": { 395 | "version": "6.0.0", 396 | "resolved": "https://registry.npmjs.org/@hapi/iron/-/iron-6.0.0.tgz", 397 | "integrity": "sha512-zvGvWDufiTGpTJPG1Y/McN8UqWBu0k/xs/7l++HVU535NLHXsHhy54cfEMdW7EjwKfbBfM9Xy25FmTiobb7Hvw==", 398 | "dev": true, 399 | "requires": { 400 | "@hapi/b64": "5.x.x", 401 | "@hapi/boom": "9.x.x", 402 | "@hapi/bourne": "2.x.x", 403 | "@hapi/cryptiles": "5.x.x", 404 | "@hapi/hoek": "9.x.x" 405 | } 406 | }, 407 | "@hapi/lab": { 408 | "version": "24.1.0", 409 | "resolved": "https://registry.npmjs.org/@hapi/lab/-/lab-24.1.0.tgz", 410 | "integrity": "sha512-/Y4wXRk8dmlTW0U8mFdnJAjNBAv/jEb0X/qXxY3nlVRnSI/BC2T6csipxEC+XNs41xgVYGbXh44ShpiYVY49NQ==", 411 | "dev": true, 412 | "requires": { 413 | "@hapi/bossy": "5.x.x", 414 | "@hapi/eslint-plugin": "5.x.x", 415 | "@hapi/hoek": "9.x.x", 416 | "babel-eslint": "10.x.x", 417 | "diff": "4.x.x", 418 | "eslint": "7.x.x", 419 | "find-rc": "4.x.x", 420 | "globby": "10.x.x", 421 | "handlebars": "4.x.x", 422 | "seedrandom": "3.x.x", 423 | "source-map": "0.7.x", 424 | "source-map-support": "0.5.x", 425 | "supports-color": "7.x.x", 426 | "will-call": "1.x.x" 427 | } 428 | }, 429 | "@hapi/mimos": { 430 | "version": "5.0.0", 431 | "resolved": "https://registry.npmjs.org/@hapi/mimos/-/mimos-5.0.0.tgz", 432 | "integrity": "sha512-EVS6wJYeE73InTlPWt+2e3Izn319iIvffDreci3qDNT+t3lA5ylJ0/SoTaID8e0TPNUkHUSsgJZXEmLHvoYzrA==", 433 | "dev": true, 434 | "requires": { 435 | "@hapi/hoek": "9.x.x", 436 | "mime-db": "1.x.x" 437 | } 438 | }, 439 | "@hapi/nigel": { 440 | "version": "4.0.2", 441 | "resolved": "https://registry.npmjs.org/@hapi/nigel/-/nigel-4.0.2.tgz", 442 | "integrity": "sha512-ht2KoEsDW22BxQOEkLEJaqfpoKPXxi7tvabXy7B/77eFtOyG5ZEstfZwxHQcqAiZhp58Ae5vkhEqI03kawkYNw==", 443 | "dev": true, 444 | "requires": { 445 | "@hapi/hoek": "^9.0.4", 446 | "@hapi/vise": "^4.0.0" 447 | } 448 | }, 449 | "@hapi/pez": { 450 | "version": "5.0.3", 451 | "resolved": "https://registry.npmjs.org/@hapi/pez/-/pez-5.0.3.tgz", 452 | "integrity": "sha512-mpikYRJjtrbJgdDHG/H9ySqYqwJ+QU/D7FXsYciS9P7NYBXE2ayKDAy3H0ou6CohOCaxPuTV4SZ0D936+VomHA==", 453 | "dev": true, 454 | "requires": { 455 | "@hapi/b64": "5.x.x", 456 | "@hapi/boom": "9.x.x", 457 | "@hapi/content": "^5.0.2", 458 | "@hapi/hoek": "9.x.x", 459 | "@hapi/nigel": "4.x.x" 460 | } 461 | }, 462 | "@hapi/podium": { 463 | "version": "4.1.1", 464 | "resolved": "https://registry.npmjs.org/@hapi/podium/-/podium-4.1.1.tgz", 465 | "integrity": "sha512-jh7a6+5Z4FUWzx8fgmxjaAa1DTBu+Qfg+NbVdo0f++rE5DgsVidUYrLDp3db65+QjDLleA2MfKQXkpT8ylBDXA==", 466 | "dev": true, 467 | "requires": { 468 | "@hapi/hoek": "9.x.x", 469 | "@hapi/teamwork": "5.x.x", 470 | "@hapi/validate": "1.x.x" 471 | } 472 | }, 473 | "@hapi/shot": { 474 | "version": "5.0.4", 475 | "resolved": "https://registry.npmjs.org/@hapi/shot/-/shot-5.0.4.tgz", 476 | "integrity": "sha512-PcEz0WJgFDA3xNSMeONgQmothFr7jhbbRRSAKaDh7chN7zOXBlhl13bvKZW6CMb2xVfJUmt34CW3e/oExMgBhQ==", 477 | "dev": true, 478 | "requires": { 479 | "@hapi/hoek": "9.x.x", 480 | "@hapi/validate": "1.x.x" 481 | } 482 | }, 483 | "@hapi/somever": { 484 | "version": "3.0.0", 485 | "resolved": "https://registry.npmjs.org/@hapi/somever/-/somever-3.0.0.tgz", 486 | "integrity": "sha512-Upw/kmKotC9iEmK4y047HMYe4LDKsE5NWfjgX41XNKmFvxsQL7OiaCWVhuyyhU0ShDGBfIAnCH8jZr49z/JzZA==", 487 | "dev": true, 488 | "requires": { 489 | "@hapi/bounce": "2.x.x", 490 | "@hapi/hoek": "9.x.x" 491 | } 492 | }, 493 | "@hapi/statehood": { 494 | "version": "7.0.3", 495 | "resolved": "https://registry.npmjs.org/@hapi/statehood/-/statehood-7.0.3.tgz", 496 | "integrity": "sha512-pYB+pyCHkf2Amh67QAXz7e/DN9jcMplIL7Z6N8h0K+ZTy0b404JKPEYkbWHSnDtxLjJB/OtgElxocr2fMH4G7w==", 497 | "dev": true, 498 | "requires": { 499 | "@hapi/boom": "9.x.x", 500 | "@hapi/bounce": "2.x.x", 501 | "@hapi/bourne": "2.x.x", 502 | "@hapi/cryptiles": "5.x.x", 503 | "@hapi/hoek": "9.x.x", 504 | "@hapi/iron": "6.x.x", 505 | "@hapi/validate": "1.x.x" 506 | } 507 | }, 508 | "@hapi/subtext": { 509 | "version": "7.0.3", 510 | "resolved": "https://registry.npmjs.org/@hapi/subtext/-/subtext-7.0.3.tgz", 511 | "integrity": "sha512-CekDizZkDGERJ01C0+TzHlKtqdXZxzSWTOaH6THBrbOHnsr3GY+yiMZC+AfNCypfE17RaIakGIAbpL2Tk1z2+A==", 512 | "dev": true, 513 | "requires": { 514 | "@hapi/boom": "9.x.x", 515 | "@hapi/bourne": "2.x.x", 516 | "@hapi/content": "^5.0.2", 517 | "@hapi/file": "2.x.x", 518 | "@hapi/hoek": "9.x.x", 519 | "@hapi/pez": "^5.0.1", 520 | "@hapi/wreck": "17.x.x" 521 | } 522 | }, 523 | "@hapi/teamwork": { 524 | "version": "5.1.0", 525 | "resolved": "https://registry.npmjs.org/@hapi/teamwork/-/teamwork-5.1.0.tgz", 526 | "integrity": "sha512-llqoQTrAJDTXxG3c4Kz/uzhBS1TsmSBa/XG5SPcVXgmffHE1nFtyLIK0hNJHCB3EuBKT84adzd1hZNY9GJLWtg==", 527 | "dev": true 528 | }, 529 | "@hapi/topo": { 530 | "version": "5.0.0", 531 | "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.0.0.tgz", 532 | "integrity": "sha512-tFJlT47db0kMqVm3H4nQYgn6Pwg10GTZHb1pwmSiv1K4ks6drQOtfEF5ZnPjkvC+y4/bUPHK+bc87QvLcL+WMw==", 533 | "dev": true, 534 | "requires": { 535 | "@hapi/hoek": "^9.0.0" 536 | } 537 | }, 538 | "@hapi/validate": { 539 | "version": "1.1.3", 540 | "resolved": "https://registry.npmjs.org/@hapi/validate/-/validate-1.1.3.tgz", 541 | "integrity": "sha512-/XMR0N0wjw0Twzq2pQOzPBZlDzkekGcoCtzO314BpIEsbXdYGthQUbxgkGDf4nhk1+IPDAsXqWjMohRQYO06UA==", 542 | "dev": true, 543 | "requires": { 544 | "@hapi/hoek": "^9.0.0", 545 | "@hapi/topo": "^5.0.0" 546 | } 547 | }, 548 | "@hapi/vise": { 549 | "version": "4.0.0", 550 | "resolved": "https://registry.npmjs.org/@hapi/vise/-/vise-4.0.0.tgz", 551 | "integrity": "sha512-eYyLkuUiFZTer59h+SGy7hUm+qE9p+UemePTHLlIWppEd+wExn3Df5jO04bFQTm7nleF5V8CtuYQYb+VFpZ6Sg==", 552 | "dev": true, 553 | "requires": { 554 | "@hapi/hoek": "9.x.x" 555 | } 556 | }, 557 | "@hapi/wreck": { 558 | "version": "17.0.0", 559 | "resolved": "https://registry.npmjs.org/@hapi/wreck/-/wreck-17.0.0.tgz", 560 | "integrity": "sha512-d8lqCinbKyDByn7GzJDRDbitddhIEydNm44UcAMejfhEH3o4IYvKYq6K8cAqXbilXPuvZc0ErlUOg9SDdgRtMw==", 561 | "dev": true, 562 | "requires": { 563 | "@hapi/boom": "9.x.x", 564 | "@hapi/bourne": "2.x.x", 565 | "@hapi/hoek": "9.x.x" 566 | } 567 | }, 568 | "@nodelib/fs.scandir": { 569 | "version": "2.1.3", 570 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", 571 | "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==", 572 | "dev": true, 573 | "requires": { 574 | "@nodelib/fs.stat": "2.0.3", 575 | "run-parallel": "^1.1.9" 576 | } 577 | }, 578 | "@nodelib/fs.stat": { 579 | "version": "2.0.3", 580 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz", 581 | "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==", 582 | "dev": true 583 | }, 584 | "@nodelib/fs.walk": { 585 | "version": "1.2.4", 586 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz", 587 | "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==", 588 | "dev": true, 589 | "requires": { 590 | "@nodelib/fs.scandir": "2.1.3", 591 | "fastq": "^1.6.0" 592 | } 593 | }, 594 | "@sideway/address": { 595 | "version": "4.1.0", 596 | "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.0.tgz", 597 | "integrity": "sha512-wAH/JYRXeIFQRsxerIuLjgUu2Xszam+O5xKeatJ4oudShOOirfmsQ1D6LL54XOU2tizpCYku+s1wmU0SYdpoSA==", 598 | "requires": { 599 | "@hapi/hoek": "^9.0.0" 600 | }, 601 | "dependencies": { 602 | "@hapi/hoek": { 603 | "version": "9.1.0", 604 | "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.1.0.tgz", 605 | "integrity": "sha512-i9YbZPN3QgfighY/1X1Pu118VUz2Fmmhd6b2n0/O8YVgGGfw0FbUYoA97k7FkpGJ+pLCFEDLUmAPPV4D1kpeFw==" 606 | } 607 | } 608 | }, 609 | "@sideway/formula": { 610 | "version": "3.0.0", 611 | "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz", 612 | "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==" 613 | }, 614 | "@sideway/pinpoint": { 615 | "version": "2.0.0", 616 | "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", 617 | "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" 618 | }, 619 | "@types/glob": { 620 | "version": "7.1.3", 621 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", 622 | "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", 623 | "dev": true, 624 | "requires": { 625 | "@types/minimatch": "*", 626 | "@types/node": "*" 627 | } 628 | }, 629 | "@types/minimatch": { 630 | "version": "3.0.3", 631 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", 632 | "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", 633 | "dev": true 634 | }, 635 | "@types/node": { 636 | "version": "14.14.9", 637 | "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", 638 | "integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==", 639 | "dev": true 640 | }, 641 | "acorn": { 642 | "version": "7.4.1", 643 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", 644 | "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", 645 | "dev": true 646 | }, 647 | "acorn-jsx": { 648 | "version": "5.3.1", 649 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", 650 | "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", 651 | "dev": true 652 | }, 653 | "ajv": { 654 | "version": "6.12.6", 655 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 656 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 657 | "dev": true, 658 | "requires": { 659 | "fast-deep-equal": "^3.1.1", 660 | "fast-json-stable-stringify": "^2.0.0", 661 | "json-schema-traverse": "^0.4.1", 662 | "uri-js": "^4.2.2" 663 | } 664 | }, 665 | "ansi-colors": { 666 | "version": "4.1.1", 667 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 668 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 669 | "dev": true 670 | }, 671 | "ansi-regex": { 672 | "version": "5.0.0", 673 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", 674 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", 675 | "dev": true 676 | }, 677 | "ansi-styles": { 678 | "version": "4.3.0", 679 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 680 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 681 | "requires": { 682 | "color-convert": "^2.0.1" 683 | } 684 | }, 685 | "argparse": { 686 | "version": "1.0.10", 687 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 688 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 689 | "dev": true, 690 | "requires": { 691 | "sprintf-js": "~1.0.2" 692 | } 693 | }, 694 | "array-union": { 695 | "version": "2.1.0", 696 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 697 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 698 | "dev": true 699 | }, 700 | "astral-regex": { 701 | "version": "1.0.0", 702 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", 703 | "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", 704 | "dev": true 705 | }, 706 | "babel-eslint": { 707 | "version": "10.1.0", 708 | "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", 709 | "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", 710 | "dev": true, 711 | "requires": { 712 | "@babel/code-frame": "^7.0.0", 713 | "@babel/parser": "^7.7.0", 714 | "@babel/traverse": "^7.7.0", 715 | "@babel/types": "^7.7.0", 716 | "eslint-visitor-keys": "^1.0.0", 717 | "resolve": "^1.12.0" 718 | } 719 | }, 720 | "balanced-match": { 721 | "version": "1.0.0", 722 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 723 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 724 | "dev": true 725 | }, 726 | "brace-expansion": { 727 | "version": "1.1.11", 728 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 729 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 730 | "dev": true, 731 | "requires": { 732 | "balanced-match": "^1.0.0", 733 | "concat-map": "0.0.1" 734 | } 735 | }, 736 | "braces": { 737 | "version": "3.0.2", 738 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 739 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 740 | "dev": true, 741 | "requires": { 742 | "fill-range": "^7.0.1" 743 | } 744 | }, 745 | "buffer-from": { 746 | "version": "1.1.1", 747 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", 748 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", 749 | "dev": true 750 | }, 751 | "callsites": { 752 | "version": "3.1.0", 753 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 754 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 755 | "dev": true 756 | }, 757 | "chalk": { 758 | "version": "4.1.0", 759 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 760 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 761 | "requires": { 762 | "ansi-styles": "^4.1.0", 763 | "supports-color": "^7.1.0" 764 | } 765 | }, 766 | "clone": { 767 | "version": "1.0.4", 768 | "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", 769 | "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", 770 | "optional": true 771 | }, 772 | "color-convert": { 773 | "version": "2.0.1", 774 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 775 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 776 | "requires": { 777 | "color-name": "~1.1.4" 778 | } 779 | }, 780 | "color-name": { 781 | "version": "1.1.4", 782 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 783 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 784 | }, 785 | "concat-map": { 786 | "version": "0.0.1", 787 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 788 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 789 | "dev": true 790 | }, 791 | "cross-spawn": { 792 | "version": "7.0.3", 793 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 794 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 795 | "dev": true, 796 | "requires": { 797 | "path-key": "^3.1.0", 798 | "shebang-command": "^2.0.0", 799 | "which": "^2.0.1" 800 | } 801 | }, 802 | "debug": { 803 | "version": "4.3.1", 804 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", 805 | "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", 806 | "dev": true, 807 | "requires": { 808 | "ms": "2.1.2" 809 | } 810 | }, 811 | "deep-is": { 812 | "version": "0.1.3", 813 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 814 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 815 | "dev": true 816 | }, 817 | "defaults": { 818 | "version": "1.0.3", 819 | "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", 820 | "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", 821 | "optional": true, 822 | "requires": { 823 | "clone": "^1.0.2" 824 | } 825 | }, 826 | "diff": { 827 | "version": "4.0.2", 828 | "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", 829 | "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", 830 | "dev": true 831 | }, 832 | "dir-glob": { 833 | "version": "3.0.1", 834 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 835 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 836 | "dev": true, 837 | "requires": { 838 | "path-type": "^4.0.0" 839 | } 840 | }, 841 | "doctrine": { 842 | "version": "3.0.0", 843 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 844 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 845 | "dev": true, 846 | "requires": { 847 | "esutils": "^2.0.2" 848 | } 849 | }, 850 | "easy-table": { 851 | "version": "1.1.1", 852 | "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.1.tgz", 853 | "integrity": "sha512-C9Lvm0WFcn2RgxbMnTbXZenMIWcBtkzMr+dWqq/JsVoGFSVUVlPqeOa5LP5kM0I3zoOazFpckOEb2/0LDFfToQ==", 854 | "requires": { 855 | "ansi-regex": "^3.0.0", 856 | "wcwidth": ">=1.0.1" 857 | }, 858 | "dependencies": { 859 | "ansi-regex": { 860 | "version": "3.0.0", 861 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 862 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 863 | } 864 | } 865 | }, 866 | "emoji-regex": { 867 | "version": "7.0.3", 868 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 869 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", 870 | "dev": true 871 | }, 872 | "enquirer": { 873 | "version": "2.3.6", 874 | "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", 875 | "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", 876 | "dev": true, 877 | "requires": { 878 | "ansi-colors": "^4.1.1" 879 | } 880 | }, 881 | "escape-string-regexp": { 882 | "version": "1.0.5", 883 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 884 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 885 | "dev": true 886 | }, 887 | "eslint": { 888 | "version": "7.13.0", 889 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.13.0.tgz", 890 | "integrity": "sha512-uCORMuOO8tUzJmsdRtrvcGq5qposf7Rw0LwkTJkoDbOycVQtQjmnhZSuLQnozLE4TmAzlMVV45eCHmQ1OpDKUQ==", 891 | "dev": true, 892 | "requires": { 893 | "@babel/code-frame": "^7.0.0", 894 | "@eslint/eslintrc": "^0.2.1", 895 | "ajv": "^6.10.0", 896 | "chalk": "^4.0.0", 897 | "cross-spawn": "^7.0.2", 898 | "debug": "^4.0.1", 899 | "doctrine": "^3.0.0", 900 | "enquirer": "^2.3.5", 901 | "eslint-scope": "^5.1.1", 902 | "eslint-utils": "^2.1.0", 903 | "eslint-visitor-keys": "^2.0.0", 904 | "espree": "^7.3.0", 905 | "esquery": "^1.2.0", 906 | "esutils": "^2.0.2", 907 | "file-entry-cache": "^5.0.1", 908 | "functional-red-black-tree": "^1.0.1", 909 | "glob-parent": "^5.0.0", 910 | "globals": "^12.1.0", 911 | "ignore": "^4.0.6", 912 | "import-fresh": "^3.0.0", 913 | "imurmurhash": "^0.1.4", 914 | "is-glob": "^4.0.0", 915 | "js-yaml": "^3.13.1", 916 | "json-stable-stringify-without-jsonify": "^1.0.1", 917 | "levn": "^0.4.1", 918 | "lodash": "^4.17.19", 919 | "minimatch": "^3.0.4", 920 | "natural-compare": "^1.4.0", 921 | "optionator": "^0.9.1", 922 | "progress": "^2.0.0", 923 | "regexpp": "^3.1.0", 924 | "semver": "^7.2.1", 925 | "strip-ansi": "^6.0.0", 926 | "strip-json-comments": "^3.1.0", 927 | "table": "^5.2.3", 928 | "text-table": "^0.2.0", 929 | "v8-compile-cache": "^2.0.3" 930 | }, 931 | "dependencies": { 932 | "eslint-visitor-keys": { 933 | "version": "2.0.0", 934 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", 935 | "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", 936 | "dev": true 937 | }, 938 | "globals": { 939 | "version": "12.4.0", 940 | "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", 941 | "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", 942 | "dev": true, 943 | "requires": { 944 | "type-fest": "^0.8.1" 945 | } 946 | } 947 | } 948 | }, 949 | "eslint-scope": { 950 | "version": "5.1.1", 951 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", 952 | "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", 953 | "dev": true, 954 | "requires": { 955 | "esrecurse": "^4.3.0", 956 | "estraverse": "^4.1.1" 957 | } 958 | }, 959 | "eslint-utils": { 960 | "version": "2.1.0", 961 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", 962 | "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", 963 | "dev": true, 964 | "requires": { 965 | "eslint-visitor-keys": "^1.1.0" 966 | } 967 | }, 968 | "eslint-visitor-keys": { 969 | "version": "1.3.0", 970 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", 971 | "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", 972 | "dev": true 973 | }, 974 | "espree": { 975 | "version": "7.3.0", 976 | "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.0.tgz", 977 | "integrity": "sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw==", 978 | "dev": true, 979 | "requires": { 980 | "acorn": "^7.4.0", 981 | "acorn-jsx": "^5.2.0", 982 | "eslint-visitor-keys": "^1.3.0" 983 | } 984 | }, 985 | "esprima": { 986 | "version": "4.0.1", 987 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 988 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 989 | "dev": true 990 | }, 991 | "esquery": { 992 | "version": "1.3.1", 993 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", 994 | "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", 995 | "dev": true, 996 | "requires": { 997 | "estraverse": "^5.1.0" 998 | }, 999 | "dependencies": { 1000 | "estraverse": { 1001 | "version": "5.2.0", 1002 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", 1003 | "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", 1004 | "dev": true 1005 | } 1006 | } 1007 | }, 1008 | "esrecurse": { 1009 | "version": "4.3.0", 1010 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 1011 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 1012 | "dev": true, 1013 | "requires": { 1014 | "estraverse": "^5.2.0" 1015 | }, 1016 | "dependencies": { 1017 | "estraverse": { 1018 | "version": "5.2.0", 1019 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", 1020 | "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", 1021 | "dev": true 1022 | } 1023 | } 1024 | }, 1025 | "estraverse": { 1026 | "version": "4.3.0", 1027 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 1028 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 1029 | "dev": true 1030 | }, 1031 | "esutils": { 1032 | "version": "2.0.3", 1033 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1034 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1035 | "dev": true 1036 | }, 1037 | "fast-deep-equal": { 1038 | "version": "3.1.3", 1039 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1040 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1041 | "dev": true 1042 | }, 1043 | "fast-glob": { 1044 | "version": "3.2.4", 1045 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.4.tgz", 1046 | "integrity": "sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==", 1047 | "dev": true, 1048 | "requires": { 1049 | "@nodelib/fs.stat": "^2.0.2", 1050 | "@nodelib/fs.walk": "^1.2.3", 1051 | "glob-parent": "^5.1.0", 1052 | "merge2": "^1.3.0", 1053 | "micromatch": "^4.0.2", 1054 | "picomatch": "^2.2.1" 1055 | } 1056 | }, 1057 | "fast-json-stable-stringify": { 1058 | "version": "2.1.0", 1059 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1060 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1061 | "dev": true 1062 | }, 1063 | "fast-levenshtein": { 1064 | "version": "2.0.6", 1065 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1066 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 1067 | "dev": true 1068 | }, 1069 | "fastq": { 1070 | "version": "1.9.0", 1071 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.9.0.tgz", 1072 | "integrity": "sha512-i7FVWL8HhVY+CTkwFxkN2mk3h+787ixS5S63eb78diVRc1MCssarHq3W5cj0av7YDSwmaV928RNag+U1etRQ7w==", 1073 | "dev": true, 1074 | "requires": { 1075 | "reusify": "^1.0.4" 1076 | } 1077 | }, 1078 | "file-entry-cache": { 1079 | "version": "5.0.1", 1080 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", 1081 | "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", 1082 | "dev": true, 1083 | "requires": { 1084 | "flat-cache": "^2.0.1" 1085 | } 1086 | }, 1087 | "fill-range": { 1088 | "version": "7.0.1", 1089 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1090 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1091 | "dev": true, 1092 | "requires": { 1093 | "to-regex-range": "^5.0.1" 1094 | } 1095 | }, 1096 | "find-rc": { 1097 | "version": "4.0.1", 1098 | "resolved": "https://registry.npmjs.org/find-rc/-/find-rc-4.0.1.tgz", 1099 | "integrity": "sha512-YEox27Ie95/zoqkxm6BYSPguJsvYz9d9G1YuaNKhxjSgZbjMC9q5blmvbL4+Ail8yacQIE0OObhDb+ZwvfJafw==", 1100 | "dev": true 1101 | }, 1102 | "flat-cache": { 1103 | "version": "2.0.1", 1104 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", 1105 | "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", 1106 | "dev": true, 1107 | "requires": { 1108 | "flatted": "^2.0.0", 1109 | "rimraf": "2.6.3", 1110 | "write": "1.0.3" 1111 | } 1112 | }, 1113 | "flatted": { 1114 | "version": "2.0.2", 1115 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", 1116 | "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", 1117 | "dev": true 1118 | }, 1119 | "fs.realpath": { 1120 | "version": "1.0.0", 1121 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1122 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1123 | "dev": true 1124 | }, 1125 | "function-bind": { 1126 | "version": "1.1.1", 1127 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1128 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1129 | "dev": true 1130 | }, 1131 | "functional-red-black-tree": { 1132 | "version": "1.0.1", 1133 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 1134 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 1135 | "dev": true 1136 | }, 1137 | "glob": { 1138 | "version": "7.1.6", 1139 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 1140 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 1141 | "dev": true, 1142 | "requires": { 1143 | "fs.realpath": "^1.0.0", 1144 | "inflight": "^1.0.4", 1145 | "inherits": "2", 1146 | "minimatch": "^3.0.4", 1147 | "once": "^1.3.0", 1148 | "path-is-absolute": "^1.0.0" 1149 | } 1150 | }, 1151 | "glob-parent": { 1152 | "version": "5.1.1", 1153 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", 1154 | "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", 1155 | "dev": true, 1156 | "requires": { 1157 | "is-glob": "^4.0.1" 1158 | } 1159 | }, 1160 | "globals": { 1161 | "version": "11.12.0", 1162 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 1163 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", 1164 | "dev": true 1165 | }, 1166 | "globby": { 1167 | "version": "10.0.2", 1168 | "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz", 1169 | "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==", 1170 | "dev": true, 1171 | "requires": { 1172 | "@types/glob": "^7.1.1", 1173 | "array-union": "^2.1.0", 1174 | "dir-glob": "^3.0.1", 1175 | "fast-glob": "^3.0.3", 1176 | "glob": "^7.1.3", 1177 | "ignore": "^5.1.1", 1178 | "merge2": "^1.2.3", 1179 | "slash": "^3.0.0" 1180 | }, 1181 | "dependencies": { 1182 | "ignore": { 1183 | "version": "5.1.8", 1184 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", 1185 | "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", 1186 | "dev": true 1187 | } 1188 | } 1189 | }, 1190 | "handlebars": { 1191 | "version": "4.7.6", 1192 | "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz", 1193 | "integrity": "sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==", 1194 | "dev": true, 1195 | "requires": { 1196 | "minimist": "^1.2.5", 1197 | "neo-async": "^2.6.0", 1198 | "source-map": "^0.6.1", 1199 | "uglify-js": "^3.1.4", 1200 | "wordwrap": "^1.0.0" 1201 | }, 1202 | "dependencies": { 1203 | "source-map": { 1204 | "version": "0.6.1", 1205 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1206 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1207 | "dev": true 1208 | } 1209 | } 1210 | }, 1211 | "has": { 1212 | "version": "1.0.3", 1213 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1214 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1215 | "dev": true, 1216 | "requires": { 1217 | "function-bind": "^1.1.1" 1218 | } 1219 | }, 1220 | "has-flag": { 1221 | "version": "4.0.0", 1222 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1223 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 1224 | }, 1225 | "ignore": { 1226 | "version": "4.0.6", 1227 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 1228 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", 1229 | "dev": true 1230 | }, 1231 | "import-fresh": { 1232 | "version": "3.2.2", 1233 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz", 1234 | "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==", 1235 | "dev": true, 1236 | "requires": { 1237 | "parent-module": "^1.0.0", 1238 | "resolve-from": "^4.0.0" 1239 | } 1240 | }, 1241 | "imurmurhash": { 1242 | "version": "0.1.4", 1243 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1244 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 1245 | "dev": true 1246 | }, 1247 | "inflight": { 1248 | "version": "1.0.6", 1249 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1250 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1251 | "dev": true, 1252 | "requires": { 1253 | "once": "^1.3.0", 1254 | "wrappy": "1" 1255 | } 1256 | }, 1257 | "inherits": { 1258 | "version": "2.0.4", 1259 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1260 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1261 | "dev": true 1262 | }, 1263 | "is-core-module": { 1264 | "version": "2.1.0", 1265 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", 1266 | "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", 1267 | "dev": true, 1268 | "requires": { 1269 | "has": "^1.0.3" 1270 | } 1271 | }, 1272 | "is-extglob": { 1273 | "version": "2.1.1", 1274 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1275 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 1276 | "dev": true 1277 | }, 1278 | "is-fullwidth-code-point": { 1279 | "version": "2.0.0", 1280 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 1281 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 1282 | "dev": true 1283 | }, 1284 | "is-glob": { 1285 | "version": "4.0.1", 1286 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 1287 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 1288 | "dev": true, 1289 | "requires": { 1290 | "is-extglob": "^2.1.1" 1291 | } 1292 | }, 1293 | "is-number": { 1294 | "version": "7.0.0", 1295 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1296 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1297 | "dev": true 1298 | }, 1299 | "isexe": { 1300 | "version": "2.0.0", 1301 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1302 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1303 | "dev": true 1304 | }, 1305 | "joi": { 1306 | "version": "17.3.0", 1307 | "resolved": "https://registry.npmjs.org/joi/-/joi-17.3.0.tgz", 1308 | "integrity": "sha512-Qh5gdU6niuYbUIUV5ejbsMiiFmBdw8Kcp8Buj2JntszCkCfxJ9Cz76OtHxOZMPXrt5810iDIXs+n1nNVoquHgg==", 1309 | "requires": { 1310 | "@hapi/hoek": "^9.0.0", 1311 | "@hapi/topo": "^5.0.0", 1312 | "@sideway/address": "^4.1.0", 1313 | "@sideway/formula": "^3.0.0", 1314 | "@sideway/pinpoint": "^2.0.0" 1315 | }, 1316 | "dependencies": { 1317 | "@hapi/hoek": { 1318 | "version": "9.1.0", 1319 | "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.1.0.tgz", 1320 | "integrity": "sha512-i9YbZPN3QgfighY/1X1Pu118VUz2Fmmhd6b2n0/O8YVgGGfw0FbUYoA97k7FkpGJ+pLCFEDLUmAPPV4D1kpeFw==" 1321 | }, 1322 | "@hapi/topo": { 1323 | "version": "5.0.0", 1324 | "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.0.0.tgz", 1325 | "integrity": "sha512-tFJlT47db0kMqVm3H4nQYgn6Pwg10GTZHb1pwmSiv1K4ks6drQOtfEF5ZnPjkvC+y4/bUPHK+bc87QvLcL+WMw==", 1326 | "requires": { 1327 | "@hapi/hoek": "^9.0.0" 1328 | } 1329 | } 1330 | } 1331 | }, 1332 | "js-tokens": { 1333 | "version": "4.0.0", 1334 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 1335 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 1336 | "dev": true 1337 | }, 1338 | "js-yaml": { 1339 | "version": "3.14.0", 1340 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", 1341 | "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", 1342 | "dev": true, 1343 | "requires": { 1344 | "argparse": "^1.0.7", 1345 | "esprima": "^4.0.0" 1346 | } 1347 | }, 1348 | "jsesc": { 1349 | "version": "2.5.2", 1350 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", 1351 | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", 1352 | "dev": true 1353 | }, 1354 | "json-schema-traverse": { 1355 | "version": "0.4.1", 1356 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1357 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1358 | "dev": true 1359 | }, 1360 | "json-stable-stringify-without-jsonify": { 1361 | "version": "1.0.1", 1362 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1363 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 1364 | "dev": true 1365 | }, 1366 | "levn": { 1367 | "version": "0.4.1", 1368 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1369 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1370 | "dev": true, 1371 | "requires": { 1372 | "prelude-ls": "^1.2.1", 1373 | "type-check": "~0.4.0" 1374 | } 1375 | }, 1376 | "lodash": { 1377 | "version": "4.17.20", 1378 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", 1379 | "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", 1380 | "dev": true 1381 | }, 1382 | "merge2": { 1383 | "version": "1.4.1", 1384 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1385 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1386 | "dev": true 1387 | }, 1388 | "micromatch": { 1389 | "version": "4.0.2", 1390 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", 1391 | "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", 1392 | "dev": true, 1393 | "requires": { 1394 | "braces": "^3.0.1", 1395 | "picomatch": "^2.0.5" 1396 | } 1397 | }, 1398 | "mime-db": { 1399 | "version": "1.45.0", 1400 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz", 1401 | "integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==", 1402 | "dev": true 1403 | }, 1404 | "minimatch": { 1405 | "version": "3.0.4", 1406 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 1407 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 1408 | "dev": true, 1409 | "requires": { 1410 | "brace-expansion": "^1.1.7" 1411 | } 1412 | }, 1413 | "minimist": { 1414 | "version": "1.2.5", 1415 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 1416 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", 1417 | "dev": true 1418 | }, 1419 | "mkdirp": { 1420 | "version": "0.5.5", 1421 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", 1422 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", 1423 | "dev": true, 1424 | "requires": { 1425 | "minimist": "^1.2.5" 1426 | } 1427 | }, 1428 | "ms": { 1429 | "version": "2.1.2", 1430 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1431 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1432 | "dev": true 1433 | }, 1434 | "natural-compare": { 1435 | "version": "1.4.0", 1436 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1437 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 1438 | "dev": true 1439 | }, 1440 | "neo-async": { 1441 | "version": "2.6.2", 1442 | "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", 1443 | "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", 1444 | "dev": true 1445 | }, 1446 | "once": { 1447 | "version": "1.4.0", 1448 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1449 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1450 | "dev": true, 1451 | "requires": { 1452 | "wrappy": "1" 1453 | } 1454 | }, 1455 | "optionator": { 1456 | "version": "0.9.1", 1457 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 1458 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 1459 | "dev": true, 1460 | "requires": { 1461 | "deep-is": "^0.1.3", 1462 | "fast-levenshtein": "^2.0.6", 1463 | "levn": "^0.4.1", 1464 | "prelude-ls": "^1.2.1", 1465 | "type-check": "^0.4.0", 1466 | "word-wrap": "^1.2.3" 1467 | } 1468 | }, 1469 | "parent-module": { 1470 | "version": "1.0.1", 1471 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1472 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1473 | "dev": true, 1474 | "requires": { 1475 | "callsites": "^3.0.0" 1476 | } 1477 | }, 1478 | "path-is-absolute": { 1479 | "version": "1.0.1", 1480 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1481 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1482 | "dev": true 1483 | }, 1484 | "path-key": { 1485 | "version": "3.1.1", 1486 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1487 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1488 | "dev": true 1489 | }, 1490 | "path-parse": { 1491 | "version": "1.0.6", 1492 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 1493 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", 1494 | "dev": true 1495 | }, 1496 | "path-type": { 1497 | "version": "4.0.0", 1498 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1499 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1500 | "dev": true 1501 | }, 1502 | "picomatch": { 1503 | "version": "2.2.2", 1504 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", 1505 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", 1506 | "dev": true 1507 | }, 1508 | "prelude-ls": { 1509 | "version": "1.2.1", 1510 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1511 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1512 | "dev": true 1513 | }, 1514 | "progress": { 1515 | "version": "2.0.3", 1516 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 1517 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 1518 | "dev": true 1519 | }, 1520 | "punycode": { 1521 | "version": "2.1.1", 1522 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1523 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1524 | "dev": true 1525 | }, 1526 | "regexpp": { 1527 | "version": "3.1.0", 1528 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", 1529 | "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", 1530 | "dev": true 1531 | }, 1532 | "resolve": { 1533 | "version": "1.19.0", 1534 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", 1535 | "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", 1536 | "dev": true, 1537 | "requires": { 1538 | "is-core-module": "^2.1.0", 1539 | "path-parse": "^1.0.6" 1540 | } 1541 | }, 1542 | "resolve-from": { 1543 | "version": "4.0.0", 1544 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1545 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1546 | "dev": true 1547 | }, 1548 | "reusify": { 1549 | "version": "1.0.4", 1550 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1551 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1552 | "dev": true 1553 | }, 1554 | "rimraf": { 1555 | "version": "2.6.3", 1556 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", 1557 | "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", 1558 | "dev": true, 1559 | "requires": { 1560 | "glob": "^7.1.3" 1561 | } 1562 | }, 1563 | "run-parallel": { 1564 | "version": "1.1.10", 1565 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz", 1566 | "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==", 1567 | "dev": true 1568 | }, 1569 | "seedrandom": { 1570 | "version": "3.0.5", 1571 | "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz", 1572 | "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==", 1573 | "dev": true 1574 | }, 1575 | "semver": { 1576 | "version": "7.3.2", 1577 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", 1578 | "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", 1579 | "dev": true 1580 | }, 1581 | "shebang-command": { 1582 | "version": "2.0.0", 1583 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1584 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1585 | "dev": true, 1586 | "requires": { 1587 | "shebang-regex": "^3.0.0" 1588 | } 1589 | }, 1590 | "shebang-regex": { 1591 | "version": "3.0.0", 1592 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1593 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1594 | "dev": true 1595 | }, 1596 | "slash": { 1597 | "version": "3.0.0", 1598 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 1599 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 1600 | "dev": true 1601 | }, 1602 | "slice-ansi": { 1603 | "version": "2.1.0", 1604 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", 1605 | "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", 1606 | "dev": true, 1607 | "requires": { 1608 | "ansi-styles": "^3.2.0", 1609 | "astral-regex": "^1.0.0", 1610 | "is-fullwidth-code-point": "^2.0.0" 1611 | }, 1612 | "dependencies": { 1613 | "ansi-styles": { 1614 | "version": "3.2.1", 1615 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 1616 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 1617 | "dev": true, 1618 | "requires": { 1619 | "color-convert": "^1.9.0" 1620 | } 1621 | }, 1622 | "color-convert": { 1623 | "version": "1.9.3", 1624 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1625 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1626 | "dev": true, 1627 | "requires": { 1628 | "color-name": "1.1.3" 1629 | } 1630 | }, 1631 | "color-name": { 1632 | "version": "1.1.3", 1633 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1634 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 1635 | "dev": true 1636 | } 1637 | } 1638 | }, 1639 | "source-map": { 1640 | "version": "0.7.3", 1641 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", 1642 | "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", 1643 | "dev": true 1644 | }, 1645 | "source-map-support": { 1646 | "version": "0.5.19", 1647 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", 1648 | "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", 1649 | "dev": true, 1650 | "requires": { 1651 | "buffer-from": "^1.0.0", 1652 | "source-map": "^0.6.0" 1653 | }, 1654 | "dependencies": { 1655 | "source-map": { 1656 | "version": "0.6.1", 1657 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1658 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1659 | "dev": true 1660 | } 1661 | } 1662 | }, 1663 | "sprintf-js": { 1664 | "version": "1.0.3", 1665 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1666 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 1667 | "dev": true 1668 | }, 1669 | "string-width": { 1670 | "version": "3.1.0", 1671 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", 1672 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", 1673 | "dev": true, 1674 | "requires": { 1675 | "emoji-regex": "^7.0.1", 1676 | "is-fullwidth-code-point": "^2.0.0", 1677 | "strip-ansi": "^5.1.0" 1678 | }, 1679 | "dependencies": { 1680 | "ansi-regex": { 1681 | "version": "4.1.0", 1682 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 1683 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", 1684 | "dev": true 1685 | }, 1686 | "strip-ansi": { 1687 | "version": "5.2.0", 1688 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 1689 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 1690 | "dev": true, 1691 | "requires": { 1692 | "ansi-regex": "^4.1.0" 1693 | } 1694 | } 1695 | } 1696 | }, 1697 | "strip-ansi": { 1698 | "version": "6.0.0", 1699 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", 1700 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", 1701 | "dev": true, 1702 | "requires": { 1703 | "ansi-regex": "^5.0.0" 1704 | } 1705 | }, 1706 | "strip-json-comments": { 1707 | "version": "3.1.1", 1708 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1709 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1710 | "dev": true 1711 | }, 1712 | "supports-color": { 1713 | "version": "7.2.0", 1714 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1715 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1716 | "requires": { 1717 | "has-flag": "^4.0.0" 1718 | } 1719 | }, 1720 | "table": { 1721 | "version": "5.4.6", 1722 | "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", 1723 | "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", 1724 | "dev": true, 1725 | "requires": { 1726 | "ajv": "^6.10.2", 1727 | "lodash": "^4.17.14", 1728 | "slice-ansi": "^2.1.0", 1729 | "string-width": "^3.0.0" 1730 | } 1731 | }, 1732 | "text-table": { 1733 | "version": "0.2.0", 1734 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1735 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1736 | "dev": true 1737 | }, 1738 | "to-fast-properties": { 1739 | "version": "2.0.0", 1740 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", 1741 | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", 1742 | "dev": true 1743 | }, 1744 | "to-regex-range": { 1745 | "version": "5.0.1", 1746 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1747 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1748 | "dev": true, 1749 | "requires": { 1750 | "is-number": "^7.0.0" 1751 | } 1752 | }, 1753 | "type-check": { 1754 | "version": "0.4.0", 1755 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1756 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1757 | "dev": true, 1758 | "requires": { 1759 | "prelude-ls": "^1.2.1" 1760 | } 1761 | }, 1762 | "type-fest": { 1763 | "version": "0.8.1", 1764 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", 1765 | "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", 1766 | "dev": true 1767 | }, 1768 | "uglify-js": { 1769 | "version": "3.11.6", 1770 | "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.6.tgz", 1771 | "integrity": "sha512-oASI1FOJ7BBFkSCNDZ446EgkSuHkOZBuqRFrwXIKWCoXw8ZXQETooTQjkAcBS03Acab7ubCKsXnwuV2svy061g==", 1772 | "dev": true, 1773 | "optional": true 1774 | }, 1775 | "uri-js": { 1776 | "version": "4.4.0", 1777 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", 1778 | "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", 1779 | "dev": true, 1780 | "requires": { 1781 | "punycode": "^2.1.0" 1782 | } 1783 | }, 1784 | "v8-compile-cache": { 1785 | "version": "2.2.0", 1786 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz", 1787 | "integrity": "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==", 1788 | "dev": true 1789 | }, 1790 | "wcwidth": { 1791 | "version": "1.0.1", 1792 | "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", 1793 | "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", 1794 | "optional": true, 1795 | "requires": { 1796 | "defaults": "^1.0.3" 1797 | } 1798 | }, 1799 | "which": { 1800 | "version": "2.0.2", 1801 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1802 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1803 | "dev": true, 1804 | "requires": { 1805 | "isexe": "^2.0.0" 1806 | } 1807 | }, 1808 | "will-call": { 1809 | "version": "1.0.1", 1810 | "resolved": "https://registry.npmjs.org/will-call/-/will-call-1.0.1.tgz", 1811 | "integrity": "sha512-1hEeV8SfBYhNRc/bNXeQfyUBX8Dl9SCYME3qXh99iZP9wJcnhnlBsoBw8Y0lXVZ3YuPsoxImTzBiol1ouNR/hg==", 1812 | "dev": true 1813 | }, 1814 | "word-wrap": { 1815 | "version": "1.2.3", 1816 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 1817 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 1818 | "dev": true 1819 | }, 1820 | "wordwrap": { 1821 | "version": "1.0.0", 1822 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", 1823 | "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", 1824 | "dev": true 1825 | }, 1826 | "wrappy": { 1827 | "version": "1.0.2", 1828 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1829 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1830 | "dev": true 1831 | }, 1832 | "write": { 1833 | "version": "1.0.3", 1834 | "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", 1835 | "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", 1836 | "dev": true, 1837 | "requires": { 1838 | "mkdirp": "^0.5.1" 1839 | } 1840 | } 1841 | } 1842 | } 1843 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blipp", 3 | "version": "4.0.2", 4 | "description": "blipp is a simple hapi plugin to display the routes table at startup", 5 | "main": "lib/index.js", 6 | "scripts": { 7 | "test": "lab -a @hapi/code -v -t 100 -L -I queueMicrotask" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/danielb2/blipp" 12 | }, 13 | "keywords": [ 14 | "hapi", 15 | "plugin", 16 | "hapi-plugin" 17 | ], 18 | "author": "Daniel Bretoi", 19 | "license": "BSD", 20 | "dependencies": { 21 | "chalk": "4.x.x", 22 | "easy-table": "1.x.x", 23 | "@hapi/hoek": "9.x.x", 24 | "joi": "17.x.x" 25 | }, 26 | "devDependencies": { 27 | "@hapi/code": "8.x.x", 28 | "@hapi/hapi": "20.x.x", 29 | "@hapi/basic": "6.x.x", 30 | "@hapi/lab": "24.x.x" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Load modules 4 | const Code = require('@hapi/code'); 5 | const Hapi = require('@hapi/hapi'); 6 | const Lab = require('@hapi/lab'); 7 | 8 | const Blipp = require('../lib/'); 9 | const Pkg = require('../package.json'); 10 | 11 | // Test shortcuts 12 | 13 | const lab = exports.lab = Lab.script(); 14 | const { describe, it } = lab; 15 | const expect = Code.expect; 16 | 17 | // only one connection; results are in alphabetical order 18 | const internals = { 19 | validateFunc: function (request, username, password, h) { 20 | 21 | return { isValid: true, credentials: { scope: ['tester'] } }; 22 | }, 23 | result: [{ 24 | routes: [ 25 | { method: 'GET', path: '/', description: 'main index' }, 26 | { method: 'GET', path: '/all', description: 'a route on all connections' }, 27 | { method: 'GET', path: '/api', description: 'api routes' }, 28 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '' }, 29 | { method: 'GET', path: '/hi', description: '' }, 30 | { method: 'DELETE', path: '/post/{id}', description: '' } 31 | ] 32 | }], 33 | authResult: [{ 34 | routes: [ 35 | { method: 'GET', path: '/', description: 'main index', auth: false }, 36 | { method: 'GET', path: '/all', description: 'a route on all connections', auth: false }, 37 | { method: 'GET', path: '/api', description: 'api routes', auth: false }, 38 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '', auth: false }, 39 | { method: 'GET', path: '/hi', description: '', auth: 'findme' }, 40 | { method: 'DELETE', path: '/post/{id}', description: '', auth: false } 41 | ] 42 | }], 43 | scopeResult: [{ 44 | routes: [ 45 | { method: 'GET', path: '/', description: 'main index', auth: false, scope: false }, 46 | { method: 'GET', path: '/all', description: 'a route on all connections', auth: false, scope: false }, 47 | { method: 'GET', path: '/api', description: 'api routes', auth: false, scope: false }, 48 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '', auth: false, scope: false }, 49 | { method: 'GET', path: '/hi', description: '', auth: 'findme', scope: '+tester1, !tester3, tester2' }, 50 | { method: 'DELETE', path: '/post/{id}', description: '', auth: false, scope: false } 51 | ] 52 | }], 53 | requiredScopeResult: [{ 54 | routes: [ 55 | { method: 'GET', path: '/', description: 'main index', auth: false, scope: false }, 56 | { method: 'GET', path: '/all', description: 'a route on all connections', auth: false, scope: false }, 57 | { method: 'GET', path: '/api', description: 'api routes', auth: false, scope: false }, 58 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '', auth: false, scope: false }, 59 | { method: 'GET', path: '/hi', description: '', auth: 'findme', scope: '+tester1' }, 60 | { method: 'DELETE', path: '/post/{id}', description: '', auth: false, scope: false } 61 | ] 62 | }], 63 | forbiddenScopeResult: [{ 64 | routes: [ 65 | { method: 'GET', path: '/', description: 'main index', auth: false, scope: false }, 66 | { method: 'GET', path: '/all', description: 'a route on all connections', auth: false, scope: false }, 67 | { method: 'GET', path: '/api', description: 'api routes', auth: false, scope: false }, 68 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '', auth: false, scope: false }, 69 | { method: 'GET', path: '/hi', description: '', auth: 'findme', scope: '!tester3' }, 70 | { method: 'DELETE', path: '/post/{id}', description: '', auth: false, scope: false } 71 | ] 72 | }], 73 | selectionScopeResult: [{ 74 | routes: [ 75 | { method: 'GET', path: '/', description: 'main index', auth: false, scope: false }, 76 | { method: 'GET', path: '/all', description: 'a route on all connections', auth: false, scope: false }, 77 | { method: 'GET', path: '/api', description: 'api routes', auth: false, scope: false }, 78 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '', auth: false, scope: false }, 79 | { method: 'GET', path: '/hi', description: '', auth: 'findme', scope: 'tester2' }, 80 | { method: 'DELETE', path: '/post/{id}', description: '', auth: false, scope: false } 81 | ] 82 | }], 83 | defaultAuthResult: [{ 84 | routes: [ 85 | { method: 'GET', path: '/', description: 'main index', auth: false }, 86 | { method: 'GET', path: '/all', description: 'a route on all connections', auth: 'findme' }, 87 | { method: 'GET', path: '/api', description: 'api routes', auth: 'findme' }, 88 | { method: 'POST', path: '/apost/{foo}/comment/{another}', description: '', auth: 'findme' }, 89 | { method: 'GET', path: '/hi', description: '', auth: 'findme' }, 90 | { method: 'DELETE', path: '/post/{id}', description: '', auth: 'findme' } 91 | ] 92 | }] 93 | 94 | }; 95 | 96 | internals.prepareServer = async function (options) { 97 | 98 | const server = new Hapi.Server(); 99 | 100 | try { 101 | await server.register(require('@hapi/basic')); 102 | 103 | if (options.authType === 'findme') { 104 | server.auth.strategy('findme', 'basic', { validate: internals.validateFunc }); 105 | } 106 | 107 | if (options.authType === 'default') { 108 | server.auth.strategy('findme', 'basic', { validate: internals.validateFunc }); 109 | server.auth.default('findme'); 110 | } 111 | 112 | } 113 | catch (err) { 114 | console.log('Error: Couldn\'t register @hapi/basic', err); 115 | } 116 | 117 | const api = { 118 | register: function (plugin, pluginOptions) { 119 | 120 | plugin.route({ 121 | method: 'GET', 122 | path: '/api', 123 | options: { 124 | description: 'api routes', 125 | handler: function (request, h) { 126 | 127 | return 'index!'; 128 | } 129 | } 130 | }); 131 | } 132 | }; 133 | 134 | api.name = 'an api plugin'; 135 | api.version = '1.0.0'; 136 | 137 | const main = { 138 | register: function (plugin, pluginOptions) { 139 | 140 | plugin.route({ 141 | method: 'GET', 142 | path: '/', 143 | options: { 144 | auth: false, 145 | description: 'main index', 146 | handler: function (request, h) { 147 | 148 | return 'index!'; 149 | } 150 | } 151 | }); 152 | 153 | let authOptions = false; 154 | if (options.authType) { 155 | authOptions = { 156 | strategy: 'findme' 157 | }; 158 | switch (options.scopeType) { 159 | case 'required': 160 | authOptions.scope = ['+tester1']; 161 | break; 162 | case 'selection': 163 | authOptions.scope = ['tester2']; 164 | break; 165 | case 'forbidden': 166 | authOptions.scope = ['!tester3']; 167 | break; 168 | default: 169 | authOptions.scope = ['+tester1', 'tester2', '!tester3']; 170 | break; 171 | } 172 | } 173 | 174 | plugin.route({ 175 | method: 'GET', 176 | path: '/hi', 177 | options: { 178 | auth: authOptions, 179 | handler: function (request, h) { 180 | 181 | return 'Hello!'; 182 | } 183 | } 184 | }); 185 | 186 | plugin.route({ 187 | method: 'POST', 188 | path: '/apost/{foo}/comment/{another}', 189 | handler: function (request, h) { 190 | 191 | return ''; 192 | } 193 | }); 194 | 195 | plugin.route({ 196 | method: 'DELETE', 197 | path: '/post/{id}', 198 | handler: function (request, h) { 199 | 200 | return ''; 201 | } 202 | }); 203 | } 204 | }; 205 | 206 | main.name = 'main'; 207 | main.version = '0.1.1'; 208 | 209 | server.route({ 210 | method: 'GET', 211 | path: '/all', 212 | options: { 213 | description: 'a route on all connections', 214 | handler: function (request, h) { 215 | 216 | return 'index!'; 217 | } 218 | } 219 | }); 220 | 221 | try { 222 | await server.register([ 223 | { plugin: Blipp, options: options.blippOptions }, 224 | { plugin: main, options: {} }, 225 | { plugin: api, options: {} } 226 | ]); 227 | 228 | await server.start(); 229 | 230 | expect(server).to.exist(); 231 | 232 | return server; 233 | } 234 | catch (err) { 235 | expect(err).to.not.exist(); 236 | } 237 | }; 238 | 239 | describe('routes', () => { 240 | 241 | it('print route information', async () => { 242 | 243 | const saved = console.log; 244 | let out = ''; 245 | console.log = (str) => { 246 | 247 | out += str; 248 | }; 249 | 250 | await internals.prepareServer(false); 251 | 252 | console.log = saved; 253 | expect(out).to.not.match(/none.*main index/); 254 | expect(out).to.not.match(/none.*api index/); 255 | expect(out).to.match(/DELETE.*post/); 256 | 257 | }); 258 | 259 | it('gets route information', async () => { 260 | 261 | const blippOptions = { 262 | showAuth: false, 263 | showStart: false 264 | }; 265 | 266 | const server = await internals.prepareServer({ blippOptions }); 267 | 268 | const info = server.plugins[Pkg.name].info(); 269 | delete info[0].uri; 270 | expect(info).to.equal(internals.result); 271 | const text = server.plugins[Pkg.name].text(); 272 | expect(text).to.not.match(/none.*main index/); 273 | }); 274 | 275 | it('gets route information with auth', async () => { 276 | 277 | const blippOptions = { 278 | showAuth: true, 279 | showStart: false 280 | }; 281 | 282 | const server = await internals.prepareServer({ blippOptions, authType: 'findme' }); 283 | 284 | const info = server.plugins[Pkg.name].info(); 285 | delete info[0].uri; 286 | expect(info).to.equal(internals.authResult); 287 | 288 | const text = server.plugins[Pkg.name].text(); 289 | expect(text).to.match(/none.*main index/); 290 | expect(text).to.match(/none.*api routes/); 291 | expect(text).to.match(/hi.*findme/); 292 | }); 293 | 294 | it('gets route information with all scope', async () => { 295 | 296 | const blippOptions = { 297 | showAuth: true, 298 | showScope: true, 299 | showStart: false 300 | }; 301 | 302 | const server = await internals.prepareServer({ blippOptions, authType: 'findme' }); 303 | 304 | const info = server.plugins[Pkg.name].info(); 305 | delete info[0].uri; 306 | expect(info).to.equal(internals.scopeResult); 307 | 308 | const text = server.plugins[Pkg.name].text(); 309 | expect(text).to.match(/none.*main index/); 310 | expect(text).to.match(/none.*api routes/); 311 | expect(text).to.match(/hi.*findme/); 312 | }); 313 | 314 | it('gets route information with required scope', async () => { 315 | 316 | const blippOptions = { 317 | showAuth: true, 318 | showScope: true, 319 | showStart: false 320 | }; 321 | 322 | const server = await internals.prepareServer({ blippOptions, authType: 'findme', scopeType: 'required' }); 323 | 324 | const info = server.plugins[Pkg.name].info(); 325 | delete info[0].uri; 326 | expect(info).to.equal(internals.requiredScopeResult); 327 | 328 | const text = server.plugins[Pkg.name].text(); 329 | expect(text).to.match(/none.*main index/); 330 | expect(text).to.match(/none.*api routes/); 331 | expect(text).to.match(/hi.*findme/); 332 | }); 333 | 334 | it('gets route information with selection scope', async () => { 335 | 336 | const blippOptions = { 337 | showAuth: true, 338 | showScope: true, 339 | showStart: false 340 | }; 341 | 342 | const server = await internals.prepareServer({ blippOptions, authType: 'findme', scopeType: 'selection' }); 343 | 344 | const info = server.plugins[Pkg.name].info(); 345 | delete info[0].uri; 346 | expect(info).to.equal(internals.selectionScopeResult); 347 | 348 | const text = server.plugins[Pkg.name].text(); 349 | expect(text).to.match(/none.*main index/); 350 | expect(text).to.match(/none.*api routes/); 351 | expect(text).to.match(/hi.*findme/); 352 | }); 353 | 354 | it('gets route information with forbidden scope', async () => { 355 | 356 | const blippOptions = { 357 | showAuth: true, 358 | showScope: true, 359 | showStart: false 360 | }; 361 | 362 | const server = await internals.prepareServer({ blippOptions, authType: 'findme', scopeType: 'forbidden' }); 363 | 364 | const info = server.plugins[Pkg.name].info(); 365 | delete info[0].uri; 366 | expect(info).to.equal(internals.forbiddenScopeResult); 367 | 368 | const text = server.plugins[Pkg.name].text(); 369 | expect(text).to.match(/none.*main index/); 370 | expect(text).to.match(/none.*api routes/); 371 | expect(text).to.match(/hi.*findme/); 372 | }); 373 | 374 | 375 | it('gets route information with default', async () => { 376 | 377 | const blippOptions = { 378 | showAuth: true, 379 | showStart: false 380 | }; 381 | 382 | const server = await internals.prepareServer({ blippOptions, authType: 'default' }); 383 | 384 | const info = server.plugins[Pkg.name].info(); 385 | delete info[0].uri; 386 | expect(info).to.equal(internals.defaultAuthResult); 387 | const text = server.plugins[Pkg.name].text(); 388 | expect(text).to.match(/none.*main index/); 389 | expect(text).to.match(/findme.*api routes/); 390 | }); 391 | 392 | it('fails with invalid options', async () => { 393 | 394 | try { 395 | await internals.prepareServer({ blippOptions: { derp: true } }); 396 | } 397 | catch (err) { 398 | expect(err).to.exist(); 399 | } 400 | }); 401 | }); 402 | --------------------------------------------------------------------------------