├── .eslintrc.js ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── index.js ├── lib └── capcon.js ├── package-lock.json ├── package.json └── test └── index.js /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | es2021: true, 4 | node: true 5 | }, 6 | extends: 'eslint:recommended', 7 | overrides: [ 8 | { 9 | files: [ 10 | '.eslintrc.{js,cjs}' 11 | ] 12 | } 13 | ], 14 | globals: { 15 | suite: "readonly", 16 | test: "readonly" 17 | }, 18 | rules: { 19 | indent: [ 20 | 'error', 21 | 4 22 | ], 23 | 'linebreak-style': [ 24 | 'error', 25 | 'unix' 26 | ], 27 | quotes: [ 28 | 'error', 29 | 'single' 30 | ], 31 | semi: [ 32 | 'error', 33 | 'always' 34 | ] 35 | } 36 | }; 37 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | pull_request: 7 | branches: [ main ] 8 | 9 | jobs: 10 | build: 11 | name: Node.js ${{ matrix.node }} 12 | runs-on: ${{ matrix.os }} 13 | strategy: 14 | matrix: 15 | os: 16 | - ubuntu-latest 17 | node: 18 | - 20.x 19 | - 18.x 20 | - 16.x 21 | - 14.x 22 | - 12.x 23 | steps: 24 | - uses: actions/checkout@v4 25 | - uses: actions/setup-node@v3 26 | with: 27 | node-version: ${{ matrix.node }} 28 | - run: npm install 29 | - run: npm run build --if-present 30 | - run: npm test --if-present 31 | - run: npm run lint --if-present 32 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | html-report 17 | lcov-report 18 | lcov.info 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 | # node-waf configuration 27 | .lock-wscript 28 | 29 | # Compiled binary addons (http://nodejs.org/api/addons.html) 30 | build/Release 31 | 32 | # Dependency directories 33 | node_modules 34 | jspm_packages 35 | 36 | # Optional npm cache directory 37 | .npm 38 | 39 | # Optional REPL history 40 | .node_repl_history 41 | 42 | # Optional IntelliJ directory 43 | .idea 44 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | # Coverage directory used by tools like istanbul 2 | coverage 3 | 4 | # Dependency directory 5 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 6 | node_modules 7 | 8 | # tmp 9 | .tmp 10 | 11 | # idea 12 | .idea 13 | 14 | # build configs 15 | .codeclimate.yml 16 | .travis.yml 17 | 18 | # docs 19 | docs 20 | 21 | # tests 22 | test 23 | 24 | # CI utils 25 | .github 26 | .eslintrc.js 27 | 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Isaac Whitfield 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 | # capture-console 2 | 3 | [![Build Status](https://img.shields.io/github/actions/workflow/status/whitfin/capture-console/ci.yml?branch=main)](https://github.com/whitfin/capture-console/actions) [![Published Version](https://img.shields.io/npm/v/capture-console.svg)](https://npmjs.com/package/capture-console) [![Published Downloads](https://img.shields.io/npm/dt/capture-console)](https://npmjs.com/package/capture-console) 4 | 5 | capture-console is a small Node.js library built to help when capturing log output via `process.stdout` and `process.stderr`. The main use case is unit testing (which is why I built it), but there's no reason it can't be used in production code paths. 6 | 7 | ### Installation 8 | 9 | capture-console lives on npm, so just install it via the command line and you're good to go. 10 | 11 | ``` 12 | $ npm install --save-dev capture-console 13 | ``` 14 | 15 | ### Usage 16 | 17 | There are a whole bunch of ways to use `capture-console`, mainly due to scoping, with the two easiest defined below. Depending on your use case you might be pushed more towards one than the other, but in general you can just choose your preference. 18 | 19 | #### Scoped Captures 20 | 21 | The easiest way to use `capture-console` is with scoping; this is when the output of a provided function is captured. 22 | 23 | Note that this form assumes synchronous execution - async stuff will require manual hookups (below). 24 | 25 | ```javascript 26 | const capcon = require('capture-console'); 27 | 28 | let stderr = capcon.captureStderr(() => { 29 | // whatever is done in here has stderr captured, 30 | // the return value is a string containing stderr 31 | }); 32 | 33 | let stdout = capcon.captureStdout(() => { 34 | // whatever is done in here has stdout captured, 35 | // the return value is a string containing stdout 36 | }); 37 | 38 | let stdio = capcon.captureStdio(() => { 39 | // whatever is done in here has both stdout and stderr captured, 40 | // the return value is an object with 'stderr' and 'stdout' keys 41 | }); 42 | ``` 43 | 44 | #### Manual Captures 45 | 46 | There are also ways to manually stop and start a capture context, by passing a process stream to watch and a callback to fire on each message. 47 | 48 | ```javascript 49 | const capcon = require('capture-console'); 50 | 51 | // our buffer 52 | let output = ''; 53 | 54 | // the first parameter here is the stream to capture, and the 55 | // second argument is the function receiving the output 56 | capcon.startCapture(process.stdout, stdout => { 57 | output += stdout; 58 | }); 59 | 60 | // whatever is done here has stdout captured - but note 61 | // that `output` is updated throughout execution 62 | 63 | capcon.stopCapture(process.stdout); 64 | 65 | // anything logged here is no longer captured 66 | ``` 67 | 68 | ### Intercepting 69 | 70 | You should be aware that all `capture` functions will still pass the values through to the main stdio `write()` functions, so logging will still go to your standard IO devices. 71 | 72 | If this is not desirable, you can use the `intercept` functions. These functions are literally `s/capture/intercept` when compared to those shown above, and the only difference is that calls aren't forwarded through to the base implementation. 73 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/capcon'); 2 | -------------------------------------------------------------------------------- /lib/capcon.js: -------------------------------------------------------------------------------- 1 | const argle = require('argle'); 2 | const isFunction = require('lodash.isfunction'); 3 | const random = require('randomstring'); 4 | 5 | let unhooks = {}; 6 | 7 | /* Public */ 8 | 9 | /** 10 | * Executes the provided function with the output 11 | * on the provided streams. Accepts options to silence 12 | * the output going to the console. 13 | * 14 | * @param streams a stream or list of streams. 15 | * @param opts to set flags on the capture. 16 | * @param exec the function to call with the output. 17 | * @returns {Array} a list of stream outputs. 18 | */ 19 | function capture(streams, opts, exec) { 20 | var args = _shift(opts, exec); 21 | 22 | opts = args[0]; 23 | exec = args[1]; 24 | 25 | if (!Array.isArray(streams)) { 26 | streams = [ streams ]; 27 | } 28 | 29 | var outputs = []; 30 | 31 | streams.forEach(function (stream, index) { 32 | outputs[index] = ''; 33 | 34 | startCapture(stream, opts, function (output) { 35 | outputs[index] += output; 36 | }); 37 | }); 38 | 39 | exec(); 40 | 41 | streams.forEach(stopCapture); 42 | 43 | return outputs; 44 | } 45 | 46 | /** 47 | * Captures stdout and stderr into an object for 48 | * the provided execution scope. 49 | * 50 | * @param opts to set flags on the capture. 51 | * @param exec the function execute inside the capture. 52 | * @returns {{stdout: String, stderr: String}} 53 | */ 54 | function captureStdio(opts, exec) { 55 | var streams = [ 56 | process.stdout, 57 | process.stderr 58 | ]; 59 | 60 | var outputs = capture(streams, opts, exec); 61 | 62 | return { 63 | stdout: outputs.shift(), 64 | stderr: outputs.shift() 65 | }; 66 | } 67 | 68 | /** 69 | * Captures stderr for the provided execution scope. 70 | * 71 | * @param opts to set flags on the capture. 72 | * @param exec the function execute inside the capture. 73 | * @returns {String} 74 | */ 75 | function captureStderr(opts, exec) { 76 | return _baseCapture(process.stderr, opts, exec); 77 | } 78 | 79 | /** 80 | * Captures stdout for the provided execution scope. 81 | * 82 | * @param opts to set flags on the capture. 83 | * @param exec the function execute inside the capture. 84 | * @returns {String} 85 | */ 86 | function captureStdout(opts, exec) { 87 | return _baseCapture(process.stdout, opts, exec); 88 | } 89 | 90 | /** 91 | * Listens to a provided stream, and executes the provided 92 | * function for every write call. Accepts options to silence 93 | * the output going to the console. 94 | * 95 | * Returns a function to call when you wish to stop listening 96 | * to the call. 97 | * 98 | * @param stream a stream to listen on. 99 | * @param opts to set flags on the capture. 100 | * @param exec the function to call with the output. 101 | * @returns {Function} 102 | */ 103 | function hook(stream, opts, exec) { 104 | var args = _shift(opts, exec); 105 | 106 | opts = args[0]; 107 | exec = args[1]; 108 | 109 | var old_write = stream.write; 110 | 111 | stream.write = (function override(stream, writer) { 112 | return function write(string, encoding, fd) { 113 | exec(string, encoding, fd); 114 | 115 | if (!opts['quiet']) { 116 | writer.apply(stream, [ string, encoding, fd ]); 117 | } 118 | }; 119 | })(stream, stream.write); 120 | 121 | return function unhook() { 122 | stream.write = old_write; 123 | return true; 124 | }; 125 | } 126 | 127 | /** 128 | * Delegate to #capture with a quiet passthrough. 129 | * 130 | * @param stream a stream to listen on. 131 | * @param opts to set flags on the capture. 132 | * @param exec the function to call with the output. 133 | * @returns {Array} a list of stream outputs. 134 | */ 135 | function intercept(stream, opts, exec) { 136 | return _wrapIntercept(capture, stream, opts, exec); 137 | } 138 | 139 | /** 140 | * Delegate to #captureStdio with a quiet passthrough. 141 | * 142 | * @param opts to set flags on the capture. 143 | * @param exec the function execute inside the capture. 144 | * @returns {String} 145 | */ 146 | function interceptStdio(opts, exec) { 147 | return _wrapIntercept(captureStdio, opts, exec); 148 | } 149 | 150 | /** 151 | * Delegate to #captureStderr with a quiet passthrough. 152 | * 153 | * @param opts to set flags on the capture. 154 | * @param exec the function execute inside the capture. 155 | * @returns {String} 156 | */ 157 | function interceptStderr(opts, exec) { 158 | return _wrapIntercept(captureStderr, opts, exec); 159 | } 160 | 161 | /** 162 | * Delegate to #captureStdout with a quiet passthrough. 163 | * 164 | * @param opts to set flags on the capture. 165 | * @param exec the function execute inside the capture. 166 | * @returns {String} 167 | */ 168 | function interceptStdout(opts, exec) { 169 | return _wrapIntercept(captureStdout, opts, exec); 170 | } 171 | 172 | /** 173 | * Starts a capture on the provided stream using the 174 | * provided options and stream execution. 175 | * 176 | * @param stream a stream to listen on. 177 | * @param opts to set flags on the capture. 178 | * @param exec the function to call with the output. 179 | * @returns {boolean} 180 | */ 181 | function startCapture(stream, opts, exec) { 182 | var unhook = hook(stream, opts, exec); 183 | var str_id = random.generate(); 184 | 185 | unhooks[str_id] = unhook; 186 | stream._id = str_id; 187 | 188 | return true; 189 | } 190 | 191 | /** 192 | * Stops a capture on the provided stream. 193 | * 194 | * @param stream a stream to stop the capture on. 195 | * @returns {boolean} 196 | */ 197 | function stopCapture(stream) { 198 | return !!(unhooks[stream._id] && unhooks[stream._id]()); 199 | } 200 | 201 | /** 202 | * Delegate to #startCapture with a quiet passthrough. 203 | * 204 | * @param stream a stream to listen on. 205 | * @param opts to set flags on the capture. 206 | * @param exec the function to call with the output. 207 | * @returns {boolean} 208 | */ 209 | function startIntercept(stream, opts, exec) { 210 | return _wrapIntercept(startCapture, stream, opts, exec); 211 | } 212 | 213 | /** 214 | * Delegate to #stopCapture with a quiet passthrough. 215 | * 216 | * @param stream a stream to stop the capture on. 217 | * @returns {boolean} 218 | */ 219 | function stopIntercept(stream) { 220 | return stopCapture(stream); 221 | } 222 | 223 | /* Exports */ 224 | 225 | module.exports.hook = hook; 226 | module.exports.capture = capture; 227 | module.exports.captureStdio = captureStdio; 228 | module.exports.captureStderr = captureStderr; 229 | module.exports.captureStdout = captureStdout; 230 | module.exports.intercept = intercept; 231 | module.exports.interceptStdio = interceptStdio; 232 | module.exports.interceptStderr = interceptStderr; 233 | module.exports.interceptStdout = interceptStdout; 234 | module.exports.startCapture = startCapture; 235 | module.exports.stopCapture = stopCapture; 236 | module.exports.startIntercept = startIntercept; 237 | module.exports.stopIntercept = stopIntercept; 238 | 239 | /* Private */ 240 | 241 | /** 242 | * Captures a given stream into a string. 243 | * 244 | * @param stream a stream to listen on. 245 | * @param opts to set flags on the capture. 246 | * @param exec the function to call with the output. 247 | * @returns {String} 248 | * @private 249 | */ 250 | function _baseCapture(stream, opts, exec) { 251 | return capture(stream, opts, exec).pop(); 252 | } 253 | 254 | /** 255 | * Shifts an optional options argument against a 256 | * function to return defaults if not provided. 257 | * 258 | * @param opts options to verify. 259 | * @param exec a function to verify against. 260 | * @returns {{Object}, {Function}} 261 | * @private 262 | */ 263 | function _shift(opts, exec) { 264 | return argle.shift( 265 | [ opts, exec ], 266 | { defaults: [ {} ] }, 267 | isFunction 268 | ); 269 | } 270 | 271 | /** 272 | * Wraps capturing functions with quiet flags to 273 | * allow for interception. 274 | * 275 | * @param func the function to delegate to. 276 | * @param stream a stream to listen on. 277 | * @param opts to set flags on the capture. 278 | * @param exec the function to call with the output. 279 | * @returns {*} 280 | * @private 281 | */ 282 | function _wrapIntercept(func, stream, opts, exec) { 283 | var idex = Number(arguments.length > 3); 284 | var args = _shift(arguments[idex + 1], arguments[idex + 2]); 285 | 286 | opts = args[0]; 287 | exec = args[1]; 288 | 289 | opts.quiet = true; 290 | 291 | return idex 292 | ? func(stream, opts, exec) 293 | : func(opts, exec); 294 | } 295 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "capture-console", 3 | "version": "1.0.2", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "capture-console", 9 | "version": "1.0.2", 10 | "license": "MIT", 11 | "dependencies": { 12 | "argle": "~1.1.1", 13 | "lodash.isfunction": "~3.0.8", 14 | "randomstring": "^1.3.0" 15 | }, 16 | "devDependencies": { 17 | "eslint": "^8.53.0", 18 | "mocha": "^10.2.0", 19 | "should": "^13.2.3" 20 | } 21 | }, 22 | "node_modules/@aashutoshrathi/word-wrap": { 23 | "version": "1.2.6", 24 | "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", 25 | "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", 26 | "dev": true, 27 | "engines": { 28 | "node": ">=0.10.0" 29 | } 30 | }, 31 | "node_modules/@eslint-community/eslint-utils": { 32 | "version": "4.4.0", 33 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", 34 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", 35 | "dev": true, 36 | "dependencies": { 37 | "eslint-visitor-keys": "^3.3.0" 38 | }, 39 | "engines": { 40 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 41 | }, 42 | "peerDependencies": { 43 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" 44 | } 45 | }, 46 | "node_modules/@eslint-community/regexpp": { 47 | "version": "4.10.0", 48 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", 49 | "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", 50 | "dev": true, 51 | "engines": { 52 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0" 53 | } 54 | }, 55 | "node_modules/@eslint/eslintrc": { 56 | "version": "2.1.3", 57 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", 58 | "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", 59 | "dev": true, 60 | "dependencies": { 61 | "ajv": "^6.12.4", 62 | "debug": "^4.3.2", 63 | "espree": "^9.6.0", 64 | "globals": "^13.19.0", 65 | "ignore": "^5.2.0", 66 | "import-fresh": "^3.2.1", 67 | "js-yaml": "^4.1.0", 68 | "minimatch": "^3.1.2", 69 | "strip-json-comments": "^3.1.1" 70 | }, 71 | "engines": { 72 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 73 | }, 74 | "funding": { 75 | "url": "https://opencollective.com/eslint" 76 | } 77 | }, 78 | "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { 79 | "version": "1.1.11", 80 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 81 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 82 | "dev": true, 83 | "dependencies": { 84 | "balanced-match": "^1.0.0", 85 | "concat-map": "0.0.1" 86 | } 87 | }, 88 | "node_modules/@eslint/eslintrc/node_modules/minimatch": { 89 | "version": "3.1.2", 90 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 91 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 92 | "dev": true, 93 | "dependencies": { 94 | "brace-expansion": "^1.1.7" 95 | }, 96 | "engines": { 97 | "node": "*" 98 | } 99 | }, 100 | "node_modules/@eslint/js": { 101 | "version": "8.53.0", 102 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", 103 | "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", 104 | "dev": true, 105 | "engines": { 106 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 107 | } 108 | }, 109 | "node_modules/@humanwhocodes/config-array": { 110 | "version": "0.11.13", 111 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", 112 | "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", 113 | "dev": true, 114 | "dependencies": { 115 | "@humanwhocodes/object-schema": "^2.0.1", 116 | "debug": "^4.1.1", 117 | "minimatch": "^3.0.5" 118 | }, 119 | "engines": { 120 | "node": ">=10.10.0" 121 | } 122 | }, 123 | "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { 124 | "version": "1.1.11", 125 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 126 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 127 | "dev": true, 128 | "dependencies": { 129 | "balanced-match": "^1.0.0", 130 | "concat-map": "0.0.1" 131 | } 132 | }, 133 | "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { 134 | "version": "3.1.2", 135 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 136 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 137 | "dev": true, 138 | "dependencies": { 139 | "brace-expansion": "^1.1.7" 140 | }, 141 | "engines": { 142 | "node": "*" 143 | } 144 | }, 145 | "node_modules/@humanwhocodes/module-importer": { 146 | "version": "1.0.1", 147 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 148 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 149 | "dev": true, 150 | "engines": { 151 | "node": ">=12.22" 152 | }, 153 | "funding": { 154 | "type": "github", 155 | "url": "https://github.com/sponsors/nzakas" 156 | } 157 | }, 158 | "node_modules/@humanwhocodes/object-schema": { 159 | "version": "2.0.1", 160 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", 161 | "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", 162 | "dev": true 163 | }, 164 | "node_modules/@nodelib/fs.scandir": { 165 | "version": "2.1.5", 166 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 167 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 168 | "dev": true, 169 | "dependencies": { 170 | "@nodelib/fs.stat": "2.0.5", 171 | "run-parallel": "^1.1.9" 172 | }, 173 | "engines": { 174 | "node": ">= 8" 175 | } 176 | }, 177 | "node_modules/@nodelib/fs.stat": { 178 | "version": "2.0.5", 179 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 180 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 181 | "dev": true, 182 | "engines": { 183 | "node": ">= 8" 184 | } 185 | }, 186 | "node_modules/@nodelib/fs.walk": { 187 | "version": "1.2.8", 188 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 189 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 190 | "dev": true, 191 | "dependencies": { 192 | "@nodelib/fs.scandir": "2.1.5", 193 | "fastq": "^1.6.0" 194 | }, 195 | "engines": { 196 | "node": ">= 8" 197 | } 198 | }, 199 | "node_modules/@ungap/structured-clone": { 200 | "version": "1.2.0", 201 | "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", 202 | "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", 203 | "dev": true 204 | }, 205 | "node_modules/acorn": { 206 | "version": "8.11.2", 207 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", 208 | "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", 209 | "dev": true, 210 | "bin": { 211 | "acorn": "bin/acorn" 212 | }, 213 | "engines": { 214 | "node": ">=0.4.0" 215 | } 216 | }, 217 | "node_modules/acorn-jsx": { 218 | "version": "5.3.2", 219 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 220 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 221 | "dev": true, 222 | "peerDependencies": { 223 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 224 | } 225 | }, 226 | "node_modules/ajv": { 227 | "version": "6.12.6", 228 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 229 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 230 | "dev": true, 231 | "dependencies": { 232 | "fast-deep-equal": "^3.1.1", 233 | "fast-json-stable-stringify": "^2.0.0", 234 | "json-schema-traverse": "^0.4.1", 235 | "uri-js": "^4.2.2" 236 | }, 237 | "funding": { 238 | "type": "github", 239 | "url": "https://github.com/sponsors/epoberezkin" 240 | } 241 | }, 242 | "node_modules/ansi-colors": { 243 | "version": "4.1.1", 244 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 245 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 246 | "dev": true, 247 | "engines": { 248 | "node": ">=6" 249 | } 250 | }, 251 | "node_modules/ansi-regex": { 252 | "version": "5.0.1", 253 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 254 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 255 | "dev": true, 256 | "engines": { 257 | "node": ">=8" 258 | } 259 | }, 260 | "node_modules/ansi-styles": { 261 | "version": "4.3.0", 262 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 263 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 264 | "dev": true, 265 | "dependencies": { 266 | "color-convert": "^2.0.1" 267 | }, 268 | "engines": { 269 | "node": ">=8" 270 | }, 271 | "funding": { 272 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 273 | } 274 | }, 275 | "node_modules/anymatch": { 276 | "version": "3.1.3", 277 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 278 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 279 | "dev": true, 280 | "dependencies": { 281 | "normalize-path": "^3.0.0", 282 | "picomatch": "^2.0.4" 283 | }, 284 | "engines": { 285 | "node": ">= 8" 286 | } 287 | }, 288 | "node_modules/argle": { 289 | "version": "1.1.1", 290 | "resolved": "https://registry.npmjs.org/argle/-/argle-1.1.1.tgz", 291 | "integrity": "sha512-I7w1YZQR3zM8fQ6RCsX4jspaLb/gPqHt8s5v3FoBkE9sc2um71kdf+OAYfCGUGjYPT+ZPE7QmwgGDRcz7uVEUg==", 292 | "dependencies": { 293 | "lodash.isfunction": "^3.0.8", 294 | "lodash.isnumber": "^3.0.3" 295 | } 296 | }, 297 | "node_modules/argparse": { 298 | "version": "2.0.1", 299 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 300 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 301 | "dev": true 302 | }, 303 | "node_modules/balanced-match": { 304 | "version": "1.0.2", 305 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 306 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 307 | "dev": true 308 | }, 309 | "node_modules/binary-extensions": { 310 | "version": "2.2.0", 311 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 312 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 313 | "dev": true, 314 | "engines": { 315 | "node": ">=8" 316 | } 317 | }, 318 | "node_modules/brace-expansion": { 319 | "version": "2.0.1", 320 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 321 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 322 | "dev": true, 323 | "dependencies": { 324 | "balanced-match": "^1.0.0" 325 | } 326 | }, 327 | "node_modules/braces": { 328 | "version": "3.0.2", 329 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 330 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 331 | "dev": true, 332 | "dependencies": { 333 | "fill-range": "^7.0.1" 334 | }, 335 | "engines": { 336 | "node": ">=8" 337 | } 338 | }, 339 | "node_modules/browser-stdout": { 340 | "version": "1.3.1", 341 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 342 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 343 | "dev": true 344 | }, 345 | "node_modules/callsites": { 346 | "version": "3.1.0", 347 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 348 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 349 | "dev": true, 350 | "engines": { 351 | "node": ">=6" 352 | } 353 | }, 354 | "node_modules/camelcase": { 355 | "version": "6.3.0", 356 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 357 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 358 | "dev": true, 359 | "engines": { 360 | "node": ">=10" 361 | }, 362 | "funding": { 363 | "url": "https://github.com/sponsors/sindresorhus" 364 | } 365 | }, 366 | "node_modules/chalk": { 367 | "version": "4.1.2", 368 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 369 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 370 | "dev": true, 371 | "dependencies": { 372 | "ansi-styles": "^4.1.0", 373 | "supports-color": "^7.1.0" 374 | }, 375 | "engines": { 376 | "node": ">=10" 377 | }, 378 | "funding": { 379 | "url": "https://github.com/chalk/chalk?sponsor=1" 380 | } 381 | }, 382 | "node_modules/chalk/node_modules/supports-color": { 383 | "version": "7.2.0", 384 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 385 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 386 | "dev": true, 387 | "dependencies": { 388 | "has-flag": "^4.0.0" 389 | }, 390 | "engines": { 391 | "node": ">=8" 392 | } 393 | }, 394 | "node_modules/chokidar": { 395 | "version": "3.5.3", 396 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 397 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 398 | "dev": true, 399 | "funding": [ 400 | { 401 | "type": "individual", 402 | "url": "https://paulmillr.com/funding/" 403 | } 404 | ], 405 | "dependencies": { 406 | "anymatch": "~3.1.2", 407 | "braces": "~3.0.2", 408 | "glob-parent": "~5.1.2", 409 | "is-binary-path": "~2.1.0", 410 | "is-glob": "~4.0.1", 411 | "normalize-path": "~3.0.0", 412 | "readdirp": "~3.6.0" 413 | }, 414 | "engines": { 415 | "node": ">= 8.10.0" 416 | }, 417 | "optionalDependencies": { 418 | "fsevents": "~2.3.2" 419 | } 420 | }, 421 | "node_modules/cliui": { 422 | "version": "7.0.4", 423 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 424 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 425 | "dev": true, 426 | "dependencies": { 427 | "string-width": "^4.2.0", 428 | "strip-ansi": "^6.0.0", 429 | "wrap-ansi": "^7.0.0" 430 | } 431 | }, 432 | "node_modules/color-convert": { 433 | "version": "2.0.1", 434 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 435 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 436 | "dev": true, 437 | "dependencies": { 438 | "color-name": "~1.1.4" 439 | }, 440 | "engines": { 441 | "node": ">=7.0.0" 442 | } 443 | }, 444 | "node_modules/color-name": { 445 | "version": "1.1.4", 446 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 447 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 448 | "dev": true 449 | }, 450 | "node_modules/concat-map": { 451 | "version": "0.0.1", 452 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 453 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 454 | "dev": true 455 | }, 456 | "node_modules/cross-spawn": { 457 | "version": "7.0.3", 458 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 459 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 460 | "dev": true, 461 | "dependencies": { 462 | "path-key": "^3.1.0", 463 | "shebang-command": "^2.0.0", 464 | "which": "^2.0.1" 465 | }, 466 | "engines": { 467 | "node": ">= 8" 468 | } 469 | }, 470 | "node_modules/debug": { 471 | "version": "4.3.4", 472 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 473 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 474 | "dev": true, 475 | "dependencies": { 476 | "ms": "2.1.2" 477 | }, 478 | "engines": { 479 | "node": ">=6.0" 480 | }, 481 | "peerDependenciesMeta": { 482 | "supports-color": { 483 | "optional": true 484 | } 485 | } 486 | }, 487 | "node_modules/debug/node_modules/ms": { 488 | "version": "2.1.2", 489 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 490 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 491 | "dev": true 492 | }, 493 | "node_modules/decamelize": { 494 | "version": "4.0.0", 495 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 496 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 497 | "dev": true, 498 | "engines": { 499 | "node": ">=10" 500 | }, 501 | "funding": { 502 | "url": "https://github.com/sponsors/sindresorhus" 503 | } 504 | }, 505 | "node_modules/deep-is": { 506 | "version": "0.1.4", 507 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 508 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 509 | "dev": true 510 | }, 511 | "node_modules/diff": { 512 | "version": "5.0.0", 513 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 514 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 515 | "dev": true, 516 | "engines": { 517 | "node": ">=0.3.1" 518 | } 519 | }, 520 | "node_modules/doctrine": { 521 | "version": "3.0.0", 522 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 523 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 524 | "dev": true, 525 | "dependencies": { 526 | "esutils": "^2.0.2" 527 | }, 528 | "engines": { 529 | "node": ">=6.0.0" 530 | } 531 | }, 532 | "node_modules/emoji-regex": { 533 | "version": "8.0.0", 534 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 535 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 536 | "dev": true 537 | }, 538 | "node_modules/escalade": { 539 | "version": "3.1.1", 540 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 541 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 542 | "dev": true, 543 | "engines": { 544 | "node": ">=6" 545 | } 546 | }, 547 | "node_modules/escape-string-regexp": { 548 | "version": "4.0.0", 549 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 550 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 551 | "dev": true, 552 | "engines": { 553 | "node": ">=10" 554 | }, 555 | "funding": { 556 | "url": "https://github.com/sponsors/sindresorhus" 557 | } 558 | }, 559 | "node_modules/eslint": { 560 | "version": "8.53.0", 561 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", 562 | "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", 563 | "dev": true, 564 | "dependencies": { 565 | "@eslint-community/eslint-utils": "^4.2.0", 566 | "@eslint-community/regexpp": "^4.6.1", 567 | "@eslint/eslintrc": "^2.1.3", 568 | "@eslint/js": "8.53.0", 569 | "@humanwhocodes/config-array": "^0.11.13", 570 | "@humanwhocodes/module-importer": "^1.0.1", 571 | "@nodelib/fs.walk": "^1.2.8", 572 | "@ungap/structured-clone": "^1.2.0", 573 | "ajv": "^6.12.4", 574 | "chalk": "^4.0.0", 575 | "cross-spawn": "^7.0.2", 576 | "debug": "^4.3.2", 577 | "doctrine": "^3.0.0", 578 | "escape-string-regexp": "^4.0.0", 579 | "eslint-scope": "^7.2.2", 580 | "eslint-visitor-keys": "^3.4.3", 581 | "espree": "^9.6.1", 582 | "esquery": "^1.4.2", 583 | "esutils": "^2.0.2", 584 | "fast-deep-equal": "^3.1.3", 585 | "file-entry-cache": "^6.0.1", 586 | "find-up": "^5.0.0", 587 | "glob-parent": "^6.0.2", 588 | "globals": "^13.19.0", 589 | "graphemer": "^1.4.0", 590 | "ignore": "^5.2.0", 591 | "imurmurhash": "^0.1.4", 592 | "is-glob": "^4.0.0", 593 | "is-path-inside": "^3.0.3", 594 | "js-yaml": "^4.1.0", 595 | "json-stable-stringify-without-jsonify": "^1.0.1", 596 | "levn": "^0.4.1", 597 | "lodash.merge": "^4.6.2", 598 | "minimatch": "^3.1.2", 599 | "natural-compare": "^1.4.0", 600 | "optionator": "^0.9.3", 601 | "strip-ansi": "^6.0.1", 602 | "text-table": "^0.2.0" 603 | }, 604 | "bin": { 605 | "eslint": "bin/eslint.js" 606 | }, 607 | "engines": { 608 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 609 | }, 610 | "funding": { 611 | "url": "https://opencollective.com/eslint" 612 | } 613 | }, 614 | "node_modules/eslint-scope": { 615 | "version": "7.2.2", 616 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 617 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 618 | "dev": true, 619 | "dependencies": { 620 | "esrecurse": "^4.3.0", 621 | "estraverse": "^5.2.0" 622 | }, 623 | "engines": { 624 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 625 | }, 626 | "funding": { 627 | "url": "https://opencollective.com/eslint" 628 | } 629 | }, 630 | "node_modules/eslint-visitor-keys": { 631 | "version": "3.4.3", 632 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 633 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 634 | "dev": true, 635 | "engines": { 636 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 637 | }, 638 | "funding": { 639 | "url": "https://opencollective.com/eslint" 640 | } 641 | }, 642 | "node_modules/eslint/node_modules/brace-expansion": { 643 | "version": "1.1.11", 644 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 645 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 646 | "dev": true, 647 | "dependencies": { 648 | "balanced-match": "^1.0.0", 649 | "concat-map": "0.0.1" 650 | } 651 | }, 652 | "node_modules/eslint/node_modules/glob-parent": { 653 | "version": "6.0.2", 654 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 655 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 656 | "dev": true, 657 | "dependencies": { 658 | "is-glob": "^4.0.3" 659 | }, 660 | "engines": { 661 | "node": ">=10.13.0" 662 | } 663 | }, 664 | "node_modules/eslint/node_modules/minimatch": { 665 | "version": "3.1.2", 666 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 667 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 668 | "dev": true, 669 | "dependencies": { 670 | "brace-expansion": "^1.1.7" 671 | }, 672 | "engines": { 673 | "node": "*" 674 | } 675 | }, 676 | "node_modules/espree": { 677 | "version": "9.6.1", 678 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 679 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 680 | "dev": true, 681 | "dependencies": { 682 | "acorn": "^8.9.0", 683 | "acorn-jsx": "^5.3.2", 684 | "eslint-visitor-keys": "^3.4.1" 685 | }, 686 | "engines": { 687 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 688 | }, 689 | "funding": { 690 | "url": "https://opencollective.com/eslint" 691 | } 692 | }, 693 | "node_modules/esquery": { 694 | "version": "1.5.0", 695 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", 696 | "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", 697 | "dev": true, 698 | "dependencies": { 699 | "estraverse": "^5.1.0" 700 | }, 701 | "engines": { 702 | "node": ">=0.10" 703 | } 704 | }, 705 | "node_modules/esrecurse": { 706 | "version": "4.3.0", 707 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 708 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 709 | "dev": true, 710 | "dependencies": { 711 | "estraverse": "^5.2.0" 712 | }, 713 | "engines": { 714 | "node": ">=4.0" 715 | } 716 | }, 717 | "node_modules/estraverse": { 718 | "version": "5.3.0", 719 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 720 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 721 | "dev": true, 722 | "engines": { 723 | "node": ">=4.0" 724 | } 725 | }, 726 | "node_modules/esutils": { 727 | "version": "2.0.3", 728 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 729 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 730 | "dev": true, 731 | "engines": { 732 | "node": ">=0.10.0" 733 | } 734 | }, 735 | "node_modules/fast-deep-equal": { 736 | "version": "3.1.3", 737 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 738 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 739 | "dev": true 740 | }, 741 | "node_modules/fast-json-stable-stringify": { 742 | "version": "2.1.0", 743 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 744 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 745 | "dev": true 746 | }, 747 | "node_modules/fast-levenshtein": { 748 | "version": "2.0.6", 749 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 750 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 751 | "dev": true 752 | }, 753 | "node_modules/fastq": { 754 | "version": "1.15.0", 755 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", 756 | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", 757 | "dev": true, 758 | "dependencies": { 759 | "reusify": "^1.0.4" 760 | } 761 | }, 762 | "node_modules/file-entry-cache": { 763 | "version": "6.0.1", 764 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 765 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 766 | "dev": true, 767 | "dependencies": { 768 | "flat-cache": "^3.0.4" 769 | }, 770 | "engines": { 771 | "node": "^10.12.0 || >=12.0.0" 772 | } 773 | }, 774 | "node_modules/fill-range": { 775 | "version": "7.0.1", 776 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 777 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 778 | "dev": true, 779 | "dependencies": { 780 | "to-regex-range": "^5.0.1" 781 | }, 782 | "engines": { 783 | "node": ">=8" 784 | } 785 | }, 786 | "node_modules/find-up": { 787 | "version": "5.0.0", 788 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 789 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 790 | "dev": true, 791 | "dependencies": { 792 | "locate-path": "^6.0.0", 793 | "path-exists": "^4.0.0" 794 | }, 795 | "engines": { 796 | "node": ">=10" 797 | }, 798 | "funding": { 799 | "url": "https://github.com/sponsors/sindresorhus" 800 | } 801 | }, 802 | "node_modules/flat": { 803 | "version": "5.0.2", 804 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 805 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 806 | "dev": true, 807 | "bin": { 808 | "flat": "cli.js" 809 | } 810 | }, 811 | "node_modules/flat-cache": { 812 | "version": "3.2.0", 813 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", 814 | "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", 815 | "dev": true, 816 | "dependencies": { 817 | "flatted": "^3.2.9", 818 | "keyv": "^4.5.3", 819 | "rimraf": "^3.0.2" 820 | }, 821 | "engines": { 822 | "node": "^10.12.0 || >=12.0.0" 823 | } 824 | }, 825 | "node_modules/flatted": { 826 | "version": "3.2.9", 827 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", 828 | "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", 829 | "dev": true 830 | }, 831 | "node_modules/fs.realpath": { 832 | "version": "1.0.0", 833 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 834 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 835 | "dev": true 836 | }, 837 | "node_modules/fsevents": { 838 | "version": "2.3.3", 839 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 840 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 841 | "dev": true, 842 | "hasInstallScript": true, 843 | "optional": true, 844 | "os": [ 845 | "darwin" 846 | ], 847 | "engines": { 848 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 849 | } 850 | }, 851 | "node_modules/get-caller-file": { 852 | "version": "2.0.5", 853 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 854 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 855 | "dev": true, 856 | "engines": { 857 | "node": "6.* || 8.* || >= 10.*" 858 | } 859 | }, 860 | "node_modules/glob": { 861 | "version": "7.2.0", 862 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 863 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 864 | "dev": true, 865 | "dependencies": { 866 | "fs.realpath": "^1.0.0", 867 | "inflight": "^1.0.4", 868 | "inherits": "2", 869 | "minimatch": "^3.0.4", 870 | "once": "^1.3.0", 871 | "path-is-absolute": "^1.0.0" 872 | }, 873 | "engines": { 874 | "node": "*" 875 | }, 876 | "funding": { 877 | "url": "https://github.com/sponsors/isaacs" 878 | } 879 | }, 880 | "node_modules/glob-parent": { 881 | "version": "5.1.2", 882 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 883 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 884 | "dev": true, 885 | "dependencies": { 886 | "is-glob": "^4.0.1" 887 | }, 888 | "engines": { 889 | "node": ">= 6" 890 | } 891 | }, 892 | "node_modules/glob/node_modules/brace-expansion": { 893 | "version": "1.1.11", 894 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 895 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 896 | "dev": true, 897 | "dependencies": { 898 | "balanced-match": "^1.0.0", 899 | "concat-map": "0.0.1" 900 | } 901 | }, 902 | "node_modules/glob/node_modules/minimatch": { 903 | "version": "3.1.2", 904 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 905 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 906 | "dev": true, 907 | "dependencies": { 908 | "brace-expansion": "^1.1.7" 909 | }, 910 | "engines": { 911 | "node": "*" 912 | } 913 | }, 914 | "node_modules/globals": { 915 | "version": "13.23.0", 916 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", 917 | "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", 918 | "dev": true, 919 | "dependencies": { 920 | "type-fest": "^0.20.2" 921 | }, 922 | "engines": { 923 | "node": ">=8" 924 | }, 925 | "funding": { 926 | "url": "https://github.com/sponsors/sindresorhus" 927 | } 928 | }, 929 | "node_modules/graphemer": { 930 | "version": "1.4.0", 931 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 932 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 933 | "dev": true 934 | }, 935 | "node_modules/has-flag": { 936 | "version": "4.0.0", 937 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 938 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 939 | "dev": true, 940 | "engines": { 941 | "node": ">=8" 942 | } 943 | }, 944 | "node_modules/he": { 945 | "version": "1.2.0", 946 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 947 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 948 | "dev": true, 949 | "bin": { 950 | "he": "bin/he" 951 | } 952 | }, 953 | "node_modules/ignore": { 954 | "version": "5.2.4", 955 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", 956 | "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", 957 | "dev": true, 958 | "engines": { 959 | "node": ">= 4" 960 | } 961 | }, 962 | "node_modules/import-fresh": { 963 | "version": "3.3.0", 964 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 965 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 966 | "dev": true, 967 | "dependencies": { 968 | "parent-module": "^1.0.0", 969 | "resolve-from": "^4.0.0" 970 | }, 971 | "engines": { 972 | "node": ">=6" 973 | }, 974 | "funding": { 975 | "url": "https://github.com/sponsors/sindresorhus" 976 | } 977 | }, 978 | "node_modules/imurmurhash": { 979 | "version": "0.1.4", 980 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 981 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 982 | "dev": true, 983 | "engines": { 984 | "node": ">=0.8.19" 985 | } 986 | }, 987 | "node_modules/inflight": { 988 | "version": "1.0.6", 989 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 990 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 991 | "dev": true, 992 | "dependencies": { 993 | "once": "^1.3.0", 994 | "wrappy": "1" 995 | } 996 | }, 997 | "node_modules/inherits": { 998 | "version": "2.0.4", 999 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1000 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1001 | "dev": true 1002 | }, 1003 | "node_modules/is-binary-path": { 1004 | "version": "2.1.0", 1005 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1006 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1007 | "dev": true, 1008 | "dependencies": { 1009 | "binary-extensions": "^2.0.0" 1010 | }, 1011 | "engines": { 1012 | "node": ">=8" 1013 | } 1014 | }, 1015 | "node_modules/is-extglob": { 1016 | "version": "2.1.1", 1017 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1018 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1019 | "dev": true, 1020 | "engines": { 1021 | "node": ">=0.10.0" 1022 | } 1023 | }, 1024 | "node_modules/is-fullwidth-code-point": { 1025 | "version": "3.0.0", 1026 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1027 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1028 | "dev": true, 1029 | "engines": { 1030 | "node": ">=8" 1031 | } 1032 | }, 1033 | "node_modules/is-glob": { 1034 | "version": "4.0.3", 1035 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1036 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1037 | "dev": true, 1038 | "dependencies": { 1039 | "is-extglob": "^2.1.1" 1040 | }, 1041 | "engines": { 1042 | "node": ">=0.10.0" 1043 | } 1044 | }, 1045 | "node_modules/is-number": { 1046 | "version": "7.0.0", 1047 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1048 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1049 | "dev": true, 1050 | "engines": { 1051 | "node": ">=0.12.0" 1052 | } 1053 | }, 1054 | "node_modules/is-path-inside": { 1055 | "version": "3.0.3", 1056 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 1057 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 1058 | "dev": true, 1059 | "engines": { 1060 | "node": ">=8" 1061 | } 1062 | }, 1063 | "node_modules/is-plain-obj": { 1064 | "version": "2.1.0", 1065 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 1066 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 1067 | "dev": true, 1068 | "engines": { 1069 | "node": ">=8" 1070 | } 1071 | }, 1072 | "node_modules/is-unicode-supported": { 1073 | "version": "0.1.0", 1074 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 1075 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 1076 | "dev": true, 1077 | "engines": { 1078 | "node": ">=10" 1079 | }, 1080 | "funding": { 1081 | "url": "https://github.com/sponsors/sindresorhus" 1082 | } 1083 | }, 1084 | "node_modules/isexe": { 1085 | "version": "2.0.0", 1086 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1087 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1088 | "dev": true 1089 | }, 1090 | "node_modules/js-yaml": { 1091 | "version": "4.1.0", 1092 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1093 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1094 | "dev": true, 1095 | "dependencies": { 1096 | "argparse": "^2.0.1" 1097 | }, 1098 | "bin": { 1099 | "js-yaml": "bin/js-yaml.js" 1100 | } 1101 | }, 1102 | "node_modules/json-buffer": { 1103 | "version": "3.0.1", 1104 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", 1105 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", 1106 | "dev": true 1107 | }, 1108 | "node_modules/json-schema-traverse": { 1109 | "version": "0.4.1", 1110 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1111 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1112 | "dev": true 1113 | }, 1114 | "node_modules/json-stable-stringify-without-jsonify": { 1115 | "version": "1.0.1", 1116 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1117 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 1118 | "dev": true 1119 | }, 1120 | "node_modules/keyv": { 1121 | "version": "4.5.4", 1122 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", 1123 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", 1124 | "dev": true, 1125 | "dependencies": { 1126 | "json-buffer": "3.0.1" 1127 | } 1128 | }, 1129 | "node_modules/levn": { 1130 | "version": "0.4.1", 1131 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1132 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1133 | "dev": true, 1134 | "dependencies": { 1135 | "prelude-ls": "^1.2.1", 1136 | "type-check": "~0.4.0" 1137 | }, 1138 | "engines": { 1139 | "node": ">= 0.8.0" 1140 | } 1141 | }, 1142 | "node_modules/locate-path": { 1143 | "version": "6.0.0", 1144 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1145 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1146 | "dev": true, 1147 | "dependencies": { 1148 | "p-locate": "^5.0.0" 1149 | }, 1150 | "engines": { 1151 | "node": ">=10" 1152 | }, 1153 | "funding": { 1154 | "url": "https://github.com/sponsors/sindresorhus" 1155 | } 1156 | }, 1157 | "node_modules/lodash.isfunction": { 1158 | "version": "3.0.9", 1159 | "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", 1160 | "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==" 1161 | }, 1162 | "node_modules/lodash.isnumber": { 1163 | "version": "3.0.3", 1164 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", 1165 | "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" 1166 | }, 1167 | "node_modules/lodash.merge": { 1168 | "version": "4.6.2", 1169 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1170 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1171 | "dev": true 1172 | }, 1173 | "node_modules/log-symbols": { 1174 | "version": "4.1.0", 1175 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 1176 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 1177 | "dev": true, 1178 | "dependencies": { 1179 | "chalk": "^4.1.0", 1180 | "is-unicode-supported": "^0.1.0" 1181 | }, 1182 | "engines": { 1183 | "node": ">=10" 1184 | }, 1185 | "funding": { 1186 | "url": "https://github.com/sponsors/sindresorhus" 1187 | } 1188 | }, 1189 | "node_modules/minimatch": { 1190 | "version": "5.0.1", 1191 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", 1192 | "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", 1193 | "dev": true, 1194 | "dependencies": { 1195 | "brace-expansion": "^2.0.1" 1196 | }, 1197 | "engines": { 1198 | "node": ">=10" 1199 | } 1200 | }, 1201 | "node_modules/mocha": { 1202 | "version": "10.2.0", 1203 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", 1204 | "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", 1205 | "dev": true, 1206 | "dependencies": { 1207 | "ansi-colors": "4.1.1", 1208 | "browser-stdout": "1.3.1", 1209 | "chokidar": "3.5.3", 1210 | "debug": "4.3.4", 1211 | "diff": "5.0.0", 1212 | "escape-string-regexp": "4.0.0", 1213 | "find-up": "5.0.0", 1214 | "glob": "7.2.0", 1215 | "he": "1.2.0", 1216 | "js-yaml": "4.1.0", 1217 | "log-symbols": "4.1.0", 1218 | "minimatch": "5.0.1", 1219 | "ms": "2.1.3", 1220 | "nanoid": "3.3.3", 1221 | "serialize-javascript": "6.0.0", 1222 | "strip-json-comments": "3.1.1", 1223 | "supports-color": "8.1.1", 1224 | "workerpool": "6.2.1", 1225 | "yargs": "16.2.0", 1226 | "yargs-parser": "20.2.4", 1227 | "yargs-unparser": "2.0.0" 1228 | }, 1229 | "bin": { 1230 | "_mocha": "bin/_mocha", 1231 | "mocha": "bin/mocha.js" 1232 | }, 1233 | "engines": { 1234 | "node": ">= 14.0.0" 1235 | }, 1236 | "funding": { 1237 | "type": "opencollective", 1238 | "url": "https://opencollective.com/mochajs" 1239 | } 1240 | }, 1241 | "node_modules/ms": { 1242 | "version": "2.1.3", 1243 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1244 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1245 | "dev": true 1246 | }, 1247 | "node_modules/nanoid": { 1248 | "version": "3.3.3", 1249 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", 1250 | "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", 1251 | "dev": true, 1252 | "bin": { 1253 | "nanoid": "bin/nanoid.cjs" 1254 | }, 1255 | "engines": { 1256 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1257 | } 1258 | }, 1259 | "node_modules/natural-compare": { 1260 | "version": "1.4.0", 1261 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1262 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 1263 | "dev": true 1264 | }, 1265 | "node_modules/normalize-path": { 1266 | "version": "3.0.0", 1267 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1268 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1269 | "dev": true, 1270 | "engines": { 1271 | "node": ">=0.10.0" 1272 | } 1273 | }, 1274 | "node_modules/once": { 1275 | "version": "1.4.0", 1276 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1277 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1278 | "dev": true, 1279 | "dependencies": { 1280 | "wrappy": "1" 1281 | } 1282 | }, 1283 | "node_modules/optionator": { 1284 | "version": "0.9.3", 1285 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", 1286 | "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", 1287 | "dev": true, 1288 | "dependencies": { 1289 | "@aashutoshrathi/word-wrap": "^1.2.3", 1290 | "deep-is": "^0.1.3", 1291 | "fast-levenshtein": "^2.0.6", 1292 | "levn": "^0.4.1", 1293 | "prelude-ls": "^1.2.1", 1294 | "type-check": "^0.4.0" 1295 | }, 1296 | "engines": { 1297 | "node": ">= 0.8.0" 1298 | } 1299 | }, 1300 | "node_modules/p-limit": { 1301 | "version": "3.1.0", 1302 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1303 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1304 | "dev": true, 1305 | "dependencies": { 1306 | "yocto-queue": "^0.1.0" 1307 | }, 1308 | "engines": { 1309 | "node": ">=10" 1310 | }, 1311 | "funding": { 1312 | "url": "https://github.com/sponsors/sindresorhus" 1313 | } 1314 | }, 1315 | "node_modules/p-locate": { 1316 | "version": "5.0.0", 1317 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1318 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1319 | "dev": true, 1320 | "dependencies": { 1321 | "p-limit": "^3.0.2" 1322 | }, 1323 | "engines": { 1324 | "node": ">=10" 1325 | }, 1326 | "funding": { 1327 | "url": "https://github.com/sponsors/sindresorhus" 1328 | } 1329 | }, 1330 | "node_modules/parent-module": { 1331 | "version": "1.0.1", 1332 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1333 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1334 | "dev": true, 1335 | "dependencies": { 1336 | "callsites": "^3.0.0" 1337 | }, 1338 | "engines": { 1339 | "node": ">=6" 1340 | } 1341 | }, 1342 | "node_modules/path-exists": { 1343 | "version": "4.0.0", 1344 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1345 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1346 | "dev": true, 1347 | "engines": { 1348 | "node": ">=8" 1349 | } 1350 | }, 1351 | "node_modules/path-is-absolute": { 1352 | "version": "1.0.1", 1353 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1354 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1355 | "dev": true, 1356 | "engines": { 1357 | "node": ">=0.10.0" 1358 | } 1359 | }, 1360 | "node_modules/path-key": { 1361 | "version": "3.1.1", 1362 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1363 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1364 | "dev": true, 1365 | "engines": { 1366 | "node": ">=8" 1367 | } 1368 | }, 1369 | "node_modules/picomatch": { 1370 | "version": "2.3.1", 1371 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1372 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1373 | "dev": true, 1374 | "engines": { 1375 | "node": ">=8.6" 1376 | }, 1377 | "funding": { 1378 | "url": "https://github.com/sponsors/jonschlinkert" 1379 | } 1380 | }, 1381 | "node_modules/prelude-ls": { 1382 | "version": "1.2.1", 1383 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1384 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1385 | "dev": true, 1386 | "engines": { 1387 | "node": ">= 0.8.0" 1388 | } 1389 | }, 1390 | "node_modules/punycode": { 1391 | "version": "2.3.1", 1392 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 1393 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 1394 | "dev": true, 1395 | "engines": { 1396 | "node": ">=6" 1397 | } 1398 | }, 1399 | "node_modules/queue-microtask": { 1400 | "version": "1.2.3", 1401 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1402 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1403 | "dev": true, 1404 | "funding": [ 1405 | { 1406 | "type": "github", 1407 | "url": "https://github.com/sponsors/feross" 1408 | }, 1409 | { 1410 | "type": "patreon", 1411 | "url": "https://www.patreon.com/feross" 1412 | }, 1413 | { 1414 | "type": "consulting", 1415 | "url": "https://feross.org/support" 1416 | } 1417 | ] 1418 | }, 1419 | "node_modules/randombytes": { 1420 | "version": "2.0.3", 1421 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.3.tgz", 1422 | "integrity": "sha512-lDVjxQQFoCG1jcrP06LNo2lbWp4QTShEXnhActFBwYuHprllQV6VUpwreApsYqCgD+N1mHoqJ/BI/4eV4R2GYg==" 1423 | }, 1424 | "node_modules/randomstring": { 1425 | "version": "1.3.0", 1426 | "resolved": "https://registry.npmjs.org/randomstring/-/randomstring-1.3.0.tgz", 1427 | "integrity": "sha512-gY7aQ4i1BgwZ8I1Op4YseITAyiDiajeZOPQUbIq9TPGPhUm5FX59izIaOpmKbME1nmnEiABf28d9K2VSii6BBg==", 1428 | "dependencies": { 1429 | "randombytes": "2.0.3" 1430 | }, 1431 | "bin": { 1432 | "randomstring": "bin/randomstring" 1433 | }, 1434 | "engines": { 1435 | "node": "*" 1436 | } 1437 | }, 1438 | "node_modules/readdirp": { 1439 | "version": "3.6.0", 1440 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1441 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1442 | "dev": true, 1443 | "dependencies": { 1444 | "picomatch": "^2.2.1" 1445 | }, 1446 | "engines": { 1447 | "node": ">=8.10.0" 1448 | } 1449 | }, 1450 | "node_modules/require-directory": { 1451 | "version": "2.1.1", 1452 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 1453 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 1454 | "dev": true, 1455 | "engines": { 1456 | "node": ">=0.10.0" 1457 | } 1458 | }, 1459 | "node_modules/resolve-from": { 1460 | "version": "4.0.0", 1461 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1462 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1463 | "dev": true, 1464 | "engines": { 1465 | "node": ">=4" 1466 | } 1467 | }, 1468 | "node_modules/reusify": { 1469 | "version": "1.0.4", 1470 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1471 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1472 | "dev": true, 1473 | "engines": { 1474 | "iojs": ">=1.0.0", 1475 | "node": ">=0.10.0" 1476 | } 1477 | }, 1478 | "node_modules/rimraf": { 1479 | "version": "3.0.2", 1480 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1481 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1482 | "dev": true, 1483 | "dependencies": { 1484 | "glob": "^7.1.3" 1485 | }, 1486 | "bin": { 1487 | "rimraf": "bin.js" 1488 | }, 1489 | "funding": { 1490 | "url": "https://github.com/sponsors/isaacs" 1491 | } 1492 | }, 1493 | "node_modules/run-parallel": { 1494 | "version": "1.2.0", 1495 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1496 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1497 | "dev": true, 1498 | "funding": [ 1499 | { 1500 | "type": "github", 1501 | "url": "https://github.com/sponsors/feross" 1502 | }, 1503 | { 1504 | "type": "patreon", 1505 | "url": "https://www.patreon.com/feross" 1506 | }, 1507 | { 1508 | "type": "consulting", 1509 | "url": "https://feross.org/support" 1510 | } 1511 | ], 1512 | "dependencies": { 1513 | "queue-microtask": "^1.2.2" 1514 | } 1515 | }, 1516 | "node_modules/safe-buffer": { 1517 | "version": "5.2.1", 1518 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1519 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1520 | "dev": true, 1521 | "funding": [ 1522 | { 1523 | "type": "github", 1524 | "url": "https://github.com/sponsors/feross" 1525 | }, 1526 | { 1527 | "type": "patreon", 1528 | "url": "https://www.patreon.com/feross" 1529 | }, 1530 | { 1531 | "type": "consulting", 1532 | "url": "https://feross.org/support" 1533 | } 1534 | ] 1535 | }, 1536 | "node_modules/serialize-javascript": { 1537 | "version": "6.0.0", 1538 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 1539 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 1540 | "dev": true, 1541 | "dependencies": { 1542 | "randombytes": "^2.1.0" 1543 | } 1544 | }, 1545 | "node_modules/serialize-javascript/node_modules/randombytes": { 1546 | "version": "2.1.0", 1547 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 1548 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 1549 | "dev": true, 1550 | "dependencies": { 1551 | "safe-buffer": "^5.1.0" 1552 | } 1553 | }, 1554 | "node_modules/shebang-command": { 1555 | "version": "2.0.0", 1556 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1557 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1558 | "dev": true, 1559 | "dependencies": { 1560 | "shebang-regex": "^3.0.0" 1561 | }, 1562 | "engines": { 1563 | "node": ">=8" 1564 | } 1565 | }, 1566 | "node_modules/shebang-regex": { 1567 | "version": "3.0.0", 1568 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1569 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1570 | "dev": true, 1571 | "engines": { 1572 | "node": ">=8" 1573 | } 1574 | }, 1575 | "node_modules/should": { 1576 | "version": "13.2.3", 1577 | "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", 1578 | "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", 1579 | "dev": true, 1580 | "dependencies": { 1581 | "should-equal": "^2.0.0", 1582 | "should-format": "^3.0.3", 1583 | "should-type": "^1.4.0", 1584 | "should-type-adaptors": "^1.0.1", 1585 | "should-util": "^1.0.0" 1586 | } 1587 | }, 1588 | "node_modules/should-equal": { 1589 | "version": "2.0.0", 1590 | "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", 1591 | "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", 1592 | "dev": true, 1593 | "dependencies": { 1594 | "should-type": "^1.4.0" 1595 | } 1596 | }, 1597 | "node_modules/should-format": { 1598 | "version": "3.0.3", 1599 | "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", 1600 | "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", 1601 | "dev": true, 1602 | "dependencies": { 1603 | "should-type": "^1.3.0", 1604 | "should-type-adaptors": "^1.0.1" 1605 | } 1606 | }, 1607 | "node_modules/should-type": { 1608 | "version": "1.4.0", 1609 | "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", 1610 | "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==", 1611 | "dev": true 1612 | }, 1613 | "node_modules/should-type-adaptors": { 1614 | "version": "1.1.0", 1615 | "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", 1616 | "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", 1617 | "dev": true, 1618 | "dependencies": { 1619 | "should-type": "^1.3.0", 1620 | "should-util": "^1.0.0" 1621 | } 1622 | }, 1623 | "node_modules/should-util": { 1624 | "version": "1.0.1", 1625 | "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", 1626 | "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", 1627 | "dev": true 1628 | }, 1629 | "node_modules/string-width": { 1630 | "version": "4.2.3", 1631 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1632 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1633 | "dev": true, 1634 | "dependencies": { 1635 | "emoji-regex": "^8.0.0", 1636 | "is-fullwidth-code-point": "^3.0.0", 1637 | "strip-ansi": "^6.0.1" 1638 | }, 1639 | "engines": { 1640 | "node": ">=8" 1641 | } 1642 | }, 1643 | "node_modules/strip-ansi": { 1644 | "version": "6.0.1", 1645 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1646 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1647 | "dev": true, 1648 | "dependencies": { 1649 | "ansi-regex": "^5.0.1" 1650 | }, 1651 | "engines": { 1652 | "node": ">=8" 1653 | } 1654 | }, 1655 | "node_modules/strip-json-comments": { 1656 | "version": "3.1.1", 1657 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1658 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1659 | "dev": true, 1660 | "engines": { 1661 | "node": ">=8" 1662 | }, 1663 | "funding": { 1664 | "url": "https://github.com/sponsors/sindresorhus" 1665 | } 1666 | }, 1667 | "node_modules/supports-color": { 1668 | "version": "8.1.1", 1669 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 1670 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 1671 | "dev": true, 1672 | "dependencies": { 1673 | "has-flag": "^4.0.0" 1674 | }, 1675 | "engines": { 1676 | "node": ">=10" 1677 | }, 1678 | "funding": { 1679 | "url": "https://github.com/chalk/supports-color?sponsor=1" 1680 | } 1681 | }, 1682 | "node_modules/text-table": { 1683 | "version": "0.2.0", 1684 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1685 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 1686 | "dev": true 1687 | }, 1688 | "node_modules/to-regex-range": { 1689 | "version": "5.0.1", 1690 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1691 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1692 | "dev": true, 1693 | "dependencies": { 1694 | "is-number": "^7.0.0" 1695 | }, 1696 | "engines": { 1697 | "node": ">=8.0" 1698 | } 1699 | }, 1700 | "node_modules/type-check": { 1701 | "version": "0.4.0", 1702 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1703 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1704 | "dev": true, 1705 | "dependencies": { 1706 | "prelude-ls": "^1.2.1" 1707 | }, 1708 | "engines": { 1709 | "node": ">= 0.8.0" 1710 | } 1711 | }, 1712 | "node_modules/type-fest": { 1713 | "version": "0.20.2", 1714 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 1715 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 1716 | "dev": true, 1717 | "engines": { 1718 | "node": ">=10" 1719 | }, 1720 | "funding": { 1721 | "url": "https://github.com/sponsors/sindresorhus" 1722 | } 1723 | }, 1724 | "node_modules/uri-js": { 1725 | "version": "4.4.1", 1726 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 1727 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 1728 | "dev": true, 1729 | "dependencies": { 1730 | "punycode": "^2.1.0" 1731 | } 1732 | }, 1733 | "node_modules/which": { 1734 | "version": "2.0.2", 1735 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1736 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1737 | "dev": true, 1738 | "dependencies": { 1739 | "isexe": "^2.0.0" 1740 | }, 1741 | "bin": { 1742 | "node-which": "bin/node-which" 1743 | }, 1744 | "engines": { 1745 | "node": ">= 8" 1746 | } 1747 | }, 1748 | "node_modules/workerpool": { 1749 | "version": "6.2.1", 1750 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", 1751 | "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", 1752 | "dev": true 1753 | }, 1754 | "node_modules/wrap-ansi": { 1755 | "version": "7.0.0", 1756 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1757 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1758 | "dev": true, 1759 | "dependencies": { 1760 | "ansi-styles": "^4.0.0", 1761 | "string-width": "^4.1.0", 1762 | "strip-ansi": "^6.0.0" 1763 | }, 1764 | "engines": { 1765 | "node": ">=10" 1766 | }, 1767 | "funding": { 1768 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1769 | } 1770 | }, 1771 | "node_modules/wrappy": { 1772 | "version": "1.0.2", 1773 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1774 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1775 | "dev": true 1776 | }, 1777 | "node_modules/y18n": { 1778 | "version": "5.0.8", 1779 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 1780 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 1781 | "dev": true, 1782 | "engines": { 1783 | "node": ">=10" 1784 | } 1785 | }, 1786 | "node_modules/yargs": { 1787 | "version": "16.2.0", 1788 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 1789 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 1790 | "dev": true, 1791 | "dependencies": { 1792 | "cliui": "^7.0.2", 1793 | "escalade": "^3.1.1", 1794 | "get-caller-file": "^2.0.5", 1795 | "require-directory": "^2.1.1", 1796 | "string-width": "^4.2.0", 1797 | "y18n": "^5.0.5", 1798 | "yargs-parser": "^20.2.2" 1799 | }, 1800 | "engines": { 1801 | "node": ">=10" 1802 | } 1803 | }, 1804 | "node_modules/yargs-parser": { 1805 | "version": "20.2.4", 1806 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 1807 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 1808 | "dev": true, 1809 | "engines": { 1810 | "node": ">=10" 1811 | } 1812 | }, 1813 | "node_modules/yargs-unparser": { 1814 | "version": "2.0.0", 1815 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 1816 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 1817 | "dev": true, 1818 | "dependencies": { 1819 | "camelcase": "^6.0.0", 1820 | "decamelize": "^4.0.0", 1821 | "flat": "^5.0.2", 1822 | "is-plain-obj": "^2.1.0" 1823 | }, 1824 | "engines": { 1825 | "node": ">=10" 1826 | } 1827 | }, 1828 | "node_modules/yocto-queue": { 1829 | "version": "0.1.0", 1830 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 1831 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 1832 | "dev": true, 1833 | "engines": { 1834 | "node": ">=10" 1835 | }, 1836 | "funding": { 1837 | "url": "https://github.com/sponsors/sindresorhus" 1838 | } 1839 | } 1840 | } 1841 | } 1842 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "capture-console", 3 | "version": "1.0.2", 4 | "description": "Simple and easy stdio capture for Node.js", 5 | "author": { 6 | "name": "Isaac Whitfield", 7 | "email": "iw@whitfin.io" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "http://github.com/whitfin/capture-console.git" 12 | }, 13 | "bugs": { 14 | "email": "iw@whitfin.io", 15 | "url": "http://github.com/whitfin/capture-console/issues" 16 | }, 17 | "license": "MIT", 18 | "readmeFilename": "README.md", 19 | "keywords": [ 20 | "stdio", 21 | "stderr", 22 | "stdout", 23 | "logging", 24 | "capture", 25 | "console", 26 | "intercept" 27 | ], 28 | "scripts": { 29 | "lint": "eslint lib/* test/*.js *.js", 30 | "test": "mocha -u tdd test/index.js" 31 | }, 32 | "dependencies": { 33 | "argle": "~1.1.1", 34 | "lodash.isfunction": "~3.0.8", 35 | "randomstring": "^1.3.0" 36 | }, 37 | "devDependencies": { 38 | "eslint": "^8.53.0", 39 | "mocha": "^10.2.0", 40 | "should": "^13.2.3" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- 1 | const capcon = require('../'); 2 | const should = require('should'); 3 | 4 | suite('Capture Console', function () { 5 | 6 | test('capturing standard error', function () { 7 | let stderr1 = capcon.interceptStderr(function capture() { }); 8 | 9 | let stderr2 = capcon.interceptStderr(function capture() { 10 | console.error('Aloha the first time!'); 11 | }); 12 | 13 | let stderr3 = capcon.interceptStderr(function capture() { 14 | console.error('Aloha the second time!'); 15 | }); 16 | 17 | should(stderr1).equal(''); 18 | should(stderr2).equal('Aloha the first time!\n'); 19 | should(stderr3).equal('Aloha the second time!\n'); 20 | }); 21 | 22 | test('capturing standard output', function () { 23 | let stdout1 = capcon.interceptStdout(function capture() { 24 | console.log('Aloha the first time!'); 25 | }); 26 | 27 | let stdout2 = capcon.interceptStdout(function capture() { }); 28 | 29 | let stdout3 = capcon.interceptStdout(function capture() { 30 | console.log('Aloha the second time!'); 31 | }); 32 | 33 | should(stdout1).equal('Aloha the first time!\n'); 34 | should(stdout2).equal(''); 35 | should(stdout3).equal('Aloha the second time!\n'); 36 | }); 37 | 38 | test('capturing standard io', function () { 39 | let stdio1 = capcon.interceptStdio(function capture() { 40 | console.log('Aloha the first time!'); 41 | console.error('Aloha the second time!'); 42 | }); 43 | 44 | let stdio2 = capcon.interceptStdio(function capture() { }); 45 | 46 | let stdio3 = capcon.interceptStdio(function capture() { 47 | console.log('Aloha the third time!'); 48 | }); 49 | 50 | let stdio4 = capcon.interceptStdio(function capture() { 51 | console.error('Aloha the fourth time!'); 52 | }); 53 | 54 | let stdio5 = capcon.interceptStdio(function capture() { 55 | console.log('Aloha the fifth time!'); 56 | console.error('Aloha the sixth time!'); 57 | }); 58 | 59 | should(stdio1).deepEqual({ 60 | stdout: 'Aloha the first time!\n', 61 | stderr: 'Aloha the second time!\n' 62 | }); 63 | 64 | should(stdio2).deepEqual({ 65 | stdout: '', 66 | stderr: '' 67 | }); 68 | 69 | should(stdio3).deepEqual({ 70 | stdout: 'Aloha the third time!\n', 71 | stderr: '' 72 | }); 73 | 74 | should(stdio4).deepEqual({ 75 | stdout: '', 76 | stderr: 'Aloha the fourth time!\n' 77 | }); 78 | 79 | should(stdio5).deepEqual({ 80 | stdout: 'Aloha the fifth time!\n', 81 | stderr: 'Aloha the sixth time!\n' 82 | }); 83 | }); 84 | 85 | }); 86 | --------------------------------------------------------------------------------