├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── bin └── lsh.js ├── lambda └── index.js ├── package-lock.json ├── package.json └── template └── lsh.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (https://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # TypeScript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # Yarn Integrity file 55 | .yarn-integrity 56 | 57 | # dotenv environment variables file 58 | .env 59 | 60 | # next.js build output 61 | .next 62 | 63 | lambda.zip 64 | .DS_Store -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | lambda.zip -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Tobi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # lsh - The Lambda shell 2 | 3 | Run interactive shell commands on AWS Lambda 4 | 5 | [![asciicast](https://asciinema.org/a/3sXv75GuyT3BA79fuLyvJSaa3.svg)](https://asciinema.org/a/3sXv75GuyT3BA79fuLyvJSaa3?autoplay=1&t=0) 6 | 7 | ## Motivation 8 | 9 | The main motivation for this project was to have a convenient way to 10 | 11 | * "Poke around" the AWS Lambda environment 12 | * Be able to have a "minimal" shell environment on AWS, without having to use more costly EC2 instances 13 | * Do some experiments in the AWS Lambda environment, like running Docker containers via [udocker](https://github.com/indigo-dc/udocker) 14 | 15 | ## Installation 16 | 17 | You can install the Lambda shell (`lsh`) via 18 | 19 | ```bash 20 | $ npm i -g lambda-shell 21 | ``` 22 | 23 | ## Usage 24 | 25 | After the npm installation has finished, just run 26 | 27 | ```bash 28 | $ lsh 29 | ``` 30 | 31 | You can display the `help` like this: 32 | 33 | ```text 34 | λ help 35 | 36 | Commands: 37 | 38 | help [command...] Provides help for a given command. 39 | exit Exits application. 40 | shell Switch into interactive shell mode. 41 | install [options] Deploy the lsh stack in your AWS account. 42 | uninstall Remove the lsh stack from your AWS account. 43 | version Print version information. 44 | config Print the current Lambda configuration. 45 | reset Reset the current Lambda configuration to the defaults. 46 | ``` 47 | 48 | ### Using credentials 49 | 50 | As `lsh` uses the AWS SDK internally, the same options to specify credentials apply (please refer to the [AWS SDK documentation](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials-node.html)). E.g. if you have created a credential file with multiple profiles, and want to use a specific profile, you can use the `AWS_PROFILE` [environment variable](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html) like this: 51 | 52 | ```bash 53 | $ AWS_PROFILE=myprofile lsh 54 | ``` 55 | 56 | ### Install stack 57 | 58 | Before you can use `lsh`, you need to install the neccessary stack by issueing the following command: 59 | 60 | ```text 61 | λ install 62 | ``` 63 | 64 | You can also specify options for the installation of the stack: 65 | 66 | ```bash 67 | λ help install 68 | 69 | Usage: install [options] 70 | 71 | Deploy the lsh stack in your AWS account. 72 | 73 | Options: 74 | 75 | --help output usage information 76 | -b, --bucket Name of the S3 bucket. 77 | -r, --region Region to which the Lambda function shall be deployed to (default: us-east-1). 78 | -m, --memory Amount of memory in meagabytes the Lambda function shall have available (default: 1536). 79 | -t, --timeout Timeout in seconds of the Lambda function (default: 60). 80 | -e, --efs-ap-arn The ARN of the preconfigured EFS AccessPoint. 81 | -f, --efs-fs-arn The ARN of the preconfigured EFS FileSystem. 82 | -p, --path The absolute path where the EFS file system shall be mounted (needs to have /mnt/ prefix). 83 | -s, --security-group The ID of the VPC SecurityGroup to use. 84 | -n, --subnet The ID of the VPC Subnet to use. 85 | -i, --iamRoleArn ARN of the IAM role to be used by the Lambda function. (default: role created by lsh) 86 | ``` 87 | 88 | For example, to use a Lambda shell with 3GB of memory with a 900 seconds timeout in the `eu-central-1` region, use 89 | 90 | ```text 91 | λ install -m 3076 -t 900 -r eu-central-1 92 | ``` 93 | 94 | #### Configuration updates 95 | 96 | You can update the Lambda configuration just by running `install` again with different options. This will trigger a CloudFormation stack update. You can then verify the changes by using the `config` command. 97 | 98 | ### Working with the interactive shell 99 | 100 | Once you installed the stack, you can start working with `lsh`: 101 | 102 | ```text 103 | λ shell 104 | ___ ________ ___ ___ 105 | |\ \ |\ ____\|\ \|\ \ 106 | \ \ \ \ \ \___|\ \ \\\ \ 107 | \ \ \ \ \_____ \ \ __ \ 108 | \ \ \____\|____|\ \ \ \ \ \ 109 | \ \_______\____\_\ \ \__\ \__\ 110 | \|_______|\_________\|__|\|__| 111 | \|_________| 112 | 113 | 114 | Welcome to interactive mode. 115 | You can now directly enter arbitrary shell commands. To exit, type `exit`. 116 | λ $ 117 | ``` 118 | 119 | Now, you can use the Lambda shell interactively, e.g. 120 | 121 | ```text 122 | λ $ env 123 | AWS_LAMBDA_FUNCTION_VERSION=$LATEST 124 | AWS_LAMBDA_LOG_GROUP_NAME=/aws/lambda/lsh 125 | LAMBDA_TASK_ROOT=/var/task 126 | LD_LIBRARY_PATH=/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib 127 | AWS_LAMBDA_LOG_STREAM_NAME=2019/06/23/[$LATEST]0bbb2d3b763b4b92a1027dedf3cbd0e2 128 | AWS_EXECUTION_ENV=AWS_Lambda_nodejs8.10 129 | AWS_XRAY_DAEMON_ADDRESS=169.254.79.2:2000 130 | AWS_LAMBDA_FUNCTION_NAME=lsh 131 | PATH=/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin:/var/task 132 | AWS_DEFAULT_REGION=us-east-1 133 | PWD=/tmp 134 | LAMBDA_RUNTIME_DIR=/var/runtime 135 | LANG=en_US.UTF-8 136 | NODE_PATH=/opt/nodejs/node8/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules:/var/runtime:/var/task:/var/runtime/node_modules 137 | AWS_REGION=us-east-1 138 | TZ=:UTC 139 | SHLVL=1 140 | _AWS_XRAY_DAEMON_ADDRESS=169.254.79.2 141 | _AWS_XRAY_DAEMON_PORT=2000 142 | _X_AMZN_TRACE_ID=Root=1-5d0fa6a8-a0cb5800d19af40014ac8000;Parent=67cfd29878f54a87;Sampled=0 143 | AWS_XRAY_CONTEXT_MISSING=LOG_ERROR 144 | _HANDLER=index.handler 145 | AWS_LAMBDA_FUNCTION_MEMORY_SIZE=1536 146 | _=/usr/bin/env 147 | ``` 148 | 149 | **Hint** 150 | 151 | As `lsh` is invoking the Lambda function via request-response, it's for example not possible to edit files directly in the Lambda environment. 152 | 153 | ### Show current configuration 154 | 155 | To check the current configuration, you can use 156 | 157 | ```text 158 | λ config 159 | ✓ Memory 128mb 160 | ✓ Timeout 120s 161 | ✓ Region us-east-1 162 | ✓ S3 Bucket lsh-j03nfi7agsd 163 | ``` 164 | 165 | The configuration can be changed by running `install` again and specifying different settings via the configuration options. 166 | 167 | ### Reset configuration 168 | 169 | To reset the current configuration to the defaults, you can use 170 | 171 | ```bash 172 | λ reset 173 | ✓ Reset configuration to defaults 174 | λ config 175 | ✓ Memory 128mb 176 | ✓ Timeout 60s 177 | ✓ Region us-east-1 178 | ✓ S3 Bucket lsh-n45lrkvtabc 179 | ``` 180 | 181 | ### Uninstall stack 182 | 183 | To uninstall the created stack run the following command: 184 | 185 | ```text 186 | λ uninstall 187 | ``` 188 | 189 | ## Examples 190 | 191 | ### Use EFS 192 | 193 | To install `lsh` with EFS support, please create a EFS FileSystem and AccessPoint first, as outlined in [this AWS article](https://aws.amazon.com/blogs/compute/using-amazon-efs-for-aws-lambda-in-your-serverless-applications/). Additionally, you need to lookup your Subnet and SecurityGroup IDs you want to use.Then, you can use the ARNs of the FileSystem and AccessPoint to install `lsh` (use the appropriate values): 194 | 195 | ```bash 196 | λ install -p /mnt/efs -e arn:aws:elasticfilesystem:us-east-1:111111111111:access-point/fsap-123456789abcdef -f arn:aws:elasticfilesystem:us-east-1:111111111111:file-system/fs-acbdef123 -n subnet-abcdef123 -s sg-abcdef123 197 | ``` 198 | 199 | The installation can take a few minutes in this case. Once it's completed, you can use the mounted EFS FileSystem like this: 200 | 201 | ```bash 202 | λ shell 203 | ___ ________ ___ ___ 204 | |\ \ |\ ____\|\ \|\ \ 205 | \ \ \ \ \ \___|\ \ \\\ \ 206 | \ \ \ \ \_____ \ \ __ \ 207 | \ \ \____\|____|\ \ \ \ \ \ 208 | \ \_______\____\_\ \ \__\ \__\ 209 | \|_______|\_________\|__|\|__| 210 | \|_________| 211 | 212 | 213 | Welcome to the Lambda shell! 214 | You can now directly enter shell commands which will be run in the Lambda environment. To exit, type `exit`. 215 | λ $ cd /mnt/efs 216 | 217 | λ $ pwd 218 | /mnt/efs 219 | λ $ echo "test" > test.txt 220 | 221 | λ $ ls -la 222 | total 12 223 | drwxrwxrwx 2 1000 1000 6144 Jul 25 12:10 . 224 | drwxr-xr-x 3 root root 4096 Jul 25 12:10 .. 225 | -rw-rw-r-- 1 1000 1000 5 Jul 25 12:10 test.txt 226 | λ $ cat test.txt 227 | test 228 | λ $ rm test.txt 229 | 230 | λ $ ls -la 231 | total 8 232 | drwxrwxrwx 2 1000 1000 6144 Jul 25 12:17 . 233 | drwxr-xr-x 3 root root 4096 Jul 25 12:10 .. 234 | λ $ 235 | ``` 236 | 237 | ### Download aws-cli 238 | 239 | ```bash 240 | λ shell 241 | ___ ________ ___ ___ 242 | |\ \ |\ ____\|\ \|\ \ 243 | \ \ \ \ \ \___|\ \ \\\ \ 244 | \ \ \ \ \_____ \ \ __ \ 245 | \ \ \____\|____|\ \ \ \ \ \ 246 | \ \_______\____\_\ \ \__\ \__\ 247 | \|_______|\_________\|__|\|__| 248 | \|_________| 249 | 250 | 251 | Welcome to the Lambda shell! 252 | You can now directly enter shell commands which will be run in the Lambda environment. To exit, type `exit`. 253 | λ $ curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" 254 | % Total % Received % Xferd Average Speed Time Time Time Current 255 | Dload Upload Total Spent Left Speed 256 | 100 11.6M 100 11.6M 0 0 78.0M 0 --:--:-- --:--:-- --:--:-- 78.0M 257 | λ $ unzip awscli-bundle.zip 258 | Archive: awscli-bundle.zip 259 | inflating: awscli-bundle/install 260 | inflating: awscli-bundle/packages/argparse-1.2.1.tar.gz 261 | inflating: awscli-bundle/packages/rsa-3.4.2.tar.gz 262 | inflating: awscli-bundle/packages/ordereddict-1.1.tar.gz 263 | inflating: awscli-bundle/packages/simplejson-3.3.0.tar.gz 264 | inflating: awscli-bundle/packages/urllib3-1.25.3.tar.gz 265 | inflating: awscli-bundle/packages/python-dateutil-2.6.1.tar.gz 266 | inflating: awscli-bundle/packages/s3transfer-0.2.1.tar.gz 267 | inflating: awscli-bundle/packages/six-1.12.0.tar.gz 268 | inflating: awscli-bundle/packages/python-dateutil-2.8.0.tar.gz 269 | inflating: awscli-bundle/packages/virtualenv-15.1.0.tar.gz 270 | inflating: awscli-bundle/packages/jmespath-0.9.4.tar.gz 271 | inflating: awscli-bundle/packages/urllib3-1.22.tar.gz 272 | inflating: awscli-bundle/packages/botocore-1.12.175.tar.gz 273 | inflating: awscli-bundle/packages/colorama-0.3.9.tar.gz 274 | inflating: awscli-bundle/packages/PyYAML-3.13.tar.gz 275 | inflating: awscli-bundle/packages/pyasn1-0.4.5.tar.gz 276 | inflating: awscli-bundle/packages/docutils-0.14.tar.gz 277 | inflating: awscli-bundle/packages/PyYAML-5.1.tar.gz 278 | inflating: awscli-bundle/packages/futures-3.2.0.tar.gz 279 | inflating: awscli-bundle/packages/awscli-1.16.185.tar.gz 280 | inflating: awscli-bundle/packages/setup/setuptools_scm-1.15.7.tar.gz 281 | λ $ ./awscli-bundle/install -b /tmp/bin/aws 282 | Running cmd: /usr/bin/python virtualenv.py --no-download --python /usr/bin/python /tmp/.local/lib/aws 283 | Running cmd: /tmp/.local/lib/aws/bin/pip install --no-cache-dir --no-index --find-links file:///tmp/awscli-bundle/packages/setup setuptools_scm-1.15.7.tar.gz 284 | Running cmd: /tmp/.local/lib/aws/bin/pip install --no-cache-dir --no-index --find-links file:///tmp/awscli-bundle/packages awscli-1.16.185.tar.gz 285 | You can now run: /tmp/bin/aws --version 286 | λ $ /tmp/bin/aws --version 287 | aws-cli/1.16.185 Python/2.7.16 Linux/4.14.123-95.109.amzn2.x86_64 exec-env/AWS_Lambda_nodejs8.10 botocore/1.12.175 288 | λ $ 289 | ``` -------------------------------------------------------------------------------- /bin/lsh.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | const package = require('../package.json'); 3 | const vorpal = require('vorpal')(); 4 | const archiver = require('archiver'); 5 | const fs = require('fs'); 6 | const path = require('path'); 7 | const os = require('os'); 8 | const AWS = require('aws-sdk'); 9 | const figlet = require('figlet'); 10 | const chalk = require('chalk'); 11 | 12 | // Create config file 13 | const configPath = `${os.homedir()}/.lsh`; 14 | 15 | // Store config 16 | let config = {}; 17 | 18 | // Initialize configuration 19 | const initalizeConfig = () => { 20 | // Start configuration 21 | const startConfig = { 22 | bucketName: config.bucketName || `lsh-${Math.random().toString(36).substring(2, 15)}`, 23 | memorySize: 128, 24 | timeout: 60, 25 | region: config.region || 'us-east-1', 26 | functionName: config.functionName || 'lsh', 27 | stackName: config.stackName || 'lambda-shell', 28 | useVPC: false 29 | }; 30 | // Write to config file 31 | fs.writeFileSync(configPath, JSON.stringify(startConfig)); 32 | // Return start configuration 33 | return startConfig; 34 | } 35 | 36 | // Persist current configuration 37 | const persistConfig = () => { 38 | // Write to config file 39 | fs.writeFileSync(configPath, JSON.stringify(config)); 40 | } 41 | 42 | // Check if configuration exists, if not, create one from defaults 43 | try { 44 | if (fs.statSync(configPath)) { 45 | // Load config file 46 | config = JSON.parse(fs.readFileSync(configPath, 'utf8')); 47 | } 48 | } catch (err) { 49 | // Use start config 50 | config = initalizeConfig(); 51 | } 52 | 53 | // Fornat logs 54 | const formatLog = (input, type) => { 55 | if (type === 'ok') { 56 | return ` ${chalk.green('✓')} ${input}`; 57 | } else if (type === 'nok') { 58 | return ` ${chalk.red('✗')} ${input}`; 59 | } else { 60 | return ''; 61 | } 62 | } 63 | 64 | // Waiter function for stack events 65 | const waiter = (cloudformation, status, timeout=2000) => { 66 | return new Promise((resolve, reject) => { 67 | const errorStatus = ['CREATE_FAILED', 'UPDATE_FAILED', 'DELETE_FAILED', 'ROLLBACK_COMPLETE', 'ROLLBACK_FAILED', 'UPDATE_ROLLBACK_COMPLETE', 'UPDATE_ROLLBACK_FAILED']; 68 | const startTime = new Date().getTime(); 69 | let endTime = null; 70 | const interval = setInterval(async () => { 71 | try { 72 | const result = await cloudformation.describeStackEvents({ StackName: config.stackName }).promise(); 73 | result.StackEvents.forEach(resource => { 74 | if (resource.ResourceType === 'AWS::CloudFormation::Stack') { 75 | if (resource.ResourceStatus === status) { 76 | endTime = new Date().getTime(); 77 | clearInterval(interval); 78 | resolve(endTime-startTime); 79 | } else if (errorStatus.indexOf(resource.ResourceStatus) > -1) { 80 | endTime = new Date().getTime(); 81 | clearInterval(interval); 82 | reject({ err: `Failed with status '${resource.ResourceStatus}'`, took: (endTime-startTime) }); 83 | } 84 | } 85 | }); 86 | console.log('.. Waiting'); 87 | } catch (err) { 88 | endTime = new Date().getTime(); 89 | clearInterval(interval); 90 | reject({ err: err, took: (endTime-startTime) }); 91 | } 92 | }, timeout); 93 | }); 94 | } 95 | 96 | vorpal 97 | .mode('shell', 'Switch into interactive shell mode.') 98 | .init(function(args, callback){ 99 | this.log(chalk.green( 100 | figlet.textSync("lsh", { 101 | font: "3D-ASCII", 102 | horizontalLayout: "default", 103 | verticalLayout: "default" 104 | }) 105 | )) 106 | this.log('Welcome to the Lambda shell!\nYou can now directly enter shell commands which will be run in the Lambda environment. To exit, type `exit`.'); 107 | callback(); 108 | }) 109 | .delimiter('$ ') 110 | .action(async function(command, callback) { 111 | 112 | // Instantiate 113 | const lambda = new AWS.Lambda({region: config.region}); 114 | 115 | try { 116 | 117 | // Trigger lambda function 118 | const runResult = await lambda.invoke({ 119 | FunctionName: config.functionName, 120 | InvocationType: 'RequestResponse', 121 | Payload: JSON.stringify({command: command}) 122 | }).promise(); 123 | 124 | // Handle result 125 | const payload = JSON.parse(runResult.Payload); 126 | 127 | // Handle stderr 128 | const stderr = Buffer.from(payload.stderr, 'base64').toString('ascii'); 129 | 130 | // Check for error 131 | if (payload.error || stderr.length > 0) { 132 | this.log(stderr); 133 | } else if (payload.errorMessage) { 134 | this.log('Lambda execution failed'); 135 | } else { 136 | const stdout = Buffer.from(payload.stdout, 'base64').toString('ascii'); 137 | this.log(stdout); 138 | } 139 | 140 | callback(); 141 | 142 | } catch (err) { 143 | if (err.code && err.code === 'ResourceNotFoundException') { 144 | this.log(formatLog('Lambda function not installed. Please run \'install\' first', 'nok')); 145 | } else { 146 | this.log(formatLog(err.message, 'nok')); 147 | } 148 | callback(); 149 | } 150 | 151 | }); 152 | 153 | vorpal 154 | .command('install', 'Deploy the lsh stack in your AWS account.') 155 | .option('-b, --bucket ', 'Name of the S3 bucket.') 156 | .option('-r, --region ', 'Region to which the Lambda function shall be deployed to (default: us-east-1).') 157 | .option('-m, --memory ', 'Amount of memory in meagabytes the Lambda function shall have available (default: 1536).') 158 | .option('-t, --timeout ', 'Timeout in seconds of the Lambda function (default: 60).') 159 | .option('-e, --efs-ap-arn ', 'The ARN of the preconfigured EFS AccessPoint.') 160 | .option('-f, --efs-fs-arn ', 'The ARN of the preconfigured EFS FileSystem.') 161 | .option('-p, --path ', 'The absolute path where the EFS file system shall be mounted (needs to have /mnt/ prefix).') 162 | .option('-s, --security-group ', 'The ID of the VPC SecurityGroup to use.') 163 | .option('-n, --subnet ', 'The ID of the VPC Subnet to use.') 164 | .option('-i, --iamRoleArn ', 'ARN of the IAM role to be used by the Lambda function. (default: role created by lsh)') 165 | .action(async function(command, callback) { 166 | 167 | let isConfigOk = true; 168 | 169 | // Handle configuration input 170 | if (command.options.bucket) { 171 | config.bucketName = command.options.bucket; 172 | } 173 | if (command.options.region) { 174 | config.region = command.options.region; 175 | } 176 | if (command.options.memory) { 177 | config.memorySize = parseInt(command.options.memory); 178 | } 179 | if (command.options.timeout) { 180 | config.timeout = parseInt(command.options.timeout); 181 | } 182 | if (command.options['efs-ap-arn']) { 183 | config.efsAccessPointArn = command.options['efs-ap-arn']; 184 | } 185 | if (command.options['efs-fs-arn']) { 186 | config.efsFileSystemArn = command.options['efs-fs-arn']; 187 | } 188 | if (command.options.path) { 189 | config.efsMountPath = command.options.path; 190 | } 191 | if (command.options['security-group']) { 192 | config.securityGroupId = command.options['security-group']; 193 | } 194 | if (command.options.subnet) { 195 | config.subnetId = command.options.subnet; 196 | } 197 | if (command.options.iamRoleArn) { 198 | config.iamRoleArn = command.options.iamRoleArn; 199 | } 200 | 201 | // Check VPC configuration 202 | if ((config.securityGroupId && !config.subnetId) || (config.subnetId && !config.securityGroupId)) { 203 | this.log(formatLog(`Invalid VPC configuration. Please specify both '-s' and the '-n' flags`, 'nok')); 204 | isConfigOk = false; 205 | } else if (config.securityGroupId && config.subnetId) { 206 | this.log(formatLog(`Using VPC`, 'ok')); 207 | config.useVPC = true; 208 | } 209 | 210 | // Check EFS config 211 | if ((config.efsAccessPointArn && !config.efsMountPath) || (config.efsMountPath && !config.efsAccessPointArn)) { 212 | this.log(formatLog(`Invalid EFS configuration. Please specify both '-e' and the '-p' flags`, 'nok')); 213 | isConfigOk = false; 214 | } else if ((config.efsAccessPointArn && config.efsMountPath) && !config.useVPC) { 215 | this.log(formatLog(`Please also configure the VPC settings if you want to use EFS (both '-s' and the '-n' flags)`, 'nok')); 216 | isConfigOk = false; 217 | } else { 218 | this.log(formatLog(`Using EFS`, 'ok')); 219 | } 220 | 221 | // Check role 222 | const arnRegex = /^arn:aws:iam::\d{12}:role\/[a-zA-Z0-9+=,.@\-_/]+$/; 223 | if (config.iamRoleArn && !arnRegex.test(config.iamRoleArn)) { 224 | this.log(formatLog(`Invalid role ARN. Please specify a valid ARN.`, 'nok')); 225 | isConfigOk = false; 226 | } else if (config.iamRoleArn) { 227 | this.log(formatLog(`Using role ${config.iamRoleArn}`, 'ok')); 228 | } 229 | 230 | // Check if configuration is deemed ok 231 | if (isConfigOk) { 232 | // Write current configuration 233 | persistConfig(config); 234 | 235 | // Set archive path 236 | const lambdaArchivePath = path.join(os.tmpdir(), '/lambda.zip'); 237 | 238 | // Set lambda path 239 | const lambdaPath = path.join(__dirname, '../', 'lambda', 'index.js'); 240 | 241 | // Dynamic values 242 | let bucketExists = false; 243 | let templateURL = null; 244 | const stackParams = { 245 | StackName: config.stackName, 246 | Capabilities: ['CAPABILITY_IAM'], 247 | Parameters: [ 248 | { 249 | ParameterKey: 'S3Bucket', 250 | ParameterValue: config.bucketName 251 | }, 252 | { 253 | ParameterKey: 'MemorySize', 254 | ParameterValue: config.memorySize.toString() 255 | }, 256 | { 257 | ParameterKey: 'LambdaTimeout', 258 | ParameterValue: config.timeout.toString() 259 | }, 260 | { 261 | ParameterKey: 'LambdaRole', 262 | ParameterValue: config.iamRoleArn ? config.iamRoleArn : '' 263 | } 264 | ] 265 | }; 266 | 267 | const s3 = new AWS.S3({ region: config.region }); 268 | const cloudformation = new AWS.CloudFormation({ apiVersion: '2010-05-15', region: config.region }); 269 | 270 | // Create archive of Lambda function 271 | const output = fs.createWriteStream(lambdaArchivePath); 272 | const archive = archiver('zip', { 273 | zlib: { level: 9 } 274 | }); 275 | 276 | archive.pipe(output); 277 | archive.append(fs.createReadStream(lambdaPath), { name: 'index.js' }); 278 | archive.finalize(); 279 | 280 | this.log(formatLog(`Temporary Lambda function archive created at ${lambdaArchivePath}`, 'ok')); 281 | 282 | // Check if S3 bucket exists 283 | try { 284 | await s3.headBucket({ 285 | Bucket: config.bucketName 286 | }).promise(); 287 | bucketExists = true; 288 | this.log(formatLog('Bucket exists', 'ok')); 289 | } catch (err) { 290 | this.log(formatLog('Bucket doesn\'t exist', 'ok')); 291 | } 292 | 293 | // If not, create S3 bucket 294 | if (!bucketExists) { 295 | try { 296 | await s3.createBucket({ 297 | Bucket: config.bucketName, 298 | ACL: 'private' 299 | }).promise(); 300 | this.log(formatLog('Bucket created!', 'ok')); 301 | } catch (err) { 302 | this.log(formatLog('S3 bucket creation failed', 'nok')); 303 | callback(); 304 | } 305 | } 306 | 307 | // Upload Lambda archive 308 | try { 309 | await s3.upload({ 310 | Bucket: config.bucketName, 311 | Key: 'lambda.zip', 312 | Body: fs.createReadStream(lambdaArchivePath) 313 | }).promise(); 314 | this.log(formatLog('Uploaded Lambda function archive', 'ok')); 315 | } catch (err) { 316 | this.log(formatLog('Upload of Lambda function archive failed', 'nok')); 317 | callback(); 318 | } 319 | 320 | // Read CF template code 321 | const templateCode = JSON.parse(fs.readFileSync(path.join(__dirname, '../', '/template/lsh.json'))); 322 | 323 | // Check if EFS is enabled 324 | if (config.efsAccessPointArn && config.efsMountPath) { 325 | // Add EFS config 326 | templateCode.Resources.lshFunction.Properties.FileSystemConfigs = [{ 327 | Arn: config.efsAccessPointArn, 328 | LocalMountPath: config.efsMountPath 329 | }]; 330 | templateCode.Resources.lshFunction.Properties.VpcConfig = { 331 | SecurityGroupIds : [config.securityGroupId], 332 | SubnetIds : [config.subnetId] 333 | } 334 | // Add EFS policy 335 | const efsPolicy = { 336 | Sid: 'EFSReadWriteAccess', 337 | Effect: 'Allow', 338 | Action: [ 339 | 'elasticfilesystem:ClientMount', 340 | 'elasticfilesystem:ClientRootAccess', 341 | 'elasticfilesystem:ClientWrite', 342 | 'elasticfilesystem:DescribeMountTargets' 343 | ], 344 | Resource: config.efsFileSystemArn 345 | }; 346 | templateCode.Resources.InvokeRole.Properties.Policies[0].PolicyDocument.Statement.push(efsPolicy); 347 | // Add ENI policy 348 | const eniPolicy = { 349 | Sid: 'ENICreateDelete', 350 | Effect: 'Allow', 351 | Action: [ 352 | 'ec2:CreateNetworkInterface', 353 | 'ec2:DescribeNetworkInterfaces', 354 | 'ec2:DeleteNetworkInterface' 355 | ], 356 | Resource: '*' 357 | }; 358 | templateCode.Resources.InvokeRole.Properties.Policies[0].PolicyDocument.Statement.push(eniPolicy); 359 | } 360 | 361 | // Upload CloudFormation template 362 | try { 363 | const uploadTemplateResult = await s3.upload({ 364 | Bucket: config.bucketName, 365 | Key: 'lsh.json', 366 | Body: Buffer.from(JSON.stringify(templateCode), 'utf8') 367 | }).promise(); 368 | this.log(formatLog('Uploaded CloudFormation template', 'ok')); 369 | // Set template URL 370 | templateURL = uploadTemplateResult.Location; 371 | } catch (err) { 372 | this.log(formatLog('Upload of CloudFormation template failed', 'nok')); 373 | console.log(err) 374 | callback(); 375 | } 376 | 377 | // Set template URL 378 | stackParams['TemplateURL'] = templateURL; 379 | 380 | // Create or update stack 381 | try { 382 | await cloudformation.createStack(stackParams).promise(); 383 | this.log(formatLog('Stack creation triggered', 'ok')); 384 | const creationTimeTaken = await waiter(cloudformation, 'CREATE_COMPLETE'); 385 | this.log(formatLog(`Stack created (took ${creationTimeTaken}ms)`, 'ok')); 386 | callback(); 387 | } catch (err) { 388 | if (err.code && err.code === 'AlreadyExistsException') { 389 | this.log(formatLog('Stack already exists, updating stack', 'ok')); 390 | try { 391 | await cloudformation.updateStack(stackParams).promise(); 392 | this.log(formatLog('Stack update triggered', 'ok')); 393 | const updateTimeTaken = await waiter(cloudformation, 'UPDATE_COMPLETE'); 394 | this.log(formatLog(`Stack updated (took ${updateTimeTaken}ms)`, 'ok')); 395 | callback(); 396 | } catch (err) { 397 | if (err.code && err.code === 'ValidationError') { 398 | this.log(formatLog('No resources changed, skipping', 'ok')); 399 | } else { 400 | this.log(formatLog(err.err, 'nok')); 401 | } 402 | callback(); 403 | } 404 | } else { 405 | this.log(formatLog(err.message, 'nok')); 406 | callback(); 407 | } 408 | } 409 | } 410 | 411 | }); 412 | 413 | vorpal 414 | .command('uninstall', 'Remove the lsh stack from your AWS account.') 415 | .action(async function(command, callback) { 416 | 417 | const s3 = new AWS.S3(); 418 | const cloudformation = new AWS.CloudFormation({ apiVersion: '2010-05-15', region: config.region }); 419 | 420 | // Clean S3 bucket 421 | try { 422 | await s3.deleteObjects({ 423 | Bucket: config.bucketName, 424 | Delete: { 425 | Objects: [ 426 | { 427 | Key: "lsh.json" 428 | }, 429 | { 430 | Key: "lambda.zip" 431 | } 432 | ], 433 | Quiet: true 434 | } 435 | }).promise(); 436 | this.log(formatLog('Deleted keys in S3 bucket', 'ok')); 437 | } catch (err) { 438 | this.log(formatLog('Deletion of S3 keys failed', 'nok')); 439 | callback(); 440 | } 441 | 442 | // Delete S3 bucket 443 | try { 444 | await s3.deleteBucket({ 445 | Bucket: config.bucketName 446 | }).promise(); 447 | this.log(formatLog('Deleted S3 bucket', 'ok')); 448 | } catch (err) { 449 | this.log(formatLog('Deletion of S3 bucket failed', 'nok')); 450 | callback(); 451 | } 452 | 453 | // Delete stack 454 | try { 455 | await cloudformation.deleteStack({ 456 | StackName: config.stackName 457 | }).promise(); 458 | this.log(formatLog('Stack deletion triggered', 'ok')); 459 | const deletionTimeTaken = await waiter(cloudformation, 'DELETE_COMPLETE'); 460 | this.log(formatLog(`Stack deleted (took ${deletionTimeTaken}ms)`, 'ok')); 461 | callback(); 462 | } catch (error) { 463 | if (error.err.code && error.err.code === 'ValidationError') { 464 | this.log(formatLog(`Stack deleted (took ${error.took}ms)`, 'ok')); 465 | callback(); 466 | } else { 467 | this.log(formatLog(error.err, 'nok')); 468 | callback(); 469 | } 470 | } 471 | 472 | }); 473 | 474 | vorpal 475 | .command('version', 'Print version information.') 476 | .action(function(command, callback) { 477 | this.log(package.version); 478 | callback(); 479 | }); 480 | 481 | vorpal 482 | .command('config', 'Print the current Lambda configuration.') 483 | .action(function(command, callback) { 484 | this.log(formatLog(`Memory ${config.memorySize}mb`, 'ok')); 485 | this.log(formatLog(`Timeout ${config.timeout}s`, 'ok')); 486 | this.log(formatLog(`Region ${config.region}`, 'ok')); 487 | this.log(formatLog(`S3 Bucket ${config.bucketName}`, 'ok')); 488 | callback(); 489 | }); 490 | 491 | vorpal 492 | .command('reset', 'Reset the current Lambda configuration to the defaults.') 493 | .action(function(command, callback) { 494 | initalizeConfig(); 495 | this.log(formatLog(`Reset configuration to defaults`, 'ok')); 496 | callback(); 497 | }); 498 | 499 | vorpal 500 | .delimiter('λ ') 501 | .show(); 502 | -------------------------------------------------------------------------------- /lambda/index.js: -------------------------------------------------------------------------------- 1 | const { exec } = require('child_process'); 2 | 3 | // Set path 4 | process.env['PATH'] = process.env['PATH'] + ':' + process.cwd(); 5 | 6 | // Set home directory 7 | process.env['HOME'] = '/tmp'; 8 | 9 | // Set buffer size to half of the Lambda memory 10 | const MAX_OUTPUT = ((parseInt(process.env['AWS_LAMBDA_FUNCTION_MEMORY_SIZE']) * 1024 * 1024) / 2); 11 | 12 | // Store current working directory. Initial one is /tmp because it's the only writable path 13 | let cwd = '/tmp'; 14 | 15 | // Extract relevant infos from stdout 16 | const extract = (input, isStdout) => { 17 | const lines = input.split('\n'); 18 | // Remove last line if it's empty 19 | if (lines[lines.length-1].length === 0) lines.pop(); 20 | // Remove second last line and use it as cwd 21 | if (isStdout) cwd = lines.pop(); 22 | // Return concatenated output 23 | return lines.join('\n'); 24 | }; 25 | 26 | // Promisified exec() 27 | const execPromise = (command) => { 28 | return new Promise(function(resolve, reject) { 29 | exec(`${command} && pwd`, { encoding: 'binary', maxBuffer: MAX_OUTPUT, cwd: cwd }, (error, stdout, stderr) => { 30 | const cleanedStdout = extract(stdout, true); 31 | const cleanedStderr = extract(stderr, false); 32 | // Define response format 33 | const response = { 34 | "stdout": Buffer.from(cleanedStdout, 'binary').toString('base64'), 35 | "stderr": Buffer.from(cleanedStderr, 'binary').toString('base64'), 36 | "error": error 37 | }; 38 | resolve(response); 39 | }); 40 | }); 41 | } 42 | 43 | exports.handler = async (event, context) => { 44 | // Run command and get command output 45 | const commandOutput = await execPromise(event.command); 46 | // Return command output 47 | context.succeed(commandOutput); 48 | } 49 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lambda-shell", 3 | "version": "0.2.2", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "lambda-shell", 9 | "version": "0.2.2", 10 | "license": "MIT", 11 | "dependencies": { 12 | "archiver": "^5.3.1", 13 | "aws-sdk": "^2.1238.0", 14 | "chalk": "4.1.2", 15 | "figlet": "^1.5.2", 16 | "vorpal": "^1.12.0" 17 | }, 18 | "bin": { 19 | "lsh": "bin/lsh.js" 20 | } 21 | }, 22 | "node_modules/ansi-escapes": { 23 | "version": "1.4.0", 24 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", 25 | "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", 26 | "engines": { 27 | "node": ">=0.10.0" 28 | } 29 | }, 30 | "node_modules/ansi-regex": { 31 | "version": "2.1.1", 32 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 33 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 34 | "engines": { 35 | "node": ">=0.10.0" 36 | } 37 | }, 38 | "node_modules/ansi-styles": { 39 | "version": "4.3.0", 40 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 41 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 42 | "dependencies": { 43 | "color-convert": "^2.0.1" 44 | }, 45 | "engines": { 46 | "node": ">=8" 47 | }, 48 | "funding": { 49 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 50 | } 51 | }, 52 | "node_modules/archiver": { 53 | "version": "5.3.1", 54 | "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.1.tgz", 55 | "integrity": "sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==", 56 | "dependencies": { 57 | "archiver-utils": "^2.1.0", 58 | "async": "^3.2.3", 59 | "buffer-crc32": "^0.2.1", 60 | "readable-stream": "^3.6.0", 61 | "readdir-glob": "^1.0.0", 62 | "tar-stream": "^2.2.0", 63 | "zip-stream": "^4.1.0" 64 | }, 65 | "engines": { 66 | "node": ">= 10" 67 | } 68 | }, 69 | "node_modules/archiver-utils": { 70 | "version": "2.1.0", 71 | "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", 72 | "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", 73 | "dependencies": { 74 | "glob": "^7.1.4", 75 | "graceful-fs": "^4.2.0", 76 | "lazystream": "^1.0.0", 77 | "lodash.defaults": "^4.2.0", 78 | "lodash.difference": "^4.5.0", 79 | "lodash.flatten": "^4.4.0", 80 | "lodash.isplainobject": "^4.0.6", 81 | "lodash.union": "^4.6.0", 82 | "normalize-path": "^3.0.0", 83 | "readable-stream": "^2.0.0" 84 | }, 85 | "engines": { 86 | "node": ">= 6" 87 | } 88 | }, 89 | "node_modules/archiver-utils/node_modules/readable-stream": { 90 | "version": "2.3.7", 91 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 92 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 93 | "dependencies": { 94 | "core-util-is": "~1.0.0", 95 | "inherits": "~2.0.3", 96 | "isarray": "~1.0.0", 97 | "process-nextick-args": "~2.0.0", 98 | "safe-buffer": "~5.1.1", 99 | "string_decoder": "~1.1.1", 100 | "util-deprecate": "~1.0.1" 101 | } 102 | }, 103 | "node_modules/archiver-utils/node_modules/safe-buffer": { 104 | "version": "5.1.2", 105 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 106 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 107 | }, 108 | "node_modules/archiver-utils/node_modules/string_decoder": { 109 | "version": "1.1.1", 110 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 111 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 112 | "dependencies": { 113 | "safe-buffer": "~5.1.0" 114 | } 115 | }, 116 | "node_modules/async": { 117 | "version": "3.2.4", 118 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", 119 | "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" 120 | }, 121 | "node_modules/available-typed-arrays": { 122 | "version": "1.0.5", 123 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", 124 | "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", 125 | "engines": { 126 | "node": ">= 0.4" 127 | }, 128 | "funding": { 129 | "url": "https://github.com/sponsors/ljharb" 130 | } 131 | }, 132 | "node_modules/aws-sdk": { 133 | "version": "2.1238.0", 134 | "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1238.0.tgz", 135 | "integrity": "sha512-DCXAj98lFW0y2Ickm0MbXnxzbG5IDrhBXs6Wx+vscrYNFRjy7JGau9HACY8aFoesMQz8PzNmJKR82Dg2NsGvDg==", 136 | "dependencies": { 137 | "buffer": "4.9.2", 138 | "events": "1.1.1", 139 | "ieee754": "1.1.13", 140 | "jmespath": "0.16.0", 141 | "querystring": "0.2.0", 142 | "sax": "1.2.1", 143 | "url": "0.10.3", 144 | "util": "^0.12.4", 145 | "uuid": "8.0.0", 146 | "xml2js": "0.4.19" 147 | }, 148 | "engines": { 149 | "node": ">= 10.0.0" 150 | } 151 | }, 152 | "node_modules/aws-sdk/node_modules/buffer": { 153 | "version": "4.9.2", 154 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", 155 | "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", 156 | "dependencies": { 157 | "base64-js": "^1.0.2", 158 | "ieee754": "^1.1.4", 159 | "isarray": "^1.0.0" 160 | } 161 | }, 162 | "node_modules/babel-polyfill": { 163 | "version": "6.26.0", 164 | "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", 165 | "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", 166 | "dependencies": { 167 | "babel-runtime": "^6.26.0", 168 | "core-js": "^2.5.0", 169 | "regenerator-runtime": "^0.10.5" 170 | } 171 | }, 172 | "node_modules/babel-runtime": { 173 | "version": "6.26.0", 174 | "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", 175 | "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", 176 | "dependencies": { 177 | "core-js": "^2.4.0", 178 | "regenerator-runtime": "^0.11.0" 179 | } 180 | }, 181 | "node_modules/babel-runtime/node_modules/regenerator-runtime": { 182 | "version": "0.11.1", 183 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", 184 | "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" 185 | }, 186 | "node_modules/balanced-match": { 187 | "version": "1.0.0", 188 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 189 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 190 | }, 191 | "node_modules/base64-js": { 192 | "version": "1.3.1", 193 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", 194 | "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" 195 | }, 196 | "node_modules/bl": { 197 | "version": "4.1.0", 198 | "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", 199 | "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", 200 | "dependencies": { 201 | "buffer": "^5.5.0", 202 | "inherits": "^2.0.4", 203 | "readable-stream": "^3.4.0" 204 | } 205 | }, 206 | "node_modules/brace-expansion": { 207 | "version": "1.1.11", 208 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 209 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 210 | "dependencies": { 211 | "balanced-match": "^1.0.0", 212 | "concat-map": "0.0.1" 213 | } 214 | }, 215 | "node_modules/buffer": { 216 | "version": "5.7.1", 217 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 218 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 219 | "funding": [ 220 | { 221 | "type": "github", 222 | "url": "https://github.com/sponsors/feross" 223 | }, 224 | { 225 | "type": "patreon", 226 | "url": "https://www.patreon.com/feross" 227 | }, 228 | { 229 | "type": "consulting", 230 | "url": "https://feross.org/support" 231 | } 232 | ], 233 | "dependencies": { 234 | "base64-js": "^1.3.1", 235 | "ieee754": "^1.1.13" 236 | } 237 | }, 238 | "node_modules/buffer-crc32": { 239 | "version": "0.2.13", 240 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", 241 | "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", 242 | "engines": { 243 | "node": "*" 244 | } 245 | }, 246 | "node_modules/call-bind": { 247 | "version": "1.0.2", 248 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 249 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 250 | "dependencies": { 251 | "function-bind": "^1.1.1", 252 | "get-intrinsic": "^1.0.2" 253 | }, 254 | "funding": { 255 | "url": "https://github.com/sponsors/ljharb" 256 | } 257 | }, 258 | "node_modules/chalk": { 259 | "version": "4.1.2", 260 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 261 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 262 | "dependencies": { 263 | "ansi-styles": "^4.1.0", 264 | "supports-color": "^7.1.0" 265 | }, 266 | "engines": { 267 | "node": ">=10" 268 | }, 269 | "funding": { 270 | "url": "https://github.com/chalk/chalk?sponsor=1" 271 | } 272 | }, 273 | "node_modules/cli-cursor": { 274 | "version": "1.0.2", 275 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", 276 | "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", 277 | "dependencies": { 278 | "restore-cursor": "^1.0.1" 279 | }, 280 | "engines": { 281 | "node": ">=0.10.0" 282 | } 283 | }, 284 | "node_modules/cli-width": { 285 | "version": "1.1.1", 286 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.1.tgz", 287 | "integrity": "sha1-pNKT72frt7iNSk1CwMzwDE0eNm0=" 288 | }, 289 | "node_modules/code-point-at": { 290 | "version": "1.1.0", 291 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 292 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", 293 | "engines": { 294 | "node": ">=0.10.0" 295 | } 296 | }, 297 | "node_modules/color-convert": { 298 | "version": "2.0.1", 299 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 300 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 301 | "dependencies": { 302 | "color-name": "~1.1.4" 303 | }, 304 | "engines": { 305 | "node": ">=7.0.0" 306 | } 307 | }, 308 | "node_modules/color-name": { 309 | "version": "1.1.4", 310 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 311 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 312 | }, 313 | "node_modules/compress-commons": { 314 | "version": "4.1.1", 315 | "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz", 316 | "integrity": "sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==", 317 | "dependencies": { 318 | "buffer-crc32": "^0.2.13", 319 | "crc32-stream": "^4.0.2", 320 | "normalize-path": "^3.0.0", 321 | "readable-stream": "^3.6.0" 322 | }, 323 | "engines": { 324 | "node": ">= 10" 325 | } 326 | }, 327 | "node_modules/concat-map": { 328 | "version": "0.0.1", 329 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 330 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 331 | }, 332 | "node_modules/core-js": { 333 | "version": "2.6.9", 334 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", 335 | "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==", 336 | "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", 337 | "hasInstallScript": true 338 | }, 339 | "node_modules/core-util-is": { 340 | "version": "1.0.3", 341 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 342 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" 343 | }, 344 | "node_modules/crc-32": { 345 | "version": "1.2.2", 346 | "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", 347 | "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", 348 | "bin": { 349 | "crc32": "bin/crc32.njs" 350 | }, 351 | "engines": { 352 | "node": ">=0.8" 353 | } 354 | }, 355 | "node_modules/crc32-stream": { 356 | "version": "4.0.2", 357 | "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz", 358 | "integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==", 359 | "dependencies": { 360 | "crc-32": "^1.2.0", 361 | "readable-stream": "^3.4.0" 362 | }, 363 | "engines": { 364 | "node": ">= 10" 365 | } 366 | }, 367 | "node_modules/define-properties": { 368 | "version": "1.1.4", 369 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", 370 | "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", 371 | "dependencies": { 372 | "has-property-descriptors": "^1.0.0", 373 | "object-keys": "^1.1.1" 374 | }, 375 | "engines": { 376 | "node": ">= 0.4" 377 | }, 378 | "funding": { 379 | "url": "https://github.com/sponsors/ljharb" 380 | } 381 | }, 382 | "node_modules/end-of-stream": { 383 | "version": "1.4.4", 384 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 385 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 386 | "dependencies": { 387 | "once": "^1.4.0" 388 | } 389 | }, 390 | "node_modules/es-abstract": { 391 | "version": "1.20.4", 392 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.4.tgz", 393 | "integrity": "sha512-0UtvRN79eMe2L+UNEF1BwRe364sj/DXhQ/k5FmivgoSdpM90b8Jc0mDzKMGo7QS0BVbOP/bTwBKNnDc9rNzaPA==", 394 | "dependencies": { 395 | "call-bind": "^1.0.2", 396 | "es-to-primitive": "^1.2.1", 397 | "function-bind": "^1.1.1", 398 | "function.prototype.name": "^1.1.5", 399 | "get-intrinsic": "^1.1.3", 400 | "get-symbol-description": "^1.0.0", 401 | "has": "^1.0.3", 402 | "has-property-descriptors": "^1.0.0", 403 | "has-symbols": "^1.0.3", 404 | "internal-slot": "^1.0.3", 405 | "is-callable": "^1.2.7", 406 | "is-negative-zero": "^2.0.2", 407 | "is-regex": "^1.1.4", 408 | "is-shared-array-buffer": "^1.0.2", 409 | "is-string": "^1.0.7", 410 | "is-weakref": "^1.0.2", 411 | "object-inspect": "^1.12.2", 412 | "object-keys": "^1.1.1", 413 | "object.assign": "^4.1.4", 414 | "regexp.prototype.flags": "^1.4.3", 415 | "safe-regex-test": "^1.0.0", 416 | "string.prototype.trimend": "^1.0.5", 417 | "string.prototype.trimstart": "^1.0.5", 418 | "unbox-primitive": "^1.0.2" 419 | }, 420 | "engines": { 421 | "node": ">= 0.4" 422 | }, 423 | "funding": { 424 | "url": "https://github.com/sponsors/ljharb" 425 | } 426 | }, 427 | "node_modules/es-to-primitive": { 428 | "version": "1.2.1", 429 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 430 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 431 | "dependencies": { 432 | "is-callable": "^1.1.4", 433 | "is-date-object": "^1.0.1", 434 | "is-symbol": "^1.0.2" 435 | }, 436 | "engines": { 437 | "node": ">= 0.4" 438 | }, 439 | "funding": { 440 | "url": "https://github.com/sponsors/ljharb" 441 | } 442 | }, 443 | "node_modules/escape-string-regexp": { 444 | "version": "1.0.5", 445 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 446 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 447 | "engines": { 448 | "node": ">=0.8.0" 449 | } 450 | }, 451 | "node_modules/events": { 452 | "version": "1.1.1", 453 | "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", 454 | "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", 455 | "engines": { 456 | "node": ">=0.4.x" 457 | } 458 | }, 459 | "node_modules/exit-hook": { 460 | "version": "1.1.1", 461 | "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", 462 | "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", 463 | "engines": { 464 | "node": ">=0.10.0" 465 | } 466 | }, 467 | "node_modules/figlet": { 468 | "version": "1.5.2", 469 | "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.5.2.tgz", 470 | "integrity": "sha512-WOn21V8AhyE1QqVfPIVxe3tupJacq1xGkPTB4iagT6o+P2cAgEOOwIxMftr4+ZCTI6d551ij9j61DFr0nsP2uQ==", 471 | "engines": { 472 | "node": ">= 0.4.0" 473 | } 474 | }, 475 | "node_modules/figures": { 476 | "version": "1.7.0", 477 | "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", 478 | "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", 479 | "dependencies": { 480 | "escape-string-regexp": "^1.0.5", 481 | "object-assign": "^4.1.0" 482 | }, 483 | "engines": { 484 | "node": ">=0.10.0" 485 | } 486 | }, 487 | "node_modules/for-each": { 488 | "version": "0.3.3", 489 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", 490 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", 491 | "dependencies": { 492 | "is-callable": "^1.1.3" 493 | } 494 | }, 495 | "node_modules/fs-constants": { 496 | "version": "1.0.0", 497 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 498 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" 499 | }, 500 | "node_modules/fs.realpath": { 501 | "version": "1.0.0", 502 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 503 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" 504 | }, 505 | "node_modules/function-bind": { 506 | "version": "1.1.1", 507 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 508 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 509 | }, 510 | "node_modules/function.prototype.name": { 511 | "version": "1.1.5", 512 | "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", 513 | "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", 514 | "dependencies": { 515 | "call-bind": "^1.0.2", 516 | "define-properties": "^1.1.3", 517 | "es-abstract": "^1.19.0", 518 | "functions-have-names": "^1.2.2" 519 | }, 520 | "engines": { 521 | "node": ">= 0.4" 522 | }, 523 | "funding": { 524 | "url": "https://github.com/sponsors/ljharb" 525 | } 526 | }, 527 | "node_modules/functions-have-names": { 528 | "version": "1.2.3", 529 | "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", 530 | "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", 531 | "funding": { 532 | "url": "https://github.com/sponsors/ljharb" 533 | } 534 | }, 535 | "node_modules/get-intrinsic": { 536 | "version": "1.1.3", 537 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", 538 | "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", 539 | "dependencies": { 540 | "function-bind": "^1.1.1", 541 | "has": "^1.0.3", 542 | "has-symbols": "^1.0.3" 543 | }, 544 | "funding": { 545 | "url": "https://github.com/sponsors/ljharb" 546 | } 547 | }, 548 | "node_modules/get-symbol-description": { 549 | "version": "1.0.0", 550 | "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", 551 | "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", 552 | "dependencies": { 553 | "call-bind": "^1.0.2", 554 | "get-intrinsic": "^1.1.1" 555 | }, 556 | "engines": { 557 | "node": ">= 0.4" 558 | }, 559 | "funding": { 560 | "url": "https://github.com/sponsors/ljharb" 561 | } 562 | }, 563 | "node_modules/glob": { 564 | "version": "7.2.3", 565 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 566 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 567 | "dependencies": { 568 | "fs.realpath": "^1.0.0", 569 | "inflight": "^1.0.4", 570 | "inherits": "2", 571 | "minimatch": "^3.1.1", 572 | "once": "^1.3.0", 573 | "path-is-absolute": "^1.0.0" 574 | }, 575 | "engines": { 576 | "node": "*" 577 | }, 578 | "funding": { 579 | "url": "https://github.com/sponsors/isaacs" 580 | } 581 | }, 582 | "node_modules/graceful-fs": { 583 | "version": "4.2.10", 584 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 585 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" 586 | }, 587 | "node_modules/has": { 588 | "version": "1.0.3", 589 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 590 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 591 | "dependencies": { 592 | "function-bind": "^1.1.1" 593 | }, 594 | "engines": { 595 | "node": ">= 0.4.0" 596 | } 597 | }, 598 | "node_modules/has-ansi": { 599 | "version": "2.0.0", 600 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 601 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 602 | "dependencies": { 603 | "ansi-regex": "^2.0.0" 604 | }, 605 | "engines": { 606 | "node": ">=0.10.0" 607 | } 608 | }, 609 | "node_modules/has-bigints": { 610 | "version": "1.0.2", 611 | "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", 612 | "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", 613 | "funding": { 614 | "url": "https://github.com/sponsors/ljharb" 615 | } 616 | }, 617 | "node_modules/has-flag": { 618 | "version": "4.0.0", 619 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 620 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 621 | "engines": { 622 | "node": ">=8" 623 | } 624 | }, 625 | "node_modules/has-property-descriptors": { 626 | "version": "1.0.0", 627 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", 628 | "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", 629 | "dependencies": { 630 | "get-intrinsic": "^1.1.1" 631 | }, 632 | "funding": { 633 | "url": "https://github.com/sponsors/ljharb" 634 | } 635 | }, 636 | "node_modules/has-symbols": { 637 | "version": "1.0.3", 638 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 639 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 640 | "engines": { 641 | "node": ">= 0.4" 642 | }, 643 | "funding": { 644 | "url": "https://github.com/sponsors/ljharb" 645 | } 646 | }, 647 | "node_modules/has-tostringtag": { 648 | "version": "1.0.0", 649 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", 650 | "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", 651 | "dependencies": { 652 | "has-symbols": "^1.0.2" 653 | }, 654 | "engines": { 655 | "node": ">= 0.4" 656 | }, 657 | "funding": { 658 | "url": "https://github.com/sponsors/ljharb" 659 | } 660 | }, 661 | "node_modules/ieee754": { 662 | "version": "1.1.13", 663 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", 664 | "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" 665 | }, 666 | "node_modules/in-publish": { 667 | "version": "2.0.0", 668 | "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", 669 | "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", 670 | "bin": { 671 | "in-install": "in-install.js", 672 | "in-publish": "in-publish.js", 673 | "not-in-install": "not-in-install.js", 674 | "not-in-publish": "not-in-publish.js" 675 | } 676 | }, 677 | "node_modules/inflight": { 678 | "version": "1.0.6", 679 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 680 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 681 | "dependencies": { 682 | "once": "^1.3.0", 683 | "wrappy": "1" 684 | } 685 | }, 686 | "node_modules/inherits": { 687 | "version": "2.0.4", 688 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 689 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 690 | }, 691 | "node_modules/inquirer": { 692 | "version": "0.11.0", 693 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.11.0.tgz", 694 | "integrity": "sha512-LIwC+g/fJbmKhDm341+RqDIV4jPf/n3pMway9xg8Ovt6CCQo1ozXhmuKTcoNIWhWJJKsSGZP+Rnuq7JgM7mE2A==", 695 | "dependencies": { 696 | "ansi-escapes": "^1.1.0", 697 | "ansi-regex": "^2.0.0", 698 | "chalk": "^1.0.0", 699 | "cli-cursor": "^1.0.1", 700 | "cli-width": "^1.0.1", 701 | "figures": "^1.3.5", 702 | "lodash": "^3.3.1", 703 | "readline2": "^1.0.1", 704 | "run-async": "^0.1.0", 705 | "rx-lite": "^3.1.2", 706 | "strip-ansi": "^3.0.0", 707 | "through": "^2.3.6" 708 | } 709 | }, 710 | "node_modules/inquirer/node_modules/ansi-styles": { 711 | "version": "2.2.1", 712 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 713 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 714 | "engines": { 715 | "node": ">=0.10.0" 716 | } 717 | }, 718 | "node_modules/inquirer/node_modules/chalk": { 719 | "version": "1.1.3", 720 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 721 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 722 | "dependencies": { 723 | "ansi-styles": "^2.2.1", 724 | "escape-string-regexp": "^1.0.2", 725 | "has-ansi": "^2.0.0", 726 | "strip-ansi": "^3.0.0", 727 | "supports-color": "^2.0.0" 728 | }, 729 | "engines": { 730 | "node": ">=0.10.0" 731 | } 732 | }, 733 | "node_modules/inquirer/node_modules/lodash": { 734 | "version": "3.10.1", 735 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", 736 | "integrity": "sha512-9mDDwqVIma6OZX79ZlDACZl8sBm0TEnkf99zV3iMA4GzkIT/9hiqP5mY0HoT1iNLCrKc/R1HByV+yJfRWVJryQ==" 737 | }, 738 | "node_modules/inquirer/node_modules/supports-color": { 739 | "version": "2.0.0", 740 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 741 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 742 | "engines": { 743 | "node": ">=0.8.0" 744 | } 745 | }, 746 | "node_modules/internal-slot": { 747 | "version": "1.0.3", 748 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", 749 | "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", 750 | "dependencies": { 751 | "get-intrinsic": "^1.1.0", 752 | "has": "^1.0.3", 753 | "side-channel": "^1.0.4" 754 | }, 755 | "engines": { 756 | "node": ">= 0.4" 757 | } 758 | }, 759 | "node_modules/is-arguments": { 760 | "version": "1.1.1", 761 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", 762 | "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", 763 | "dependencies": { 764 | "call-bind": "^1.0.2", 765 | "has-tostringtag": "^1.0.0" 766 | }, 767 | "engines": { 768 | "node": ">= 0.4" 769 | }, 770 | "funding": { 771 | "url": "https://github.com/sponsors/ljharb" 772 | } 773 | }, 774 | "node_modules/is-bigint": { 775 | "version": "1.0.4", 776 | "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", 777 | "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", 778 | "dependencies": { 779 | "has-bigints": "^1.0.1" 780 | }, 781 | "funding": { 782 | "url": "https://github.com/sponsors/ljharb" 783 | } 784 | }, 785 | "node_modules/is-boolean-object": { 786 | "version": "1.1.2", 787 | "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", 788 | "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", 789 | "dependencies": { 790 | "call-bind": "^1.0.2", 791 | "has-tostringtag": "^1.0.0" 792 | }, 793 | "engines": { 794 | "node": ">= 0.4" 795 | }, 796 | "funding": { 797 | "url": "https://github.com/sponsors/ljharb" 798 | } 799 | }, 800 | "node_modules/is-callable": { 801 | "version": "1.2.7", 802 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 803 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", 804 | "engines": { 805 | "node": ">= 0.4" 806 | }, 807 | "funding": { 808 | "url": "https://github.com/sponsors/ljharb" 809 | } 810 | }, 811 | "node_modules/is-date-object": { 812 | "version": "1.0.5", 813 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", 814 | "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", 815 | "dependencies": { 816 | "has-tostringtag": "^1.0.0" 817 | }, 818 | "engines": { 819 | "node": ">= 0.4" 820 | }, 821 | "funding": { 822 | "url": "https://github.com/sponsors/ljharb" 823 | } 824 | }, 825 | "node_modules/is-fullwidth-code-point": { 826 | "version": "1.0.0", 827 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 828 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 829 | "dependencies": { 830 | "number-is-nan": "^1.0.0" 831 | }, 832 | "engines": { 833 | "node": ">=0.10.0" 834 | } 835 | }, 836 | "node_modules/is-generator-function": { 837 | "version": "1.0.10", 838 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", 839 | "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", 840 | "dependencies": { 841 | "has-tostringtag": "^1.0.0" 842 | }, 843 | "engines": { 844 | "node": ">= 0.4" 845 | }, 846 | "funding": { 847 | "url": "https://github.com/sponsors/ljharb" 848 | } 849 | }, 850 | "node_modules/is-negative-zero": { 851 | "version": "2.0.2", 852 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", 853 | "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", 854 | "engines": { 855 | "node": ">= 0.4" 856 | }, 857 | "funding": { 858 | "url": "https://github.com/sponsors/ljharb" 859 | } 860 | }, 861 | "node_modules/is-number-object": { 862 | "version": "1.0.7", 863 | "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", 864 | "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", 865 | "dependencies": { 866 | "has-tostringtag": "^1.0.0" 867 | }, 868 | "engines": { 869 | "node": ">= 0.4" 870 | }, 871 | "funding": { 872 | "url": "https://github.com/sponsors/ljharb" 873 | } 874 | }, 875 | "node_modules/is-regex": { 876 | "version": "1.1.4", 877 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", 878 | "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", 879 | "dependencies": { 880 | "call-bind": "^1.0.2", 881 | "has-tostringtag": "^1.0.0" 882 | }, 883 | "engines": { 884 | "node": ">= 0.4" 885 | }, 886 | "funding": { 887 | "url": "https://github.com/sponsors/ljharb" 888 | } 889 | }, 890 | "node_modules/is-shared-array-buffer": { 891 | "version": "1.0.2", 892 | "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", 893 | "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", 894 | "dependencies": { 895 | "call-bind": "^1.0.2" 896 | }, 897 | "funding": { 898 | "url": "https://github.com/sponsors/ljharb" 899 | } 900 | }, 901 | "node_modules/is-string": { 902 | "version": "1.0.7", 903 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", 904 | "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", 905 | "dependencies": { 906 | "has-tostringtag": "^1.0.0" 907 | }, 908 | "engines": { 909 | "node": ">= 0.4" 910 | }, 911 | "funding": { 912 | "url": "https://github.com/sponsors/ljharb" 913 | } 914 | }, 915 | "node_modules/is-symbol": { 916 | "version": "1.0.4", 917 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", 918 | "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", 919 | "dependencies": { 920 | "has-symbols": "^1.0.2" 921 | }, 922 | "engines": { 923 | "node": ">= 0.4" 924 | }, 925 | "funding": { 926 | "url": "https://github.com/sponsors/ljharb" 927 | } 928 | }, 929 | "node_modules/is-typed-array": { 930 | "version": "1.1.9", 931 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.9.tgz", 932 | "integrity": "sha512-kfrlnTTn8pZkfpJMUgYD7YZ3qzeJgWUn8XfVYBARc4wnmNOmLbmuuaAs3q5fvB0UJOn6yHAKaGTPM7d6ezoD/A==", 933 | "dependencies": { 934 | "available-typed-arrays": "^1.0.5", 935 | "call-bind": "^1.0.2", 936 | "es-abstract": "^1.20.0", 937 | "for-each": "^0.3.3", 938 | "has-tostringtag": "^1.0.0" 939 | }, 940 | "engines": { 941 | "node": ">= 0.4" 942 | }, 943 | "funding": { 944 | "url": "https://github.com/sponsors/ljharb" 945 | } 946 | }, 947 | "node_modules/is-weakref": { 948 | "version": "1.0.2", 949 | "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", 950 | "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", 951 | "dependencies": { 952 | "call-bind": "^1.0.2" 953 | }, 954 | "funding": { 955 | "url": "https://github.com/sponsors/ljharb" 956 | } 957 | }, 958 | "node_modules/isarray": { 959 | "version": "1.0.0", 960 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 961 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 962 | }, 963 | "node_modules/jmespath": { 964 | "version": "0.16.0", 965 | "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", 966 | "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", 967 | "engines": { 968 | "node": ">= 0.6.0" 969 | } 970 | }, 971 | "node_modules/lazystream": { 972 | "version": "1.0.1", 973 | "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", 974 | "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", 975 | "dependencies": { 976 | "readable-stream": "^2.0.5" 977 | }, 978 | "engines": { 979 | "node": ">= 0.6.3" 980 | } 981 | }, 982 | "node_modules/lazystream/node_modules/readable-stream": { 983 | "version": "2.3.7", 984 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 985 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 986 | "dependencies": { 987 | "core-util-is": "~1.0.0", 988 | "inherits": "~2.0.3", 989 | "isarray": "~1.0.0", 990 | "process-nextick-args": "~2.0.0", 991 | "safe-buffer": "~5.1.1", 992 | "string_decoder": "~1.1.1", 993 | "util-deprecate": "~1.0.1" 994 | } 995 | }, 996 | "node_modules/lazystream/node_modules/safe-buffer": { 997 | "version": "5.1.2", 998 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 999 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1000 | }, 1001 | "node_modules/lazystream/node_modules/string_decoder": { 1002 | "version": "1.1.1", 1003 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1004 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1005 | "dependencies": { 1006 | "safe-buffer": "~5.1.0" 1007 | } 1008 | }, 1009 | "node_modules/lodash": { 1010 | "version": "4.17.21", 1011 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 1012 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" 1013 | }, 1014 | "node_modules/lodash.defaults": { 1015 | "version": "4.2.0", 1016 | "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", 1017 | "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" 1018 | }, 1019 | "node_modules/lodash.difference": { 1020 | "version": "4.5.0", 1021 | "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", 1022 | "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" 1023 | }, 1024 | "node_modules/lodash.flatten": { 1025 | "version": "4.4.0", 1026 | "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", 1027 | "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" 1028 | }, 1029 | "node_modules/lodash.isplainobject": { 1030 | "version": "4.0.6", 1031 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", 1032 | "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" 1033 | }, 1034 | "node_modules/lodash.union": { 1035 | "version": "4.6.0", 1036 | "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", 1037 | "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" 1038 | }, 1039 | "node_modules/log-update": { 1040 | "version": "1.0.2", 1041 | "resolved": "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", 1042 | "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", 1043 | "dependencies": { 1044 | "ansi-escapes": "^1.0.0", 1045 | "cli-cursor": "^1.0.2" 1046 | }, 1047 | "engines": { 1048 | "node": ">=0.10.0" 1049 | } 1050 | }, 1051 | "node_modules/minimatch": { 1052 | "version": "3.1.2", 1053 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1054 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1055 | "dependencies": { 1056 | "brace-expansion": "^1.1.7" 1057 | }, 1058 | "engines": { 1059 | "node": "*" 1060 | } 1061 | }, 1062 | "node_modules/minimist": { 1063 | "version": "1.2.7", 1064 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", 1065 | "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", 1066 | "funding": { 1067 | "url": "https://github.com/sponsors/ljharb" 1068 | } 1069 | }, 1070 | "node_modules/mute-stream": { 1071 | "version": "0.0.5", 1072 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", 1073 | "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=" 1074 | }, 1075 | "node_modules/node-localstorage": { 1076 | "version": "0.6.0", 1077 | "resolved": "https://registry.npmjs.org/node-localstorage/-/node-localstorage-0.6.0.tgz", 1078 | "integrity": "sha1-RaBgHGky395mRKIzYfG+Fzx1068=", 1079 | "engines": { 1080 | "node": ">=0.10" 1081 | } 1082 | }, 1083 | "node_modules/normalize-path": { 1084 | "version": "3.0.0", 1085 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1086 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1087 | "engines": { 1088 | "node": ">=0.10.0" 1089 | } 1090 | }, 1091 | "node_modules/number-is-nan": { 1092 | "version": "1.0.1", 1093 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 1094 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", 1095 | "engines": { 1096 | "node": ">=0.10.0" 1097 | } 1098 | }, 1099 | "node_modules/object-assign": { 1100 | "version": "4.1.1", 1101 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1102 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", 1103 | "engines": { 1104 | "node": ">=0.10.0" 1105 | } 1106 | }, 1107 | "node_modules/object-inspect": { 1108 | "version": "1.12.2", 1109 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 1110 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", 1111 | "funding": { 1112 | "url": "https://github.com/sponsors/ljharb" 1113 | } 1114 | }, 1115 | "node_modules/object-keys": { 1116 | "version": "1.1.1", 1117 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1118 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 1119 | "engines": { 1120 | "node": ">= 0.4" 1121 | } 1122 | }, 1123 | "node_modules/object.assign": { 1124 | "version": "4.1.4", 1125 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", 1126 | "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", 1127 | "dependencies": { 1128 | "call-bind": "^1.0.2", 1129 | "define-properties": "^1.1.4", 1130 | "has-symbols": "^1.0.3", 1131 | "object-keys": "^1.1.1" 1132 | }, 1133 | "engines": { 1134 | "node": ">= 0.4" 1135 | }, 1136 | "funding": { 1137 | "url": "https://github.com/sponsors/ljharb" 1138 | } 1139 | }, 1140 | "node_modules/once": { 1141 | "version": "1.4.0", 1142 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1143 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1144 | "dependencies": { 1145 | "wrappy": "1" 1146 | } 1147 | }, 1148 | "node_modules/onetime": { 1149 | "version": "1.1.0", 1150 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", 1151 | "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", 1152 | "engines": { 1153 | "node": ">=0.10.0" 1154 | } 1155 | }, 1156 | "node_modules/path-is-absolute": { 1157 | "version": "1.0.1", 1158 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1159 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1160 | "engines": { 1161 | "node": ">=0.10.0" 1162 | } 1163 | }, 1164 | "node_modules/process-nextick-args": { 1165 | "version": "2.0.1", 1166 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1167 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 1168 | }, 1169 | "node_modules/punycode": { 1170 | "version": "1.3.2", 1171 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", 1172 | "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" 1173 | }, 1174 | "node_modules/querystring": { 1175 | "version": "0.2.0", 1176 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 1177 | "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", 1178 | "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", 1179 | "engines": { 1180 | "node": ">=0.4.x" 1181 | } 1182 | }, 1183 | "node_modules/readable-stream": { 1184 | "version": "3.6.0", 1185 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 1186 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 1187 | "dependencies": { 1188 | "inherits": "^2.0.3", 1189 | "string_decoder": "^1.1.1", 1190 | "util-deprecate": "^1.0.1" 1191 | }, 1192 | "engines": { 1193 | "node": ">= 6" 1194 | } 1195 | }, 1196 | "node_modules/readdir-glob": { 1197 | "version": "1.0.0", 1198 | "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.0.0.tgz", 1199 | "integrity": "sha512-km0DIcwQVZ1ZUhXhMWpF74/Wm5aFEd5/jDiVWF1Hkw2myPQovG8vCQ8+FQO2KXE9npQQvCnAMZhhWuUee4WcCQ==", 1200 | "dependencies": { 1201 | "minimatch": "^3.0.4" 1202 | } 1203 | }, 1204 | "node_modules/readline2": { 1205 | "version": "1.0.1", 1206 | "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", 1207 | "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", 1208 | "dependencies": { 1209 | "code-point-at": "^1.0.0", 1210 | "is-fullwidth-code-point": "^1.0.0", 1211 | "mute-stream": "0.0.5" 1212 | } 1213 | }, 1214 | "node_modules/regenerator-runtime": { 1215 | "version": "0.10.5", 1216 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", 1217 | "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" 1218 | }, 1219 | "node_modules/regexp.prototype.flags": { 1220 | "version": "1.4.3", 1221 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", 1222 | "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", 1223 | "dependencies": { 1224 | "call-bind": "^1.0.2", 1225 | "define-properties": "^1.1.3", 1226 | "functions-have-names": "^1.2.2" 1227 | }, 1228 | "engines": { 1229 | "node": ">= 0.4" 1230 | }, 1231 | "funding": { 1232 | "url": "https://github.com/sponsors/ljharb" 1233 | } 1234 | }, 1235 | "node_modules/restore-cursor": { 1236 | "version": "1.0.1", 1237 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", 1238 | "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", 1239 | "dependencies": { 1240 | "exit-hook": "^1.0.0", 1241 | "onetime": "^1.0.0" 1242 | }, 1243 | "engines": { 1244 | "node": ">=0.10.0" 1245 | } 1246 | }, 1247 | "node_modules/run-async": { 1248 | "version": "0.1.0", 1249 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", 1250 | "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", 1251 | "dependencies": { 1252 | "once": "^1.3.0" 1253 | } 1254 | }, 1255 | "node_modules/rx-lite": { 1256 | "version": "3.1.2", 1257 | "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", 1258 | "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=" 1259 | }, 1260 | "node_modules/safe-buffer": { 1261 | "version": "5.2.1", 1262 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1263 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1264 | "funding": [ 1265 | { 1266 | "type": "github", 1267 | "url": "https://github.com/sponsors/feross" 1268 | }, 1269 | { 1270 | "type": "patreon", 1271 | "url": "https://www.patreon.com/feross" 1272 | }, 1273 | { 1274 | "type": "consulting", 1275 | "url": "https://feross.org/support" 1276 | } 1277 | ] 1278 | }, 1279 | "node_modules/safe-regex-test": { 1280 | "version": "1.0.0", 1281 | "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", 1282 | "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", 1283 | "dependencies": { 1284 | "call-bind": "^1.0.2", 1285 | "get-intrinsic": "^1.1.3", 1286 | "is-regex": "^1.1.4" 1287 | }, 1288 | "funding": { 1289 | "url": "https://github.com/sponsors/ljharb" 1290 | } 1291 | }, 1292 | "node_modules/sax": { 1293 | "version": "1.2.1", 1294 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", 1295 | "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=" 1296 | }, 1297 | "node_modules/side-channel": { 1298 | "version": "1.0.4", 1299 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1300 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 1301 | "dependencies": { 1302 | "call-bind": "^1.0.0", 1303 | "get-intrinsic": "^1.0.2", 1304 | "object-inspect": "^1.9.0" 1305 | }, 1306 | "funding": { 1307 | "url": "https://github.com/sponsors/ljharb" 1308 | } 1309 | }, 1310 | "node_modules/string_decoder": { 1311 | "version": "1.3.0", 1312 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1313 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1314 | "dependencies": { 1315 | "safe-buffer": "~5.2.0" 1316 | } 1317 | }, 1318 | "node_modules/string-width": { 1319 | "version": "1.0.2", 1320 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 1321 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 1322 | "dependencies": { 1323 | "code-point-at": "^1.0.0", 1324 | "is-fullwidth-code-point": "^1.0.0", 1325 | "strip-ansi": "^3.0.0" 1326 | }, 1327 | "engines": { 1328 | "node": ">=0.10.0" 1329 | } 1330 | }, 1331 | "node_modules/string.prototype.trimend": { 1332 | "version": "1.0.5", 1333 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", 1334 | "integrity": "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==", 1335 | "dependencies": { 1336 | "call-bind": "^1.0.2", 1337 | "define-properties": "^1.1.4", 1338 | "es-abstract": "^1.19.5" 1339 | }, 1340 | "funding": { 1341 | "url": "https://github.com/sponsors/ljharb" 1342 | } 1343 | }, 1344 | "node_modules/string.prototype.trimstart": { 1345 | "version": "1.0.5", 1346 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz", 1347 | "integrity": "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==", 1348 | "dependencies": { 1349 | "call-bind": "^1.0.2", 1350 | "define-properties": "^1.1.4", 1351 | "es-abstract": "^1.19.5" 1352 | }, 1353 | "funding": { 1354 | "url": "https://github.com/sponsors/ljharb" 1355 | } 1356 | }, 1357 | "node_modules/strip-ansi": { 1358 | "version": "3.0.1", 1359 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 1360 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 1361 | "dependencies": { 1362 | "ansi-regex": "^2.0.0" 1363 | }, 1364 | "engines": { 1365 | "node": ">=0.10.0" 1366 | } 1367 | }, 1368 | "node_modules/supports-color": { 1369 | "version": "7.2.0", 1370 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1371 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1372 | "dependencies": { 1373 | "has-flag": "^4.0.0" 1374 | }, 1375 | "engines": { 1376 | "node": ">=8" 1377 | } 1378 | }, 1379 | "node_modules/tar-stream": { 1380 | "version": "2.2.0", 1381 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", 1382 | "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", 1383 | "dependencies": { 1384 | "bl": "^4.0.3", 1385 | "end-of-stream": "^1.4.1", 1386 | "fs-constants": "^1.0.0", 1387 | "inherits": "^2.0.3", 1388 | "readable-stream": "^3.1.1" 1389 | }, 1390 | "engines": { 1391 | "node": ">=6" 1392 | } 1393 | }, 1394 | "node_modules/through": { 1395 | "version": "2.3.8", 1396 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1397 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 1398 | }, 1399 | "node_modules/unbox-primitive": { 1400 | "version": "1.0.2", 1401 | "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", 1402 | "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", 1403 | "dependencies": { 1404 | "call-bind": "^1.0.2", 1405 | "has-bigints": "^1.0.2", 1406 | "has-symbols": "^1.0.3", 1407 | "which-boxed-primitive": "^1.0.2" 1408 | }, 1409 | "funding": { 1410 | "url": "https://github.com/sponsors/ljharb" 1411 | } 1412 | }, 1413 | "node_modules/url": { 1414 | "version": "0.10.3", 1415 | "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", 1416 | "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=", 1417 | "dependencies": { 1418 | "punycode": "1.3.2", 1419 | "querystring": "0.2.0" 1420 | } 1421 | }, 1422 | "node_modules/util": { 1423 | "version": "0.12.5", 1424 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", 1425 | "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", 1426 | "dependencies": { 1427 | "inherits": "^2.0.3", 1428 | "is-arguments": "^1.0.4", 1429 | "is-generator-function": "^1.0.7", 1430 | "is-typed-array": "^1.1.3", 1431 | "which-typed-array": "^1.1.2" 1432 | } 1433 | }, 1434 | "node_modules/util-deprecate": { 1435 | "version": "1.0.2", 1436 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1437 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 1438 | }, 1439 | "node_modules/uuid": { 1440 | "version": "8.0.0", 1441 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", 1442 | "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", 1443 | "bin": { 1444 | "uuid": "dist/bin/uuid" 1445 | } 1446 | }, 1447 | "node_modules/vorpal": { 1448 | "version": "1.12.0", 1449 | "resolved": "https://registry.npmjs.org/vorpal/-/vorpal-1.12.0.tgz", 1450 | "integrity": "sha512-lYEhd75l75P3D1LKpm4KqdOSpNyNdDJ9ixEZmC5ZAZUKGy6JNexfMdQ9SNaT5pCHuzuXXRJQedJ+CdqNg/D4Kw==", 1451 | "dependencies": { 1452 | "babel-polyfill": "^6.3.14", 1453 | "chalk": "^1.1.0", 1454 | "in-publish": "^2.0.0", 1455 | "inquirer": "0.11.0", 1456 | "lodash": "^4.5.1", 1457 | "log-update": "^1.0.2", 1458 | "minimist": "^1.2.0", 1459 | "node-localstorage": "^0.6.0", 1460 | "strip-ansi": "^3.0.0", 1461 | "wrap-ansi": "^2.0.0" 1462 | }, 1463 | "engines": { 1464 | "iojs": ">= 1.0.0", 1465 | "node": ">= 0.10.0" 1466 | } 1467 | }, 1468 | "node_modules/vorpal/node_modules/ansi-styles": { 1469 | "version": "2.2.1", 1470 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 1471 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 1472 | "engines": { 1473 | "node": ">=0.10.0" 1474 | } 1475 | }, 1476 | "node_modules/vorpal/node_modules/chalk": { 1477 | "version": "1.1.3", 1478 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 1479 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 1480 | "dependencies": { 1481 | "ansi-styles": "^2.2.1", 1482 | "escape-string-regexp": "^1.0.2", 1483 | "has-ansi": "^2.0.0", 1484 | "strip-ansi": "^3.0.0", 1485 | "supports-color": "^2.0.0" 1486 | }, 1487 | "engines": { 1488 | "node": ">=0.10.0" 1489 | } 1490 | }, 1491 | "node_modules/vorpal/node_modules/supports-color": { 1492 | "version": "2.0.0", 1493 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 1494 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 1495 | "engines": { 1496 | "node": ">=0.8.0" 1497 | } 1498 | }, 1499 | "node_modules/which-boxed-primitive": { 1500 | "version": "1.0.2", 1501 | "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", 1502 | "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", 1503 | "dependencies": { 1504 | "is-bigint": "^1.0.1", 1505 | "is-boolean-object": "^1.1.0", 1506 | "is-number-object": "^1.0.4", 1507 | "is-string": "^1.0.5", 1508 | "is-symbol": "^1.0.3" 1509 | }, 1510 | "funding": { 1511 | "url": "https://github.com/sponsors/ljharb" 1512 | } 1513 | }, 1514 | "node_modules/which-typed-array": { 1515 | "version": "1.1.8", 1516 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.8.tgz", 1517 | "integrity": "sha512-Jn4e5PItbcAHyLoRDwvPj1ypu27DJbtdYXUa5zsinrUx77Uvfb0cXwwnGMTn7cjUfhhqgVQnVJCwF+7cgU7tpw==", 1518 | "dependencies": { 1519 | "available-typed-arrays": "^1.0.5", 1520 | "call-bind": "^1.0.2", 1521 | "es-abstract": "^1.20.0", 1522 | "for-each": "^0.3.3", 1523 | "has-tostringtag": "^1.0.0", 1524 | "is-typed-array": "^1.1.9" 1525 | }, 1526 | "engines": { 1527 | "node": ">= 0.4" 1528 | }, 1529 | "funding": { 1530 | "url": "https://github.com/sponsors/ljharb" 1531 | } 1532 | }, 1533 | "node_modules/wrap-ansi": { 1534 | "version": "2.1.0", 1535 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", 1536 | "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", 1537 | "dependencies": { 1538 | "string-width": "^1.0.1", 1539 | "strip-ansi": "^3.0.1" 1540 | }, 1541 | "engines": { 1542 | "node": ">=0.10.0" 1543 | } 1544 | }, 1545 | "node_modules/wrappy": { 1546 | "version": "1.0.2", 1547 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1548 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1549 | }, 1550 | "node_modules/xml2js": { 1551 | "version": "0.4.19", 1552 | "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", 1553 | "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", 1554 | "dependencies": { 1555 | "sax": ">=0.6.0", 1556 | "xmlbuilder": "~9.0.1" 1557 | } 1558 | }, 1559 | "node_modules/xmlbuilder": { 1560 | "version": "9.0.7", 1561 | "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", 1562 | "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", 1563 | "engines": { 1564 | "node": ">=4.0" 1565 | } 1566 | }, 1567 | "node_modules/zip-stream": { 1568 | "version": "4.1.0", 1569 | "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.0.tgz", 1570 | "integrity": "sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==", 1571 | "dependencies": { 1572 | "archiver-utils": "^2.1.0", 1573 | "compress-commons": "^4.1.0", 1574 | "readable-stream": "^3.6.0" 1575 | }, 1576 | "engines": { 1577 | "node": ">= 10" 1578 | } 1579 | } 1580 | }, 1581 | "dependencies": { 1582 | "ansi-escapes": { 1583 | "version": "1.4.0", 1584 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", 1585 | "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=" 1586 | }, 1587 | "ansi-regex": { 1588 | "version": "2.1.1", 1589 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 1590 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" 1591 | }, 1592 | "ansi-styles": { 1593 | "version": "4.3.0", 1594 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1595 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1596 | "requires": { 1597 | "color-convert": "^2.0.1" 1598 | } 1599 | }, 1600 | "archiver": { 1601 | "version": "5.3.1", 1602 | "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.1.tgz", 1603 | "integrity": "sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==", 1604 | "requires": { 1605 | "archiver-utils": "^2.1.0", 1606 | "async": "^3.2.3", 1607 | "buffer-crc32": "^0.2.1", 1608 | "readable-stream": "^3.6.0", 1609 | "readdir-glob": "^1.0.0", 1610 | "tar-stream": "^2.2.0", 1611 | "zip-stream": "^4.1.0" 1612 | } 1613 | }, 1614 | "archiver-utils": { 1615 | "version": "2.1.0", 1616 | "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", 1617 | "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", 1618 | "requires": { 1619 | "glob": "^7.1.4", 1620 | "graceful-fs": "^4.2.0", 1621 | "lazystream": "^1.0.0", 1622 | "lodash.defaults": "^4.2.0", 1623 | "lodash.difference": "^4.5.0", 1624 | "lodash.flatten": "^4.4.0", 1625 | "lodash.isplainobject": "^4.0.6", 1626 | "lodash.union": "^4.6.0", 1627 | "normalize-path": "^3.0.0", 1628 | "readable-stream": "^2.0.0" 1629 | }, 1630 | "dependencies": { 1631 | "readable-stream": { 1632 | "version": "2.3.7", 1633 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1634 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1635 | "requires": { 1636 | "core-util-is": "~1.0.0", 1637 | "inherits": "~2.0.3", 1638 | "isarray": "~1.0.0", 1639 | "process-nextick-args": "~2.0.0", 1640 | "safe-buffer": "~5.1.1", 1641 | "string_decoder": "~1.1.1", 1642 | "util-deprecate": "~1.0.1" 1643 | } 1644 | }, 1645 | "safe-buffer": { 1646 | "version": "5.1.2", 1647 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1648 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1649 | }, 1650 | "string_decoder": { 1651 | "version": "1.1.1", 1652 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1653 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1654 | "requires": { 1655 | "safe-buffer": "~5.1.0" 1656 | } 1657 | } 1658 | } 1659 | }, 1660 | "async": { 1661 | "version": "3.2.4", 1662 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", 1663 | "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" 1664 | }, 1665 | "available-typed-arrays": { 1666 | "version": "1.0.5", 1667 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", 1668 | "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" 1669 | }, 1670 | "aws-sdk": { 1671 | "version": "2.1238.0", 1672 | "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1238.0.tgz", 1673 | "integrity": "sha512-DCXAj98lFW0y2Ickm0MbXnxzbG5IDrhBXs6Wx+vscrYNFRjy7JGau9HACY8aFoesMQz8PzNmJKR82Dg2NsGvDg==", 1674 | "requires": { 1675 | "buffer": "4.9.2", 1676 | "events": "1.1.1", 1677 | "ieee754": "1.1.13", 1678 | "jmespath": "0.16.0", 1679 | "querystring": "0.2.0", 1680 | "sax": "1.2.1", 1681 | "url": "0.10.3", 1682 | "util": "^0.12.4", 1683 | "uuid": "8.0.0", 1684 | "xml2js": "0.4.19" 1685 | }, 1686 | "dependencies": { 1687 | "buffer": { 1688 | "version": "4.9.2", 1689 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", 1690 | "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", 1691 | "requires": { 1692 | "base64-js": "^1.0.2", 1693 | "ieee754": "^1.1.4", 1694 | "isarray": "^1.0.0" 1695 | } 1696 | } 1697 | } 1698 | }, 1699 | "babel-polyfill": { 1700 | "version": "6.26.0", 1701 | "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", 1702 | "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", 1703 | "requires": { 1704 | "babel-runtime": "^6.26.0", 1705 | "core-js": "^2.5.0", 1706 | "regenerator-runtime": "^0.10.5" 1707 | } 1708 | }, 1709 | "babel-runtime": { 1710 | "version": "6.26.0", 1711 | "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", 1712 | "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", 1713 | "requires": { 1714 | "core-js": "^2.4.0", 1715 | "regenerator-runtime": "^0.11.0" 1716 | }, 1717 | "dependencies": { 1718 | "regenerator-runtime": { 1719 | "version": "0.11.1", 1720 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", 1721 | "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" 1722 | } 1723 | } 1724 | }, 1725 | "balanced-match": { 1726 | "version": "1.0.0", 1727 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 1728 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 1729 | }, 1730 | "base64-js": { 1731 | "version": "1.3.1", 1732 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", 1733 | "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" 1734 | }, 1735 | "bl": { 1736 | "version": "4.1.0", 1737 | "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", 1738 | "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", 1739 | "requires": { 1740 | "buffer": "^5.5.0", 1741 | "inherits": "^2.0.4", 1742 | "readable-stream": "^3.4.0" 1743 | } 1744 | }, 1745 | "brace-expansion": { 1746 | "version": "1.1.11", 1747 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1748 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1749 | "requires": { 1750 | "balanced-match": "^1.0.0", 1751 | "concat-map": "0.0.1" 1752 | } 1753 | }, 1754 | "buffer": { 1755 | "version": "5.7.1", 1756 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 1757 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 1758 | "requires": { 1759 | "base64-js": "^1.3.1", 1760 | "ieee754": "^1.1.13" 1761 | } 1762 | }, 1763 | "buffer-crc32": { 1764 | "version": "0.2.13", 1765 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", 1766 | "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==" 1767 | }, 1768 | "call-bind": { 1769 | "version": "1.0.2", 1770 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 1771 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 1772 | "requires": { 1773 | "function-bind": "^1.1.1", 1774 | "get-intrinsic": "^1.0.2" 1775 | } 1776 | }, 1777 | "chalk": { 1778 | "version": "4.1.2", 1779 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1780 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1781 | "requires": { 1782 | "ansi-styles": "^4.1.0", 1783 | "supports-color": "^7.1.0" 1784 | } 1785 | }, 1786 | "cli-cursor": { 1787 | "version": "1.0.2", 1788 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", 1789 | "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", 1790 | "requires": { 1791 | "restore-cursor": "^1.0.1" 1792 | } 1793 | }, 1794 | "cli-width": { 1795 | "version": "1.1.1", 1796 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-1.1.1.tgz", 1797 | "integrity": "sha1-pNKT72frt7iNSk1CwMzwDE0eNm0=" 1798 | }, 1799 | "code-point-at": { 1800 | "version": "1.1.0", 1801 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 1802 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" 1803 | }, 1804 | "color-convert": { 1805 | "version": "2.0.1", 1806 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1807 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1808 | "requires": { 1809 | "color-name": "~1.1.4" 1810 | } 1811 | }, 1812 | "color-name": { 1813 | "version": "1.1.4", 1814 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1815 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 1816 | }, 1817 | "compress-commons": { 1818 | "version": "4.1.1", 1819 | "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz", 1820 | "integrity": "sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==", 1821 | "requires": { 1822 | "buffer-crc32": "^0.2.13", 1823 | "crc32-stream": "^4.0.2", 1824 | "normalize-path": "^3.0.0", 1825 | "readable-stream": "^3.6.0" 1826 | } 1827 | }, 1828 | "concat-map": { 1829 | "version": "0.0.1", 1830 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1831 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 1832 | }, 1833 | "core-js": { 1834 | "version": "2.6.9", 1835 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", 1836 | "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==" 1837 | }, 1838 | "core-util-is": { 1839 | "version": "1.0.3", 1840 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 1841 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" 1842 | }, 1843 | "crc-32": { 1844 | "version": "1.2.2", 1845 | "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", 1846 | "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" 1847 | }, 1848 | "crc32-stream": { 1849 | "version": "4.0.2", 1850 | "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz", 1851 | "integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==", 1852 | "requires": { 1853 | "crc-32": "^1.2.0", 1854 | "readable-stream": "^3.4.0" 1855 | } 1856 | }, 1857 | "define-properties": { 1858 | "version": "1.1.4", 1859 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", 1860 | "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", 1861 | "requires": { 1862 | "has-property-descriptors": "^1.0.0", 1863 | "object-keys": "^1.1.1" 1864 | } 1865 | }, 1866 | "end-of-stream": { 1867 | "version": "1.4.4", 1868 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 1869 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 1870 | "requires": { 1871 | "once": "^1.4.0" 1872 | } 1873 | }, 1874 | "es-abstract": { 1875 | "version": "1.20.4", 1876 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.4.tgz", 1877 | "integrity": "sha512-0UtvRN79eMe2L+UNEF1BwRe364sj/DXhQ/k5FmivgoSdpM90b8Jc0mDzKMGo7QS0BVbOP/bTwBKNnDc9rNzaPA==", 1878 | "requires": { 1879 | "call-bind": "^1.0.2", 1880 | "es-to-primitive": "^1.2.1", 1881 | "function-bind": "^1.1.1", 1882 | "function.prototype.name": "^1.1.5", 1883 | "get-intrinsic": "^1.1.3", 1884 | "get-symbol-description": "^1.0.0", 1885 | "has": "^1.0.3", 1886 | "has-property-descriptors": "^1.0.0", 1887 | "has-symbols": "^1.0.3", 1888 | "internal-slot": "^1.0.3", 1889 | "is-callable": "^1.2.7", 1890 | "is-negative-zero": "^2.0.2", 1891 | "is-regex": "^1.1.4", 1892 | "is-shared-array-buffer": "^1.0.2", 1893 | "is-string": "^1.0.7", 1894 | "is-weakref": "^1.0.2", 1895 | "object-inspect": "^1.12.2", 1896 | "object-keys": "^1.1.1", 1897 | "object.assign": "^4.1.4", 1898 | "regexp.prototype.flags": "^1.4.3", 1899 | "safe-regex-test": "^1.0.0", 1900 | "string.prototype.trimend": "^1.0.5", 1901 | "string.prototype.trimstart": "^1.0.5", 1902 | "unbox-primitive": "^1.0.2" 1903 | } 1904 | }, 1905 | "es-to-primitive": { 1906 | "version": "1.2.1", 1907 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 1908 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 1909 | "requires": { 1910 | "is-callable": "^1.1.4", 1911 | "is-date-object": "^1.0.1", 1912 | "is-symbol": "^1.0.2" 1913 | } 1914 | }, 1915 | "escape-string-regexp": { 1916 | "version": "1.0.5", 1917 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 1918 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 1919 | }, 1920 | "events": { 1921 | "version": "1.1.1", 1922 | "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", 1923 | "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" 1924 | }, 1925 | "exit-hook": { 1926 | "version": "1.1.1", 1927 | "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", 1928 | "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=" 1929 | }, 1930 | "figlet": { 1931 | "version": "1.5.2", 1932 | "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.5.2.tgz", 1933 | "integrity": "sha512-WOn21V8AhyE1QqVfPIVxe3tupJacq1xGkPTB4iagT6o+P2cAgEOOwIxMftr4+ZCTI6d551ij9j61DFr0nsP2uQ==" 1934 | }, 1935 | "figures": { 1936 | "version": "1.7.0", 1937 | "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", 1938 | "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", 1939 | "requires": { 1940 | "escape-string-regexp": "^1.0.5", 1941 | "object-assign": "^4.1.0" 1942 | } 1943 | }, 1944 | "for-each": { 1945 | "version": "0.3.3", 1946 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", 1947 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", 1948 | "requires": { 1949 | "is-callable": "^1.1.3" 1950 | } 1951 | }, 1952 | "fs-constants": { 1953 | "version": "1.0.0", 1954 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 1955 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" 1956 | }, 1957 | "fs.realpath": { 1958 | "version": "1.0.0", 1959 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1960 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" 1961 | }, 1962 | "function-bind": { 1963 | "version": "1.1.1", 1964 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1965 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 1966 | }, 1967 | "function.prototype.name": { 1968 | "version": "1.1.5", 1969 | "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", 1970 | "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", 1971 | "requires": { 1972 | "call-bind": "^1.0.2", 1973 | "define-properties": "^1.1.3", 1974 | "es-abstract": "^1.19.0", 1975 | "functions-have-names": "^1.2.2" 1976 | } 1977 | }, 1978 | "functions-have-names": { 1979 | "version": "1.2.3", 1980 | "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", 1981 | "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" 1982 | }, 1983 | "get-intrinsic": { 1984 | "version": "1.1.3", 1985 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", 1986 | "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", 1987 | "requires": { 1988 | "function-bind": "^1.1.1", 1989 | "has": "^1.0.3", 1990 | "has-symbols": "^1.0.3" 1991 | } 1992 | }, 1993 | "get-symbol-description": { 1994 | "version": "1.0.0", 1995 | "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", 1996 | "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", 1997 | "requires": { 1998 | "call-bind": "^1.0.2", 1999 | "get-intrinsic": "^1.1.1" 2000 | } 2001 | }, 2002 | "glob": { 2003 | "version": "7.2.3", 2004 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 2005 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 2006 | "requires": { 2007 | "fs.realpath": "^1.0.0", 2008 | "inflight": "^1.0.4", 2009 | "inherits": "2", 2010 | "minimatch": "^3.1.1", 2011 | "once": "^1.3.0", 2012 | "path-is-absolute": "^1.0.0" 2013 | } 2014 | }, 2015 | "graceful-fs": { 2016 | "version": "4.2.10", 2017 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 2018 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" 2019 | }, 2020 | "has": { 2021 | "version": "1.0.3", 2022 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 2023 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 2024 | "requires": { 2025 | "function-bind": "^1.1.1" 2026 | } 2027 | }, 2028 | "has-ansi": { 2029 | "version": "2.0.0", 2030 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 2031 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 2032 | "requires": { 2033 | "ansi-regex": "^2.0.0" 2034 | } 2035 | }, 2036 | "has-bigints": { 2037 | "version": "1.0.2", 2038 | "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", 2039 | "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" 2040 | }, 2041 | "has-flag": { 2042 | "version": "4.0.0", 2043 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2044 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 2045 | }, 2046 | "has-property-descriptors": { 2047 | "version": "1.0.0", 2048 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", 2049 | "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", 2050 | "requires": { 2051 | "get-intrinsic": "^1.1.1" 2052 | } 2053 | }, 2054 | "has-symbols": { 2055 | "version": "1.0.3", 2056 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 2057 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" 2058 | }, 2059 | "has-tostringtag": { 2060 | "version": "1.0.0", 2061 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", 2062 | "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", 2063 | "requires": { 2064 | "has-symbols": "^1.0.2" 2065 | } 2066 | }, 2067 | "ieee754": { 2068 | "version": "1.1.13", 2069 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", 2070 | "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" 2071 | }, 2072 | "in-publish": { 2073 | "version": "2.0.0", 2074 | "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", 2075 | "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=" 2076 | }, 2077 | "inflight": { 2078 | "version": "1.0.6", 2079 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2080 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 2081 | "requires": { 2082 | "once": "^1.3.0", 2083 | "wrappy": "1" 2084 | } 2085 | }, 2086 | "inherits": { 2087 | "version": "2.0.4", 2088 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2089 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 2090 | }, 2091 | "inquirer": { 2092 | "version": "0.11.0", 2093 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.11.0.tgz", 2094 | "integrity": "sha512-LIwC+g/fJbmKhDm341+RqDIV4jPf/n3pMway9xg8Ovt6CCQo1ozXhmuKTcoNIWhWJJKsSGZP+Rnuq7JgM7mE2A==", 2095 | "requires": { 2096 | "ansi-escapes": "^1.1.0", 2097 | "ansi-regex": "^2.0.0", 2098 | "chalk": "^1.0.0", 2099 | "cli-cursor": "^1.0.1", 2100 | "cli-width": "^1.0.1", 2101 | "figures": "^1.3.5", 2102 | "lodash": "^3.3.1", 2103 | "readline2": "^1.0.1", 2104 | "run-async": "^0.1.0", 2105 | "rx-lite": "^3.1.2", 2106 | "strip-ansi": "^3.0.0", 2107 | "through": "^2.3.6" 2108 | }, 2109 | "dependencies": { 2110 | "ansi-styles": { 2111 | "version": "2.2.1", 2112 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 2113 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" 2114 | }, 2115 | "chalk": { 2116 | "version": "1.1.3", 2117 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 2118 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 2119 | "requires": { 2120 | "ansi-styles": "^2.2.1", 2121 | "escape-string-regexp": "^1.0.2", 2122 | "has-ansi": "^2.0.0", 2123 | "strip-ansi": "^3.0.0", 2124 | "supports-color": "^2.0.0" 2125 | } 2126 | }, 2127 | "lodash": { 2128 | "version": "3.10.1", 2129 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", 2130 | "integrity": "sha512-9mDDwqVIma6OZX79ZlDACZl8sBm0TEnkf99zV3iMA4GzkIT/9hiqP5mY0HoT1iNLCrKc/R1HByV+yJfRWVJryQ==" 2131 | }, 2132 | "supports-color": { 2133 | "version": "2.0.0", 2134 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 2135 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" 2136 | } 2137 | } 2138 | }, 2139 | "internal-slot": { 2140 | "version": "1.0.3", 2141 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", 2142 | "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", 2143 | "requires": { 2144 | "get-intrinsic": "^1.1.0", 2145 | "has": "^1.0.3", 2146 | "side-channel": "^1.0.4" 2147 | } 2148 | }, 2149 | "is-arguments": { 2150 | "version": "1.1.1", 2151 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", 2152 | "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", 2153 | "requires": { 2154 | "call-bind": "^1.0.2", 2155 | "has-tostringtag": "^1.0.0" 2156 | } 2157 | }, 2158 | "is-bigint": { 2159 | "version": "1.0.4", 2160 | "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", 2161 | "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", 2162 | "requires": { 2163 | "has-bigints": "^1.0.1" 2164 | } 2165 | }, 2166 | "is-boolean-object": { 2167 | "version": "1.1.2", 2168 | "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", 2169 | "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", 2170 | "requires": { 2171 | "call-bind": "^1.0.2", 2172 | "has-tostringtag": "^1.0.0" 2173 | } 2174 | }, 2175 | "is-callable": { 2176 | "version": "1.2.7", 2177 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 2178 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" 2179 | }, 2180 | "is-date-object": { 2181 | "version": "1.0.5", 2182 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", 2183 | "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", 2184 | "requires": { 2185 | "has-tostringtag": "^1.0.0" 2186 | } 2187 | }, 2188 | "is-fullwidth-code-point": { 2189 | "version": "1.0.0", 2190 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 2191 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 2192 | "requires": { 2193 | "number-is-nan": "^1.0.0" 2194 | } 2195 | }, 2196 | "is-generator-function": { 2197 | "version": "1.0.10", 2198 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", 2199 | "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", 2200 | "requires": { 2201 | "has-tostringtag": "^1.0.0" 2202 | } 2203 | }, 2204 | "is-negative-zero": { 2205 | "version": "2.0.2", 2206 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", 2207 | "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" 2208 | }, 2209 | "is-number-object": { 2210 | "version": "1.0.7", 2211 | "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", 2212 | "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", 2213 | "requires": { 2214 | "has-tostringtag": "^1.0.0" 2215 | } 2216 | }, 2217 | "is-regex": { 2218 | "version": "1.1.4", 2219 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", 2220 | "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", 2221 | "requires": { 2222 | "call-bind": "^1.0.2", 2223 | "has-tostringtag": "^1.0.0" 2224 | } 2225 | }, 2226 | "is-shared-array-buffer": { 2227 | "version": "1.0.2", 2228 | "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", 2229 | "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", 2230 | "requires": { 2231 | "call-bind": "^1.0.2" 2232 | } 2233 | }, 2234 | "is-string": { 2235 | "version": "1.0.7", 2236 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", 2237 | "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", 2238 | "requires": { 2239 | "has-tostringtag": "^1.0.0" 2240 | } 2241 | }, 2242 | "is-symbol": { 2243 | "version": "1.0.4", 2244 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", 2245 | "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", 2246 | "requires": { 2247 | "has-symbols": "^1.0.2" 2248 | } 2249 | }, 2250 | "is-typed-array": { 2251 | "version": "1.1.9", 2252 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.9.tgz", 2253 | "integrity": "sha512-kfrlnTTn8pZkfpJMUgYD7YZ3qzeJgWUn8XfVYBARc4wnmNOmLbmuuaAs3q5fvB0UJOn6yHAKaGTPM7d6ezoD/A==", 2254 | "requires": { 2255 | "available-typed-arrays": "^1.0.5", 2256 | "call-bind": "^1.0.2", 2257 | "es-abstract": "^1.20.0", 2258 | "for-each": "^0.3.3", 2259 | "has-tostringtag": "^1.0.0" 2260 | } 2261 | }, 2262 | "is-weakref": { 2263 | "version": "1.0.2", 2264 | "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", 2265 | "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", 2266 | "requires": { 2267 | "call-bind": "^1.0.2" 2268 | } 2269 | }, 2270 | "isarray": { 2271 | "version": "1.0.0", 2272 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2273 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 2274 | }, 2275 | "jmespath": { 2276 | "version": "0.16.0", 2277 | "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", 2278 | "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==" 2279 | }, 2280 | "lazystream": { 2281 | "version": "1.0.1", 2282 | "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", 2283 | "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", 2284 | "requires": { 2285 | "readable-stream": "^2.0.5" 2286 | }, 2287 | "dependencies": { 2288 | "readable-stream": { 2289 | "version": "2.3.7", 2290 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 2291 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 2292 | "requires": { 2293 | "core-util-is": "~1.0.0", 2294 | "inherits": "~2.0.3", 2295 | "isarray": "~1.0.0", 2296 | "process-nextick-args": "~2.0.0", 2297 | "safe-buffer": "~5.1.1", 2298 | "string_decoder": "~1.1.1", 2299 | "util-deprecate": "~1.0.1" 2300 | } 2301 | }, 2302 | "safe-buffer": { 2303 | "version": "5.1.2", 2304 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2305 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 2306 | }, 2307 | "string_decoder": { 2308 | "version": "1.1.1", 2309 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2310 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2311 | "requires": { 2312 | "safe-buffer": "~5.1.0" 2313 | } 2314 | } 2315 | } 2316 | }, 2317 | "lodash": { 2318 | "version": "4.17.21", 2319 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 2320 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" 2321 | }, 2322 | "lodash.defaults": { 2323 | "version": "4.2.0", 2324 | "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", 2325 | "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" 2326 | }, 2327 | "lodash.difference": { 2328 | "version": "4.5.0", 2329 | "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", 2330 | "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" 2331 | }, 2332 | "lodash.flatten": { 2333 | "version": "4.4.0", 2334 | "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", 2335 | "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" 2336 | }, 2337 | "lodash.isplainobject": { 2338 | "version": "4.0.6", 2339 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", 2340 | "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" 2341 | }, 2342 | "lodash.union": { 2343 | "version": "4.6.0", 2344 | "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", 2345 | "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" 2346 | }, 2347 | "log-update": { 2348 | "version": "1.0.2", 2349 | "resolved": "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", 2350 | "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", 2351 | "requires": { 2352 | "ansi-escapes": "^1.0.0", 2353 | "cli-cursor": "^1.0.2" 2354 | } 2355 | }, 2356 | "minimatch": { 2357 | "version": "3.1.2", 2358 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2359 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2360 | "requires": { 2361 | "brace-expansion": "^1.1.7" 2362 | } 2363 | }, 2364 | "minimist": { 2365 | "version": "1.2.7", 2366 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", 2367 | "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" 2368 | }, 2369 | "mute-stream": { 2370 | "version": "0.0.5", 2371 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", 2372 | "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=" 2373 | }, 2374 | "node-localstorage": { 2375 | "version": "0.6.0", 2376 | "resolved": "https://registry.npmjs.org/node-localstorage/-/node-localstorage-0.6.0.tgz", 2377 | "integrity": "sha1-RaBgHGky395mRKIzYfG+Fzx1068=" 2378 | }, 2379 | "normalize-path": { 2380 | "version": "3.0.0", 2381 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2382 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" 2383 | }, 2384 | "number-is-nan": { 2385 | "version": "1.0.1", 2386 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 2387 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" 2388 | }, 2389 | "object-assign": { 2390 | "version": "4.1.1", 2391 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 2392 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 2393 | }, 2394 | "object-inspect": { 2395 | "version": "1.12.2", 2396 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 2397 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" 2398 | }, 2399 | "object-keys": { 2400 | "version": "1.1.1", 2401 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 2402 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" 2403 | }, 2404 | "object.assign": { 2405 | "version": "4.1.4", 2406 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", 2407 | "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", 2408 | "requires": { 2409 | "call-bind": "^1.0.2", 2410 | "define-properties": "^1.1.4", 2411 | "has-symbols": "^1.0.3", 2412 | "object-keys": "^1.1.1" 2413 | } 2414 | }, 2415 | "once": { 2416 | "version": "1.4.0", 2417 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2418 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 2419 | "requires": { 2420 | "wrappy": "1" 2421 | } 2422 | }, 2423 | "onetime": { 2424 | "version": "1.1.0", 2425 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", 2426 | "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=" 2427 | }, 2428 | "path-is-absolute": { 2429 | "version": "1.0.1", 2430 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2431 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" 2432 | }, 2433 | "process-nextick-args": { 2434 | "version": "2.0.1", 2435 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2436 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 2437 | }, 2438 | "punycode": { 2439 | "version": "1.3.2", 2440 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", 2441 | "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" 2442 | }, 2443 | "querystring": { 2444 | "version": "0.2.0", 2445 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 2446 | "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" 2447 | }, 2448 | "readable-stream": { 2449 | "version": "3.6.0", 2450 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 2451 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 2452 | "requires": { 2453 | "inherits": "^2.0.3", 2454 | "string_decoder": "^1.1.1", 2455 | "util-deprecate": "^1.0.1" 2456 | } 2457 | }, 2458 | "readdir-glob": { 2459 | "version": "1.0.0", 2460 | "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.0.0.tgz", 2461 | "integrity": "sha512-km0DIcwQVZ1ZUhXhMWpF74/Wm5aFEd5/jDiVWF1Hkw2myPQovG8vCQ8+FQO2KXE9npQQvCnAMZhhWuUee4WcCQ==", 2462 | "requires": { 2463 | "minimatch": "^3.0.4" 2464 | } 2465 | }, 2466 | "readline2": { 2467 | "version": "1.0.1", 2468 | "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", 2469 | "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", 2470 | "requires": { 2471 | "code-point-at": "^1.0.0", 2472 | "is-fullwidth-code-point": "^1.0.0", 2473 | "mute-stream": "0.0.5" 2474 | } 2475 | }, 2476 | "regenerator-runtime": { 2477 | "version": "0.10.5", 2478 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", 2479 | "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" 2480 | }, 2481 | "regexp.prototype.flags": { 2482 | "version": "1.4.3", 2483 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", 2484 | "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", 2485 | "requires": { 2486 | "call-bind": "^1.0.2", 2487 | "define-properties": "^1.1.3", 2488 | "functions-have-names": "^1.2.2" 2489 | } 2490 | }, 2491 | "restore-cursor": { 2492 | "version": "1.0.1", 2493 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", 2494 | "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", 2495 | "requires": { 2496 | "exit-hook": "^1.0.0", 2497 | "onetime": "^1.0.0" 2498 | } 2499 | }, 2500 | "run-async": { 2501 | "version": "0.1.0", 2502 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", 2503 | "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", 2504 | "requires": { 2505 | "once": "^1.3.0" 2506 | } 2507 | }, 2508 | "rx-lite": { 2509 | "version": "3.1.2", 2510 | "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", 2511 | "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=" 2512 | }, 2513 | "safe-buffer": { 2514 | "version": "5.2.1", 2515 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2516 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 2517 | }, 2518 | "safe-regex-test": { 2519 | "version": "1.0.0", 2520 | "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", 2521 | "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", 2522 | "requires": { 2523 | "call-bind": "^1.0.2", 2524 | "get-intrinsic": "^1.1.3", 2525 | "is-regex": "^1.1.4" 2526 | } 2527 | }, 2528 | "sax": { 2529 | "version": "1.2.1", 2530 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", 2531 | "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=" 2532 | }, 2533 | "side-channel": { 2534 | "version": "1.0.4", 2535 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 2536 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 2537 | "requires": { 2538 | "call-bind": "^1.0.0", 2539 | "get-intrinsic": "^1.0.2", 2540 | "object-inspect": "^1.9.0" 2541 | } 2542 | }, 2543 | "string_decoder": { 2544 | "version": "1.3.0", 2545 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 2546 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 2547 | "requires": { 2548 | "safe-buffer": "~5.2.0" 2549 | } 2550 | }, 2551 | "string-width": { 2552 | "version": "1.0.2", 2553 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 2554 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 2555 | "requires": { 2556 | "code-point-at": "^1.0.0", 2557 | "is-fullwidth-code-point": "^1.0.0", 2558 | "strip-ansi": "^3.0.0" 2559 | } 2560 | }, 2561 | "string.prototype.trimend": { 2562 | "version": "1.0.5", 2563 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", 2564 | "integrity": "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==", 2565 | "requires": { 2566 | "call-bind": "^1.0.2", 2567 | "define-properties": "^1.1.4", 2568 | "es-abstract": "^1.19.5" 2569 | } 2570 | }, 2571 | "string.prototype.trimstart": { 2572 | "version": "1.0.5", 2573 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz", 2574 | "integrity": "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==", 2575 | "requires": { 2576 | "call-bind": "^1.0.2", 2577 | "define-properties": "^1.1.4", 2578 | "es-abstract": "^1.19.5" 2579 | } 2580 | }, 2581 | "strip-ansi": { 2582 | "version": "3.0.1", 2583 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 2584 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 2585 | "requires": { 2586 | "ansi-regex": "^2.0.0" 2587 | } 2588 | }, 2589 | "supports-color": { 2590 | "version": "7.2.0", 2591 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2592 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2593 | "requires": { 2594 | "has-flag": "^4.0.0" 2595 | } 2596 | }, 2597 | "tar-stream": { 2598 | "version": "2.2.0", 2599 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", 2600 | "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", 2601 | "requires": { 2602 | "bl": "^4.0.3", 2603 | "end-of-stream": "^1.4.1", 2604 | "fs-constants": "^1.0.0", 2605 | "inherits": "^2.0.3", 2606 | "readable-stream": "^3.1.1" 2607 | } 2608 | }, 2609 | "through": { 2610 | "version": "2.3.8", 2611 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 2612 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 2613 | }, 2614 | "unbox-primitive": { 2615 | "version": "1.0.2", 2616 | "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", 2617 | "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", 2618 | "requires": { 2619 | "call-bind": "^1.0.2", 2620 | "has-bigints": "^1.0.2", 2621 | "has-symbols": "^1.0.3", 2622 | "which-boxed-primitive": "^1.0.2" 2623 | } 2624 | }, 2625 | "url": { 2626 | "version": "0.10.3", 2627 | "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", 2628 | "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=", 2629 | "requires": { 2630 | "punycode": "1.3.2", 2631 | "querystring": "0.2.0" 2632 | } 2633 | }, 2634 | "util": { 2635 | "version": "0.12.5", 2636 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", 2637 | "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", 2638 | "requires": { 2639 | "inherits": "^2.0.3", 2640 | "is-arguments": "^1.0.4", 2641 | "is-generator-function": "^1.0.7", 2642 | "is-typed-array": "^1.1.3", 2643 | "which-typed-array": "^1.1.2" 2644 | } 2645 | }, 2646 | "util-deprecate": { 2647 | "version": "1.0.2", 2648 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2649 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 2650 | }, 2651 | "uuid": { 2652 | "version": "8.0.0", 2653 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", 2654 | "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==" 2655 | }, 2656 | "vorpal": { 2657 | "version": "1.12.0", 2658 | "resolved": "https://registry.npmjs.org/vorpal/-/vorpal-1.12.0.tgz", 2659 | "integrity": "sha512-lYEhd75l75P3D1LKpm4KqdOSpNyNdDJ9ixEZmC5ZAZUKGy6JNexfMdQ9SNaT5pCHuzuXXRJQedJ+CdqNg/D4Kw==", 2660 | "requires": { 2661 | "babel-polyfill": "^6.3.14", 2662 | "chalk": "^1.1.0", 2663 | "in-publish": "^2.0.0", 2664 | "inquirer": "0.11.0", 2665 | "lodash": "^4.5.1", 2666 | "log-update": "^1.0.2", 2667 | "minimist": "^1.2.0", 2668 | "node-localstorage": "^0.6.0", 2669 | "strip-ansi": "^3.0.0", 2670 | "wrap-ansi": "^2.0.0" 2671 | }, 2672 | "dependencies": { 2673 | "ansi-styles": { 2674 | "version": "2.2.1", 2675 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 2676 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" 2677 | }, 2678 | "chalk": { 2679 | "version": "1.1.3", 2680 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 2681 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 2682 | "requires": { 2683 | "ansi-styles": "^2.2.1", 2684 | "escape-string-regexp": "^1.0.2", 2685 | "has-ansi": "^2.0.0", 2686 | "strip-ansi": "^3.0.0", 2687 | "supports-color": "^2.0.0" 2688 | } 2689 | }, 2690 | "supports-color": { 2691 | "version": "2.0.0", 2692 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 2693 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" 2694 | } 2695 | } 2696 | }, 2697 | "which-boxed-primitive": { 2698 | "version": "1.0.2", 2699 | "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", 2700 | "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", 2701 | "requires": { 2702 | "is-bigint": "^1.0.1", 2703 | "is-boolean-object": "^1.1.0", 2704 | "is-number-object": "^1.0.4", 2705 | "is-string": "^1.0.5", 2706 | "is-symbol": "^1.0.3" 2707 | } 2708 | }, 2709 | "which-typed-array": { 2710 | "version": "1.1.8", 2711 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.8.tgz", 2712 | "integrity": "sha512-Jn4e5PItbcAHyLoRDwvPj1ypu27DJbtdYXUa5zsinrUx77Uvfb0cXwwnGMTn7cjUfhhqgVQnVJCwF+7cgU7tpw==", 2713 | "requires": { 2714 | "available-typed-arrays": "^1.0.5", 2715 | "call-bind": "^1.0.2", 2716 | "es-abstract": "^1.20.0", 2717 | "for-each": "^0.3.3", 2718 | "has-tostringtag": "^1.0.0", 2719 | "is-typed-array": "^1.1.9" 2720 | } 2721 | }, 2722 | "wrap-ansi": { 2723 | "version": "2.1.0", 2724 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", 2725 | "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", 2726 | "requires": { 2727 | "string-width": "^1.0.1", 2728 | "strip-ansi": "^3.0.1" 2729 | } 2730 | }, 2731 | "wrappy": { 2732 | "version": "1.0.2", 2733 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2734 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 2735 | }, 2736 | "xml2js": { 2737 | "version": "0.4.19", 2738 | "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", 2739 | "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", 2740 | "requires": { 2741 | "sax": ">=0.6.0", 2742 | "xmlbuilder": "~9.0.1" 2743 | } 2744 | }, 2745 | "xmlbuilder": { 2746 | "version": "9.0.7", 2747 | "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", 2748 | "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" 2749 | }, 2750 | "zip-stream": { 2751 | "version": "4.1.0", 2752 | "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.0.tgz", 2753 | "integrity": "sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==", 2754 | "requires": { 2755 | "archiver-utils": "^2.1.0", 2756 | "compress-commons": "^4.1.0", 2757 | "readable-stream": "^3.6.0" 2758 | } 2759 | } 2760 | } 2761 | } 2762 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lambda-shell", 3 | "version": "0.2.2", 4 | "description": "Run interactive shell commands on AWS Lambda", 5 | "main": "bin/lsh.js", 6 | "bin": { 7 | "lsh": "bin/lsh.js" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/tobilg/lsh.git" 15 | }, 16 | "keywords": [ 17 | "aws", 18 | "lambda", 19 | "shell", 20 | "interactive", 21 | "cli", 22 | "container" 23 | ], 24 | "author": "TobiLG ", 25 | "license": "MIT", 26 | "bugs": { 27 | "url": "https://github.com/tobilg/lsh/issues" 28 | }, 29 | "homepage": "https://github.com/tobilg/lsh#readme", 30 | "dependencies": { 31 | "archiver": "^5.3.1", 32 | "aws-sdk": "^2.1238.0", 33 | "chalk": "4.1.2", 34 | "figlet": "^1.5.2", 35 | "vorpal": "^1.12.0" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /template/lsh.json: -------------------------------------------------------------------------------- 1 | { 2 | "AWSTemplateFormatVersion": "2010-09-09", 3 | "Description": "lsh - AWS Lambda function for running shell commands", 4 | "Parameters": { 5 | "LambdaFunctionName": { 6 | "Description": "Name of Lambda function", 7 | "Type": "String", 8 | "Default": "lsh" 9 | }, 10 | "S3Bucket": { 11 | "Description": "S3 bucket name containing the Lambda function ZIP file", 12 | "Type": "String" 13 | }, 14 | "MemorySize": { 15 | "Description": "Lambda memory size", 16 | "Type": "Number", 17 | "Default": 128 18 | }, 19 | "LambdaTimeout": { 20 | "Description": "Lambda function timeout", 21 | "Type": "Number", 22 | "Default": 60 23 | }, 24 | "LambdaRole": { 25 | "Description": "Lambda execution role. Creates a new role if not specified", 26 | "Type": "String", 27 | "Default": "" 28 | } 29 | }, 30 | "Conditions": { 31 | "CreateRole": { 32 | "Fn::Equals": [ 33 | { 34 | "Ref": "LambdaRole" 35 | }, 36 | "" 37 | ] 38 | } 39 | }, 40 | "Resources": { 41 | "LogGroup": { 42 | "Type": "AWS::Logs::LogGroup", 43 | "Properties": { 44 | "LogGroupName": "/aws/lambda/lsh", 45 | "RetentionInDays": 1 46 | } 47 | }, 48 | "InvokeRole": { 49 | "Type": "AWS::IAM::Role", 50 | "Condition": "CreateRole", 51 | "Properties": { 52 | "AssumeRolePolicyDocument": { 53 | "Statement": [ { 54 | "Effect": "Allow", 55 | "Principal": { 56 | "Service": [ "lambda.amazonaws.com" ] 57 | }, 58 | "Action": [ "sts:AssumeRole" ] 59 | } ] 60 | }, 61 | "Path": "/", 62 | "Policies": [ { 63 | "PolicyName": "InvokePolicy", 64 | "PolicyDocument": { 65 | "Statement": [ { 66 | "Effect": "Allow", 67 | "Action": [ 68 | "lambda:InvokeFunction" 69 | ], 70 | "Resource": [ 71 | "*" 72 | ] 73 | }, 74 | { 75 | "Effect": "Allow", 76 | "Action": [ 77 | "logs:CreateLogStream", 78 | "logs:PutRetentionPolicy", 79 | "logs:PutLogEvents" 80 | ], 81 | "Resource": [ 82 | { 83 | "Fn::Sub": "arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/lsh:*" 84 | } 85 | ] 86 | } ] 87 | } 88 | } ] 89 | } 90 | }, 91 | "lshFunction": { 92 | "Type": "AWS::Lambda::Function", 93 | "Properties": { 94 | "Code": { 95 | "S3Bucket": { "Ref": "S3Bucket" }, 96 | "S3Key": "lambda.zip" 97 | }, 98 | "FunctionName": { "Ref": "LambdaFunctionName" }, 99 | "Description": "lsh - Lambda function for running shell commands in Lambda environment", 100 | "Handler": "index.handler", 101 | "MemorySize": { "Ref": "MemorySize" }, 102 | "Role": { 103 | "Fn::If": [ 104 | "CreateRole", 105 | { "Fn::GetAtt": [ "InvokeRole", "Arn" ] }, 106 | { "Ref": "LambdaRole" } 107 | ] 108 | }, 109 | "Runtime": "nodejs16.x", 110 | "Timeout": { "Ref": "LambdaTimeout" }, 111 | "ReservedConcurrentExecutions": 1 112 | } 113 | } 114 | }, 115 | "Outputs": { 116 | "LambdaFunction": { 117 | "Value": {"Ref": "lshFunction"} 118 | } 119 | } 120 | } 121 | --------------------------------------------------------------------------------