├── .eslintrc.cjs ├── .github └── pull_request_template.md ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc.json ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── package-lock.json ├── package.json ├── src ├── PlaintextEngine │ ├── PlaintextEngine.ts │ ├── PlaintextEngineClientSession.ts │ └── PlaintextEngineHostSession.ts ├── Protocol.ts ├── Session.ts ├── helpers │ ├── assert.ts │ ├── defer.ts │ ├── delay.ts │ ├── errorToString.ts │ ├── evaluate.ts │ └── once.ts └── index.ts ├── tests ├── circuits │ └── aPlusB.ts ├── helpers │ ├── LocalComms.ts │ └── blockTrim.ts └── plaintext.test.ts └── tsconfig.json /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { browser: true, es2020: true }, 4 | extends: [ 5 | 'eslint:recommended', 6 | 'plugin:prettier/recommended', 7 | 'plugin:@typescript-eslint/recommended', 8 | 'xo/browser', 9 | ], 10 | ignorePatterns: ['dist'], 11 | parser: '@typescript-eslint/parser', 12 | rules: { 13 | indent: ['error', 2, { SwitchCase: 1 }], 14 | 'object-curly-spacing': ['error', 'always'], 15 | 'no-unused-vars': 'off', 16 | '@typescript-eslint/no-unused-vars': [ 17 | 'warn', 18 | { 19 | varsIgnorePattern: '^_', 20 | argsIgnorePattern: '^_', 21 | destructuredArrayIgnorePattern: '^_', 22 | caughtErrorsIgnorePattern: '^_', 23 | }, 24 | ], 25 | quotes: ['error', 'single', { avoidEscape: true }], 26 | 'comma-dangle': 'off', 27 | 'object-curly-newline': 'off', 28 | 'no-undef': 'off', 29 | 'no-mixed-operators': 'off', 30 | 'operator-linebreak': 'off', 31 | 'no-bitwise': 'off', 32 | 'no-constant-condition': 'off', 33 | 'no-useless-constructor': 'off', 34 | 'capitalized-comments': 'off', 35 | 'no-await-in-loop': 'off', 36 | 'no-return-await': 'off', 37 | }, 38 | }; 39 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## What is this PR doing? 2 | 3 | ## How can these changes be manually tested? 4 | 5 | ## Does this PR resolve or contribute to any issues? 6 | 7 | ## Checklist 8 | 9 | - [ ] I have manually tested these changes 10 | - [ ] Post a link to the PR in the group chat 11 | 12 | ## Guidelines 13 | 14 | - If your PR is not ready, mark it as a draft 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | tests 2 | .vscode 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # dependencies 2 | node_modules 3 | package-lock.json 4 | 5 | # production 6 | dist 7 | build 8 | wasm/target 9 | 10 | # misc 11 | .DS_Store 12 | *.pem 13 | 14 | # debug 15 | npm-debug.log* 16 | yarn-debug.log* 17 | yarn-error.log* 18 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "arrowParens": "avoid", 3 | "tabWidth": 2, 4 | "singleQuote": true, 5 | "printWidth": 80 6 | } 7 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "tsx", 9 | "type": "node", 10 | "request": "launch", 11 | 12 | // Debug current file in VSCode 13 | "program": "${file}", 14 | 15 | /* 16 | Path to tsx binary 17 | Assuming locally installed 18 | */ 19 | "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/tsx", 20 | 21 | /* 22 | Open terminal when debugging starts (Optional) 23 | Useful to see console.logs 24 | */ 25 | "console": "integratedTerminal", 26 | "internalConsoleOptions": "neverOpen", 27 | 28 | // Files to exclude from debugger (e.g. call stack) 29 | "skipFiles": [ 30 | // Node.js internal core modules 31 | "/**", 32 | 33 | // Ignore all dependencies (optional) 34 | "${workspaceFolder}/node_modules/**" 35 | ] 36 | } 37 | ] 38 | } 39 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.rulers": [80], 3 | "editor.tabSize": 2, 4 | "editor.codeActionsOnSave": { 5 | "source.fixAll": "explicit" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 Privacy and Scaling Explorations 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 | # mpc-framework 2 | 3 | A framework that makes MPC easy in TypeScript. 4 | 5 | Choose from multiple existing circuit generators and MPC engines, or create 6 | your own. 7 | 8 | ## What is MPC? 9 | 10 | MPC stands for _Multi-Party Computation_. In regular computation, all inputs, 11 | outputs, and intermediate calculations are necessarily visible on the device 12 | performing the computation. MPC, by contrast, allows multiple devices to 13 | collaborate on a computation while keeping intermediate calculations and others' 14 | inputs private. 15 | 16 | Here's some ways that can be useful: 17 | 18 | - Provide analysis on patient data to researchers without revealing the patient data 19 | - Play [Rock Paper Scissors Lizard Spock](https://mpc.pse.dev/apps/lizard-spock) while keeping your move secret 20 | - Hold an auction while keeping the bids secret (only the winning bidder and price is revealed) 21 | - [Match employers and job-seekers that each have hidden criteria](https://github.com/cursive-team/pz-hiring) 22 | - Arrange optimal asset swaps (eg sports players / trading cards / corporate assets / NFTs) using hidden valuations 23 | - Find out if you qualify for an insurance policy without sharing your health data and without requiring the insurer to reveal the policy requirements 24 | - Quantify how much you have in common with someone and then figure out the commonalities together (or choose not to) 25 | - Create an embarassing songs playlist for a party where each song is liked by >=N people 26 | 27 | For a bit more of an introduction to MPC, I recommend Barry Whitehat's talk 28 | [2PC is for Lovers](https://www.youtube.com/watch?v=PzcDqegGoKI). The 29 | lovers' app described in the talk has been implemented using mpc-framework 30 | [here](https://mpc.pse.dev/apps/2pc-is-for-lovers). 31 | 32 | For a more technical introduction, see [Computerphile's video on Garbled Circuits](https://www.youtube.com/watch?v=FMZ-HARN0gI). For a deeper dive: [Pragmatic MPC](https://securecomputation.org/). 33 | 34 | ## Usage Guide 35 | 36 | In addition to `mpc-framework`, you will need: 37 | 38 | - a circuit generator to turn your MPC program into a circuit (or byo precompiled or handwritten circuit) 39 | - an mpc-framework engine to do the underlying cryptography 40 | 41 | ```sh 42 | npm install mpc-framework 43 | npm install summon-ts # circuit generator 44 | npm install emp-wasm-engine # engine 45 | ``` 46 | 47 | ### Step 1: Create a Circuit 48 | 49 | The computation to be done inside MPC must be specified in the form of a 50 | circuit. This is a special simplified program in the form of a fixed tree 51 | specifying how to combine values together. Regular programs allow the CPU to 52 | branch into different code paths, and circuits can't do that. It's possible to 53 | write these circuits by hand (or using third party tools), but you might find it 54 | easier to use [summon](https://github.com/privacy-scaling-explorations/summon/): 55 | 56 | ```ts 57 | // This isn't exactly TypeScript, but it uses the same syntax and has enough in 58 | // common that you can use the .ts extension and get useful intellisense 59 | 60 | export default (io: Summon.IO) => { 61 | // Alice provides a number called 'a' 62 | const a = io.input('alice', 'a', summon.number()); 63 | 64 | // Bob provides a number called 'b' 65 | const b = io.input('bob', 'b', summon.number()); 66 | 67 | let result; 68 | 69 | // This seems like a branch that I just said is not allowed, but this is just 70 | // an abstraction, and summon will compile it down to a fixed circuit. Loops 71 | // are possible too. See the summon docs for more detail. 72 | if (isLarger(a, b)) { 73 | result = a; 74 | } else { 75 | result = b; 76 | } 77 | 78 | // Everyone gets an output called 'result' 79 | io.outputPublic('result', result); 80 | } 81 | 82 | // We could inline this, but we're just demonstrating that summon supports 83 | // modularity (multi-file works too and many other TS features). 84 | function isLarger(a: number, b: number) { 85 | return a > b; 86 | } 87 | ``` 88 | 89 | ### Step 2: Compile your Circuit 90 | 91 | ```ts 92 | import * as summon from 'summon-ts'; 93 | 94 | // ... 95 | 96 | await summon.init(); 97 | 98 | const { circuit } = summon.compile({ 99 | // Specify the entry point, similar to the `main` field of package.json 100 | path: 'circuit/main.ts', 101 | 102 | // This is the bit width of numbers in your summon program. You can use any 103 | // width you like, but all numbers in the program will be the same. You can 104 | // achieve smaller bit widths within the program using masking (the unused 105 | // gates will be optimized away). It's also possible to define classes for 106 | // matrices/floats/etc. 107 | boolifyWidth: 8, 108 | 109 | // File tree to compile 110 | files: { 111 | 'circuit/main.ts': ` 112 | // Include code from step 1 113 | // This can be inlined or you can use build tools to just include a 114 | // directory from your source tree 115 | // (eg https://github.com/privacy-scaling-explorations/mpc-hello/tree/main/client-client) 116 | `, 117 | // Other files can be specified here 118 | }, 119 | }); 120 | ``` 121 | 122 | ### Step 3: Set up your Protocol 123 | 124 | ```ts 125 | import { Protocol } from 'mpc-framework'; 126 | import { EmpWasmEngine } from 'emp-wasm-engine'; 127 | 128 | // ... 129 | 130 | const protocol = new Protocol(circuit, new EmpWasmEngine()); 131 | ``` 132 | 133 | ### Step 4: Run the Protocol 134 | 135 | ```ts 136 | function send(to: string, msg: Uint8Array) { 137 | // implement sending a message to the specified party 138 | } 139 | 140 | const session = protocol.join('alice', { a: 3 }, send); 141 | 142 | // This is just a hypothetical API for getting external messages 143 | onMessageReceived((from: string, msg: Uint8Array) => { 144 | // The important part is that you provide the messages to the session like 145 | // this 146 | session.handleMessage(from, msg); 147 | }); 148 | 149 | // have another device (or tab) join as bob and provide { b: 5 } 150 | 151 | console.log(await session.output()); // { main: 5 } 152 | ``` 153 | 154 | ### Bringing it all Together 155 | 156 | For clarity, a complete version of the example above is provided as 157 | [mpc-hello](https://mpc.pse.dev/apps/hello). 158 | 159 | ## **Circuit Generators** 160 | 161 | | Name | Similar to | Related Repos | 162 | | ----------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | 163 | | [`summon-ts`](https://github.com/privacy-scaling-explorations/summon-ts/) | TypeScript | [`summon`](https://github.com/privacy-scaling-explorations/summon/), [`boolify`](https://github.com/privacy-scaling-explorations/boolify/), [`ValueScript`](https://github.com/voltrevo/ValueScript/) | 164 | | [`circom-2-arithc-ts`](https://github.com/privacy-scaling-explorations/circom-2-arithc-ts/) | Circom | [`circom-2-arithc`](https://github.com/namnc/circom-2-arithc/), [`circom`](https://github.com/iden3/circom/) | 165 | 166 | ## **Engines** 167 | 168 | | Name | Description | Related Repos | 169 | | ------------------------------------------------------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | 170 | | [`emp-wasm-engine`](https://github.com/privacy-scaling-explorations/emp-wasm-engine/) | Secure MPC using authenticated garbling | [`emp-wasm`](https://github.com/privacy-scaling-explorations/emp-wasm), [`emp-ag2pc`](https://github.com/emp-toolkit/emp-ag2pc/), [`emp-agmpc`](https://github.com/emp-toolkit/emp-agmpc/) | 171 | | [`mpz-ts`](https://github.com/privacy-scaling-explorations/mpz-ts) | Semi-honest 2PC | [`mpz`](https://github.com/privacy-scaling-explorations/mpz) | 172 | 173 | ## Example Projects 174 | 175 | - [MPC Hello](https://mpc.pse.dev/apps/hello) 176 | - [2PC is for Lovers](https://mpc.pse.dev/apps/2pc-is-for-lovers) 177 | - [MPC Lizard Spock](https://mpc.pse.dev/apps/lizard-spock) 178 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mpc-framework", 3 | "version": "0.3.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "mpc-framework", 9 | "version": "0.3.0", 10 | "license": "MIT", 11 | "dependencies": { 12 | "ee-typed": "^0.1.1", 13 | "mpc-framework-common": "^0.3.0", 14 | "msgpackr": "^1.11.0", 15 | "zod": "^3.23.8" 16 | }, 17 | "devDependencies": { 18 | "@types/chai": "^4.3.17", 19 | "@types/mocha": "^10.0.7", 20 | "@typescript-eslint/eslint-plugin": "^7.2.0", 21 | "@typescript-eslint/parser": "^7.2.0", 22 | "chai": "^5.1.1", 23 | "emp-wasm-backend": "^0.2.1", 24 | "eslint": "^8.57.0", 25 | "eslint-config-prettier": "^10.0.1", 26 | "eslint-config-xo": "^0.44.0", 27 | "eslint-plugin-prettier": "^5.2.2", 28 | "eslint-plugin-react-hooks": "^4.6.0", 29 | "eslint-plugin-react-refresh": "^0.4.6", 30 | "mocha": "^10.7.0", 31 | "prettier": "^3.4.2", 32 | "summon-ts": "^0.6.0", 33 | "tsx": "^4.16.5", 34 | "typescript": "^5.4.5" 35 | } 36 | }, 37 | "node_modules/@esbuild/aix-ppc64": { 38 | "version": "0.21.5", 39 | "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", 40 | "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", 41 | "cpu": [ 42 | "ppc64" 43 | ], 44 | "dev": true, 45 | "optional": true, 46 | "os": [ 47 | "aix" 48 | ], 49 | "engines": { 50 | "node": ">=12" 51 | } 52 | }, 53 | "node_modules/@esbuild/android-arm": { 54 | "version": "0.21.5", 55 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", 56 | "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", 57 | "cpu": [ 58 | "arm" 59 | ], 60 | "dev": true, 61 | "optional": true, 62 | "os": [ 63 | "android" 64 | ], 65 | "engines": { 66 | "node": ">=12" 67 | } 68 | }, 69 | "node_modules/@esbuild/android-arm64": { 70 | "version": "0.21.5", 71 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", 72 | "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", 73 | "cpu": [ 74 | "arm64" 75 | ], 76 | "dev": true, 77 | "optional": true, 78 | "os": [ 79 | "android" 80 | ], 81 | "engines": { 82 | "node": ">=12" 83 | } 84 | }, 85 | "node_modules/@esbuild/android-x64": { 86 | "version": "0.21.5", 87 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", 88 | "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", 89 | "cpu": [ 90 | "x64" 91 | ], 92 | "dev": true, 93 | "optional": true, 94 | "os": [ 95 | "android" 96 | ], 97 | "engines": { 98 | "node": ">=12" 99 | } 100 | }, 101 | "node_modules/@esbuild/darwin-arm64": { 102 | "version": "0.21.5", 103 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", 104 | "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", 105 | "cpu": [ 106 | "arm64" 107 | ], 108 | "dev": true, 109 | "optional": true, 110 | "os": [ 111 | "darwin" 112 | ], 113 | "engines": { 114 | "node": ">=12" 115 | } 116 | }, 117 | "node_modules/@esbuild/darwin-x64": { 118 | "version": "0.21.5", 119 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", 120 | "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", 121 | "cpu": [ 122 | "x64" 123 | ], 124 | "dev": true, 125 | "optional": true, 126 | "os": [ 127 | "darwin" 128 | ], 129 | "engines": { 130 | "node": ">=12" 131 | } 132 | }, 133 | "node_modules/@esbuild/freebsd-arm64": { 134 | "version": "0.21.5", 135 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", 136 | "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", 137 | "cpu": [ 138 | "arm64" 139 | ], 140 | "dev": true, 141 | "optional": true, 142 | "os": [ 143 | "freebsd" 144 | ], 145 | "engines": { 146 | "node": ">=12" 147 | } 148 | }, 149 | "node_modules/@esbuild/freebsd-x64": { 150 | "version": "0.21.5", 151 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", 152 | "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", 153 | "cpu": [ 154 | "x64" 155 | ], 156 | "dev": true, 157 | "optional": true, 158 | "os": [ 159 | "freebsd" 160 | ], 161 | "engines": { 162 | "node": ">=12" 163 | } 164 | }, 165 | "node_modules/@esbuild/linux-arm": { 166 | "version": "0.21.5", 167 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", 168 | "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", 169 | "cpu": [ 170 | "arm" 171 | ], 172 | "dev": true, 173 | "optional": true, 174 | "os": [ 175 | "linux" 176 | ], 177 | "engines": { 178 | "node": ">=12" 179 | } 180 | }, 181 | "node_modules/@esbuild/linux-arm64": { 182 | "version": "0.21.5", 183 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", 184 | "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", 185 | "cpu": [ 186 | "arm64" 187 | ], 188 | "dev": true, 189 | "optional": true, 190 | "os": [ 191 | "linux" 192 | ], 193 | "engines": { 194 | "node": ">=12" 195 | } 196 | }, 197 | "node_modules/@esbuild/linux-ia32": { 198 | "version": "0.21.5", 199 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", 200 | "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", 201 | "cpu": [ 202 | "ia32" 203 | ], 204 | "dev": true, 205 | "optional": true, 206 | "os": [ 207 | "linux" 208 | ], 209 | "engines": { 210 | "node": ">=12" 211 | } 212 | }, 213 | "node_modules/@esbuild/linux-loong64": { 214 | "version": "0.21.5", 215 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", 216 | "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", 217 | "cpu": [ 218 | "loong64" 219 | ], 220 | "dev": true, 221 | "optional": true, 222 | "os": [ 223 | "linux" 224 | ], 225 | "engines": { 226 | "node": ">=12" 227 | } 228 | }, 229 | "node_modules/@esbuild/linux-mips64el": { 230 | "version": "0.21.5", 231 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", 232 | "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", 233 | "cpu": [ 234 | "mips64el" 235 | ], 236 | "dev": true, 237 | "optional": true, 238 | "os": [ 239 | "linux" 240 | ], 241 | "engines": { 242 | "node": ">=12" 243 | } 244 | }, 245 | "node_modules/@esbuild/linux-ppc64": { 246 | "version": "0.21.5", 247 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", 248 | "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", 249 | "cpu": [ 250 | "ppc64" 251 | ], 252 | "dev": true, 253 | "optional": true, 254 | "os": [ 255 | "linux" 256 | ], 257 | "engines": { 258 | "node": ">=12" 259 | } 260 | }, 261 | "node_modules/@esbuild/linux-riscv64": { 262 | "version": "0.21.5", 263 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", 264 | "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", 265 | "cpu": [ 266 | "riscv64" 267 | ], 268 | "dev": true, 269 | "optional": true, 270 | "os": [ 271 | "linux" 272 | ], 273 | "engines": { 274 | "node": ">=12" 275 | } 276 | }, 277 | "node_modules/@esbuild/linux-s390x": { 278 | "version": "0.21.5", 279 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", 280 | "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", 281 | "cpu": [ 282 | "s390x" 283 | ], 284 | "dev": true, 285 | "optional": true, 286 | "os": [ 287 | "linux" 288 | ], 289 | "engines": { 290 | "node": ">=12" 291 | } 292 | }, 293 | "node_modules/@esbuild/linux-x64": { 294 | "version": "0.21.5", 295 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", 296 | "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", 297 | "cpu": [ 298 | "x64" 299 | ], 300 | "dev": true, 301 | "optional": true, 302 | "os": [ 303 | "linux" 304 | ], 305 | "engines": { 306 | "node": ">=12" 307 | } 308 | }, 309 | "node_modules/@esbuild/netbsd-x64": { 310 | "version": "0.21.5", 311 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", 312 | "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", 313 | "cpu": [ 314 | "x64" 315 | ], 316 | "dev": true, 317 | "optional": true, 318 | "os": [ 319 | "netbsd" 320 | ], 321 | "engines": { 322 | "node": ">=12" 323 | } 324 | }, 325 | "node_modules/@esbuild/openbsd-x64": { 326 | "version": "0.21.5", 327 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", 328 | "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", 329 | "cpu": [ 330 | "x64" 331 | ], 332 | "dev": true, 333 | "optional": true, 334 | "os": [ 335 | "openbsd" 336 | ], 337 | "engines": { 338 | "node": ">=12" 339 | } 340 | }, 341 | "node_modules/@esbuild/sunos-x64": { 342 | "version": "0.21.5", 343 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", 344 | "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", 345 | "cpu": [ 346 | "x64" 347 | ], 348 | "dev": true, 349 | "optional": true, 350 | "os": [ 351 | "sunos" 352 | ], 353 | "engines": { 354 | "node": ">=12" 355 | } 356 | }, 357 | "node_modules/@esbuild/win32-arm64": { 358 | "version": "0.21.5", 359 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", 360 | "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", 361 | "cpu": [ 362 | "arm64" 363 | ], 364 | "dev": true, 365 | "optional": true, 366 | "os": [ 367 | "win32" 368 | ], 369 | "engines": { 370 | "node": ">=12" 371 | } 372 | }, 373 | "node_modules/@esbuild/win32-ia32": { 374 | "version": "0.21.5", 375 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", 376 | "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", 377 | "cpu": [ 378 | "ia32" 379 | ], 380 | "dev": true, 381 | "optional": true, 382 | "os": [ 383 | "win32" 384 | ], 385 | "engines": { 386 | "node": ">=12" 387 | } 388 | }, 389 | "node_modules/@esbuild/win32-x64": { 390 | "version": "0.21.5", 391 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", 392 | "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", 393 | "cpu": [ 394 | "x64" 395 | ], 396 | "dev": true, 397 | "optional": true, 398 | "os": [ 399 | "win32" 400 | ], 401 | "engines": { 402 | "node": ">=12" 403 | } 404 | }, 405 | "node_modules/@eslint-community/eslint-utils": { 406 | "version": "4.4.1", 407 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", 408 | "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", 409 | "dev": true, 410 | "dependencies": { 411 | "eslint-visitor-keys": "^3.4.3" 412 | }, 413 | "engines": { 414 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 415 | }, 416 | "funding": { 417 | "url": "https://opencollective.com/eslint" 418 | }, 419 | "peerDependencies": { 420 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" 421 | } 422 | }, 423 | "node_modules/@eslint-community/regexpp": { 424 | "version": "4.12.1", 425 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", 426 | "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", 427 | "dev": true, 428 | "engines": { 429 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0" 430 | } 431 | }, 432 | "node_modules/@eslint/eslintrc": { 433 | "version": "2.1.4", 434 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", 435 | "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", 436 | "dev": true, 437 | "dependencies": { 438 | "ajv": "^6.12.4", 439 | "debug": "^4.3.2", 440 | "espree": "^9.6.0", 441 | "globals": "^13.19.0", 442 | "ignore": "^5.2.0", 443 | "import-fresh": "^3.2.1", 444 | "js-yaml": "^4.1.0", 445 | "minimatch": "^3.1.2", 446 | "strip-json-comments": "^3.1.1" 447 | }, 448 | "engines": { 449 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 450 | }, 451 | "funding": { 452 | "url": "https://opencollective.com/eslint" 453 | } 454 | }, 455 | "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { 456 | "version": "1.1.11", 457 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 458 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 459 | "dev": true, 460 | "dependencies": { 461 | "balanced-match": "^1.0.0", 462 | "concat-map": "0.0.1" 463 | } 464 | }, 465 | "node_modules/@eslint/eslintrc/node_modules/minimatch": { 466 | "version": "3.1.2", 467 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 468 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 469 | "dev": true, 470 | "dependencies": { 471 | "brace-expansion": "^1.1.7" 472 | }, 473 | "engines": { 474 | "node": "*" 475 | } 476 | }, 477 | "node_modules/@eslint/js": { 478 | "version": "8.57.1", 479 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", 480 | "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", 481 | "dev": true, 482 | "engines": { 483 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 484 | } 485 | }, 486 | "node_modules/@humanwhocodes/config-array": { 487 | "version": "0.13.0", 488 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", 489 | "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", 490 | "deprecated": "Use @eslint/config-array instead", 491 | "dev": true, 492 | "dependencies": { 493 | "@humanwhocodes/object-schema": "^2.0.3", 494 | "debug": "^4.3.1", 495 | "minimatch": "^3.0.5" 496 | }, 497 | "engines": { 498 | "node": ">=10.10.0" 499 | } 500 | }, 501 | "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { 502 | "version": "1.1.11", 503 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 504 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 505 | "dev": true, 506 | "dependencies": { 507 | "balanced-match": "^1.0.0", 508 | "concat-map": "0.0.1" 509 | } 510 | }, 511 | "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { 512 | "version": "3.1.2", 513 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 514 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 515 | "dev": true, 516 | "dependencies": { 517 | "brace-expansion": "^1.1.7" 518 | }, 519 | "engines": { 520 | "node": "*" 521 | } 522 | }, 523 | "node_modules/@humanwhocodes/module-importer": { 524 | "version": "1.0.1", 525 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 526 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 527 | "dev": true, 528 | "engines": { 529 | "node": ">=12.22" 530 | }, 531 | "funding": { 532 | "type": "github", 533 | "url": "https://github.com/sponsors/nzakas" 534 | } 535 | }, 536 | "node_modules/@humanwhocodes/object-schema": { 537 | "version": "2.0.3", 538 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", 539 | "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", 540 | "deprecated": "Use @eslint/object-schema instead", 541 | "dev": true 542 | }, 543 | "node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": { 544 | "version": "3.0.3", 545 | "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz", 546 | "integrity": "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==", 547 | "cpu": [ 548 | "arm64" 549 | ], 550 | "optional": true, 551 | "os": [ 552 | "darwin" 553 | ] 554 | }, 555 | "node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": { 556 | "version": "3.0.3", 557 | "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz", 558 | "integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==", 559 | "cpu": [ 560 | "x64" 561 | ], 562 | "optional": true, 563 | "os": [ 564 | "darwin" 565 | ] 566 | }, 567 | "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": { 568 | "version": "3.0.3", 569 | "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz", 570 | "integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==", 571 | "cpu": [ 572 | "arm" 573 | ], 574 | "optional": true, 575 | "os": [ 576 | "linux" 577 | ] 578 | }, 579 | "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": { 580 | "version": "3.0.3", 581 | "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz", 582 | "integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==", 583 | "cpu": [ 584 | "arm64" 585 | ], 586 | "optional": true, 587 | "os": [ 588 | "linux" 589 | ] 590 | }, 591 | "node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": { 592 | "version": "3.0.3", 593 | "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz", 594 | "integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==", 595 | "cpu": [ 596 | "x64" 597 | ], 598 | "optional": true, 599 | "os": [ 600 | "linux" 601 | ] 602 | }, 603 | "node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": { 604 | "version": "3.0.3", 605 | "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz", 606 | "integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==", 607 | "cpu": [ 608 | "x64" 609 | ], 610 | "optional": true, 611 | "os": [ 612 | "win32" 613 | ] 614 | }, 615 | "node_modules/@nodelib/fs.scandir": { 616 | "version": "2.1.5", 617 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 618 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 619 | "dev": true, 620 | "dependencies": { 621 | "@nodelib/fs.stat": "2.0.5", 622 | "run-parallel": "^1.1.9" 623 | }, 624 | "engines": { 625 | "node": ">= 8" 626 | } 627 | }, 628 | "node_modules/@nodelib/fs.stat": { 629 | "version": "2.0.5", 630 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 631 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 632 | "dev": true, 633 | "engines": { 634 | "node": ">= 8" 635 | } 636 | }, 637 | "node_modules/@nodelib/fs.walk": { 638 | "version": "1.2.8", 639 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 640 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 641 | "dev": true, 642 | "dependencies": { 643 | "@nodelib/fs.scandir": "2.1.5", 644 | "fastq": "^1.6.0" 645 | }, 646 | "engines": { 647 | "node": ">= 8" 648 | } 649 | }, 650 | "node_modules/@pkgr/core": { 651 | "version": "0.1.1", 652 | "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", 653 | "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", 654 | "dev": true, 655 | "engines": { 656 | "node": "^12.20.0 || ^14.18.0 || >=16.0.0" 657 | }, 658 | "funding": { 659 | "url": "https://opencollective.com/unts" 660 | } 661 | }, 662 | "node_modules/@types/chai": { 663 | "version": "4.3.17", 664 | "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.17.tgz", 665 | "integrity": "sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==", 666 | "dev": true 667 | }, 668 | "node_modules/@types/mocha": { 669 | "version": "10.0.7", 670 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", 671 | "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==", 672 | "dev": true 673 | }, 674 | "node_modules/@types/node": { 675 | "version": "20.14.14", 676 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.14.tgz", 677 | "integrity": "sha512-d64f00982fS9YoOgJkAMolK7MN8Iq3TDdVjchbYHdEmjth/DHowx82GnoA+tVUAN+7vxfYUgAzi+JXbKNd2SDQ==", 678 | "dependencies": { 679 | "undici-types": "~5.26.4" 680 | } 681 | }, 682 | "node_modules/@typescript-eslint/eslint-plugin": { 683 | "version": "7.18.0", 684 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz", 685 | "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", 686 | "dev": true, 687 | "dependencies": { 688 | "@eslint-community/regexpp": "^4.10.0", 689 | "@typescript-eslint/scope-manager": "7.18.0", 690 | "@typescript-eslint/type-utils": "7.18.0", 691 | "@typescript-eslint/utils": "7.18.0", 692 | "@typescript-eslint/visitor-keys": "7.18.0", 693 | "graphemer": "^1.4.0", 694 | "ignore": "^5.3.1", 695 | "natural-compare": "^1.4.0", 696 | "ts-api-utils": "^1.3.0" 697 | }, 698 | "engines": { 699 | "node": "^18.18.0 || >=20.0.0" 700 | }, 701 | "funding": { 702 | "type": "opencollective", 703 | "url": "https://opencollective.com/typescript-eslint" 704 | }, 705 | "peerDependencies": { 706 | "@typescript-eslint/parser": "^7.0.0", 707 | "eslint": "^8.56.0" 708 | }, 709 | "peerDependenciesMeta": { 710 | "typescript": { 711 | "optional": true 712 | } 713 | } 714 | }, 715 | "node_modules/@typescript-eslint/parser": { 716 | "version": "7.18.0", 717 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", 718 | "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", 719 | "dev": true, 720 | "dependencies": { 721 | "@typescript-eslint/scope-manager": "7.18.0", 722 | "@typescript-eslint/types": "7.18.0", 723 | "@typescript-eslint/typescript-estree": "7.18.0", 724 | "@typescript-eslint/visitor-keys": "7.18.0", 725 | "debug": "^4.3.4" 726 | }, 727 | "engines": { 728 | "node": "^18.18.0 || >=20.0.0" 729 | }, 730 | "funding": { 731 | "type": "opencollective", 732 | "url": "https://opencollective.com/typescript-eslint" 733 | }, 734 | "peerDependencies": { 735 | "eslint": "^8.56.0" 736 | }, 737 | "peerDependenciesMeta": { 738 | "typescript": { 739 | "optional": true 740 | } 741 | } 742 | }, 743 | "node_modules/@typescript-eslint/scope-manager": { 744 | "version": "7.18.0", 745 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", 746 | "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", 747 | "dev": true, 748 | "dependencies": { 749 | "@typescript-eslint/types": "7.18.0", 750 | "@typescript-eslint/visitor-keys": "7.18.0" 751 | }, 752 | "engines": { 753 | "node": "^18.18.0 || >=20.0.0" 754 | }, 755 | "funding": { 756 | "type": "opencollective", 757 | "url": "https://opencollective.com/typescript-eslint" 758 | } 759 | }, 760 | "node_modules/@typescript-eslint/type-utils": { 761 | "version": "7.18.0", 762 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz", 763 | "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", 764 | "dev": true, 765 | "dependencies": { 766 | "@typescript-eslint/typescript-estree": "7.18.0", 767 | "@typescript-eslint/utils": "7.18.0", 768 | "debug": "^4.3.4", 769 | "ts-api-utils": "^1.3.0" 770 | }, 771 | "engines": { 772 | "node": "^18.18.0 || >=20.0.0" 773 | }, 774 | "funding": { 775 | "type": "opencollective", 776 | "url": "https://opencollective.com/typescript-eslint" 777 | }, 778 | "peerDependencies": { 779 | "eslint": "^8.56.0" 780 | }, 781 | "peerDependenciesMeta": { 782 | "typescript": { 783 | "optional": true 784 | } 785 | } 786 | }, 787 | "node_modules/@typescript-eslint/types": { 788 | "version": "7.18.0", 789 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", 790 | "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", 791 | "dev": true, 792 | "engines": { 793 | "node": "^18.18.0 || >=20.0.0" 794 | }, 795 | "funding": { 796 | "type": "opencollective", 797 | "url": "https://opencollective.com/typescript-eslint" 798 | } 799 | }, 800 | "node_modules/@typescript-eslint/typescript-estree": { 801 | "version": "7.18.0", 802 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", 803 | "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", 804 | "dev": true, 805 | "dependencies": { 806 | "@typescript-eslint/types": "7.18.0", 807 | "@typescript-eslint/visitor-keys": "7.18.0", 808 | "debug": "^4.3.4", 809 | "globby": "^11.1.0", 810 | "is-glob": "^4.0.3", 811 | "minimatch": "^9.0.4", 812 | "semver": "^7.6.0", 813 | "ts-api-utils": "^1.3.0" 814 | }, 815 | "engines": { 816 | "node": "^18.18.0 || >=20.0.0" 817 | }, 818 | "funding": { 819 | "type": "opencollective", 820 | "url": "https://opencollective.com/typescript-eslint" 821 | }, 822 | "peerDependenciesMeta": { 823 | "typescript": { 824 | "optional": true 825 | } 826 | } 827 | }, 828 | "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { 829 | "version": "9.0.5", 830 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 831 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 832 | "dev": true, 833 | "dependencies": { 834 | "brace-expansion": "^2.0.1" 835 | }, 836 | "engines": { 837 | "node": ">=16 || 14 >=14.17" 838 | }, 839 | "funding": { 840 | "url": "https://github.com/sponsors/isaacs" 841 | } 842 | }, 843 | "node_modules/@typescript-eslint/utils": { 844 | "version": "7.18.0", 845 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", 846 | "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", 847 | "dev": true, 848 | "dependencies": { 849 | "@eslint-community/eslint-utils": "^4.4.0", 850 | "@typescript-eslint/scope-manager": "7.18.0", 851 | "@typescript-eslint/types": "7.18.0", 852 | "@typescript-eslint/typescript-estree": "7.18.0" 853 | }, 854 | "engines": { 855 | "node": "^18.18.0 || >=20.0.0" 856 | }, 857 | "funding": { 858 | "type": "opencollective", 859 | "url": "https://opencollective.com/typescript-eslint" 860 | }, 861 | "peerDependencies": { 862 | "eslint": "^8.56.0" 863 | } 864 | }, 865 | "node_modules/@typescript-eslint/visitor-keys": { 866 | "version": "7.18.0", 867 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", 868 | "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", 869 | "dev": true, 870 | "dependencies": { 871 | "@typescript-eslint/types": "7.18.0", 872 | "eslint-visitor-keys": "^3.4.3" 873 | }, 874 | "engines": { 875 | "node": "^18.18.0 || >=20.0.0" 876 | }, 877 | "funding": { 878 | "type": "opencollective", 879 | "url": "https://opencollective.com/typescript-eslint" 880 | } 881 | }, 882 | "node_modules/@ungap/structured-clone": { 883 | "version": "1.3.0", 884 | "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", 885 | "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", 886 | "dev": true 887 | }, 888 | "node_modules/acorn": { 889 | "version": "8.14.0", 890 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", 891 | "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", 892 | "dev": true, 893 | "bin": { 894 | "acorn": "bin/acorn" 895 | }, 896 | "engines": { 897 | "node": ">=0.4.0" 898 | } 899 | }, 900 | "node_modules/acorn-jsx": { 901 | "version": "5.3.2", 902 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 903 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 904 | "dev": true, 905 | "peerDependencies": { 906 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 907 | } 908 | }, 909 | "node_modules/ajv": { 910 | "version": "6.12.6", 911 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 912 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 913 | "dev": true, 914 | "dependencies": { 915 | "fast-deep-equal": "^3.1.1", 916 | "fast-json-stable-stringify": "^2.0.0", 917 | "json-schema-traverse": "^0.4.1", 918 | "uri-js": "^4.2.2" 919 | }, 920 | "funding": { 921 | "type": "github", 922 | "url": "https://github.com/sponsors/epoberezkin" 923 | } 924 | }, 925 | "node_modules/ansi-colors": { 926 | "version": "4.1.3", 927 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", 928 | "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", 929 | "dev": true, 930 | "engines": { 931 | "node": ">=6" 932 | } 933 | }, 934 | "node_modules/ansi-regex": { 935 | "version": "5.0.1", 936 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 937 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 938 | "dev": true, 939 | "engines": { 940 | "node": ">=8" 941 | } 942 | }, 943 | "node_modules/ansi-styles": { 944 | "version": "4.3.0", 945 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 946 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 947 | "dev": true, 948 | "dependencies": { 949 | "color-convert": "^2.0.1" 950 | }, 951 | "engines": { 952 | "node": ">=8" 953 | }, 954 | "funding": { 955 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 956 | } 957 | }, 958 | "node_modules/anymatch": { 959 | "version": "3.1.3", 960 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 961 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 962 | "dev": true, 963 | "dependencies": { 964 | "normalize-path": "^3.0.0", 965 | "picomatch": "^2.0.4" 966 | }, 967 | "engines": { 968 | "node": ">= 8" 969 | } 970 | }, 971 | "node_modules/argparse": { 972 | "version": "2.0.1", 973 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 974 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 975 | "dev": true 976 | }, 977 | "node_modules/array-union": { 978 | "version": "2.1.0", 979 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 980 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 981 | "dev": true, 982 | "engines": { 983 | "node": ">=8" 984 | } 985 | }, 986 | "node_modules/assertion-error": { 987 | "version": "2.0.1", 988 | "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", 989 | "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", 990 | "dev": true, 991 | "engines": { 992 | "node": ">=12" 993 | } 994 | }, 995 | "node_modules/balanced-match": { 996 | "version": "1.0.2", 997 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 998 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 999 | "dev": true 1000 | }, 1001 | "node_modules/base64-js": { 1002 | "version": "1.5.1", 1003 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 1004 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 1005 | "dev": true, 1006 | "funding": [ 1007 | { 1008 | "type": "github", 1009 | "url": "https://github.com/sponsors/feross" 1010 | }, 1011 | { 1012 | "type": "patreon", 1013 | "url": "https://www.patreon.com/feross" 1014 | }, 1015 | { 1016 | "type": "consulting", 1017 | "url": "https://feross.org/support" 1018 | } 1019 | ] 1020 | }, 1021 | "node_modules/binary-extensions": { 1022 | "version": "2.3.0", 1023 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", 1024 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", 1025 | "dev": true, 1026 | "engines": { 1027 | "node": ">=8" 1028 | }, 1029 | "funding": { 1030 | "url": "https://github.com/sponsors/sindresorhus" 1031 | } 1032 | }, 1033 | "node_modules/brace-expansion": { 1034 | "version": "2.0.1", 1035 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1036 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1037 | "dev": true, 1038 | "dependencies": { 1039 | "balanced-match": "^1.0.0" 1040 | } 1041 | }, 1042 | "node_modules/braces": { 1043 | "version": "3.0.3", 1044 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 1045 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 1046 | "dev": true, 1047 | "dependencies": { 1048 | "fill-range": "^7.1.1" 1049 | }, 1050 | "engines": { 1051 | "node": ">=8" 1052 | } 1053 | }, 1054 | "node_modules/browser-stdout": { 1055 | "version": "1.3.1", 1056 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 1057 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 1058 | "dev": true 1059 | }, 1060 | "node_modules/buffer": { 1061 | "version": "6.0.3", 1062 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", 1063 | "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", 1064 | "dev": true, 1065 | "funding": [ 1066 | { 1067 | "type": "github", 1068 | "url": "https://github.com/sponsors/feross" 1069 | }, 1070 | { 1071 | "type": "patreon", 1072 | "url": "https://www.patreon.com/feross" 1073 | }, 1074 | { 1075 | "type": "consulting", 1076 | "url": "https://feross.org/support" 1077 | } 1078 | ], 1079 | "dependencies": { 1080 | "base64-js": "^1.3.1", 1081 | "ieee754": "^1.2.1" 1082 | } 1083 | }, 1084 | "node_modules/callsites": { 1085 | "version": "3.1.0", 1086 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 1087 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 1088 | "dev": true, 1089 | "engines": { 1090 | "node": ">=6" 1091 | } 1092 | }, 1093 | "node_modules/camelcase": { 1094 | "version": "6.3.0", 1095 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 1096 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 1097 | "dev": true, 1098 | "engines": { 1099 | "node": ">=10" 1100 | }, 1101 | "funding": { 1102 | "url": "https://github.com/sponsors/sindresorhus" 1103 | } 1104 | }, 1105 | "node_modules/chai": { 1106 | "version": "5.1.1", 1107 | "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz", 1108 | "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==", 1109 | "dev": true, 1110 | "dependencies": { 1111 | "assertion-error": "^2.0.1", 1112 | "check-error": "^2.1.1", 1113 | "deep-eql": "^5.0.1", 1114 | "loupe": "^3.1.0", 1115 | "pathval": "^2.0.0" 1116 | }, 1117 | "engines": { 1118 | "node": ">=12" 1119 | } 1120 | }, 1121 | "node_modules/chalk": { 1122 | "version": "4.1.2", 1123 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1124 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1125 | "dev": true, 1126 | "dependencies": { 1127 | "ansi-styles": "^4.1.0", 1128 | "supports-color": "^7.1.0" 1129 | }, 1130 | "engines": { 1131 | "node": ">=10" 1132 | }, 1133 | "funding": { 1134 | "url": "https://github.com/chalk/chalk?sponsor=1" 1135 | } 1136 | }, 1137 | "node_modules/chalk/node_modules/supports-color": { 1138 | "version": "7.2.0", 1139 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1140 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1141 | "dev": true, 1142 | "dependencies": { 1143 | "has-flag": "^4.0.0" 1144 | }, 1145 | "engines": { 1146 | "node": ">=8" 1147 | } 1148 | }, 1149 | "node_modules/check-error": { 1150 | "version": "2.1.1", 1151 | "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", 1152 | "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", 1153 | "dev": true, 1154 | "engines": { 1155 | "node": ">= 16" 1156 | } 1157 | }, 1158 | "node_modules/chokidar": { 1159 | "version": "3.6.0", 1160 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", 1161 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", 1162 | "dev": true, 1163 | "dependencies": { 1164 | "anymatch": "~3.1.2", 1165 | "braces": "~3.0.2", 1166 | "glob-parent": "~5.1.2", 1167 | "is-binary-path": "~2.1.0", 1168 | "is-glob": "~4.0.1", 1169 | "normalize-path": "~3.0.0", 1170 | "readdirp": "~3.6.0" 1171 | }, 1172 | "engines": { 1173 | "node": ">= 8.10.0" 1174 | }, 1175 | "funding": { 1176 | "url": "https://paulmillr.com/funding/" 1177 | }, 1178 | "optionalDependencies": { 1179 | "fsevents": "~2.3.2" 1180 | } 1181 | }, 1182 | "node_modules/cliui": { 1183 | "version": "7.0.4", 1184 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 1185 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 1186 | "dev": true, 1187 | "dependencies": { 1188 | "string-width": "^4.2.0", 1189 | "strip-ansi": "^6.0.0", 1190 | "wrap-ansi": "^7.0.0" 1191 | } 1192 | }, 1193 | "node_modules/color-convert": { 1194 | "version": "2.0.1", 1195 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1196 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1197 | "dev": true, 1198 | "dependencies": { 1199 | "color-name": "~1.1.4" 1200 | }, 1201 | "engines": { 1202 | "node": ">=7.0.0" 1203 | } 1204 | }, 1205 | "node_modules/color-name": { 1206 | "version": "1.1.4", 1207 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1208 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1209 | "dev": true 1210 | }, 1211 | "node_modules/concat-map": { 1212 | "version": "0.0.1", 1213 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1214 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 1215 | "dev": true 1216 | }, 1217 | "node_modules/confusing-browser-globals": { 1218 | "version": "1.0.11", 1219 | "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", 1220 | "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", 1221 | "dev": true 1222 | }, 1223 | "node_modules/cross-spawn": { 1224 | "version": "7.0.6", 1225 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", 1226 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", 1227 | "dev": true, 1228 | "dependencies": { 1229 | "path-key": "^3.1.0", 1230 | "shebang-command": "^2.0.0", 1231 | "which": "^2.0.1" 1232 | }, 1233 | "engines": { 1234 | "node": ">= 8" 1235 | } 1236 | }, 1237 | "node_modules/debug": { 1238 | "version": "4.3.6", 1239 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", 1240 | "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", 1241 | "dev": true, 1242 | "dependencies": { 1243 | "ms": "2.1.2" 1244 | }, 1245 | "engines": { 1246 | "node": ">=6.0" 1247 | }, 1248 | "peerDependenciesMeta": { 1249 | "supports-color": { 1250 | "optional": true 1251 | } 1252 | } 1253 | }, 1254 | "node_modules/debug/node_modules/ms": { 1255 | "version": "2.1.2", 1256 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1257 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1258 | "dev": true 1259 | }, 1260 | "node_modules/decamelize": { 1261 | "version": "4.0.0", 1262 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 1263 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 1264 | "dev": true, 1265 | "engines": { 1266 | "node": ">=10" 1267 | }, 1268 | "funding": { 1269 | "url": "https://github.com/sponsors/sindresorhus" 1270 | } 1271 | }, 1272 | "node_modules/deep-eql": { 1273 | "version": "5.0.2", 1274 | "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", 1275 | "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", 1276 | "dev": true, 1277 | "engines": { 1278 | "node": ">=6" 1279 | } 1280 | }, 1281 | "node_modules/deep-is": { 1282 | "version": "0.1.4", 1283 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 1284 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 1285 | "dev": true 1286 | }, 1287 | "node_modules/detect-libc": { 1288 | "version": "2.0.3", 1289 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", 1290 | "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", 1291 | "optional": true, 1292 | "engines": { 1293 | "node": ">=8" 1294 | } 1295 | }, 1296 | "node_modules/diff": { 1297 | "version": "5.2.0", 1298 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", 1299 | "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", 1300 | "dev": true, 1301 | "engines": { 1302 | "node": ">=0.3.1" 1303 | } 1304 | }, 1305 | "node_modules/dir-glob": { 1306 | "version": "3.0.1", 1307 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 1308 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 1309 | "dev": true, 1310 | "dependencies": { 1311 | "path-type": "^4.0.0" 1312 | }, 1313 | "engines": { 1314 | "node": ">=8" 1315 | } 1316 | }, 1317 | "node_modules/doctrine": { 1318 | "version": "3.0.0", 1319 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 1320 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 1321 | "dev": true, 1322 | "dependencies": { 1323 | "esutils": "^2.0.2" 1324 | }, 1325 | "engines": { 1326 | "node": ">=6.0.0" 1327 | } 1328 | }, 1329 | "node_modules/ee-typed": { 1330 | "version": "0.1.1", 1331 | "resolved": "https://registry.npmjs.org/ee-typed/-/ee-typed-0.1.1.tgz", 1332 | "integrity": "sha512-atfgRdyoqK/QOY7dqv4jwAi7th45DDX2zRjGgLR8zRgJy7QSLyoS6aI1jZbKf/VIrXy9YTpHFCr8Mzxj//a/KA==", 1333 | "license": "MIT", 1334 | "dependencies": { 1335 | "@types/node": "^20.14.2", 1336 | "typed-emitter": "^2.1.0" 1337 | } 1338 | }, 1339 | "node_modules/emoji-regex": { 1340 | "version": "8.0.0", 1341 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1342 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 1343 | "dev": true 1344 | }, 1345 | "node_modules/emp-wasm": { 1346 | "version": "0.1.8", 1347 | "resolved": "https://registry.npmjs.org/emp-wasm/-/emp-wasm-0.1.8.tgz", 1348 | "integrity": "sha512-qjWXF1ewt3N+h3xxT50z8iSMjutis+BGLs55ZA0cPY6SAGIzofyOfpDrxdYAn7iq0ExUZqkxqO553D6e/+ny5g==", 1349 | "dev": true, 1350 | "license": "MIT", 1351 | "dependencies": { 1352 | "ee-typed": "^0.1.1", 1353 | "events": "^3.3.0" 1354 | } 1355 | }, 1356 | "node_modules/emp-wasm-backend": { 1357 | "version": "0.2.1", 1358 | "resolved": "https://registry.npmjs.org/emp-wasm-backend/-/emp-wasm-backend-0.2.1.tgz", 1359 | "integrity": "sha512-Ou6/R4jwnAu/1WNGy9AOG6Vy0DXpvWEtex5+qRnA+oG6U4Pqp9amBnOexS2r7fLEWgiG4rhWXuUqBJKBv3RX0w==", 1360 | "dev": true, 1361 | "license": "MIT", 1362 | "dependencies": { 1363 | "emp-wasm": "^0.1.8", 1364 | "mpc-framework-common": "^0.1.1", 1365 | "msgpackr": "^1.11.0", 1366 | "sha3": "^2.1.4" 1367 | } 1368 | }, 1369 | "node_modules/emp-wasm-backend/node_modules/mpc-framework-common": { 1370 | "version": "0.1.1", 1371 | "resolved": "https://registry.npmjs.org/mpc-framework-common/-/mpc-framework-common-0.1.1.tgz", 1372 | "integrity": "sha512-D+o1vSdFPl9v55c0kgM2dGcUR0IZQn3teeQHA5pWiwjokbMt7uiNHHqQKyrzsY2Y4TfBbVKjnS9yjM6szIO5Ng==", 1373 | "dev": true, 1374 | "license": "MIT" 1375 | }, 1376 | "node_modules/esbuild": { 1377 | "version": "0.21.5", 1378 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", 1379 | "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", 1380 | "dev": true, 1381 | "hasInstallScript": true, 1382 | "bin": { 1383 | "esbuild": "bin/esbuild" 1384 | }, 1385 | "engines": { 1386 | "node": ">=12" 1387 | }, 1388 | "optionalDependencies": { 1389 | "@esbuild/aix-ppc64": "0.21.5", 1390 | "@esbuild/android-arm": "0.21.5", 1391 | "@esbuild/android-arm64": "0.21.5", 1392 | "@esbuild/android-x64": "0.21.5", 1393 | "@esbuild/darwin-arm64": "0.21.5", 1394 | "@esbuild/darwin-x64": "0.21.5", 1395 | "@esbuild/freebsd-arm64": "0.21.5", 1396 | "@esbuild/freebsd-x64": "0.21.5", 1397 | "@esbuild/linux-arm": "0.21.5", 1398 | "@esbuild/linux-arm64": "0.21.5", 1399 | "@esbuild/linux-ia32": "0.21.5", 1400 | "@esbuild/linux-loong64": "0.21.5", 1401 | "@esbuild/linux-mips64el": "0.21.5", 1402 | "@esbuild/linux-ppc64": "0.21.5", 1403 | "@esbuild/linux-riscv64": "0.21.5", 1404 | "@esbuild/linux-s390x": "0.21.5", 1405 | "@esbuild/linux-x64": "0.21.5", 1406 | "@esbuild/netbsd-x64": "0.21.5", 1407 | "@esbuild/openbsd-x64": "0.21.5", 1408 | "@esbuild/sunos-x64": "0.21.5", 1409 | "@esbuild/win32-arm64": "0.21.5", 1410 | "@esbuild/win32-ia32": "0.21.5", 1411 | "@esbuild/win32-x64": "0.21.5" 1412 | } 1413 | }, 1414 | "node_modules/escalade": { 1415 | "version": "3.1.2", 1416 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", 1417 | "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", 1418 | "dev": true, 1419 | "engines": { 1420 | "node": ">=6" 1421 | } 1422 | }, 1423 | "node_modules/escape-string-regexp": { 1424 | "version": "4.0.0", 1425 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 1426 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 1427 | "dev": true, 1428 | "engines": { 1429 | "node": ">=10" 1430 | }, 1431 | "funding": { 1432 | "url": "https://github.com/sponsors/sindresorhus" 1433 | } 1434 | }, 1435 | "node_modules/eslint": { 1436 | "version": "8.57.1", 1437 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", 1438 | "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", 1439 | "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", 1440 | "dev": true, 1441 | "dependencies": { 1442 | "@eslint-community/eslint-utils": "^4.2.0", 1443 | "@eslint-community/regexpp": "^4.6.1", 1444 | "@eslint/eslintrc": "^2.1.4", 1445 | "@eslint/js": "8.57.1", 1446 | "@humanwhocodes/config-array": "^0.13.0", 1447 | "@humanwhocodes/module-importer": "^1.0.1", 1448 | "@nodelib/fs.walk": "^1.2.8", 1449 | "@ungap/structured-clone": "^1.2.0", 1450 | "ajv": "^6.12.4", 1451 | "chalk": "^4.0.0", 1452 | "cross-spawn": "^7.0.2", 1453 | "debug": "^4.3.2", 1454 | "doctrine": "^3.0.0", 1455 | "escape-string-regexp": "^4.0.0", 1456 | "eslint-scope": "^7.2.2", 1457 | "eslint-visitor-keys": "^3.4.3", 1458 | "espree": "^9.6.1", 1459 | "esquery": "^1.4.2", 1460 | "esutils": "^2.0.2", 1461 | "fast-deep-equal": "^3.1.3", 1462 | "file-entry-cache": "^6.0.1", 1463 | "find-up": "^5.0.0", 1464 | "glob-parent": "^6.0.2", 1465 | "globals": "^13.19.0", 1466 | "graphemer": "^1.4.0", 1467 | "ignore": "^5.2.0", 1468 | "imurmurhash": "^0.1.4", 1469 | "is-glob": "^4.0.0", 1470 | "is-path-inside": "^3.0.3", 1471 | "js-yaml": "^4.1.0", 1472 | "json-stable-stringify-without-jsonify": "^1.0.1", 1473 | "levn": "^0.4.1", 1474 | "lodash.merge": "^4.6.2", 1475 | "minimatch": "^3.1.2", 1476 | "natural-compare": "^1.4.0", 1477 | "optionator": "^0.9.3", 1478 | "strip-ansi": "^6.0.1", 1479 | "text-table": "^0.2.0" 1480 | }, 1481 | "bin": { 1482 | "eslint": "bin/eslint.js" 1483 | }, 1484 | "engines": { 1485 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1486 | }, 1487 | "funding": { 1488 | "url": "https://opencollective.com/eslint" 1489 | } 1490 | }, 1491 | "node_modules/eslint-config-prettier": { 1492 | "version": "10.0.1", 1493 | "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.0.1.tgz", 1494 | "integrity": "sha512-lZBts941cyJyeaooiKxAtzoPHTN+GbQTJFAIdQbRhA4/8whaAraEh47Whw/ZFfrjNSnlAxqfm9i0XVAEkULjCw==", 1495 | "dev": true, 1496 | "bin": { 1497 | "eslint-config-prettier": "build/bin/cli.js" 1498 | }, 1499 | "peerDependencies": { 1500 | "eslint": ">=7.0.0" 1501 | } 1502 | }, 1503 | "node_modules/eslint-config-xo": { 1504 | "version": "0.44.0", 1505 | "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.44.0.tgz", 1506 | "integrity": "sha512-YG4gdaor0mJJi8UBeRJqDPO42MedTWYMaUyucF5bhm2pi/HS98JIxfFQmTLuyj6hGpQlAazNfyVnn7JuDn+Sew==", 1507 | "dev": true, 1508 | "dependencies": { 1509 | "confusing-browser-globals": "1.0.11" 1510 | }, 1511 | "engines": { 1512 | "node": ">=18" 1513 | }, 1514 | "funding": { 1515 | "url": "https://github.com/sponsors/sindresorhus" 1516 | }, 1517 | "peerDependencies": { 1518 | "eslint": ">=8.56.0" 1519 | } 1520 | }, 1521 | "node_modules/eslint-plugin-prettier": { 1522 | "version": "5.2.3", 1523 | "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.3.tgz", 1524 | "integrity": "sha512-qJ+y0FfCp/mQYQ/vWQ3s7eUlFEL4PyKfAJxsnYTJ4YT73nsJBWqmEpFryxV9OeUiqmsTsYJ5Y+KDNaeP31wrRw==", 1525 | "dev": true, 1526 | "dependencies": { 1527 | "prettier-linter-helpers": "^1.0.0", 1528 | "synckit": "^0.9.1" 1529 | }, 1530 | "engines": { 1531 | "node": "^14.18.0 || >=16.0.0" 1532 | }, 1533 | "funding": { 1534 | "url": "https://opencollective.com/eslint-plugin-prettier" 1535 | }, 1536 | "peerDependencies": { 1537 | "@types/eslint": ">=8.0.0", 1538 | "eslint": ">=8.0.0", 1539 | "eslint-config-prettier": "*", 1540 | "prettier": ">=3.0.0" 1541 | }, 1542 | "peerDependenciesMeta": { 1543 | "@types/eslint": { 1544 | "optional": true 1545 | }, 1546 | "eslint-config-prettier": { 1547 | "optional": true 1548 | } 1549 | } 1550 | }, 1551 | "node_modules/eslint-plugin-react-hooks": { 1552 | "version": "4.6.2", 1553 | "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", 1554 | "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", 1555 | "dev": true, 1556 | "engines": { 1557 | "node": ">=10" 1558 | }, 1559 | "peerDependencies": { 1560 | "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" 1561 | } 1562 | }, 1563 | "node_modules/eslint-plugin-react-refresh": { 1564 | "version": "0.4.19", 1565 | "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.19.tgz", 1566 | "integrity": "sha512-eyy8pcr/YxSYjBoqIFSrlbn9i/xvxUFa8CjzAYo9cFjgGXqq1hyjihcpZvxRLalpaWmueWR81xn7vuKmAFijDQ==", 1567 | "dev": true, 1568 | "peerDependencies": { 1569 | "eslint": ">=8.40" 1570 | } 1571 | }, 1572 | "node_modules/eslint-scope": { 1573 | "version": "7.2.2", 1574 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 1575 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 1576 | "dev": true, 1577 | "dependencies": { 1578 | "esrecurse": "^4.3.0", 1579 | "estraverse": "^5.2.0" 1580 | }, 1581 | "engines": { 1582 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1583 | }, 1584 | "funding": { 1585 | "url": "https://opencollective.com/eslint" 1586 | } 1587 | }, 1588 | "node_modules/eslint-visitor-keys": { 1589 | "version": "3.4.3", 1590 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 1591 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 1592 | "dev": true, 1593 | "engines": { 1594 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1595 | }, 1596 | "funding": { 1597 | "url": "https://opencollective.com/eslint" 1598 | } 1599 | }, 1600 | "node_modules/eslint/node_modules/brace-expansion": { 1601 | "version": "1.1.11", 1602 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1603 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1604 | "dev": true, 1605 | "dependencies": { 1606 | "balanced-match": "^1.0.0", 1607 | "concat-map": "0.0.1" 1608 | } 1609 | }, 1610 | "node_modules/eslint/node_modules/glob-parent": { 1611 | "version": "6.0.2", 1612 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1613 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1614 | "dev": true, 1615 | "dependencies": { 1616 | "is-glob": "^4.0.3" 1617 | }, 1618 | "engines": { 1619 | "node": ">=10.13.0" 1620 | } 1621 | }, 1622 | "node_modules/eslint/node_modules/minimatch": { 1623 | "version": "3.1.2", 1624 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1625 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1626 | "dev": true, 1627 | "dependencies": { 1628 | "brace-expansion": "^1.1.7" 1629 | }, 1630 | "engines": { 1631 | "node": "*" 1632 | } 1633 | }, 1634 | "node_modules/espree": { 1635 | "version": "9.6.1", 1636 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 1637 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 1638 | "dev": true, 1639 | "dependencies": { 1640 | "acorn": "^8.9.0", 1641 | "acorn-jsx": "^5.3.2", 1642 | "eslint-visitor-keys": "^3.4.1" 1643 | }, 1644 | "engines": { 1645 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1646 | }, 1647 | "funding": { 1648 | "url": "https://opencollective.com/eslint" 1649 | } 1650 | }, 1651 | "node_modules/esquery": { 1652 | "version": "1.6.0", 1653 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", 1654 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", 1655 | "dev": true, 1656 | "dependencies": { 1657 | "estraverse": "^5.1.0" 1658 | }, 1659 | "engines": { 1660 | "node": ">=0.10" 1661 | } 1662 | }, 1663 | "node_modules/esrecurse": { 1664 | "version": "4.3.0", 1665 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 1666 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 1667 | "dev": true, 1668 | "dependencies": { 1669 | "estraverse": "^5.2.0" 1670 | }, 1671 | "engines": { 1672 | "node": ">=4.0" 1673 | } 1674 | }, 1675 | "node_modules/estraverse": { 1676 | "version": "5.3.0", 1677 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1678 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1679 | "dev": true, 1680 | "engines": { 1681 | "node": ">=4.0" 1682 | } 1683 | }, 1684 | "node_modules/esutils": { 1685 | "version": "2.0.3", 1686 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1687 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1688 | "dev": true, 1689 | "engines": { 1690 | "node": ">=0.10.0" 1691 | } 1692 | }, 1693 | "node_modules/events": { 1694 | "version": "3.3.0", 1695 | "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", 1696 | "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", 1697 | "dev": true, 1698 | "license": "MIT", 1699 | "engines": { 1700 | "node": ">=0.8.x" 1701 | } 1702 | }, 1703 | "node_modules/fast-deep-equal": { 1704 | "version": "3.1.3", 1705 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1706 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1707 | "dev": true 1708 | }, 1709 | "node_modules/fast-diff": { 1710 | "version": "1.3.0", 1711 | "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", 1712 | "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", 1713 | "dev": true 1714 | }, 1715 | "node_modules/fast-glob": { 1716 | "version": "3.3.3", 1717 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", 1718 | "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", 1719 | "dev": true, 1720 | "dependencies": { 1721 | "@nodelib/fs.stat": "^2.0.2", 1722 | "@nodelib/fs.walk": "^1.2.3", 1723 | "glob-parent": "^5.1.2", 1724 | "merge2": "^1.3.0", 1725 | "micromatch": "^4.0.8" 1726 | }, 1727 | "engines": { 1728 | "node": ">=8.6.0" 1729 | } 1730 | }, 1731 | "node_modules/fast-json-stable-stringify": { 1732 | "version": "2.1.0", 1733 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1734 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1735 | "dev": true 1736 | }, 1737 | "node_modules/fast-levenshtein": { 1738 | "version": "2.0.6", 1739 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1740 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 1741 | "dev": true 1742 | }, 1743 | "node_modules/fastq": { 1744 | "version": "1.19.0", 1745 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.0.tgz", 1746 | "integrity": "sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==", 1747 | "dev": true, 1748 | "dependencies": { 1749 | "reusify": "^1.0.4" 1750 | } 1751 | }, 1752 | "node_modules/file-entry-cache": { 1753 | "version": "6.0.1", 1754 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1755 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1756 | "dev": true, 1757 | "dependencies": { 1758 | "flat-cache": "^3.0.4" 1759 | }, 1760 | "engines": { 1761 | "node": "^10.12.0 || >=12.0.0" 1762 | } 1763 | }, 1764 | "node_modules/fill-range": { 1765 | "version": "7.1.1", 1766 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1767 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1768 | "dev": true, 1769 | "dependencies": { 1770 | "to-regex-range": "^5.0.1" 1771 | }, 1772 | "engines": { 1773 | "node": ">=8" 1774 | } 1775 | }, 1776 | "node_modules/find-up": { 1777 | "version": "5.0.0", 1778 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1779 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1780 | "dev": true, 1781 | "dependencies": { 1782 | "locate-path": "^6.0.0", 1783 | "path-exists": "^4.0.0" 1784 | }, 1785 | "engines": { 1786 | "node": ">=10" 1787 | }, 1788 | "funding": { 1789 | "url": "https://github.com/sponsors/sindresorhus" 1790 | } 1791 | }, 1792 | "node_modules/flat": { 1793 | "version": "5.0.2", 1794 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 1795 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 1796 | "dev": true, 1797 | "bin": { 1798 | "flat": "cli.js" 1799 | } 1800 | }, 1801 | "node_modules/flat-cache": { 1802 | "version": "3.2.0", 1803 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", 1804 | "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", 1805 | "dev": true, 1806 | "dependencies": { 1807 | "flatted": "^3.2.9", 1808 | "keyv": "^4.5.3", 1809 | "rimraf": "^3.0.2" 1810 | }, 1811 | "engines": { 1812 | "node": "^10.12.0 || >=12.0.0" 1813 | } 1814 | }, 1815 | "node_modules/flatted": { 1816 | "version": "3.3.2", 1817 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", 1818 | "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", 1819 | "dev": true 1820 | }, 1821 | "node_modules/fs.realpath": { 1822 | "version": "1.0.0", 1823 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1824 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1825 | "dev": true 1826 | }, 1827 | "node_modules/fsevents": { 1828 | "version": "2.3.3", 1829 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 1830 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 1831 | "dev": true, 1832 | "hasInstallScript": true, 1833 | "optional": true, 1834 | "os": [ 1835 | "darwin" 1836 | ], 1837 | "engines": { 1838 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 1839 | } 1840 | }, 1841 | "node_modules/get-caller-file": { 1842 | "version": "2.0.5", 1843 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1844 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 1845 | "dev": true, 1846 | "engines": { 1847 | "node": "6.* || 8.* || >= 10.*" 1848 | } 1849 | }, 1850 | "node_modules/get-func-name": { 1851 | "version": "2.0.2", 1852 | "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", 1853 | "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", 1854 | "dev": true, 1855 | "engines": { 1856 | "node": "*" 1857 | } 1858 | }, 1859 | "node_modules/get-tsconfig": { 1860 | "version": "4.7.6", 1861 | "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.6.tgz", 1862 | "integrity": "sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==", 1863 | "dev": true, 1864 | "dependencies": { 1865 | "resolve-pkg-maps": "^1.0.0" 1866 | }, 1867 | "funding": { 1868 | "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" 1869 | } 1870 | }, 1871 | "node_modules/glob": { 1872 | "version": "8.1.0", 1873 | "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", 1874 | "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", 1875 | "deprecated": "Glob versions prior to v9 are no longer supported", 1876 | "dev": true, 1877 | "dependencies": { 1878 | "fs.realpath": "^1.0.0", 1879 | "inflight": "^1.0.4", 1880 | "inherits": "2", 1881 | "minimatch": "^5.0.1", 1882 | "once": "^1.3.0" 1883 | }, 1884 | "engines": { 1885 | "node": ">=12" 1886 | }, 1887 | "funding": { 1888 | "url": "https://github.com/sponsors/isaacs" 1889 | } 1890 | }, 1891 | "node_modules/glob-parent": { 1892 | "version": "5.1.2", 1893 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1894 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1895 | "dev": true, 1896 | "dependencies": { 1897 | "is-glob": "^4.0.1" 1898 | }, 1899 | "engines": { 1900 | "node": ">= 6" 1901 | } 1902 | }, 1903 | "node_modules/globals": { 1904 | "version": "13.24.0", 1905 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", 1906 | "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", 1907 | "dev": true, 1908 | "dependencies": { 1909 | "type-fest": "^0.20.2" 1910 | }, 1911 | "engines": { 1912 | "node": ">=8" 1913 | }, 1914 | "funding": { 1915 | "url": "https://github.com/sponsors/sindresorhus" 1916 | } 1917 | }, 1918 | "node_modules/globby": { 1919 | "version": "11.1.0", 1920 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 1921 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 1922 | "dev": true, 1923 | "dependencies": { 1924 | "array-union": "^2.1.0", 1925 | "dir-glob": "^3.0.1", 1926 | "fast-glob": "^3.2.9", 1927 | "ignore": "^5.2.0", 1928 | "merge2": "^1.4.1", 1929 | "slash": "^3.0.0" 1930 | }, 1931 | "engines": { 1932 | "node": ">=10" 1933 | }, 1934 | "funding": { 1935 | "url": "https://github.com/sponsors/sindresorhus" 1936 | } 1937 | }, 1938 | "node_modules/graphemer": { 1939 | "version": "1.4.0", 1940 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 1941 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 1942 | "dev": true 1943 | }, 1944 | "node_modules/has-flag": { 1945 | "version": "4.0.0", 1946 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1947 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1948 | "dev": true, 1949 | "engines": { 1950 | "node": ">=8" 1951 | } 1952 | }, 1953 | "node_modules/he": { 1954 | "version": "1.2.0", 1955 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 1956 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 1957 | "dev": true, 1958 | "bin": { 1959 | "he": "bin/he" 1960 | } 1961 | }, 1962 | "node_modules/ieee754": { 1963 | "version": "1.2.1", 1964 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1965 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 1966 | "dev": true, 1967 | "funding": [ 1968 | { 1969 | "type": "github", 1970 | "url": "https://github.com/sponsors/feross" 1971 | }, 1972 | { 1973 | "type": "patreon", 1974 | "url": "https://www.patreon.com/feross" 1975 | }, 1976 | { 1977 | "type": "consulting", 1978 | "url": "https://feross.org/support" 1979 | } 1980 | ] 1981 | }, 1982 | "node_modules/ignore": { 1983 | "version": "5.3.2", 1984 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", 1985 | "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", 1986 | "dev": true, 1987 | "engines": { 1988 | "node": ">= 4" 1989 | } 1990 | }, 1991 | "node_modules/import-fresh": { 1992 | "version": "3.3.1", 1993 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", 1994 | "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", 1995 | "dev": true, 1996 | "dependencies": { 1997 | "parent-module": "^1.0.0", 1998 | "resolve-from": "^4.0.0" 1999 | }, 2000 | "engines": { 2001 | "node": ">=6" 2002 | }, 2003 | "funding": { 2004 | "url": "https://github.com/sponsors/sindresorhus" 2005 | } 2006 | }, 2007 | "node_modules/imurmurhash": { 2008 | "version": "0.1.4", 2009 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 2010 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 2011 | "dev": true, 2012 | "engines": { 2013 | "node": ">=0.8.19" 2014 | } 2015 | }, 2016 | "node_modules/inflight": { 2017 | "version": "1.0.6", 2018 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2019 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 2020 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 2021 | "dev": true, 2022 | "dependencies": { 2023 | "once": "^1.3.0", 2024 | "wrappy": "1" 2025 | } 2026 | }, 2027 | "node_modules/inherits": { 2028 | "version": "2.0.4", 2029 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2030 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 2031 | "dev": true 2032 | }, 2033 | "node_modules/is-binary-path": { 2034 | "version": "2.1.0", 2035 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 2036 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 2037 | "dev": true, 2038 | "dependencies": { 2039 | "binary-extensions": "^2.0.0" 2040 | }, 2041 | "engines": { 2042 | "node": ">=8" 2043 | } 2044 | }, 2045 | "node_modules/is-extglob": { 2046 | "version": "2.1.1", 2047 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 2048 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 2049 | "dev": true, 2050 | "engines": { 2051 | "node": ">=0.10.0" 2052 | } 2053 | }, 2054 | "node_modules/is-fullwidth-code-point": { 2055 | "version": "3.0.0", 2056 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2057 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2058 | "dev": true, 2059 | "engines": { 2060 | "node": ">=8" 2061 | } 2062 | }, 2063 | "node_modules/is-glob": { 2064 | "version": "4.0.3", 2065 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 2066 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 2067 | "dev": true, 2068 | "dependencies": { 2069 | "is-extglob": "^2.1.1" 2070 | }, 2071 | "engines": { 2072 | "node": ">=0.10.0" 2073 | } 2074 | }, 2075 | "node_modules/is-number": { 2076 | "version": "7.0.0", 2077 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2078 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 2079 | "dev": true, 2080 | "engines": { 2081 | "node": ">=0.12.0" 2082 | } 2083 | }, 2084 | "node_modules/is-path-inside": { 2085 | "version": "3.0.3", 2086 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 2087 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 2088 | "dev": true, 2089 | "engines": { 2090 | "node": ">=8" 2091 | } 2092 | }, 2093 | "node_modules/is-plain-obj": { 2094 | "version": "2.1.0", 2095 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 2096 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 2097 | "dev": true, 2098 | "engines": { 2099 | "node": ">=8" 2100 | } 2101 | }, 2102 | "node_modules/is-unicode-supported": { 2103 | "version": "0.1.0", 2104 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 2105 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 2106 | "dev": true, 2107 | "engines": { 2108 | "node": ">=10" 2109 | }, 2110 | "funding": { 2111 | "url": "https://github.com/sponsors/sindresorhus" 2112 | } 2113 | }, 2114 | "node_modules/isexe": { 2115 | "version": "2.0.0", 2116 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 2117 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 2118 | "dev": true 2119 | }, 2120 | "node_modules/js-yaml": { 2121 | "version": "4.1.0", 2122 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 2123 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 2124 | "dev": true, 2125 | "dependencies": { 2126 | "argparse": "^2.0.1" 2127 | }, 2128 | "bin": { 2129 | "js-yaml": "bin/js-yaml.js" 2130 | } 2131 | }, 2132 | "node_modules/json-buffer": { 2133 | "version": "3.0.1", 2134 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", 2135 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", 2136 | "dev": true 2137 | }, 2138 | "node_modules/json-schema-traverse": { 2139 | "version": "0.4.1", 2140 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 2141 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 2142 | "dev": true 2143 | }, 2144 | "node_modules/json-stable-stringify-without-jsonify": { 2145 | "version": "1.0.1", 2146 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 2147 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 2148 | "dev": true 2149 | }, 2150 | "node_modules/keyv": { 2151 | "version": "4.5.4", 2152 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", 2153 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", 2154 | "dev": true, 2155 | "dependencies": { 2156 | "json-buffer": "3.0.1" 2157 | } 2158 | }, 2159 | "node_modules/levn": { 2160 | "version": "0.4.1", 2161 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 2162 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 2163 | "dev": true, 2164 | "dependencies": { 2165 | "prelude-ls": "^1.2.1", 2166 | "type-check": "~0.4.0" 2167 | }, 2168 | "engines": { 2169 | "node": ">= 0.8.0" 2170 | } 2171 | }, 2172 | "node_modules/locate-path": { 2173 | "version": "6.0.0", 2174 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 2175 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 2176 | "dev": true, 2177 | "dependencies": { 2178 | "p-locate": "^5.0.0" 2179 | }, 2180 | "engines": { 2181 | "node": ">=10" 2182 | }, 2183 | "funding": { 2184 | "url": "https://github.com/sponsors/sindresorhus" 2185 | } 2186 | }, 2187 | "node_modules/lodash.merge": { 2188 | "version": "4.6.2", 2189 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 2190 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 2191 | "dev": true 2192 | }, 2193 | "node_modules/log-symbols": { 2194 | "version": "4.1.0", 2195 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 2196 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 2197 | "dev": true, 2198 | "dependencies": { 2199 | "chalk": "^4.1.0", 2200 | "is-unicode-supported": "^0.1.0" 2201 | }, 2202 | "engines": { 2203 | "node": ">=10" 2204 | }, 2205 | "funding": { 2206 | "url": "https://github.com/sponsors/sindresorhus" 2207 | } 2208 | }, 2209 | "node_modules/loupe": { 2210 | "version": "3.1.1", 2211 | "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.1.tgz", 2212 | "integrity": "sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==", 2213 | "dev": true, 2214 | "dependencies": { 2215 | "get-func-name": "^2.0.1" 2216 | } 2217 | }, 2218 | "node_modules/merge2": { 2219 | "version": "1.4.1", 2220 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 2221 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 2222 | "dev": true, 2223 | "engines": { 2224 | "node": ">= 8" 2225 | } 2226 | }, 2227 | "node_modules/micromatch": { 2228 | "version": "4.0.8", 2229 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", 2230 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", 2231 | "dev": true, 2232 | "dependencies": { 2233 | "braces": "^3.0.3", 2234 | "picomatch": "^2.3.1" 2235 | }, 2236 | "engines": { 2237 | "node": ">=8.6" 2238 | } 2239 | }, 2240 | "node_modules/minimatch": { 2241 | "version": "5.1.6", 2242 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", 2243 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", 2244 | "dev": true, 2245 | "dependencies": { 2246 | "brace-expansion": "^2.0.1" 2247 | }, 2248 | "engines": { 2249 | "node": ">=10" 2250 | } 2251 | }, 2252 | "node_modules/mocha": { 2253 | "version": "10.7.0", 2254 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", 2255 | "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", 2256 | "dev": true, 2257 | "dependencies": { 2258 | "ansi-colors": "^4.1.3", 2259 | "browser-stdout": "^1.3.1", 2260 | "chokidar": "^3.5.3", 2261 | "debug": "^4.3.5", 2262 | "diff": "^5.2.0", 2263 | "escape-string-regexp": "^4.0.0", 2264 | "find-up": "^5.0.0", 2265 | "glob": "^8.1.0", 2266 | "he": "^1.2.0", 2267 | "js-yaml": "^4.1.0", 2268 | "log-symbols": "^4.1.0", 2269 | "minimatch": "^5.1.6", 2270 | "ms": "^2.1.3", 2271 | "serialize-javascript": "^6.0.2", 2272 | "strip-json-comments": "^3.1.1", 2273 | "supports-color": "^8.1.1", 2274 | "workerpool": "^6.5.1", 2275 | "yargs": "^16.2.0", 2276 | "yargs-parser": "^20.2.9", 2277 | "yargs-unparser": "^2.0.0" 2278 | }, 2279 | "bin": { 2280 | "_mocha": "bin/_mocha", 2281 | "mocha": "bin/mocha.js" 2282 | }, 2283 | "engines": { 2284 | "node": ">= 14.0.0" 2285 | } 2286 | }, 2287 | "node_modules/mpc-framework-common": { 2288 | "version": "0.3.0", 2289 | "resolved": "https://registry.npmjs.org/mpc-framework-common/-/mpc-framework-common-0.3.0.tgz", 2290 | "integrity": "sha512-LHKnvcUyVx3Ct3rUJNmkOegApRXl7NtR2Ezi+PbJCqkTdwOca3K8F7JgMOhXyvIqtRW62biETIYWordzCeDVBw==", 2291 | "license": "MIT" 2292 | }, 2293 | "node_modules/ms": { 2294 | "version": "2.1.3", 2295 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2296 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2297 | "dev": true 2298 | }, 2299 | "node_modules/msgpackr": { 2300 | "version": "1.11.0", 2301 | "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.0.tgz", 2302 | "integrity": "sha512-I8qXuuALqJe5laEBYoFykChhSXLikZmUhccjGsPuSJ/7uPip2TJ7lwdIQwWSAi0jGZDXv4WOP8Qg65QZRuXxXw==", 2303 | "optionalDependencies": { 2304 | "msgpackr-extract": "^3.0.2" 2305 | } 2306 | }, 2307 | "node_modules/msgpackr-extract": { 2308 | "version": "3.0.3", 2309 | "resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz", 2310 | "integrity": "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==", 2311 | "hasInstallScript": true, 2312 | "optional": true, 2313 | "dependencies": { 2314 | "node-gyp-build-optional-packages": "5.2.2" 2315 | }, 2316 | "bin": { 2317 | "download-msgpackr-prebuilds": "bin/download-prebuilds.js" 2318 | }, 2319 | "optionalDependencies": { 2320 | "@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3", 2321 | "@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3", 2322 | "@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3", 2323 | "@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3", 2324 | "@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3", 2325 | "@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3" 2326 | } 2327 | }, 2328 | "node_modules/natural-compare": { 2329 | "version": "1.4.0", 2330 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 2331 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 2332 | "dev": true 2333 | }, 2334 | "node_modules/node-gyp-build-optional-packages": { 2335 | "version": "5.2.2", 2336 | "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz", 2337 | "integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==", 2338 | "optional": true, 2339 | "dependencies": { 2340 | "detect-libc": "^2.0.1" 2341 | }, 2342 | "bin": { 2343 | "node-gyp-build-optional-packages": "bin.js", 2344 | "node-gyp-build-optional-packages-optional": "optional.js", 2345 | "node-gyp-build-optional-packages-test": "build-test.js" 2346 | } 2347 | }, 2348 | "node_modules/normalize-path": { 2349 | "version": "3.0.0", 2350 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2351 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2352 | "dev": true, 2353 | "engines": { 2354 | "node": ">=0.10.0" 2355 | } 2356 | }, 2357 | "node_modules/once": { 2358 | "version": "1.4.0", 2359 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2360 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2361 | "dev": true, 2362 | "dependencies": { 2363 | "wrappy": "1" 2364 | } 2365 | }, 2366 | "node_modules/optionator": { 2367 | "version": "0.9.4", 2368 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", 2369 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", 2370 | "dev": true, 2371 | "dependencies": { 2372 | "deep-is": "^0.1.3", 2373 | "fast-levenshtein": "^2.0.6", 2374 | "levn": "^0.4.1", 2375 | "prelude-ls": "^1.2.1", 2376 | "type-check": "^0.4.0", 2377 | "word-wrap": "^1.2.5" 2378 | }, 2379 | "engines": { 2380 | "node": ">= 0.8.0" 2381 | } 2382 | }, 2383 | "node_modules/p-limit": { 2384 | "version": "3.1.0", 2385 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 2386 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 2387 | "dev": true, 2388 | "dependencies": { 2389 | "yocto-queue": "^0.1.0" 2390 | }, 2391 | "engines": { 2392 | "node": ">=10" 2393 | }, 2394 | "funding": { 2395 | "url": "https://github.com/sponsors/sindresorhus" 2396 | } 2397 | }, 2398 | "node_modules/p-locate": { 2399 | "version": "5.0.0", 2400 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 2401 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 2402 | "dev": true, 2403 | "dependencies": { 2404 | "p-limit": "^3.0.2" 2405 | }, 2406 | "engines": { 2407 | "node": ">=10" 2408 | }, 2409 | "funding": { 2410 | "url": "https://github.com/sponsors/sindresorhus" 2411 | } 2412 | }, 2413 | "node_modules/parent-module": { 2414 | "version": "1.0.1", 2415 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 2416 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 2417 | "dev": true, 2418 | "dependencies": { 2419 | "callsites": "^3.0.0" 2420 | }, 2421 | "engines": { 2422 | "node": ">=6" 2423 | } 2424 | }, 2425 | "node_modules/path-exists": { 2426 | "version": "4.0.0", 2427 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2428 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2429 | "dev": true, 2430 | "engines": { 2431 | "node": ">=8" 2432 | } 2433 | }, 2434 | "node_modules/path-is-absolute": { 2435 | "version": "1.0.1", 2436 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2437 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 2438 | "dev": true, 2439 | "engines": { 2440 | "node": ">=0.10.0" 2441 | } 2442 | }, 2443 | "node_modules/path-key": { 2444 | "version": "3.1.1", 2445 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 2446 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 2447 | "dev": true, 2448 | "engines": { 2449 | "node": ">=8" 2450 | } 2451 | }, 2452 | "node_modules/path-type": { 2453 | "version": "4.0.0", 2454 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 2455 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 2456 | "dev": true, 2457 | "engines": { 2458 | "node": ">=8" 2459 | } 2460 | }, 2461 | "node_modules/pathval": { 2462 | "version": "2.0.0", 2463 | "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", 2464 | "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", 2465 | "dev": true, 2466 | "engines": { 2467 | "node": ">= 14.16" 2468 | } 2469 | }, 2470 | "node_modules/picomatch": { 2471 | "version": "2.3.1", 2472 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2473 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2474 | "dev": true, 2475 | "engines": { 2476 | "node": ">=8.6" 2477 | }, 2478 | "funding": { 2479 | "url": "https://github.com/sponsors/jonschlinkert" 2480 | } 2481 | }, 2482 | "node_modules/prelude-ls": { 2483 | "version": "1.2.1", 2484 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 2485 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 2486 | "dev": true, 2487 | "engines": { 2488 | "node": ">= 0.8.0" 2489 | } 2490 | }, 2491 | "node_modules/prettier": { 2492 | "version": "3.5.0", 2493 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.0.tgz", 2494 | "integrity": "sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==", 2495 | "dev": true, 2496 | "bin": { 2497 | "prettier": "bin/prettier.cjs" 2498 | }, 2499 | "engines": { 2500 | "node": ">=14" 2501 | }, 2502 | "funding": { 2503 | "url": "https://github.com/prettier/prettier?sponsor=1" 2504 | } 2505 | }, 2506 | "node_modules/prettier-linter-helpers": { 2507 | "version": "1.0.0", 2508 | "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", 2509 | "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", 2510 | "dev": true, 2511 | "dependencies": { 2512 | "fast-diff": "^1.1.2" 2513 | }, 2514 | "engines": { 2515 | "node": ">=6.0.0" 2516 | } 2517 | }, 2518 | "node_modules/punycode": { 2519 | "version": "2.3.1", 2520 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 2521 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 2522 | "dev": true, 2523 | "engines": { 2524 | "node": ">=6" 2525 | } 2526 | }, 2527 | "node_modules/queue-microtask": { 2528 | "version": "1.2.3", 2529 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 2530 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 2531 | "dev": true, 2532 | "funding": [ 2533 | { 2534 | "type": "github", 2535 | "url": "https://github.com/sponsors/feross" 2536 | }, 2537 | { 2538 | "type": "patreon", 2539 | "url": "https://www.patreon.com/feross" 2540 | }, 2541 | { 2542 | "type": "consulting", 2543 | "url": "https://feross.org/support" 2544 | } 2545 | ] 2546 | }, 2547 | "node_modules/randombytes": { 2548 | "version": "2.1.0", 2549 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 2550 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 2551 | "dev": true, 2552 | "dependencies": { 2553 | "safe-buffer": "^5.1.0" 2554 | } 2555 | }, 2556 | "node_modules/readdirp": { 2557 | "version": "3.6.0", 2558 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2559 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2560 | "dev": true, 2561 | "dependencies": { 2562 | "picomatch": "^2.2.1" 2563 | }, 2564 | "engines": { 2565 | "node": ">=8.10.0" 2566 | } 2567 | }, 2568 | "node_modules/require-directory": { 2569 | "version": "2.1.1", 2570 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 2571 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 2572 | "dev": true, 2573 | "engines": { 2574 | "node": ">=0.10.0" 2575 | } 2576 | }, 2577 | "node_modules/resolve-from": { 2578 | "version": "4.0.0", 2579 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 2580 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 2581 | "dev": true, 2582 | "engines": { 2583 | "node": ">=4" 2584 | } 2585 | }, 2586 | "node_modules/resolve-pkg-maps": { 2587 | "version": "1.0.0", 2588 | "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", 2589 | "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", 2590 | "dev": true, 2591 | "funding": { 2592 | "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" 2593 | } 2594 | }, 2595 | "node_modules/reusify": { 2596 | "version": "1.0.4", 2597 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 2598 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 2599 | "dev": true, 2600 | "engines": { 2601 | "iojs": ">=1.0.0", 2602 | "node": ">=0.10.0" 2603 | } 2604 | }, 2605 | "node_modules/rimraf": { 2606 | "version": "3.0.2", 2607 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 2608 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 2609 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 2610 | "dev": true, 2611 | "dependencies": { 2612 | "glob": "^7.1.3" 2613 | }, 2614 | "bin": { 2615 | "rimraf": "bin.js" 2616 | }, 2617 | "funding": { 2618 | "url": "https://github.com/sponsors/isaacs" 2619 | } 2620 | }, 2621 | "node_modules/rimraf/node_modules/brace-expansion": { 2622 | "version": "1.1.11", 2623 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 2624 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 2625 | "dev": true, 2626 | "dependencies": { 2627 | "balanced-match": "^1.0.0", 2628 | "concat-map": "0.0.1" 2629 | } 2630 | }, 2631 | "node_modules/rimraf/node_modules/glob": { 2632 | "version": "7.2.3", 2633 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 2634 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 2635 | "deprecated": "Glob versions prior to v9 are no longer supported", 2636 | "dev": true, 2637 | "dependencies": { 2638 | "fs.realpath": "^1.0.0", 2639 | "inflight": "^1.0.4", 2640 | "inherits": "2", 2641 | "minimatch": "^3.1.1", 2642 | "once": "^1.3.0", 2643 | "path-is-absolute": "^1.0.0" 2644 | }, 2645 | "engines": { 2646 | "node": "*" 2647 | }, 2648 | "funding": { 2649 | "url": "https://github.com/sponsors/isaacs" 2650 | } 2651 | }, 2652 | "node_modules/rimraf/node_modules/minimatch": { 2653 | "version": "3.1.2", 2654 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2655 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2656 | "dev": true, 2657 | "dependencies": { 2658 | "brace-expansion": "^1.1.7" 2659 | }, 2660 | "engines": { 2661 | "node": "*" 2662 | } 2663 | }, 2664 | "node_modules/run-parallel": { 2665 | "version": "1.2.0", 2666 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 2667 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 2668 | "dev": true, 2669 | "funding": [ 2670 | { 2671 | "type": "github", 2672 | "url": "https://github.com/sponsors/feross" 2673 | }, 2674 | { 2675 | "type": "patreon", 2676 | "url": "https://www.patreon.com/feross" 2677 | }, 2678 | { 2679 | "type": "consulting", 2680 | "url": "https://feross.org/support" 2681 | } 2682 | ], 2683 | "dependencies": { 2684 | "queue-microtask": "^1.2.2" 2685 | } 2686 | }, 2687 | "node_modules/rxjs": { 2688 | "version": "7.8.1", 2689 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", 2690 | "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", 2691 | "optional": true, 2692 | "dependencies": { 2693 | "tslib": "^2.1.0" 2694 | } 2695 | }, 2696 | "node_modules/safe-buffer": { 2697 | "version": "5.2.1", 2698 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2699 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2700 | "dev": true, 2701 | "funding": [ 2702 | { 2703 | "type": "github", 2704 | "url": "https://github.com/sponsors/feross" 2705 | }, 2706 | { 2707 | "type": "patreon", 2708 | "url": "https://www.patreon.com/feross" 2709 | }, 2710 | { 2711 | "type": "consulting", 2712 | "url": "https://feross.org/support" 2713 | } 2714 | ] 2715 | }, 2716 | "node_modules/semver": { 2717 | "version": "7.7.1", 2718 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 2719 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 2720 | "dev": true, 2721 | "bin": { 2722 | "semver": "bin/semver.js" 2723 | }, 2724 | "engines": { 2725 | "node": ">=10" 2726 | } 2727 | }, 2728 | "node_modules/serialize-javascript": { 2729 | "version": "6.0.2", 2730 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", 2731 | "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", 2732 | "dev": true, 2733 | "dependencies": { 2734 | "randombytes": "^2.1.0" 2735 | } 2736 | }, 2737 | "node_modules/sha3": { 2738 | "version": "2.1.4", 2739 | "resolved": "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz", 2740 | "integrity": "sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg==", 2741 | "dev": true, 2742 | "dependencies": { 2743 | "buffer": "6.0.3" 2744 | } 2745 | }, 2746 | "node_modules/shebang-command": { 2747 | "version": "2.0.0", 2748 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2749 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2750 | "dev": true, 2751 | "dependencies": { 2752 | "shebang-regex": "^3.0.0" 2753 | }, 2754 | "engines": { 2755 | "node": ">=8" 2756 | } 2757 | }, 2758 | "node_modules/shebang-regex": { 2759 | "version": "3.0.0", 2760 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2761 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2762 | "dev": true, 2763 | "engines": { 2764 | "node": ">=8" 2765 | } 2766 | }, 2767 | "node_modules/slash": { 2768 | "version": "3.0.0", 2769 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 2770 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 2771 | "dev": true, 2772 | "engines": { 2773 | "node": ">=8" 2774 | } 2775 | }, 2776 | "node_modules/string-width": { 2777 | "version": "4.2.3", 2778 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2779 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2780 | "dev": true, 2781 | "dependencies": { 2782 | "emoji-regex": "^8.0.0", 2783 | "is-fullwidth-code-point": "^3.0.0", 2784 | "strip-ansi": "^6.0.1" 2785 | }, 2786 | "engines": { 2787 | "node": ">=8" 2788 | } 2789 | }, 2790 | "node_modules/strip-ansi": { 2791 | "version": "6.0.1", 2792 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2793 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2794 | "dev": true, 2795 | "dependencies": { 2796 | "ansi-regex": "^5.0.1" 2797 | }, 2798 | "engines": { 2799 | "node": ">=8" 2800 | } 2801 | }, 2802 | "node_modules/strip-json-comments": { 2803 | "version": "3.1.1", 2804 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2805 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2806 | "dev": true, 2807 | "engines": { 2808 | "node": ">=8" 2809 | }, 2810 | "funding": { 2811 | "url": "https://github.com/sponsors/sindresorhus" 2812 | } 2813 | }, 2814 | "node_modules/summon-ts": { 2815 | "version": "0.6.0", 2816 | "resolved": "https://registry.npmjs.org/summon-ts/-/summon-ts-0.6.0.tgz", 2817 | "integrity": "sha512-mY0Z5gHovzT9Htscj+gBswiLr9ADSMpQplqybuEPvsdCde85Uz2dpCDG8ucffl/6xpVzDEG/JoXbH+SXKzjCqg==", 2818 | "dev": true, 2819 | "license": "MIT" 2820 | }, 2821 | "node_modules/supports-color": { 2822 | "version": "8.1.1", 2823 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 2824 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 2825 | "dev": true, 2826 | "dependencies": { 2827 | "has-flag": "^4.0.0" 2828 | }, 2829 | "engines": { 2830 | "node": ">=10" 2831 | }, 2832 | "funding": { 2833 | "url": "https://github.com/chalk/supports-color?sponsor=1" 2834 | } 2835 | }, 2836 | "node_modules/synckit": { 2837 | "version": "0.9.2", 2838 | "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.2.tgz", 2839 | "integrity": "sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==", 2840 | "dev": true, 2841 | "dependencies": { 2842 | "@pkgr/core": "^0.1.0", 2843 | "tslib": "^2.6.2" 2844 | }, 2845 | "engines": { 2846 | "node": "^14.18.0 || >=16.0.0" 2847 | }, 2848 | "funding": { 2849 | "url": "https://opencollective.com/unts" 2850 | } 2851 | }, 2852 | "node_modules/text-table": { 2853 | "version": "0.2.0", 2854 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 2855 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 2856 | "dev": true 2857 | }, 2858 | "node_modules/to-regex-range": { 2859 | "version": "5.0.1", 2860 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2861 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2862 | "dev": true, 2863 | "dependencies": { 2864 | "is-number": "^7.0.0" 2865 | }, 2866 | "engines": { 2867 | "node": ">=8.0" 2868 | } 2869 | }, 2870 | "node_modules/ts-api-utils": { 2871 | "version": "1.4.3", 2872 | "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", 2873 | "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", 2874 | "dev": true, 2875 | "engines": { 2876 | "node": ">=16" 2877 | }, 2878 | "peerDependencies": { 2879 | "typescript": ">=4.2.0" 2880 | } 2881 | }, 2882 | "node_modules/tslib": { 2883 | "version": "2.6.3", 2884 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", 2885 | "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", 2886 | "devOptional": true 2887 | }, 2888 | "node_modules/tsx": { 2889 | "version": "4.16.5", 2890 | "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.16.5.tgz", 2891 | "integrity": "sha512-ArsiAQHEW2iGaqZ8fTA1nX0a+lN5mNTyuGRRO6OW3H/Yno1y9/t1f9YOI1Cfoqz63VAthn++ZYcbDP7jPflc+A==", 2892 | "dev": true, 2893 | "dependencies": { 2894 | "esbuild": "~0.21.5", 2895 | "get-tsconfig": "^4.7.5" 2896 | }, 2897 | "bin": { 2898 | "tsx": "dist/cli.mjs" 2899 | }, 2900 | "engines": { 2901 | "node": ">=18.0.0" 2902 | }, 2903 | "optionalDependencies": { 2904 | "fsevents": "~2.3.3" 2905 | } 2906 | }, 2907 | "node_modules/type-check": { 2908 | "version": "0.4.0", 2909 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 2910 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 2911 | "dev": true, 2912 | "dependencies": { 2913 | "prelude-ls": "^1.2.1" 2914 | }, 2915 | "engines": { 2916 | "node": ">= 0.8.0" 2917 | } 2918 | }, 2919 | "node_modules/type-fest": { 2920 | "version": "0.20.2", 2921 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 2922 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 2923 | "dev": true, 2924 | "engines": { 2925 | "node": ">=10" 2926 | }, 2927 | "funding": { 2928 | "url": "https://github.com/sponsors/sindresorhus" 2929 | } 2930 | }, 2931 | "node_modules/typed-emitter": { 2932 | "version": "2.1.0", 2933 | "resolved": "https://registry.npmjs.org/typed-emitter/-/typed-emitter-2.1.0.tgz", 2934 | "integrity": "sha512-g/KzbYKbH5C2vPkaXGu8DJlHrGKHLsM25Zg9WuC9pMGfuvT+X25tZQWo5fK1BjBm8+UrVE9LDCvaY0CQk+fXDA==", 2935 | "optionalDependencies": { 2936 | "rxjs": "*" 2937 | } 2938 | }, 2939 | "node_modules/typescript": { 2940 | "version": "5.4.5", 2941 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", 2942 | "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", 2943 | "dev": true, 2944 | "bin": { 2945 | "tsc": "bin/tsc", 2946 | "tsserver": "bin/tsserver" 2947 | }, 2948 | "engines": { 2949 | "node": ">=14.17" 2950 | } 2951 | }, 2952 | "node_modules/undici-types": { 2953 | "version": "5.26.5", 2954 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", 2955 | "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" 2956 | }, 2957 | "node_modules/uri-js": { 2958 | "version": "4.4.1", 2959 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2960 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2961 | "dev": true, 2962 | "dependencies": { 2963 | "punycode": "^2.1.0" 2964 | } 2965 | }, 2966 | "node_modules/which": { 2967 | "version": "2.0.2", 2968 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2969 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2970 | "dev": true, 2971 | "dependencies": { 2972 | "isexe": "^2.0.0" 2973 | }, 2974 | "bin": { 2975 | "node-which": "bin/node-which" 2976 | }, 2977 | "engines": { 2978 | "node": ">= 8" 2979 | } 2980 | }, 2981 | "node_modules/word-wrap": { 2982 | "version": "1.2.5", 2983 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", 2984 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", 2985 | "dev": true, 2986 | "engines": { 2987 | "node": ">=0.10.0" 2988 | } 2989 | }, 2990 | "node_modules/workerpool": { 2991 | "version": "6.5.1", 2992 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz", 2993 | "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==", 2994 | "dev": true 2995 | }, 2996 | "node_modules/wrap-ansi": { 2997 | "version": "7.0.0", 2998 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 2999 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 3000 | "dev": true, 3001 | "dependencies": { 3002 | "ansi-styles": "^4.0.0", 3003 | "string-width": "^4.1.0", 3004 | "strip-ansi": "^6.0.0" 3005 | }, 3006 | "engines": { 3007 | "node": ">=10" 3008 | }, 3009 | "funding": { 3010 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 3011 | } 3012 | }, 3013 | "node_modules/wrappy": { 3014 | "version": "1.0.2", 3015 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3016 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3017 | "dev": true 3018 | }, 3019 | "node_modules/y18n": { 3020 | "version": "5.0.8", 3021 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 3022 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 3023 | "dev": true, 3024 | "engines": { 3025 | "node": ">=10" 3026 | } 3027 | }, 3028 | "node_modules/yargs": { 3029 | "version": "16.2.0", 3030 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 3031 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 3032 | "dev": true, 3033 | "dependencies": { 3034 | "cliui": "^7.0.2", 3035 | "escalade": "^3.1.1", 3036 | "get-caller-file": "^2.0.5", 3037 | "require-directory": "^2.1.1", 3038 | "string-width": "^4.2.0", 3039 | "y18n": "^5.0.5", 3040 | "yargs-parser": "^20.2.2" 3041 | }, 3042 | "engines": { 3043 | "node": ">=10" 3044 | } 3045 | }, 3046 | "node_modules/yargs-parser": { 3047 | "version": "20.2.9", 3048 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", 3049 | "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", 3050 | "dev": true, 3051 | "engines": { 3052 | "node": ">=10" 3053 | } 3054 | }, 3055 | "node_modules/yargs-unparser": { 3056 | "version": "2.0.0", 3057 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 3058 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 3059 | "dev": true, 3060 | "dependencies": { 3061 | "camelcase": "^6.0.0", 3062 | "decamelize": "^4.0.0", 3063 | "flat": "^5.0.2", 3064 | "is-plain-obj": "^2.1.0" 3065 | }, 3066 | "engines": { 3067 | "node": ">=10" 3068 | } 3069 | }, 3070 | "node_modules/yocto-queue": { 3071 | "version": "0.1.0", 3072 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 3073 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 3074 | "dev": true, 3075 | "engines": { 3076 | "node": ">=10" 3077 | }, 3078 | "funding": { 3079 | "url": "https://github.com/sponsors/sindresorhus" 3080 | } 3081 | }, 3082 | "node_modules/zod": { 3083 | "version": "3.23.8", 3084 | "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", 3085 | "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", 3086 | "funding": { 3087 | "url": "https://github.com/sponsors/colinhacks" 3088 | } 3089 | } 3090 | } 3091 | } 3092 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mpc-framework", 3 | "version": "0.3.0", 4 | "description": "MPC framework supporting a variety of circuit generators and backends", 5 | "type": "module", 6 | "main": "dist/src/index.js", 7 | "scripts": { 8 | "build": "rm -rf dist && tsc", 9 | "test": "mocha --import=tsx tests/**/*.test.ts", 10 | "lint": "eslint . --ext ts --report-unused-disable-directives --max-warnings 0", 11 | "format": "prettier -c .", 12 | "format:fix": "prettier -w ." 13 | }, 14 | "keywords": [ 15 | "MPC", 16 | "multi", 17 | "party", 18 | "computation", 19 | "pse", 20 | "cryptography" 21 | ], 22 | "author": "Andrew Morris", 23 | "repository": { 24 | "type": "git", 25 | "url": "git+https://github.com/voltrevo/mpc-framework.git" 26 | }, 27 | "license": "MIT", 28 | "devDependencies": { 29 | "@types/chai": "^4.3.17", 30 | "@types/mocha": "^10.0.7", 31 | "chai": "^5.1.1", 32 | "@typescript-eslint/eslint-plugin": "^7.2.0", 33 | "@typescript-eslint/parser": "^7.2.0", 34 | "eslint": "^8.57.0", 35 | "eslint-config-prettier": "^10.0.1", 36 | "eslint-config-xo": "^0.44.0", 37 | "eslint-plugin-prettier": "^5.2.2", 38 | "eslint-plugin-react-hooks": "^4.6.0", 39 | "eslint-plugin-react-refresh": "^0.4.6", 40 | "prettier": "^3.4.2", 41 | "emp-wasm-backend": "^0.2.1", 42 | "mocha": "^10.7.0", 43 | "summon-ts": "^0.6.0", 44 | "tsx": "^4.16.5", 45 | "typescript": "^5.4.5" 46 | }, 47 | "dependencies": { 48 | "ee-typed": "^0.1.1", 49 | "mpc-framework-common": "^0.3.0", 50 | "msgpackr": "^1.11.0", 51 | "zod": "^3.23.8" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/PlaintextEngine/PlaintextEngine.ts: -------------------------------------------------------------------------------- 1 | import PlaintextEngineHostSession from './PlaintextEngineHostSession.js'; 2 | import PlaintextEngineClientSession from './PlaintextEngineClientSession.js'; 3 | import { Engine, EngineSession, Circuit } from 'mpc-framework-common'; 4 | 5 | export default class PlaintextEngine implements Engine { 6 | run( 7 | circuit: Circuit, 8 | name: string, 9 | input: Record, 10 | send: (to: string, msg: Uint8Array) => void, 11 | ): EngineSession { 12 | const hostName = circuit.mpcSettings[0].name ?? '0'; 13 | 14 | if (name === hostName) { 15 | return new PlaintextEngineHostSession(circuit, name, input, send); 16 | } 17 | 18 | return new PlaintextEngineClientSession( 19 | circuit, 20 | name, 21 | input, 22 | send, 23 | hostName, 24 | ); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/PlaintextEngine/PlaintextEngineClientSession.ts: -------------------------------------------------------------------------------- 1 | import { pack, unpack } from 'msgpackr'; 2 | import defer from '../helpers/defer.js'; 3 | import { z } from 'zod'; 4 | import { EngineSession, Circuit } from 'mpc-framework-common'; 5 | 6 | export default class PlaintextEngineClientSession implements EngineSession { 7 | outputReceived = defer>(); 8 | inputsSent = false; 9 | 10 | constructor( 11 | public circuit: Circuit, 12 | public name: string, 13 | public input: Record, 14 | public send: (to: string, msg: Uint8Array) => void, 15 | public hostName: string, 16 | ) {} 17 | 18 | handleMessage(from: string, msg: Uint8Array): void { 19 | if (from !== this.hostName) { 20 | return; 21 | } 22 | 23 | const message = unpack(msg); 24 | 25 | if (message === 'ping') { 26 | if (!this.inputsSent) { 27 | this.send(this.hostName, pack(this.input)); 28 | this.inputsSent = true; 29 | } 30 | 31 | return; 32 | } 33 | 34 | const parseResult = z.record(z.unknown()).safeParse(message); 35 | 36 | if (parseResult.success === false) { 37 | this.outputReceived.reject(parseResult.error); 38 | return; 39 | } 40 | 41 | this.outputReceived.resolve(parseResult.data); 42 | } 43 | 44 | output(): Promise> { 45 | return this.outputReceived.promise; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/PlaintextEngine/PlaintextEngineHostSession.ts: -------------------------------------------------------------------------------- 1 | import { pack, unpack } from 'msgpackr'; 2 | import z from 'zod'; 3 | 4 | import delay from '../helpers/delay.js'; 5 | import defer from '../helpers/defer.js'; 6 | import evaluate, { u32Arithmetic } from '../helpers/evaluate.js'; 7 | import errorToString from '../helpers/errorToString.js'; 8 | import { EngineSession, Circuit } from 'mpc-framework-common'; 9 | 10 | export default class PlaintextEngineHostSession implements EngineSession { 11 | outputPromise: Promise>; 12 | combinedInputs = defer>(); 13 | partialCombinedInputs: Record; 14 | peerInputsReceived = new Set(); 15 | 16 | constructor( 17 | public circuit: Circuit, 18 | public name: string, 19 | public input: Record, 20 | public send: (to: string, msg: Uint8Array) => void, 21 | ) { 22 | this.partialCombinedInputs = structuredClone(input); 23 | this.outputPromise = this.run(); 24 | } 25 | 26 | async run() { 27 | let shouldPing = true; 28 | 29 | (async () => { 30 | // eslint-disable-next-line no-unmodified-loop-condition 31 | while (shouldPing) { 32 | for (let i = 1; i < this.circuit.mpcSettings.length; i++) { 33 | const to = this.circuit.mpcSettings[i].name ?? i.toString(); 34 | this.send(to, pack('ping')); 35 | } 36 | 37 | await delay(250); 38 | } 39 | })(); 40 | 41 | let combinedInputs; 42 | 43 | try { 44 | combinedInputs = await this.combinedInputs.promise; 45 | } finally { 46 | shouldPing = false; 47 | } 48 | 49 | const fullResult = evaluate(this.circuit, combinedInputs, u32Arithmetic); 50 | let selfResult: Record = {}; 51 | 52 | for (let i = 0; i < this.circuit.mpcSettings.length; i++) { 53 | const { name = i.toString(), outputs } = this.circuit.mpcSettings[i]; 54 | const result: Record = {}; 55 | 56 | for (const outputName of outputs) { 57 | result[outputName] = fullResult[outputName]; 58 | } 59 | 60 | if (i === 0) { 61 | selfResult = result; 62 | } else { 63 | this.send(name, pack(result)); 64 | } 65 | } 66 | 67 | return selfResult; 68 | } 69 | 70 | handleMessage(from: string, msg: Uint8Array): void { 71 | try { 72 | if (this.peerInputsReceived.has(from)) { 73 | throw new Error('Already received'); 74 | } 75 | 76 | const peerInfo = this.circuit.mpcSettings.find( 77 | (s, i) => from === (s.name ?? i.toString()), 78 | ); 79 | 80 | if (peerInfo === undefined) { 81 | throw new Error(`unrecognized peer: "${from}"`); 82 | } 83 | 84 | const peerInputs = z.record(z.unknown()).parse(unpack(msg)); 85 | 86 | for (const inputName of peerInfo.inputs) { 87 | if (!(inputName in peerInputs)) { 88 | throw new Error(`Missing input "${inputName}"`); 89 | } 90 | 91 | this.partialCombinedInputs[inputName] = peerInputs[inputName]; 92 | } 93 | 94 | this.peerInputsReceived.add(from); 95 | 96 | if ( 97 | this.peerInputsReceived.size === 98 | this.circuit.mpcSettings.length - 1 99 | ) { 100 | this.combinedInputs.resolve(this.partialCombinedInputs); 101 | } 102 | } catch (e) { 103 | this.combinedInputs.reject(e); 104 | 105 | this.send( 106 | from, 107 | pack({ error: `Couldn't handle message: ${errorToString(e)}` }), 108 | ); 109 | } 110 | } 111 | 112 | output(): Promise> { 113 | return this.outputPromise; 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /src/Protocol.ts: -------------------------------------------------------------------------------- 1 | import { Engine, Circuit } from 'mpc-framework-common'; 2 | import Session from './Session.js'; 3 | 4 | export default class Protocol { 5 | constructor( 6 | public circuit: Circuit, 7 | public engine: Engine, 8 | ) {} 9 | 10 | join( 11 | name: string, 12 | input: Record, 13 | send: (to: string, msg: Uint8Array) => void, 14 | ): Session { 15 | return new Session(this.circuit, this.engine, name, input, send); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Session.ts: -------------------------------------------------------------------------------- 1 | import { Engine, EngineSession, Circuit } from 'mpc-framework-common'; 2 | 3 | export default class Session { 4 | engineSession: EngineSession; 5 | 6 | constructor( 7 | public circuit: Circuit, 8 | public engine: Engine, 9 | public name: string, 10 | public input: Record, 11 | public send: (to: string, msg: Uint8Array) => void, 12 | ) { 13 | this.engineSession = engine.run(circuit, name, input, send); 14 | } 15 | 16 | handleMessage(from: string, msg: Uint8Array) { 17 | this.engineSession.handleMessage(from, msg); 18 | } 19 | 20 | async output(): Promise> { 21 | return await this.engineSession.output(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/helpers/assert.ts: -------------------------------------------------------------------------------- 1 | export default function assert(value: unknown): asserts value { 2 | if (!value) { 3 | throw new Error('Assertion failed'); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/helpers/defer.ts: -------------------------------------------------------------------------------- 1 | export default function defer() { 2 | let resolve: ((value: T) => void) | undefined; 3 | let reject: ((reason?: unknown) => void) | undefined; 4 | 5 | const promise = new Promise((resolve_, reject_) => { 6 | resolve = resolve_; 7 | reject = reject_; 8 | }); 9 | 10 | return { promise, resolve: resolve!, reject: reject! }; 11 | } 12 | -------------------------------------------------------------------------------- /src/helpers/delay.ts: -------------------------------------------------------------------------------- 1 | export default async function delay(ms: number) { 2 | await new Promise(resolve => { 3 | setTimeout(resolve, ms); 4 | }); 5 | } 6 | -------------------------------------------------------------------------------- /src/helpers/errorToString.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | const HasMessage = z.object({ 4 | message: z.string(), 5 | }); 6 | 7 | export default function errorToString(e: unknown) { 8 | const parseResult = HasMessage.safeParse(e); 9 | 10 | if (parseResult.success) { 11 | return parseResult.data.message; 12 | } 13 | 14 | return JSON.stringify(e); 15 | } 16 | -------------------------------------------------------------------------------- /src/helpers/evaluate.ts: -------------------------------------------------------------------------------- 1 | import { Circuit } from 'mpc-framework-common'; 2 | 3 | export default function evaluate( 4 | circuit: Circuit, 5 | inputs: Record, 6 | arithmetic: Arithmetic, 7 | ): Record { 8 | const circuitLines = circuit.bristol.split('\n'); 9 | const [, wireCount] = circuitLines[0].split(' ').map(Number); 10 | 11 | if (!Number.isFinite(wireCount) || wireCount > 5e7) { 12 | throw new Error('Too many wires'); 13 | } 14 | 15 | const wires = new Array(wireCount).fill(arithmetic.init(0)); 16 | 17 | for (const { value, address } of circuit.info.constants) { 18 | wires[address] = arithmetic.init(value); 19 | } 20 | 21 | if (Object.keys(inputs).length !== circuit.info.inputs.length) { 22 | throw new Error('Mismatch between input len and required input len'); 23 | } 24 | 25 | for (const [name, value] of Object.entries(inputs)) { 26 | const inputInfo = circuit.info.inputs.find(i => i.name === name); 27 | const address = inputInfo?.address; 28 | 29 | if (address === undefined) { 30 | throw new Error(`Couldn't map input ${name} to a wire`); 31 | } 32 | 33 | wires[address] = arithmetic.init(value); 34 | } 35 | 36 | let i = 1; 37 | 38 | // scan until empty line 39 | while (i < circuitLines.length && circuitLines[i].trim() !== '') { 40 | i++; 41 | } 42 | 43 | // ignore empty lines 44 | while (i < circuitLines.length && circuitLines[i].trim() === '') { 45 | i++; 46 | } 47 | 48 | while (true) { 49 | const line = (circuitLines[i++] ?? '').trim(); 50 | 51 | if (line === '') { 52 | break; 53 | } 54 | 55 | const parts = line.split(' '); 56 | const [inputLen, outputLen] = parts.slice(0, 2).map(Number); 57 | 58 | const inputs = parts.slice(2, 2 + inputLen).map(i => wires[Number(i)]); 59 | 60 | const outputIndexes = parts 61 | .slice(2 + inputLen, 2 + inputLen + outputLen) 62 | .map(Number); 63 | 64 | const op = parts[parts.length - 1]; 65 | 66 | const outputs = arithmetic.combine(op, inputs); 67 | 68 | if (outputs.length !== outputLen) { 69 | throw new Error('Output len mismatch'); 70 | } 71 | 72 | for (let j = 0; j < outputLen; j++) { 73 | wires[outputIndexes[j]] = outputs[j]; 74 | } 75 | } 76 | 77 | const res: Record = {}; 78 | 79 | for (const { name, address } of circuit.info.outputs) { 80 | res[name] = wires[address]; 81 | } 82 | 83 | return res; 84 | } 85 | 86 | type Arithmetic = { 87 | init(source: unknown): T; 88 | combine(op: string, inputs: T[]): T[]; 89 | }; 90 | 91 | export const u32Arithmetic = { 92 | init(source) { 93 | if ( 94 | typeof source === 'bigint' || 95 | typeof source === 'number' || 96 | typeof source === 'boolean' || 97 | typeof source === 'string' 98 | ) { 99 | return BigInt(source) % 2n ** 32n; 100 | } 101 | 102 | throw new Error("Can't interpret source as u32"); 103 | }, 104 | 105 | // eslint-disable-next-line complexity 106 | combine(op, [a, b]) { 107 | switch (op) { 108 | case 'AUnaryAdd': { 109 | return [a]; 110 | } 111 | 112 | case 'AUnarySub': { 113 | a = -a; 114 | 115 | if (a < 0n) { 116 | a += 2n ** 32n; 117 | } 118 | 119 | return [a]; 120 | } 121 | 122 | case 'ANot': { 123 | return [a ? 0n : 1n]; 124 | } 125 | 126 | case 'ABitNot': { 127 | return [~a + 2n ** 32n]; 128 | } 129 | 130 | case 'AAdd': { 131 | return [(a + b) % 2n ** 32n]; 132 | } 133 | 134 | case 'ASub': { 135 | let res = a - b; 136 | 137 | if (res < 0) { 138 | res += 2n ** 32n; 139 | } 140 | 141 | return [res]; 142 | } 143 | 144 | case 'AMul': { 145 | return [(a * b) % 2n ** 32n]; 146 | } 147 | 148 | case 'ADiv': { 149 | return [a / b]; 150 | } 151 | 152 | case 'AMod': { 153 | return [a % b]; 154 | } 155 | 156 | case 'AExp': { 157 | // Can be done more efficiently 158 | return [a ** b % 2n ** 32n]; 159 | } 160 | 161 | case 'AEq': { 162 | return [a === b ? 1n : 0n]; 163 | } 164 | 165 | case 'ANeq': { 166 | return [a === b ? 0n : 1n]; 167 | } 168 | 169 | case 'ABoolAnd': { 170 | return [a && b ? 1n : 0n]; 171 | } 172 | 173 | case 'ABoolOr': { 174 | return [a || b ? 1n : 0n]; 175 | } 176 | 177 | case 'ALt': { 178 | return [a < b ? 1n : 0n]; 179 | } 180 | 181 | case 'ALEq': { 182 | return [a <= b ? 1n : 0n]; 183 | } 184 | 185 | case 'AGt': { 186 | return [a > b ? 1n : 0n]; 187 | } 188 | 189 | case 'AGEq': { 190 | return [a >= b ? 1n : 0n]; 191 | } 192 | 193 | case 'ABitAnd': { 194 | return [a & b]; 195 | } 196 | 197 | case 'ABitOr': { 198 | return [a | b]; 199 | } 200 | 201 | case 'AXor': { 202 | return [a ^ b]; 203 | } 204 | 205 | case 'AShiftL': { 206 | return [(a << b) % 2n ** 32n]; 207 | } 208 | 209 | case 'AShiftR': { 210 | return [a >> b]; 211 | } 212 | 213 | default: 214 | throw new Error(`Unrecognized op ${op}`); 215 | } 216 | }, 217 | } satisfies Arithmetic; 218 | -------------------------------------------------------------------------------- /src/helpers/once.ts: -------------------------------------------------------------------------------- 1 | export default function once(f: () => T): () => T { 2 | let result: undefined | { error: unknown } | { value: T }; 3 | 4 | return () => { 5 | if (!result) { 6 | try { 7 | result = { value: f() }; 8 | } catch (error) { 9 | result = { error }; 10 | } 11 | 12 | (f as unknown) = undefined; 13 | } 14 | 15 | if ('error' in result) { 16 | throw result.error; 17 | } 18 | 19 | return result.value; 20 | }; 21 | } 22 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export { default as Protocol } from './Protocol.js'; 2 | export { default as Session } from './Session.js'; 3 | export { 4 | type Circuit, 5 | type Engine, 6 | type EngineSession, 7 | type MpcParticipantSettings, 8 | type MpcSettings, 9 | } from 'mpc-framework-common'; 10 | 11 | // This is NOT exported because it is almost never wanted and depends 12 | // unnecessarily on msgpackr. Importing msgpackr creates a lot of permissions 13 | // noise in Deno on startup. 14 | // export { default as PlaintextEngine } from './PlaintextEngine/PlaintextEngine.js'; 15 | -------------------------------------------------------------------------------- /tests/circuits/aPlusB.ts: -------------------------------------------------------------------------------- 1 | import * as summon from 'summon-ts'; 2 | 3 | import once from '../../src/helpers/once'; 4 | 5 | const aPlusB = once(async () => { 6 | await summon.init(); 7 | 8 | const { circuit } = summon.compile({ 9 | path: '/src/main.ts', 10 | files: { 11 | '/src/main.ts': ` 12 | export default (io: Summon.IO) => { 13 | const a = io.input('alice', 'a', summon.number()); 14 | const b = io.input('bob', 'b', summon.number()); 15 | 16 | io.outputPublic('c', a + b); 17 | } 18 | `, 19 | }, 20 | }); 21 | 22 | return circuit; 23 | }); 24 | 25 | export default aPlusB; 26 | -------------------------------------------------------------------------------- /tests/helpers/LocalComms.ts: -------------------------------------------------------------------------------- 1 | import { EventEmitter } from 'ee-typed'; 2 | 3 | export type LocalComms = { 4 | send(data: Uint8Array): void; 5 | 6 | recvBuf: LocalCommsBuf; 7 | recv(): Uint8Array; 8 | }; 9 | 10 | export function makeLocalCommsPair(): [LocalComms, LocalComms] { 11 | const a = { recvBuf: new LocalCommsBuf() } as LocalComms; 12 | const b = { recvBuf: new LocalCommsBuf() } as LocalComms; 13 | 14 | a.send = data => b.recvBuf.push(data); 15 | a.recv = () => a.recvBuf.pop(); 16 | 17 | b.send = data => a.recvBuf.push(data); 18 | b.recv = () => b.recvBuf.pop(); 19 | 20 | return [a, b]; 21 | } 22 | 23 | export class LocalCommsBuf extends EventEmitter<{ 24 | data(data: Uint8Array): void; 25 | }> { 26 | buf = new Uint8Array(1024); 27 | bufLen = 0; 28 | 29 | constructor() { 30 | super(); 31 | } 32 | 33 | push(data: Uint8Array) { 34 | while (data.length + this.bufLen > this.buf.length) { 35 | const newBuf = new Uint8Array(2 * this.buf.length); 36 | newBuf.set(this.buf); 37 | this.buf = newBuf; 38 | } 39 | 40 | this.buf.set(data, this.bufLen); 41 | this.bufLen += data.length; 42 | 43 | this.emit('data', data); 44 | } 45 | 46 | pop() { 47 | const res = this.buf.slice(0, this.bufLen); 48 | this.bufLen = 0; 49 | 50 | return res; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /tests/helpers/blockTrim.ts: -------------------------------------------------------------------------------- 1 | export default function blockTrim(text: string) { 2 | const lines = text.split('\n').map(line => (line.trim() === '' ? '' : line)); 3 | 4 | while (lines[0].trim() === '') { 5 | lines.shift(); 6 | } 7 | 8 | while (lines.at(-1)?.trim() === '') { 9 | lines.pop(); 10 | } 11 | 12 | let minIndent = Infinity; 13 | 14 | for (const line of lines) { 15 | if (line === '') { 16 | continue; 17 | } 18 | 19 | let indent = 0; 20 | 21 | while (line[indent] === ' ') { 22 | indent++; 23 | } 24 | 25 | if (indent < minIndent) { 26 | minIndent = indent; 27 | } 28 | } 29 | 30 | return lines.map(line => line.slice(minIndent)).join('\n'); 31 | } 32 | -------------------------------------------------------------------------------- /tests/plaintext.test.ts: -------------------------------------------------------------------------------- 1 | import { expect } from 'chai'; 2 | import Protocol from '../src/Protocol'; 3 | import aPlusB from './circuits/aPlusB'; 4 | import PlaintextEngine from '../src/PlaintextEngine/PlaintextEngine'; 5 | import { EventEmitter } from 'ee-typed'; 6 | import assert from '../src/helpers/assert'; 7 | 8 | describe('plaintext', () => { 9 | it('3 + 5', async () => { 10 | const protocol = new Protocol(await aPlusB(), new PlaintextEngine()); 11 | 12 | const messageEvents = new EventEmitter<{ 13 | aliceToBob(msg: Uint8Array): void; 14 | bobToAlice(msg: Uint8Array): void; 15 | }>(); 16 | 17 | const aliceOutputPromise = (async () => { 18 | const session = protocol.join('alice', { a: 3 }, (to, msg) => { 19 | assert(to === 'bob'); 20 | messageEvents.emit('aliceToBob', msg); 21 | }); 22 | 23 | messageEvents.on('bobToAlice', msg => session.handleMessage('bob', msg)); 24 | 25 | return await session.output(); 26 | })(); 27 | 28 | const bobOutputPromise = (async () => { 29 | const session = protocol.join('bob', { b: 5 }, (to, msg) => { 30 | assert(to === 'alice'); 31 | messageEvents.emit('bobToAlice', msg); 32 | }); 33 | 34 | messageEvents.on('aliceToBob', msg => 35 | session.handleMessage('alice', msg), 36 | ); 37 | 38 | return await session.output(); 39 | })(); 40 | 41 | const [aliceOutput, bobOutput] = await Promise.all([ 42 | aliceOutputPromise, 43 | bobOutputPromise, 44 | ]); 45 | 46 | expect(aliceOutput).to.deep.eq({ c: 8n }); 47 | expect(bobOutput).to.deep.eq({ c: 8n }); 48 | }); 49 | }); 50 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig to read more about this file */ 4 | 5 | /* Projects */ 6 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ 7 | // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ 12 | 13 | /* Language and Environment */ 14 | "target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ 17 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ 19 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ 20 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ 22 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ 23 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ 24 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ 26 | 27 | /* Modules */ 28 | "module": "ESNext" /* Specify what module code is generated. */, 29 | "rootDir": "./" /* Specify the root folder within your source files. */, 30 | "moduleResolution": "Bundler" /* Specify how TypeScript looks up a file from a given module specifier. */, 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ 35 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ 38 | // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ 39 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ 40 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ 42 | // "resolveJsonModule": true, /* Enable importing .json files. */ 43 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ 44 | // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ 45 | 46 | /* JavaScript Support */ 47 | // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ 48 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ 49 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ 50 | 51 | /* Emit */ 52 | "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, 53 | "declarationMap": true /* Create sourcemaps for d.ts files. */, 54 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ 55 | "sourceMap": true /* Create source map files for emitted JavaScript files. */, 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ 57 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ 58 | "outDir": "./dist" /* Specify an output folder for all emitted files. */, 59 | // "removeComments": true, /* Disable emitting comments. */ 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ 62 | // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ 63 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ 64 | // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ 65 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 66 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ 67 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ 68 | // "newLine": "crlf", /* Set the newline character for emitting files. */ 69 | // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ 70 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ 71 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 72 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ 73 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ 74 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ 75 | 76 | /* Interop Constraints */ 77 | "isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */, 78 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ 79 | "allowSyntheticDefaultImports": true /* Allow 'import x from y' when a module doesn't have a default export. */, 80 | "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ 82 | "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, 83 | 84 | /* Type Checking */ 85 | "strict": true /* Enable all strict type-checking options. */, 86 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ 87 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ 88 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ 89 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ 90 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ 91 | // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ 92 | // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ 93 | // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ 94 | // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ 95 | // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ 96 | // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ 97 | // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ 98 | // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ 99 | // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ 100 | // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ 101 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ 102 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ 103 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ 104 | 105 | /* Completeness */ 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ 107 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ 108 | } 109 | } 110 | --------------------------------------------------------------------------------