├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── examples └── bot.ts ├── package-lock.json ├── package.json ├── src ├── baileys.ts └── utils.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *_sessions 3 | baileys.log 4 | core.class.log 5 | db.json 6 | lib/ 7 | *.qr.png -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | examples/* 2 | node_modules 3 | baileys_sessions 4 | baileys.log 5 | core.class.log 6 | db.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Leifer Mendez 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 | # Bot Baileys 2 | 3 | This repository contains a WhatsApp bot implemented in JavaScript using the [@whiskeysockets/baileys](https://github.com/WhiskeySockets/Baileys) library. 4 | 5 | ## baileys.js 6 | 7 | This file is a JavaScript module that exports the `BaileysClass`, which extends `EventEmitter`. This class has several methods for sending different types of messages through WhatsApp, such as text, images, videos, audios, files, buttons, polls, locations, contacts, and stickers. 8 | 9 | 10 | ## Install 11 | 12 | Use the stable version: 13 | ``` 14 | npm i @bot-wa/bot-wa-baileys 15 | ``` 16 | 17 | Then import your code using: 18 | ``` ts 19 | import { BaileysClass } from '@bot-wa/bot-wa-baileys' 20 | ``` 21 | ``` js 22 | const { BaileysClass } = require('@bot-wa/bot-wa-baileys'); 23 | ``` 24 | 25 | ## Example 26 | 27 | Follow these steps to deploy the application: 28 | 29 | - Clone this repository: `https://github.com/andresayac/bot-wa-baileys.git` 30 | - Enter the `bot-wa-baileys` directory 31 | - Run the command `pnpm i` 32 | - Run the command `pnpm run example` to start the bot 33 | - Scan the QR code in WhatsApp as if it were WhatsApp Web. You can find the QR code in `qr.png` or terminal 34 | - Done! 35 | 36 | ### Key Methods 37 | 38 | - `initBailey`: Initializes the connection with WhatsApp. 39 | - `setUpBaileySock`: Sets up the connection socket with WhatsApp. 40 | - `handleConnectionUpdate`: Handles updates to the connection with WhatsApp. 41 | - `busEvents`: Defines various events that the bot can handle. 42 | - `sendMessage`, `sendMedia`, `sendImage`, `sendVideo`, `sendAudio`, `sendText`, `sendFile`, `sendPoll`, `sendLocation`, `sendContact`, `sendPresenceUpdate`, `sendSticker`: Methods for sending different types of messages through WhatsApp. 43 | 44 | ### Deprecated Methods 45 | - `sendButtons`: It will be removed in the next update 46 | 47 | #### Method Parameters 48 | 49 | - `sendMessage(numberIn, message, options)`: Sends a message to a given phone number. The message can include additional options like buttons or media. 50 | - `sendMedia(number, mediaUrl, text)`: Sends media to a given phone number. The media is specified by a URL, and additional text can be sent along with the media. 51 | - `sendImage(number, filePath, text)`: Sends an image to a given phone number. The image is specified by a file path, and additional text can be sent along with the image. 52 | - `sendVideo(number, filePath, text)`: Sends a video to a given phone number. The video is specified by a file path, and additional text can be sent along with the video. 53 | - `sendAudio(number, audioUrl)`: Sends audio to a given phone number. The audio is specified by a URL. 54 | - `sendText(number, message)`: Sends a text message to a given phone number. 55 | - `sendFile(number, filePath)`: Sends a file to a given phone number. The file is specified by a file path. 56 | - `sendPoll(number, text, poll)`: Sends a poll to a given phone number. The poll options are displayed along with a given text. 57 | - `sendLocation(remoteJid, latitude, longitude, messages)`: Sends a location to a given chat ID. The location is specified by latitude and longitude, and additional messages can be sent along with the location. 58 | - `sendContact(remoteJid, contactNumber, displayName, messages)`: Sends a contact to a given chat ID. The contact is specified by a phone number and a display name, and additional messages can be sent along with the contact. 59 | - `sendPresenceUpdate(remoteJid, WAPresence)`: Sends a presence update (e.g., "recording") to a given chat ID. 60 | - `sendSticker(remoteJid, url, stickerOptions, messages)`: Sends a sticker to a given chat ID. The sticker is specified by a URL, and additional messages can be sent along with the sticker. 61 | 62 | Please note that these methods are asynchronous, meaning they return a promise that resolves once the action is completed. 63 | 64 | 65 | ### Usage QR CODE 66 | 67 | Here is an example of how to use the `BaileysClass`: 68 | 69 | ```javascript 70 | import {BaileysClass} from '@bot-wa/bot-wa-baileys'; 71 | 72 | const botBaileys = new BaileysClass({}); 73 | 74 | botBaileys.on('auth_failure', async (error) => console.log("ERROR BOT: ", error)); 75 | botBaileys.on('qr', (qr) => console.log("NEW QR CODE: ", qr)); 76 | botBaileys.on('ready', async () => console.log('READY BOT')) 77 | 78 | let awaitingResponse = false; 79 | 80 | botBaileys.on('message', async (message) => { 81 | if (!awaitingResponse) { 82 | await botBaileys.sendPoll(message.from, 'Select an option', { 83 | options: ['text', 'media', 'file', 'sticker'], 84 | multiselect: false 85 | }); 86 | awaitingResponse = true; 87 | } else { 88 | const command = message.body.toLowerCase().trim(); 89 | switch (command) { 90 | case 'text': 91 | await botBaileys.sendText(message.from, 'Hello world'); 92 | break; 93 | case 'media': 94 | await botBaileys.sendMedia(message.from, 'https://www.w3schools.com/w3css/img_lights.jpg', 'Hello world'); 95 | break; 96 | case 'file': 97 | await botBaileys.sendFile(message.from, 'https://github.com/pedrazadixon/sample-files/raw/main/sample_pdf.pdf'); 98 | break; 99 | case 'sticker': 100 | await botBaileys.sendSticker(message.from, 'https://gifimgs.com/animations/anime/dragon-ball-z/Goku/goku_34.gif', { pack: 'User', author: 'Me' }); 101 | break; 102 | default: 103 | await botBaileys.sendText(message.from, 'Sorry, I did not understand that command. Please select an option from the poll.'); 104 | break; 105 | } 106 | awaitingResponse = false; 107 | } 108 | }); 109 | ``` 110 | 111 | ### Usage Pairing Code 112 | 113 | Here is an example of how to use the `BaileysClass`: 114 | 115 | ```javascript 116 | import {BaileysClass} from '@bot-wa/bot-wa-baileys'; 117 | 118 | const botBaileys = new BaileysClass({ usePairingCode: true, phoneNumber: 'XXXXXXXXXXX' }); 119 | 120 | botBaileys.on('auth_failure', async (error) => console.log("ERROR BOT: ", error)); 121 | botBaileys.on('pairing_code', (code) => console.log("NEW PAIRING CODE: ", code)); 122 | botBaileys.on('ready', async () => console.log('READY BOT')) 123 | 124 | let awaitingResponse = false; 125 | 126 | botBaileys.on('message', async (message) => { 127 | if (!awaitingResponse) { 128 | await botBaileys.sendPoll(message.from, 'Select an option', { 129 | options: ['text', 'media', 'file', 'sticker'], 130 | multiselect: false 131 | }); 132 | awaitingResponse = true; 133 | } else { 134 | const command = message.body.toLowerCase().trim(); 135 | switch (command) { 136 | case 'text': 137 | await botBaileys.sendText(message.from, 'Hello world'); 138 | break; 139 | case 'media': 140 | await botBaileys.sendMedia(message.from, 'https://www.w3schools.com/w3css/img_lights.jpg', 'Hello world'); 141 | break; 142 | case 'file': 143 | await botBaileys.sendFile(message.from, 'https://github.com/pedrazadixon/sample-files/raw/main/sample_pdf.pdf'); 144 | break; 145 | case 'sticker': 146 | await botBaileys.sendSticker(message.from, 'https://gifimgs.com/animations/anime/dragon-ball-z/Goku/goku_34.gif', { pack: 'User', author: 'Me' }); 147 | break; 148 | default: 149 | await botBaileys.sendText(message.from, 'Sorry, I did not understand that command. Please select an option from the poll.'); 150 | break; 151 | } 152 | awaitingResponse = false; 153 | } 154 | }); 155 | ``` 156 | 157 | ### Acknowledgements 158 | 159 | This project was inspired by ideas and code from the [bot-whatsapp](https://github.com/codigoencasa/bot-whatsapp) repository by codigoencasa. Their work on creating automated conversation flows and setting up automated responses for frequently asked questions was particularly influential. We appreciate their contributions to the open-source community and their work on WhatsApp bot development. 160 | 161 | 162 | ### Contribution 163 | If you want to contribute to this project, feel free to do so. Any type of improvement, bug fix or new features are welcome. 164 | 165 | ### Licencia 166 | 167 | This project is licensed under the [MIT](LICENSE). 168 | 169 | -------------------------------------------------------------------------------- /examples/bot.ts: -------------------------------------------------------------------------------- 1 | import { BaileysClass } from '../lib/baileys.js'; 2 | 3 | const botBaileys = new BaileysClass({}); 4 | 5 | botBaileys.on('auth_failure', async (error) => console.log("ERROR BOT: ", error)); 6 | botBaileys.on('qr', (qr) => console.log("NEW QR CODE: ", qr)); 7 | botBaileys.on('ready', async () => console.log('READY BOT')) 8 | 9 | let awaitingResponse = false; 10 | 11 | botBaileys.on('message', async (message) => { 12 | if (!awaitingResponse) { 13 | await botBaileys.sendPoll(message.from, 'Select an option', { 14 | options: ['text', 'media', 'file', 'sticker'], 15 | multiselect: false 16 | }); 17 | awaitingResponse = true; 18 | } else { 19 | const command = message.body.toLowerCase().trim(); 20 | switch (command) { 21 | case 'text': 22 | await botBaileys.sendText(message.from, 'Hello world'); 23 | break; 24 | case 'media': 25 | await botBaileys.sendMedia(message.from, 'https://www.w3schools.com/w3css/img_lights.jpg', 'Hello world'); 26 | break; 27 | case 'file': 28 | await botBaileys.sendFile(message.from, 'https://github.com/pedrazadixon/sample-files/raw/main/sample_pdf.pdf'); 29 | break; 30 | case 'sticker': 31 | await botBaileys.sendSticker(message.from, 'https://gifimgs.com/animations/anime/dragon-ball-z/Goku/goku_34.gif', { pack: 'User', author: 'Me' }); 32 | break; 33 | default: 34 | await botBaileys.sendText(message.from, 'Sorry, I did not understand that command. Please select an option from the poll.'); 35 | break; 36 | } 37 | awaitingResponse = false; 38 | } 39 | }); 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@bot-wa/bot-wa-baileys", 3 | "version": "1.1.4", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "@bot-wa/bot-wa-baileys", 9 | "version": "1.1.4", 10 | "license": "MIT", 11 | "dependencies": { 12 | "@ffmpeg-installer/ffmpeg": "^1.1.0", 13 | "@whiskeysockets/baileys": "^6.7.9", 14 | "fluent-ffmpeg": "^2.1.3", 15 | "qr-image": "^3.2.0", 16 | "qrcode-terminal": "^0.12.0" 17 | }, 18 | "devDependencies": { 19 | "@types/fluent-ffmpeg": "^2.1.26", 20 | "@types/mime-types": "^2.1.4", 21 | "@types/node": "^22.7.8", 22 | "ts-node": "^10.9.2", 23 | "typescript": "^5.6.3" 24 | } 25 | }, 26 | "node_modules/@adiwajshing/keyed-db": { 27 | "version": "0.2.4", 28 | "resolved": "https://registry.npmjs.org/@adiwajshing/keyed-db/-/keyed-db-0.2.4.tgz", 29 | "integrity": "sha512-yprSnAtj80/VKuDqRcFFLDYltoNV8tChNwFfIgcf6PGD4sjzWIBgs08pRuTqGH5mk5wgL6PBRSsMCZqtZwzFEw==", 30 | "license": "MIT" 31 | }, 32 | "node_modules/@cspotcode/source-map-support": { 33 | "version": "0.8.1", 34 | "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", 35 | "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", 36 | "dev": true, 37 | "license": "MIT", 38 | "dependencies": { 39 | "@jridgewell/trace-mapping": "0.3.9" 40 | }, 41 | "engines": { 42 | "node": ">=12" 43 | } 44 | }, 45 | "node_modules/@eshaz/web-worker": { 46 | "version": "1.2.2", 47 | "resolved": "https://registry.npmjs.org/@eshaz/web-worker/-/web-worker-1.2.2.tgz", 48 | "integrity": "sha512-WxXiHFmD9u/owrzempiDlBB1ZYqiLnm9s6aPc8AlFQalq2tKmqdmMr9GXOupDgzXtqnBipj8Un0gkIm7Sjf8mw==", 49 | "license": "Apache-2.0" 50 | }, 51 | "node_modules/@eslint-community/eslint-utils": { 52 | "version": "4.4.0", 53 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", 54 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", 55 | "license": "MIT", 56 | "dependencies": { 57 | "eslint-visitor-keys": "^3.3.0" 58 | }, 59 | "engines": { 60 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 61 | }, 62 | "peerDependencies": { 63 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" 64 | } 65 | }, 66 | "node_modules/@eslint-community/regexpp": { 67 | "version": "4.11.1", 68 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", 69 | "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", 70 | "license": "MIT", 71 | "engines": { 72 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0" 73 | } 74 | }, 75 | "node_modules/@eslint/eslintrc": { 76 | "version": "2.1.4", 77 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", 78 | "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", 79 | "license": "MIT", 80 | "peer": true, 81 | "dependencies": { 82 | "ajv": "^6.12.4", 83 | "debug": "^4.3.2", 84 | "espree": "^9.6.0", 85 | "globals": "^13.19.0", 86 | "ignore": "^5.2.0", 87 | "import-fresh": "^3.2.1", 88 | "js-yaml": "^4.1.0", 89 | "minimatch": "^3.1.2", 90 | "strip-json-comments": "^3.1.1" 91 | }, 92 | "engines": { 93 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 94 | }, 95 | "funding": { 96 | "url": "https://opencollective.com/eslint" 97 | } 98 | }, 99 | "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { 100 | "version": "1.1.11", 101 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 102 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 103 | "license": "MIT", 104 | "peer": true, 105 | "dependencies": { 106 | "balanced-match": "^1.0.0", 107 | "concat-map": "0.0.1" 108 | } 109 | }, 110 | "node_modules/@eslint/eslintrc/node_modules/minimatch": { 111 | "version": "3.1.2", 112 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 113 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 114 | "license": "ISC", 115 | "peer": true, 116 | "dependencies": { 117 | "brace-expansion": "^1.1.7" 118 | }, 119 | "engines": { 120 | "node": "*" 121 | } 122 | }, 123 | "node_modules/@eslint/eslintrc/node_modules/strip-json-comments": { 124 | "version": "3.1.1", 125 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 126 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 127 | "license": "MIT", 128 | "peer": true, 129 | "engines": { 130 | "node": ">=8" 131 | }, 132 | "funding": { 133 | "url": "https://github.com/sponsors/sindresorhus" 134 | } 135 | }, 136 | "node_modules/@eslint/js": { 137 | "version": "8.57.1", 138 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", 139 | "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", 140 | "license": "MIT", 141 | "peer": true, 142 | "engines": { 143 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 144 | } 145 | }, 146 | "node_modules/@ffmpeg-installer/darwin-arm64": { 147 | "version": "4.1.5", 148 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/darwin-arm64/-/darwin-arm64-4.1.5.tgz", 149 | "integrity": "sha512-hYqTiP63mXz7wSQfuqfFwfLOfwwFChUedeCVKkBtl/cliaTM7/ePI9bVzfZ2c+dWu3TqCwLDRWNSJ5pqZl8otA==", 150 | "cpu": [ 151 | "arm64" 152 | ], 153 | "hasInstallScript": true, 154 | "license": "https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/LICENSE.md", 155 | "optional": true, 156 | "os": [ 157 | "darwin" 158 | ] 159 | }, 160 | "node_modules/@ffmpeg-installer/darwin-x64": { 161 | "version": "4.1.0", 162 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/darwin-x64/-/darwin-x64-4.1.0.tgz", 163 | "integrity": "sha512-Z4EyG3cIFjdhlY8wI9aLUXuH8nVt7E9SlMVZtWvSPnm2sm37/yC2CwjUzyCQbJbySnef1tQwGG2Sx+uWhd9IAw==", 164 | "cpu": [ 165 | "x64" 166 | ], 167 | "hasInstallScript": true, 168 | "license": "LGPL-2.1", 169 | "optional": true, 170 | "os": [ 171 | "darwin" 172 | ] 173 | }, 174 | "node_modules/@ffmpeg-installer/ffmpeg": { 175 | "version": "1.1.0", 176 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/ffmpeg/-/ffmpeg-1.1.0.tgz", 177 | "integrity": "sha512-Uq4rmwkdGxIa9A6Bd/VqqYbT7zqh1GrT5/rFwCwKM70b42W5gIjWeVETq6SdcL0zXqDtY081Ws/iJWhr1+xvQg==", 178 | "license": "LGPL-2.1", 179 | "optionalDependencies": { 180 | "@ffmpeg-installer/darwin-arm64": "4.1.5", 181 | "@ffmpeg-installer/darwin-x64": "4.1.0", 182 | "@ffmpeg-installer/linux-arm": "4.1.3", 183 | "@ffmpeg-installer/linux-arm64": "4.1.4", 184 | "@ffmpeg-installer/linux-ia32": "4.1.0", 185 | "@ffmpeg-installer/linux-x64": "4.1.0", 186 | "@ffmpeg-installer/win32-ia32": "4.1.0", 187 | "@ffmpeg-installer/win32-x64": "4.1.0" 188 | } 189 | }, 190 | "node_modules/@ffmpeg-installer/linux-arm": { 191 | "version": "4.1.3", 192 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/linux-arm/-/linux-arm-4.1.3.tgz", 193 | "integrity": "sha512-NDf5V6l8AfzZ8WzUGZ5mV8O/xMzRag2ETR6+TlGIsMHp81agx51cqpPItXPib/nAZYmo55Bl2L6/WOMI3A5YRg==", 194 | "cpu": [ 195 | "arm" 196 | ], 197 | "hasInstallScript": true, 198 | "license": "GPLv3", 199 | "optional": true, 200 | "os": [ 201 | "linux" 202 | ] 203 | }, 204 | "node_modules/@ffmpeg-installer/linux-arm64": { 205 | "version": "4.1.4", 206 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/linux-arm64/-/linux-arm64-4.1.4.tgz", 207 | "integrity": "sha512-dljEqAOD0oIM6O6DxBW9US/FkvqvQwgJ2lGHOwHDDwu/pX8+V0YsDL1xqHbj1DMX/+nP9rxw7G7gcUvGspSoKg==", 208 | "cpu": [ 209 | "arm64" 210 | ], 211 | "hasInstallScript": true, 212 | "license": "GPLv3", 213 | "optional": true, 214 | "os": [ 215 | "linux" 216 | ] 217 | }, 218 | "node_modules/@ffmpeg-installer/linux-ia32": { 219 | "version": "4.1.0", 220 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/linux-ia32/-/linux-ia32-4.1.0.tgz", 221 | "integrity": "sha512-0LWyFQnPf+Ij9GQGD034hS6A90URNu9HCtQ5cTqo5MxOEc7Rd8gLXrJvn++UmxhU0J5RyRE9KRYstdCVUjkNOQ==", 222 | "cpu": [ 223 | "ia32" 224 | ], 225 | "hasInstallScript": true, 226 | "license": "GPLv3", 227 | "optional": true, 228 | "os": [ 229 | "linux" 230 | ] 231 | }, 232 | "node_modules/@ffmpeg-installer/linux-x64": { 233 | "version": "4.1.0", 234 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/linux-x64/-/linux-x64-4.1.0.tgz", 235 | "integrity": "sha512-Y5BWhGLU/WpQjOArNIgXD3z5mxxdV8c41C+U15nsE5yF8tVcdCGet5zPs5Zy3Ta6bU7haGpIzryutqCGQA/W8A==", 236 | "cpu": [ 237 | "x64" 238 | ], 239 | "hasInstallScript": true, 240 | "license": "GPLv3", 241 | "optional": true, 242 | "os": [ 243 | "linux" 244 | ] 245 | }, 246 | "node_modules/@ffmpeg-installer/win32-ia32": { 247 | "version": "4.1.0", 248 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/win32-ia32/-/win32-ia32-4.1.0.tgz", 249 | "integrity": "sha512-FV2D7RlaZv/lrtdhaQ4oETwoFUsUjlUiasiZLDxhEUPdNDWcH1OU9K1xTvqz+OXLdsmYelUDuBS/zkMOTtlUAw==", 250 | "cpu": [ 251 | "ia32" 252 | ], 253 | "license": "GPLv3", 254 | "optional": true, 255 | "os": [ 256 | "win32" 257 | ] 258 | }, 259 | "node_modules/@ffmpeg-installer/win32-x64": { 260 | "version": "4.1.0", 261 | "resolved": "https://registry.npmjs.org/@ffmpeg-installer/win32-x64/-/win32-x64-4.1.0.tgz", 262 | "integrity": "sha512-Drt5u2vzDnIONf4ZEkKtFlbvwj6rI3kxw1Ck9fpudmtgaZIHD4ucsWB2lCZBXRxJgXR+2IMSti+4rtM4C4rXgg==", 263 | "cpu": [ 264 | "x64" 265 | ], 266 | "license": "GPLv3", 267 | "optional": true, 268 | "os": [ 269 | "win32" 270 | ] 271 | }, 272 | "node_modules/@hapi/boom": { 273 | "version": "9.1.4", 274 | "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.4.tgz", 275 | "integrity": "sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==", 276 | "license": "BSD-3-Clause", 277 | "dependencies": { 278 | "@hapi/hoek": "9.x.x" 279 | } 280 | }, 281 | "node_modules/@hapi/hoek": { 282 | "version": "9.3.0", 283 | "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", 284 | "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", 285 | "license": "BSD-3-Clause" 286 | }, 287 | "node_modules/@humanwhocodes/config-array": { 288 | "version": "0.13.0", 289 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", 290 | "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", 291 | "deprecated": "Use @eslint/config-array instead", 292 | "license": "Apache-2.0", 293 | "peer": true, 294 | "dependencies": { 295 | "@humanwhocodes/object-schema": "^2.0.3", 296 | "debug": "^4.3.1", 297 | "minimatch": "^3.0.5" 298 | }, 299 | "engines": { 300 | "node": ">=10.10.0" 301 | } 302 | }, 303 | "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { 304 | "version": "1.1.11", 305 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 306 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 307 | "license": "MIT", 308 | "peer": true, 309 | "dependencies": { 310 | "balanced-match": "^1.0.0", 311 | "concat-map": "0.0.1" 312 | } 313 | }, 314 | "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { 315 | "version": "3.1.2", 316 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 317 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 318 | "license": "ISC", 319 | "peer": true, 320 | "dependencies": { 321 | "brace-expansion": "^1.1.7" 322 | }, 323 | "engines": { 324 | "node": "*" 325 | } 326 | }, 327 | "node_modules/@humanwhocodes/module-importer": { 328 | "version": "1.0.1", 329 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 330 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 331 | "license": "Apache-2.0", 332 | "peer": true, 333 | "engines": { 334 | "node": ">=12.22" 335 | }, 336 | "funding": { 337 | "type": "github", 338 | "url": "https://github.com/sponsors/nzakas" 339 | } 340 | }, 341 | "node_modules/@humanwhocodes/object-schema": { 342 | "version": "2.0.3", 343 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", 344 | "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", 345 | "deprecated": "Use @eslint/object-schema instead", 346 | "license": "BSD-3-Clause", 347 | "peer": true 348 | }, 349 | "node_modules/@jridgewell/resolve-uri": { 350 | "version": "3.1.2", 351 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", 352 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", 353 | "dev": true, 354 | "license": "MIT", 355 | "engines": { 356 | "node": ">=6.0.0" 357 | } 358 | }, 359 | "node_modules/@jridgewell/sourcemap-codec": { 360 | "version": "1.5.0", 361 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", 362 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", 363 | "dev": true, 364 | "license": "MIT" 365 | }, 366 | "node_modules/@jridgewell/trace-mapping": { 367 | "version": "0.3.9", 368 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", 369 | "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", 370 | "dev": true, 371 | "license": "MIT", 372 | "dependencies": { 373 | "@jridgewell/resolve-uri": "^3.0.3", 374 | "@jridgewell/sourcemap-codec": "^1.4.10" 375 | } 376 | }, 377 | "node_modules/@nodelib/fs.scandir": { 378 | "version": "2.1.5", 379 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 380 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 381 | "license": "MIT", 382 | "dependencies": { 383 | "@nodelib/fs.stat": "2.0.5", 384 | "run-parallel": "^1.1.9" 385 | }, 386 | "engines": { 387 | "node": ">= 8" 388 | } 389 | }, 390 | "node_modules/@nodelib/fs.stat": { 391 | "version": "2.0.5", 392 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 393 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 394 | "license": "MIT", 395 | "engines": { 396 | "node": ">= 8" 397 | } 398 | }, 399 | "node_modules/@nodelib/fs.walk": { 400 | "version": "1.2.8", 401 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 402 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 403 | "license": "MIT", 404 | "dependencies": { 405 | "@nodelib/fs.scandir": "2.1.5", 406 | "fastq": "^1.6.0" 407 | }, 408 | "engines": { 409 | "node": ">= 8" 410 | } 411 | }, 412 | "node_modules/@protobufjs/aspromise": { 413 | "version": "1.1.2", 414 | "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", 415 | "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", 416 | "license": "BSD-3-Clause" 417 | }, 418 | "node_modules/@protobufjs/base64": { 419 | "version": "1.1.2", 420 | "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", 421 | "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", 422 | "license": "BSD-3-Clause" 423 | }, 424 | "node_modules/@protobufjs/codegen": { 425 | "version": "2.0.4", 426 | "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", 427 | "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", 428 | "license": "BSD-3-Clause" 429 | }, 430 | "node_modules/@protobufjs/eventemitter": { 431 | "version": "1.1.0", 432 | "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", 433 | "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", 434 | "license": "BSD-3-Clause" 435 | }, 436 | "node_modules/@protobufjs/fetch": { 437 | "version": "1.1.0", 438 | "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", 439 | "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", 440 | "license": "BSD-3-Clause", 441 | "dependencies": { 442 | "@protobufjs/aspromise": "^1.1.1", 443 | "@protobufjs/inquire": "^1.1.0" 444 | } 445 | }, 446 | "node_modules/@protobufjs/float": { 447 | "version": "1.0.2", 448 | "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", 449 | "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", 450 | "license": "BSD-3-Clause" 451 | }, 452 | "node_modules/@protobufjs/inquire": { 453 | "version": "1.1.0", 454 | "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", 455 | "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", 456 | "license": "BSD-3-Clause" 457 | }, 458 | "node_modules/@protobufjs/path": { 459 | "version": "1.1.2", 460 | "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", 461 | "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", 462 | "license": "BSD-3-Clause" 463 | }, 464 | "node_modules/@protobufjs/pool": { 465 | "version": "1.1.0", 466 | "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", 467 | "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", 468 | "license": "BSD-3-Clause" 469 | }, 470 | "node_modules/@protobufjs/utf8": { 471 | "version": "1.1.0", 472 | "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", 473 | "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", 474 | "license": "BSD-3-Clause" 475 | }, 476 | "node_modules/@thi.ng/bitstream": { 477 | "version": "2.4.2", 478 | "resolved": "https://registry.npmjs.org/@thi.ng/bitstream/-/bitstream-2.4.2.tgz", 479 | "integrity": "sha512-Jf7JznMMucLSaioeAmMj9iklwObFRY6f+N2FDO6uBNzGo+D5+qbJ9G/x7K8Ga22t4a7+lVndRHNagBhwkXY2xw==", 480 | "funding": [ 481 | { 482 | "type": "github", 483 | "url": "https://github.com/sponsors/postspectacular" 484 | }, 485 | { 486 | "type": "patreon", 487 | "url": "https://patreon.com/thing_umbrella" 488 | } 489 | ], 490 | "license": "Apache-2.0", 491 | "dependencies": { 492 | "@thi.ng/errors": "^2.5.16" 493 | }, 494 | "engines": { 495 | "node": ">=18" 496 | } 497 | }, 498 | "node_modules/@thi.ng/errors": { 499 | "version": "2.5.16", 500 | "resolved": "https://registry.npmjs.org/@thi.ng/errors/-/errors-2.5.16.tgz", 501 | "integrity": "sha512-xFFJg7mGTqitbvc5Ta/CwJ7lX09g916DYJYGaR7bG7IKKqcVuC3iHhymxqWS0iC8R4mwljU+ztonBJtp+62ZaQ==", 502 | "funding": [ 503 | { 504 | "type": "github", 505 | "url": "https://github.com/sponsors/postspectacular" 506 | }, 507 | { 508 | "type": "patreon", 509 | "url": "https://patreon.com/thing_umbrella" 510 | } 511 | ], 512 | "license": "Apache-2.0", 513 | "engines": { 514 | "node": ">=18" 515 | } 516 | }, 517 | "node_modules/@tokenizer/token": { 518 | "version": "0.3.0", 519 | "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", 520 | "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", 521 | "license": "MIT" 522 | }, 523 | "node_modules/@tsconfig/node10": { 524 | "version": "1.0.11", 525 | "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", 526 | "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", 527 | "dev": true, 528 | "license": "MIT" 529 | }, 530 | "node_modules/@tsconfig/node12": { 531 | "version": "1.0.11", 532 | "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", 533 | "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", 534 | "dev": true, 535 | "license": "MIT" 536 | }, 537 | "node_modules/@tsconfig/node14": { 538 | "version": "1.0.3", 539 | "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", 540 | "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", 541 | "dev": true, 542 | "license": "MIT" 543 | }, 544 | "node_modules/@tsconfig/node16": { 545 | "version": "1.0.4", 546 | "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", 547 | "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", 548 | "dev": true, 549 | "license": "MIT" 550 | }, 551 | "node_modules/@types/fluent-ffmpeg": { 552 | "version": "2.1.26", 553 | "resolved": "https://registry.npmjs.org/@types/fluent-ffmpeg/-/fluent-ffmpeg-2.1.26.tgz", 554 | "integrity": "sha512-0JVF3wdQG+pN0ImwWD0bNgJiKF2OHg/7CDBHw5UIbRTvlnkgGHK6V5doE54ltvhud4o31/dEiHm23CAlxFiUQg==", 555 | "dev": true, 556 | "license": "MIT", 557 | "dependencies": { 558 | "@types/node": "*" 559 | } 560 | }, 561 | "node_modules/@types/long": { 562 | "version": "4.0.2", 563 | "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", 564 | "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==", 565 | "license": "MIT" 566 | }, 567 | "node_modules/@types/mime-types": { 568 | "version": "2.1.4", 569 | "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.4.tgz", 570 | "integrity": "sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==", 571 | "dev": true, 572 | "license": "MIT" 573 | }, 574 | "node_modules/@types/node": { 575 | "version": "22.7.8", 576 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.8.tgz", 577 | "integrity": "sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==", 578 | "license": "MIT", 579 | "dependencies": { 580 | "undici-types": "~6.19.2" 581 | } 582 | }, 583 | "node_modules/@typescript-eslint/eslint-plugin": { 584 | "version": "7.18.0", 585 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz", 586 | "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", 587 | "license": "MIT", 588 | "dependencies": { 589 | "@eslint-community/regexpp": "^4.10.0", 590 | "@typescript-eslint/scope-manager": "7.18.0", 591 | "@typescript-eslint/type-utils": "7.18.0", 592 | "@typescript-eslint/utils": "7.18.0", 593 | "@typescript-eslint/visitor-keys": "7.18.0", 594 | "graphemer": "^1.4.0", 595 | "ignore": "^5.3.1", 596 | "natural-compare": "^1.4.0", 597 | "ts-api-utils": "^1.3.0" 598 | }, 599 | "engines": { 600 | "node": "^18.18.0 || >=20.0.0" 601 | }, 602 | "funding": { 603 | "type": "opencollective", 604 | "url": "https://opencollective.com/typescript-eslint" 605 | }, 606 | "peerDependencies": { 607 | "@typescript-eslint/parser": "^7.0.0", 608 | "eslint": "^8.56.0" 609 | }, 610 | "peerDependenciesMeta": { 611 | "typescript": { 612 | "optional": true 613 | } 614 | } 615 | }, 616 | "node_modules/@typescript-eslint/parser": { 617 | "version": "7.18.0", 618 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", 619 | "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", 620 | "license": "BSD-2-Clause", 621 | "dependencies": { 622 | "@typescript-eslint/scope-manager": "7.18.0", 623 | "@typescript-eslint/types": "7.18.0", 624 | "@typescript-eslint/typescript-estree": "7.18.0", 625 | "@typescript-eslint/visitor-keys": "7.18.0", 626 | "debug": "^4.3.4" 627 | }, 628 | "engines": { 629 | "node": "^18.18.0 || >=20.0.0" 630 | }, 631 | "funding": { 632 | "type": "opencollective", 633 | "url": "https://opencollective.com/typescript-eslint" 634 | }, 635 | "peerDependencies": { 636 | "eslint": "^8.56.0" 637 | }, 638 | "peerDependenciesMeta": { 639 | "typescript": { 640 | "optional": true 641 | } 642 | } 643 | }, 644 | "node_modules/@typescript-eslint/scope-manager": { 645 | "version": "7.18.0", 646 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", 647 | "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", 648 | "license": "MIT", 649 | "dependencies": { 650 | "@typescript-eslint/types": "7.18.0", 651 | "@typescript-eslint/visitor-keys": "7.18.0" 652 | }, 653 | "engines": { 654 | "node": "^18.18.0 || >=20.0.0" 655 | }, 656 | "funding": { 657 | "type": "opencollective", 658 | "url": "https://opencollective.com/typescript-eslint" 659 | } 660 | }, 661 | "node_modules/@typescript-eslint/type-utils": { 662 | "version": "7.18.0", 663 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz", 664 | "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", 665 | "license": "MIT", 666 | "dependencies": { 667 | "@typescript-eslint/typescript-estree": "7.18.0", 668 | "@typescript-eslint/utils": "7.18.0", 669 | "debug": "^4.3.4", 670 | "ts-api-utils": "^1.3.0" 671 | }, 672 | "engines": { 673 | "node": "^18.18.0 || >=20.0.0" 674 | }, 675 | "funding": { 676 | "type": "opencollective", 677 | "url": "https://opencollective.com/typescript-eslint" 678 | }, 679 | "peerDependencies": { 680 | "eslint": "^8.56.0" 681 | }, 682 | "peerDependenciesMeta": { 683 | "typescript": { 684 | "optional": true 685 | } 686 | } 687 | }, 688 | "node_modules/@typescript-eslint/types": { 689 | "version": "7.18.0", 690 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", 691 | "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", 692 | "license": "MIT", 693 | "engines": { 694 | "node": "^18.18.0 || >=20.0.0" 695 | }, 696 | "funding": { 697 | "type": "opencollective", 698 | "url": "https://opencollective.com/typescript-eslint" 699 | } 700 | }, 701 | "node_modules/@typescript-eslint/typescript-estree": { 702 | "version": "7.18.0", 703 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", 704 | "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", 705 | "license": "BSD-2-Clause", 706 | "dependencies": { 707 | "@typescript-eslint/types": "7.18.0", 708 | "@typescript-eslint/visitor-keys": "7.18.0", 709 | "debug": "^4.3.4", 710 | "globby": "^11.1.0", 711 | "is-glob": "^4.0.3", 712 | "minimatch": "^9.0.4", 713 | "semver": "^7.6.0", 714 | "ts-api-utils": "^1.3.0" 715 | }, 716 | "engines": { 717 | "node": "^18.18.0 || >=20.0.0" 718 | }, 719 | "funding": { 720 | "type": "opencollective", 721 | "url": "https://opencollective.com/typescript-eslint" 722 | }, 723 | "peerDependenciesMeta": { 724 | "typescript": { 725 | "optional": true 726 | } 727 | } 728 | }, 729 | "node_modules/@typescript-eslint/utils": { 730 | "version": "7.18.0", 731 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", 732 | "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", 733 | "license": "MIT", 734 | "dependencies": { 735 | "@eslint-community/eslint-utils": "^4.4.0", 736 | "@typescript-eslint/scope-manager": "7.18.0", 737 | "@typescript-eslint/types": "7.18.0", 738 | "@typescript-eslint/typescript-estree": "7.18.0" 739 | }, 740 | "engines": { 741 | "node": "^18.18.0 || >=20.0.0" 742 | }, 743 | "funding": { 744 | "type": "opencollective", 745 | "url": "https://opencollective.com/typescript-eslint" 746 | }, 747 | "peerDependencies": { 748 | "eslint": "^8.56.0" 749 | } 750 | }, 751 | "node_modules/@typescript-eslint/visitor-keys": { 752 | "version": "7.18.0", 753 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", 754 | "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", 755 | "license": "MIT", 756 | "dependencies": { 757 | "@typescript-eslint/types": "7.18.0", 758 | "eslint-visitor-keys": "^3.4.3" 759 | }, 760 | "engines": { 761 | "node": "^18.18.0 || >=20.0.0" 762 | }, 763 | "funding": { 764 | "type": "opencollective", 765 | "url": "https://opencollective.com/typescript-eslint" 766 | } 767 | }, 768 | "node_modules/@ungap/structured-clone": { 769 | "version": "1.2.0", 770 | "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", 771 | "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", 772 | "license": "ISC", 773 | "peer": true 774 | }, 775 | "node_modules/@wasm-audio-decoders/common": { 776 | "version": "9.0.5", 777 | "resolved": "https://registry.npmjs.org/@wasm-audio-decoders/common/-/common-9.0.5.tgz", 778 | "integrity": "sha512-b9JNh9sPAvn8PVIizNh9D60WkfQong/u9ea873H47u7zvVDLctxYIp2aZw9CQqXaQdk7JB3MoU5UHiseO40swg==", 779 | "license": "MIT", 780 | "dependencies": { 781 | "@eshaz/web-worker": "1.2.2", 782 | "simple-yenc": "^1.0.4" 783 | } 784 | }, 785 | "node_modules/@wasm-audio-decoders/flac": { 786 | "version": "0.2.4", 787 | "resolved": "https://registry.npmjs.org/@wasm-audio-decoders/flac/-/flac-0.2.4.tgz", 788 | "integrity": "sha512-bsUlwIjd5y+IAEyILCQdi8y0LocKEkZ0enA8ljDL+NVVwN+5Rv5Xkm/HcdUxnB7MtekxN2cNcTsv1zkb2aZyWg==", 789 | "license": "MIT", 790 | "dependencies": { 791 | "@wasm-audio-decoders/common": "9.0.5", 792 | "codec-parser": "2.4.3" 793 | }, 794 | "funding": { 795 | "type": "individual", 796 | "url": "https://github.com/sponsors/eshaz" 797 | } 798 | }, 799 | "node_modules/@wasm-audio-decoders/ogg-vorbis": { 800 | "version": "0.1.15", 801 | "resolved": "https://registry.npmjs.org/@wasm-audio-decoders/ogg-vorbis/-/ogg-vorbis-0.1.15.tgz", 802 | "integrity": "sha512-skAN3NIrRzMkVouyfyq3gYT/op/K9iutMZr7kr5/9fnIaCnpYdrdbv69X8PZ6y3K2J5zy5KuGno5kzH8yGLOOg==", 803 | "license": "MIT", 804 | "dependencies": { 805 | "@wasm-audio-decoders/common": "9.0.5", 806 | "codec-parser": "2.4.3" 807 | }, 808 | "funding": { 809 | "type": "individual", 810 | "url": "https://github.com/sponsors/eshaz" 811 | } 812 | }, 813 | "node_modules/@whiskeysockets/baileys": { 814 | "version": "6.7.9", 815 | "resolved": "https://registry.npmjs.org/@whiskeysockets/baileys/-/baileys-6.7.9.tgz", 816 | "integrity": "sha512-+23DOlzgRYvDYPq5qTDRCho6EqyRMaSWL2OadvhY+nE4Ew8HCNTwpDASIaGoFPqGyQgzAJUNgwOFvBsdJlORpA==", 817 | "license": "MIT", 818 | "dependencies": { 819 | "@adiwajshing/keyed-db": "^0.2.4", 820 | "@hapi/boom": "^9.1.3", 821 | "@whiskeysockets/eslint-config": "github:whiskeysockets/eslint-config", 822 | "async-lock": "^1.4.1", 823 | "audio-decode": "^2.1.3", 824 | "axios": "^1.6.0", 825 | "cache-manager": "^5.7.6", 826 | "futoin-hkdf": "^1.5.1", 827 | "libphonenumber-js": "^1.10.20", 828 | "libsignal": "github:WhiskeySockets/libsignal-node", 829 | "lodash": "^4.17.21", 830 | "music-metadata": "^7.12.3", 831 | "node-cache": "^5.1.2", 832 | "pino": "^7.0.0", 833 | "protobufjs": "^7.2.4", 834 | "uuid": "^10.0.0", 835 | "ws": "^8.13.0" 836 | }, 837 | "peerDependencies": { 838 | "jimp": "^0.16.1", 839 | "link-preview-js": "^3.0.0", 840 | "qrcode-terminal": "^0.12.0", 841 | "sharp": "^0.32.6" 842 | }, 843 | "peerDependenciesMeta": { 844 | "jimp": { 845 | "optional": true 846 | }, 847 | "link-preview-js": { 848 | "optional": true 849 | }, 850 | "qrcode-terminal": { 851 | "optional": true 852 | }, 853 | "sharp": { 854 | "optional": true 855 | } 856 | } 857 | }, 858 | "node_modules/@whiskeysockets/eslint-config": { 859 | "version": "1.0.0", 860 | "resolved": "git+ssh://git@github.com/whiskeysockets/eslint-config.git#326b55f2842668f4e11f471451c4e39819a0e1bf", 861 | "dependencies": { 862 | "@typescript-eslint/eslint-plugin": "^7.15.0", 863 | "@typescript-eslint/parser": "^7.15.0", 864 | "eslint-plugin-simple-import-sort": "^12.1.1" 865 | }, 866 | "peerDependencies": { 867 | "eslint": "*", 868 | "typescript": ">=4" 869 | } 870 | }, 871 | "node_modules/acorn": { 872 | "version": "8.12.1", 873 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", 874 | "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", 875 | "license": "MIT", 876 | "bin": { 877 | "acorn": "bin/acorn" 878 | }, 879 | "engines": { 880 | "node": ">=0.4.0" 881 | } 882 | }, 883 | "node_modules/acorn-jsx": { 884 | "version": "5.3.2", 885 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 886 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 887 | "license": "MIT", 888 | "peer": true, 889 | "peerDependencies": { 890 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 891 | } 892 | }, 893 | "node_modules/acorn-walk": { 894 | "version": "8.3.4", 895 | "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", 896 | "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", 897 | "dev": true, 898 | "license": "MIT", 899 | "dependencies": { 900 | "acorn": "^8.11.0" 901 | }, 902 | "engines": { 903 | "node": ">=0.4.0" 904 | } 905 | }, 906 | "node_modules/ajv": { 907 | "version": "6.12.6", 908 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 909 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 910 | "license": "MIT", 911 | "peer": true, 912 | "dependencies": { 913 | "fast-deep-equal": "^3.1.1", 914 | "fast-json-stable-stringify": "^2.0.0", 915 | "json-schema-traverse": "^0.4.1", 916 | "uri-js": "^4.2.2" 917 | }, 918 | "funding": { 919 | "type": "github", 920 | "url": "https://github.com/sponsors/epoberezkin" 921 | } 922 | }, 923 | "node_modules/ansi-regex": { 924 | "version": "5.0.1", 925 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 926 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 927 | "license": "MIT", 928 | "peer": true, 929 | "engines": { 930 | "node": ">=8" 931 | } 932 | }, 933 | "node_modules/ansi-styles": { 934 | "version": "4.3.0", 935 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 936 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 937 | "license": "MIT", 938 | "peer": true, 939 | "dependencies": { 940 | "color-convert": "^2.0.1" 941 | }, 942 | "engines": { 943 | "node": ">=8" 944 | }, 945 | "funding": { 946 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 947 | } 948 | }, 949 | "node_modules/arg": { 950 | "version": "4.1.3", 951 | "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", 952 | "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", 953 | "dev": true, 954 | "license": "MIT" 955 | }, 956 | "node_modules/argparse": { 957 | "version": "2.0.1", 958 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 959 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 960 | "license": "Python-2.0", 961 | "peer": true 962 | }, 963 | "node_modules/array-union": { 964 | "version": "2.1.0", 965 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 966 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 967 | "license": "MIT", 968 | "engines": { 969 | "node": ">=8" 970 | } 971 | }, 972 | "node_modules/async": { 973 | "version": "0.2.10", 974 | "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", 975 | "integrity": "sha512-eAkdoKxU6/LkKDBzLpT+t6Ff5EtfSF4wx1WfJiPEEV7WNLnDaRXk0oVysiEPm262roaachGexwUv94WhSgN5TQ==" 976 | }, 977 | "node_modules/async-lock": { 978 | "version": "1.4.1", 979 | "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.1.tgz", 980 | "integrity": "sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==", 981 | "license": "MIT" 982 | }, 983 | "node_modules/asynckit": { 984 | "version": "0.4.0", 985 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 986 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", 987 | "license": "MIT" 988 | }, 989 | "node_modules/atomic-sleep": { 990 | "version": "1.0.0", 991 | "resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz", 992 | "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", 993 | "license": "MIT", 994 | "engines": { 995 | "node": ">=8.0.0" 996 | } 997 | }, 998 | "node_modules/audio-buffer": { 999 | "version": "5.0.0", 1000 | "resolved": "https://registry.npmjs.org/audio-buffer/-/audio-buffer-5.0.0.tgz", 1001 | "integrity": "sha512-gsDyj1wwUp8u7NBB+eW6yhLb9ICf+0eBmDX8NGaAS00w8/fLqFdxUlL5Ge/U8kB64DlQhdonxYC59dXy1J7H/w==", 1002 | "license": "MIT" 1003 | }, 1004 | "node_modules/audio-decode": { 1005 | "version": "2.2.2", 1006 | "resolved": "https://registry.npmjs.org/audio-decode/-/audio-decode-2.2.2.tgz", 1007 | "integrity": "sha512-xyh7z6dpRT+5Ez4ggV2cEkSShkDvvIBBmVPR3kYY7uIBqRO1BGNjofip6JnjBnvezhrU3ypBGZjepyKFDZWnDw==", 1008 | "license": "MIT", 1009 | "dependencies": { 1010 | "@wasm-audio-decoders/flac": "^0.2.4", 1011 | "@wasm-audio-decoders/ogg-vorbis": "^0.1.15", 1012 | "audio-buffer": "^5.0.0", 1013 | "audio-type": "^2.2.1", 1014 | "mpg123-decoder": "^1.0.0", 1015 | "node-wav": "^0.0.2", 1016 | "ogg-opus-decoder": "^1.6.12", 1017 | "qoa-format": "^1.0.1" 1018 | } 1019 | }, 1020 | "node_modules/audio-type": { 1021 | "version": "2.2.1", 1022 | "resolved": "https://registry.npmjs.org/audio-type/-/audio-type-2.2.1.tgz", 1023 | "integrity": "sha512-En9AY6EG1qYqEy5L/quryzbA4akBpJrnBZNxeKTqGHC2xT9Qc4aZ8b7CcbOMFTTc/MGdoNyp+SN4zInZNKxMYA==", 1024 | "license": "MIT", 1025 | "engines": { 1026 | "node": ">=14" 1027 | } 1028 | }, 1029 | "node_modules/axios": { 1030 | "version": "1.7.7", 1031 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", 1032 | "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", 1033 | "license": "MIT", 1034 | "dependencies": { 1035 | "follow-redirects": "^1.15.6", 1036 | "form-data": "^4.0.0", 1037 | "proxy-from-env": "^1.1.0" 1038 | } 1039 | }, 1040 | "node_modules/b4a": { 1041 | "version": "1.6.6", 1042 | "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz", 1043 | "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==", 1044 | "license": "Apache-2.0", 1045 | "optional": true, 1046 | "peer": true 1047 | }, 1048 | "node_modules/balanced-match": { 1049 | "version": "1.0.2", 1050 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1051 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 1052 | "license": "MIT" 1053 | }, 1054 | "node_modules/bare-events": { 1055 | "version": "2.4.2", 1056 | "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz", 1057 | "integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==", 1058 | "license": "Apache-2.0", 1059 | "optional": true, 1060 | "peer": true 1061 | }, 1062 | "node_modules/bare-fs": { 1063 | "version": "2.3.5", 1064 | "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz", 1065 | "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==", 1066 | "license": "Apache-2.0", 1067 | "optional": true, 1068 | "peer": true, 1069 | "dependencies": { 1070 | "bare-events": "^2.0.0", 1071 | "bare-path": "^2.0.0", 1072 | "bare-stream": "^2.0.0" 1073 | } 1074 | }, 1075 | "node_modules/bare-os": { 1076 | "version": "2.4.4", 1077 | "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz", 1078 | "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==", 1079 | "license": "Apache-2.0", 1080 | "optional": true, 1081 | "peer": true 1082 | }, 1083 | "node_modules/bare-path": { 1084 | "version": "2.1.3", 1085 | "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz", 1086 | "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==", 1087 | "license": "Apache-2.0", 1088 | "optional": true, 1089 | "peer": true, 1090 | "dependencies": { 1091 | "bare-os": "^2.1.0" 1092 | } 1093 | }, 1094 | "node_modules/bare-stream": { 1095 | "version": "2.3.0", 1096 | "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.3.0.tgz", 1097 | "integrity": "sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==", 1098 | "license": "Apache-2.0", 1099 | "optional": true, 1100 | "peer": true, 1101 | "dependencies": { 1102 | "b4a": "^1.6.6", 1103 | "streamx": "^2.20.0" 1104 | } 1105 | }, 1106 | "node_modules/base64-js": { 1107 | "version": "1.5.1", 1108 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 1109 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 1110 | "funding": [ 1111 | { 1112 | "type": "github", 1113 | "url": "https://github.com/sponsors/feross" 1114 | }, 1115 | { 1116 | "type": "patreon", 1117 | "url": "https://www.patreon.com/feross" 1118 | }, 1119 | { 1120 | "type": "consulting", 1121 | "url": "https://feross.org/support" 1122 | } 1123 | ], 1124 | "license": "MIT", 1125 | "optional": true, 1126 | "peer": true 1127 | }, 1128 | "node_modules/bl": { 1129 | "version": "4.1.0", 1130 | "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", 1131 | "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", 1132 | "license": "MIT", 1133 | "optional": true, 1134 | "peer": true, 1135 | "dependencies": { 1136 | "buffer": "^5.5.0", 1137 | "inherits": "^2.0.4", 1138 | "readable-stream": "^3.4.0" 1139 | } 1140 | }, 1141 | "node_modules/brace-expansion": { 1142 | "version": "2.0.1", 1143 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1144 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1145 | "license": "MIT", 1146 | "dependencies": { 1147 | "balanced-match": "^1.0.0" 1148 | } 1149 | }, 1150 | "node_modules/braces": { 1151 | "version": "3.0.3", 1152 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 1153 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 1154 | "license": "MIT", 1155 | "dependencies": { 1156 | "fill-range": "^7.1.1" 1157 | }, 1158 | "engines": { 1159 | "node": ">=8" 1160 | } 1161 | }, 1162 | "node_modules/buffer": { 1163 | "version": "5.7.1", 1164 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 1165 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 1166 | "funding": [ 1167 | { 1168 | "type": "github", 1169 | "url": "https://github.com/sponsors/feross" 1170 | }, 1171 | { 1172 | "type": "patreon", 1173 | "url": "https://www.patreon.com/feross" 1174 | }, 1175 | { 1176 | "type": "consulting", 1177 | "url": "https://feross.org/support" 1178 | } 1179 | ], 1180 | "license": "MIT", 1181 | "optional": true, 1182 | "peer": true, 1183 | "dependencies": { 1184 | "base64-js": "^1.3.1", 1185 | "ieee754": "^1.1.13" 1186 | } 1187 | }, 1188 | "node_modules/cache-manager": { 1189 | "version": "5.7.6", 1190 | "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.7.6.tgz", 1191 | "integrity": "sha512-wBxnBHjDxF1RXpHCBD6HGvKER003Ts7IIm0CHpggliHzN1RZditb7rXoduE1rplc2DEFYKxhLKgFuchXMJje9w==", 1192 | "license": "MIT", 1193 | "dependencies": { 1194 | "eventemitter3": "^5.0.1", 1195 | "lodash.clonedeep": "^4.5.0", 1196 | "lru-cache": "^10.2.2", 1197 | "promise-coalesce": "^1.1.2" 1198 | }, 1199 | "engines": { 1200 | "node": ">= 18" 1201 | } 1202 | }, 1203 | "node_modules/callsites": { 1204 | "version": "3.1.0", 1205 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 1206 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 1207 | "license": "MIT", 1208 | "peer": true, 1209 | "engines": { 1210 | "node": ">=6" 1211 | } 1212 | }, 1213 | "node_modules/chalk": { 1214 | "version": "4.1.2", 1215 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1216 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1217 | "license": "MIT", 1218 | "peer": true, 1219 | "dependencies": { 1220 | "ansi-styles": "^4.1.0", 1221 | "supports-color": "^7.1.0" 1222 | }, 1223 | "engines": { 1224 | "node": ">=10" 1225 | }, 1226 | "funding": { 1227 | "url": "https://github.com/chalk/chalk?sponsor=1" 1228 | } 1229 | }, 1230 | "node_modules/chownr": { 1231 | "version": "1.1.4", 1232 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", 1233 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", 1234 | "license": "ISC", 1235 | "optional": true, 1236 | "peer": true 1237 | }, 1238 | "node_modules/clone": { 1239 | "version": "2.1.2", 1240 | "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", 1241 | "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", 1242 | "license": "MIT", 1243 | "engines": { 1244 | "node": ">=0.8" 1245 | } 1246 | }, 1247 | "node_modules/codec-parser": { 1248 | "version": "2.4.3", 1249 | "resolved": "https://registry.npmjs.org/codec-parser/-/codec-parser-2.4.3.tgz", 1250 | "integrity": "sha512-3dAvFtdpxn4YLstqsB2ZiJXXNg7n1j7R5ONeDuk+2kBkb39PwrCRytOFHlSWA8q5jCjW3PumeMv9q37bFHsijg==", 1251 | "license": "LGPL-3.0-or-later" 1252 | }, 1253 | "node_modules/color": { 1254 | "version": "4.2.3", 1255 | "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", 1256 | "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", 1257 | "license": "MIT", 1258 | "optional": true, 1259 | "peer": true, 1260 | "dependencies": { 1261 | "color-convert": "^2.0.1", 1262 | "color-string": "^1.9.0" 1263 | }, 1264 | "engines": { 1265 | "node": ">=12.5.0" 1266 | } 1267 | }, 1268 | "node_modules/color-convert": { 1269 | "version": "2.0.1", 1270 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1271 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1272 | "license": "MIT", 1273 | "peer": true, 1274 | "dependencies": { 1275 | "color-name": "~1.1.4" 1276 | }, 1277 | "engines": { 1278 | "node": ">=7.0.0" 1279 | } 1280 | }, 1281 | "node_modules/color-name": { 1282 | "version": "1.1.4", 1283 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1284 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1285 | "license": "MIT", 1286 | "peer": true 1287 | }, 1288 | "node_modules/color-string": { 1289 | "version": "1.9.1", 1290 | "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", 1291 | "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", 1292 | "license": "MIT", 1293 | "optional": true, 1294 | "peer": true, 1295 | "dependencies": { 1296 | "color-name": "^1.0.0", 1297 | "simple-swizzle": "^0.2.2" 1298 | } 1299 | }, 1300 | "node_modules/combined-stream": { 1301 | "version": "1.0.8", 1302 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 1303 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 1304 | "license": "MIT", 1305 | "dependencies": { 1306 | "delayed-stream": "~1.0.0" 1307 | }, 1308 | "engines": { 1309 | "node": ">= 0.8" 1310 | } 1311 | }, 1312 | "node_modules/concat-map": { 1313 | "version": "0.0.1", 1314 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1315 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 1316 | "license": "MIT", 1317 | "peer": true 1318 | }, 1319 | "node_modules/content-type": { 1320 | "version": "1.0.5", 1321 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 1322 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 1323 | "license": "MIT", 1324 | "engines": { 1325 | "node": ">= 0.6" 1326 | } 1327 | }, 1328 | "node_modules/create-require": { 1329 | "version": "1.1.1", 1330 | "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", 1331 | "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", 1332 | "dev": true, 1333 | "license": "MIT" 1334 | }, 1335 | "node_modules/cross-spawn": { 1336 | "version": "7.0.3", 1337 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 1338 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 1339 | "license": "MIT", 1340 | "peer": true, 1341 | "dependencies": { 1342 | "path-key": "^3.1.0", 1343 | "shebang-command": "^2.0.0", 1344 | "which": "^2.0.1" 1345 | }, 1346 | "engines": { 1347 | "node": ">= 8" 1348 | } 1349 | }, 1350 | "node_modules/cross-spawn/node_modules/which": { 1351 | "version": "2.0.2", 1352 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1353 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1354 | "license": "ISC", 1355 | "peer": true, 1356 | "dependencies": { 1357 | "isexe": "^2.0.0" 1358 | }, 1359 | "bin": { 1360 | "node-which": "bin/node-which" 1361 | }, 1362 | "engines": { 1363 | "node": ">= 8" 1364 | } 1365 | }, 1366 | "node_modules/curve25519-js": { 1367 | "version": "0.0.4", 1368 | "resolved": "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz", 1369 | "integrity": "sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w==", 1370 | "license": "MIT" 1371 | }, 1372 | "node_modules/debug": { 1373 | "version": "4.3.7", 1374 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", 1375 | "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", 1376 | "license": "MIT", 1377 | "dependencies": { 1378 | "ms": "^2.1.3" 1379 | }, 1380 | "engines": { 1381 | "node": ">=6.0" 1382 | }, 1383 | "peerDependenciesMeta": { 1384 | "supports-color": { 1385 | "optional": true 1386 | } 1387 | } 1388 | }, 1389 | "node_modules/decompress-response": { 1390 | "version": "6.0.0", 1391 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", 1392 | "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", 1393 | "license": "MIT", 1394 | "optional": true, 1395 | "peer": true, 1396 | "dependencies": { 1397 | "mimic-response": "^3.1.0" 1398 | }, 1399 | "engines": { 1400 | "node": ">=10" 1401 | }, 1402 | "funding": { 1403 | "url": "https://github.com/sponsors/sindresorhus" 1404 | } 1405 | }, 1406 | "node_modules/deep-extend": { 1407 | "version": "0.6.0", 1408 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 1409 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", 1410 | "license": "MIT", 1411 | "optional": true, 1412 | "peer": true, 1413 | "engines": { 1414 | "node": ">=4.0.0" 1415 | } 1416 | }, 1417 | "node_modules/deep-is": { 1418 | "version": "0.1.4", 1419 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 1420 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 1421 | "license": "MIT", 1422 | "peer": true 1423 | }, 1424 | "node_modules/delayed-stream": { 1425 | "version": "1.0.0", 1426 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 1427 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 1428 | "license": "MIT", 1429 | "engines": { 1430 | "node": ">=0.4.0" 1431 | } 1432 | }, 1433 | "node_modules/detect-libc": { 1434 | "version": "2.0.3", 1435 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", 1436 | "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", 1437 | "license": "Apache-2.0", 1438 | "optional": true, 1439 | "peer": true, 1440 | "engines": { 1441 | "node": ">=8" 1442 | } 1443 | }, 1444 | "node_modules/diff": { 1445 | "version": "4.0.2", 1446 | "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", 1447 | "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", 1448 | "dev": true, 1449 | "license": "BSD-3-Clause", 1450 | "engines": { 1451 | "node": ">=0.3.1" 1452 | } 1453 | }, 1454 | "node_modules/dir-glob": { 1455 | "version": "3.0.1", 1456 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 1457 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 1458 | "license": "MIT", 1459 | "dependencies": { 1460 | "path-type": "^4.0.0" 1461 | }, 1462 | "engines": { 1463 | "node": ">=8" 1464 | } 1465 | }, 1466 | "node_modules/doctrine": { 1467 | "version": "3.0.0", 1468 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 1469 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 1470 | "license": "Apache-2.0", 1471 | "peer": true, 1472 | "dependencies": { 1473 | "esutils": "^2.0.2" 1474 | }, 1475 | "engines": { 1476 | "node": ">=6.0.0" 1477 | } 1478 | }, 1479 | "node_modules/duplexify": { 1480 | "version": "4.1.3", 1481 | "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.3.tgz", 1482 | "integrity": "sha512-M3BmBhwJRZsSx38lZyhE53Csddgzl5R7xGJNk7CVddZD6CcmwMCH8J+7AprIrQKH7TonKxaCjcv27Qmf+sQ+oA==", 1483 | "license": "MIT", 1484 | "dependencies": { 1485 | "end-of-stream": "^1.4.1", 1486 | "inherits": "^2.0.3", 1487 | "readable-stream": "^3.1.1", 1488 | "stream-shift": "^1.0.2" 1489 | } 1490 | }, 1491 | "node_modules/end-of-stream": { 1492 | "version": "1.4.4", 1493 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 1494 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 1495 | "license": "MIT", 1496 | "dependencies": { 1497 | "once": "^1.4.0" 1498 | } 1499 | }, 1500 | "node_modules/escape-string-regexp": { 1501 | "version": "4.0.0", 1502 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 1503 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 1504 | "license": "MIT", 1505 | "peer": true, 1506 | "engines": { 1507 | "node": ">=10" 1508 | }, 1509 | "funding": { 1510 | "url": "https://github.com/sponsors/sindresorhus" 1511 | } 1512 | }, 1513 | "node_modules/eslint": { 1514 | "version": "8.57.1", 1515 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", 1516 | "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", 1517 | "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", 1518 | "license": "MIT", 1519 | "peer": true, 1520 | "dependencies": { 1521 | "@eslint-community/eslint-utils": "^4.2.0", 1522 | "@eslint-community/regexpp": "^4.6.1", 1523 | "@eslint/eslintrc": "^2.1.4", 1524 | "@eslint/js": "8.57.1", 1525 | "@humanwhocodes/config-array": "^0.13.0", 1526 | "@humanwhocodes/module-importer": "^1.0.1", 1527 | "@nodelib/fs.walk": "^1.2.8", 1528 | "@ungap/structured-clone": "^1.2.0", 1529 | "ajv": "^6.12.4", 1530 | "chalk": "^4.0.0", 1531 | "cross-spawn": "^7.0.2", 1532 | "debug": "^4.3.2", 1533 | "doctrine": "^3.0.0", 1534 | "escape-string-regexp": "^4.0.0", 1535 | "eslint-scope": "^7.2.2", 1536 | "eslint-visitor-keys": "^3.4.3", 1537 | "espree": "^9.6.1", 1538 | "esquery": "^1.4.2", 1539 | "esutils": "^2.0.2", 1540 | "fast-deep-equal": "^3.1.3", 1541 | "file-entry-cache": "^6.0.1", 1542 | "find-up": "^5.0.0", 1543 | "glob-parent": "^6.0.2", 1544 | "globals": "^13.19.0", 1545 | "graphemer": "^1.4.0", 1546 | "ignore": "^5.2.0", 1547 | "imurmurhash": "^0.1.4", 1548 | "is-glob": "^4.0.0", 1549 | "is-path-inside": "^3.0.3", 1550 | "js-yaml": "^4.1.0", 1551 | "json-stable-stringify-without-jsonify": "^1.0.1", 1552 | "levn": "^0.4.1", 1553 | "lodash.merge": "^4.6.2", 1554 | "minimatch": "^3.1.2", 1555 | "natural-compare": "^1.4.0", 1556 | "optionator": "^0.9.3", 1557 | "strip-ansi": "^6.0.1", 1558 | "text-table": "^0.2.0" 1559 | }, 1560 | "bin": { 1561 | "eslint": "bin/eslint.js" 1562 | }, 1563 | "engines": { 1564 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1565 | }, 1566 | "funding": { 1567 | "url": "https://opencollective.com/eslint" 1568 | } 1569 | }, 1570 | "node_modules/eslint-plugin-simple-import-sort": { 1571 | "version": "12.1.1", 1572 | "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz", 1573 | "integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==", 1574 | "license": "MIT", 1575 | "peerDependencies": { 1576 | "eslint": ">=5.0.0" 1577 | } 1578 | }, 1579 | "node_modules/eslint-scope": { 1580 | "version": "7.2.2", 1581 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 1582 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 1583 | "license": "BSD-2-Clause", 1584 | "peer": true, 1585 | "dependencies": { 1586 | "esrecurse": "^4.3.0", 1587 | "estraverse": "^5.2.0" 1588 | }, 1589 | "engines": { 1590 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1591 | }, 1592 | "funding": { 1593 | "url": "https://opencollective.com/eslint" 1594 | } 1595 | }, 1596 | "node_modules/eslint-visitor-keys": { 1597 | "version": "3.4.3", 1598 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 1599 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 1600 | "license": "Apache-2.0", 1601 | "engines": { 1602 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1603 | }, 1604 | "funding": { 1605 | "url": "https://opencollective.com/eslint" 1606 | } 1607 | }, 1608 | "node_modules/eslint/node_modules/brace-expansion": { 1609 | "version": "1.1.11", 1610 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1611 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1612 | "license": "MIT", 1613 | "peer": true, 1614 | "dependencies": { 1615 | "balanced-match": "^1.0.0", 1616 | "concat-map": "0.0.1" 1617 | } 1618 | }, 1619 | "node_modules/eslint/node_modules/minimatch": { 1620 | "version": "3.1.2", 1621 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1622 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1623 | "license": "ISC", 1624 | "peer": true, 1625 | "dependencies": { 1626 | "brace-expansion": "^1.1.7" 1627 | }, 1628 | "engines": { 1629 | "node": "*" 1630 | } 1631 | }, 1632 | "node_modules/espree": { 1633 | "version": "9.6.1", 1634 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 1635 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 1636 | "license": "BSD-2-Clause", 1637 | "peer": true, 1638 | "dependencies": { 1639 | "acorn": "^8.9.0", 1640 | "acorn-jsx": "^5.3.2", 1641 | "eslint-visitor-keys": "^3.4.1" 1642 | }, 1643 | "engines": { 1644 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 1645 | }, 1646 | "funding": { 1647 | "url": "https://opencollective.com/eslint" 1648 | } 1649 | }, 1650 | "node_modules/esquery": { 1651 | "version": "1.6.0", 1652 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", 1653 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", 1654 | "license": "BSD-3-Clause", 1655 | "peer": 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 | "license": "BSD-2-Clause", 1668 | "peer": true, 1669 | "dependencies": { 1670 | "estraverse": "^5.2.0" 1671 | }, 1672 | "engines": { 1673 | "node": ">=4.0" 1674 | } 1675 | }, 1676 | "node_modules/estraverse": { 1677 | "version": "5.3.0", 1678 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1679 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1680 | "license": "BSD-2-Clause", 1681 | "peer": true, 1682 | "engines": { 1683 | "node": ">=4.0" 1684 | } 1685 | }, 1686 | "node_modules/esutils": { 1687 | "version": "2.0.3", 1688 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1689 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1690 | "license": "BSD-2-Clause", 1691 | "peer": true, 1692 | "engines": { 1693 | "node": ">=0.10.0" 1694 | } 1695 | }, 1696 | "node_modules/eventemitter3": { 1697 | "version": "5.0.1", 1698 | "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", 1699 | "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", 1700 | "license": "MIT" 1701 | }, 1702 | "node_modules/expand-template": { 1703 | "version": "2.0.3", 1704 | "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", 1705 | "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", 1706 | "license": "(MIT OR WTFPL)", 1707 | "optional": true, 1708 | "peer": true, 1709 | "engines": { 1710 | "node": ">=6" 1711 | } 1712 | }, 1713 | "node_modules/fast-deep-equal": { 1714 | "version": "3.1.3", 1715 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1716 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1717 | "license": "MIT", 1718 | "peer": true 1719 | }, 1720 | "node_modules/fast-fifo": { 1721 | "version": "1.3.2", 1722 | "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", 1723 | "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", 1724 | "license": "MIT", 1725 | "optional": true, 1726 | "peer": true 1727 | }, 1728 | "node_modules/fast-glob": { 1729 | "version": "3.3.2", 1730 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", 1731 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", 1732 | "license": "MIT", 1733 | "dependencies": { 1734 | "@nodelib/fs.stat": "^2.0.2", 1735 | "@nodelib/fs.walk": "^1.2.3", 1736 | "glob-parent": "^5.1.2", 1737 | "merge2": "^1.3.0", 1738 | "micromatch": "^4.0.4" 1739 | }, 1740 | "engines": { 1741 | "node": ">=8.6.0" 1742 | } 1743 | }, 1744 | "node_modules/fast-glob/node_modules/glob-parent": { 1745 | "version": "5.1.2", 1746 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1747 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1748 | "license": "ISC", 1749 | "dependencies": { 1750 | "is-glob": "^4.0.1" 1751 | }, 1752 | "engines": { 1753 | "node": ">= 6" 1754 | } 1755 | }, 1756 | "node_modules/fast-json-stable-stringify": { 1757 | "version": "2.1.0", 1758 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1759 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1760 | "license": "MIT", 1761 | "peer": true 1762 | }, 1763 | "node_modules/fast-levenshtein": { 1764 | "version": "2.0.6", 1765 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1766 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 1767 | "license": "MIT", 1768 | "peer": true 1769 | }, 1770 | "node_modules/fast-redact": { 1771 | "version": "3.5.0", 1772 | "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.5.0.tgz", 1773 | "integrity": "sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==", 1774 | "license": "MIT", 1775 | "engines": { 1776 | "node": ">=6" 1777 | } 1778 | }, 1779 | "node_modules/fastq": { 1780 | "version": "1.17.1", 1781 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", 1782 | "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", 1783 | "license": "ISC", 1784 | "dependencies": { 1785 | "reusify": "^1.0.4" 1786 | } 1787 | }, 1788 | "node_modules/file-entry-cache": { 1789 | "version": "6.0.1", 1790 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1791 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1792 | "license": "MIT", 1793 | "peer": true, 1794 | "dependencies": { 1795 | "flat-cache": "^3.0.4" 1796 | }, 1797 | "engines": { 1798 | "node": "^10.12.0 || >=12.0.0" 1799 | } 1800 | }, 1801 | "node_modules/file-type": { 1802 | "version": "16.5.4", 1803 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", 1804 | "integrity": "sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==", 1805 | "license": "MIT", 1806 | "dependencies": { 1807 | "readable-web-to-node-stream": "^3.0.0", 1808 | "strtok3": "^6.2.4", 1809 | "token-types": "^4.1.1" 1810 | }, 1811 | "engines": { 1812 | "node": ">=10" 1813 | }, 1814 | "funding": { 1815 | "url": "https://github.com/sindresorhus/file-type?sponsor=1" 1816 | } 1817 | }, 1818 | "node_modules/fill-range": { 1819 | "version": "7.1.1", 1820 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1821 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1822 | "license": "MIT", 1823 | "dependencies": { 1824 | "to-regex-range": "^5.0.1" 1825 | }, 1826 | "engines": { 1827 | "node": ">=8" 1828 | } 1829 | }, 1830 | "node_modules/find-up": { 1831 | "version": "5.0.0", 1832 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1833 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1834 | "license": "MIT", 1835 | "peer": true, 1836 | "dependencies": { 1837 | "locate-path": "^6.0.0", 1838 | "path-exists": "^4.0.0" 1839 | }, 1840 | "engines": { 1841 | "node": ">=10" 1842 | }, 1843 | "funding": { 1844 | "url": "https://github.com/sponsors/sindresorhus" 1845 | } 1846 | }, 1847 | "node_modules/flat-cache": { 1848 | "version": "3.2.0", 1849 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", 1850 | "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", 1851 | "license": "MIT", 1852 | "peer": true, 1853 | "dependencies": { 1854 | "flatted": "^3.2.9", 1855 | "keyv": "^4.5.3", 1856 | "rimraf": "^3.0.2" 1857 | }, 1858 | "engines": { 1859 | "node": "^10.12.0 || >=12.0.0" 1860 | } 1861 | }, 1862 | "node_modules/flatted": { 1863 | "version": "3.3.1", 1864 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", 1865 | "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", 1866 | "license": "ISC", 1867 | "peer": true 1868 | }, 1869 | "node_modules/fluent-ffmpeg": { 1870 | "version": "2.1.3", 1871 | "resolved": "https://registry.npmjs.org/fluent-ffmpeg/-/fluent-ffmpeg-2.1.3.tgz", 1872 | "integrity": "sha512-Be3narBNt2s6bsaqP6Jzq91heDgOEaDCJAXcE3qcma/EJBSy5FB4cvO31XBInuAuKBx8Kptf8dkhjK0IOru39Q==", 1873 | "license": "MIT", 1874 | "dependencies": { 1875 | "async": "^0.2.9", 1876 | "which": "^1.1.1" 1877 | }, 1878 | "engines": { 1879 | "node": ">=18" 1880 | } 1881 | }, 1882 | "node_modules/follow-redirects": { 1883 | "version": "1.15.9", 1884 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", 1885 | "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", 1886 | "funding": [ 1887 | { 1888 | "type": "individual", 1889 | "url": "https://github.com/sponsors/RubenVerborgh" 1890 | } 1891 | ], 1892 | "license": "MIT", 1893 | "engines": { 1894 | "node": ">=4.0" 1895 | }, 1896 | "peerDependenciesMeta": { 1897 | "debug": { 1898 | "optional": true 1899 | } 1900 | } 1901 | }, 1902 | "node_modules/form-data": { 1903 | "version": "4.0.0", 1904 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", 1905 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", 1906 | "license": "MIT", 1907 | "dependencies": { 1908 | "asynckit": "^0.4.0", 1909 | "combined-stream": "^1.0.8", 1910 | "mime-types": "^2.1.12" 1911 | }, 1912 | "engines": { 1913 | "node": ">= 6" 1914 | } 1915 | }, 1916 | "node_modules/fs-constants": { 1917 | "version": "1.0.0", 1918 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 1919 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", 1920 | "license": "MIT", 1921 | "optional": true, 1922 | "peer": true 1923 | }, 1924 | "node_modules/fs.realpath": { 1925 | "version": "1.0.0", 1926 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1927 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1928 | "license": "ISC", 1929 | "peer": true 1930 | }, 1931 | "node_modules/futoin-hkdf": { 1932 | "version": "1.5.3", 1933 | "resolved": "https://registry.npmjs.org/futoin-hkdf/-/futoin-hkdf-1.5.3.tgz", 1934 | "integrity": "sha512-SewY5KdMpaoCeh7jachEWFsh1nNlaDjNHZXWqL5IGwtpEYHTgkr2+AMCgNwKWkcc0wpSYrZfR7he4WdmHFtDxQ==", 1935 | "license": "Apache-2.0", 1936 | "engines": { 1937 | "node": ">=8" 1938 | } 1939 | }, 1940 | "node_modules/github-from-package": { 1941 | "version": "0.0.0", 1942 | "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", 1943 | "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", 1944 | "license": "MIT", 1945 | "optional": true, 1946 | "peer": true 1947 | }, 1948 | "node_modules/glob": { 1949 | "version": "7.2.3", 1950 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1951 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1952 | "deprecated": "Glob versions prior to v9 are no longer supported", 1953 | "license": "ISC", 1954 | "peer": true, 1955 | "dependencies": { 1956 | "fs.realpath": "^1.0.0", 1957 | "inflight": "^1.0.4", 1958 | "inherits": "2", 1959 | "minimatch": "^3.1.1", 1960 | "once": "^1.3.0", 1961 | "path-is-absolute": "^1.0.0" 1962 | }, 1963 | "engines": { 1964 | "node": "*" 1965 | }, 1966 | "funding": { 1967 | "url": "https://github.com/sponsors/isaacs" 1968 | } 1969 | }, 1970 | "node_modules/glob-parent": { 1971 | "version": "6.0.2", 1972 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1973 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1974 | "license": "ISC", 1975 | "peer": true, 1976 | "dependencies": { 1977 | "is-glob": "^4.0.3" 1978 | }, 1979 | "engines": { 1980 | "node": ">=10.13.0" 1981 | } 1982 | }, 1983 | "node_modules/glob/node_modules/brace-expansion": { 1984 | "version": "1.1.11", 1985 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1986 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1987 | "license": "MIT", 1988 | "peer": true, 1989 | "dependencies": { 1990 | "balanced-match": "^1.0.0", 1991 | "concat-map": "0.0.1" 1992 | } 1993 | }, 1994 | "node_modules/glob/node_modules/minimatch": { 1995 | "version": "3.1.2", 1996 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1997 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1998 | "license": "ISC", 1999 | "peer": true, 2000 | "dependencies": { 2001 | "brace-expansion": "^1.1.7" 2002 | }, 2003 | "engines": { 2004 | "node": "*" 2005 | } 2006 | }, 2007 | "node_modules/globals": { 2008 | "version": "13.24.0", 2009 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", 2010 | "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", 2011 | "license": "MIT", 2012 | "peer": true, 2013 | "dependencies": { 2014 | "type-fest": "^0.20.2" 2015 | }, 2016 | "engines": { 2017 | "node": ">=8" 2018 | }, 2019 | "funding": { 2020 | "url": "https://github.com/sponsors/sindresorhus" 2021 | } 2022 | }, 2023 | "node_modules/globby": { 2024 | "version": "11.1.0", 2025 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 2026 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 2027 | "license": "MIT", 2028 | "dependencies": { 2029 | "array-union": "^2.1.0", 2030 | "dir-glob": "^3.0.1", 2031 | "fast-glob": "^3.2.9", 2032 | "ignore": "^5.2.0", 2033 | "merge2": "^1.4.1", 2034 | "slash": "^3.0.0" 2035 | }, 2036 | "engines": { 2037 | "node": ">=10" 2038 | }, 2039 | "funding": { 2040 | "url": "https://github.com/sponsors/sindresorhus" 2041 | } 2042 | }, 2043 | "node_modules/graphemer": { 2044 | "version": "1.4.0", 2045 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 2046 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 2047 | "license": "MIT" 2048 | }, 2049 | "node_modules/has-flag": { 2050 | "version": "4.0.0", 2051 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2052 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 2053 | "license": "MIT", 2054 | "peer": true, 2055 | "engines": { 2056 | "node": ">=8" 2057 | } 2058 | }, 2059 | "node_modules/ieee754": { 2060 | "version": "1.2.1", 2061 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 2062 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 2063 | "funding": [ 2064 | { 2065 | "type": "github", 2066 | "url": "https://github.com/sponsors/feross" 2067 | }, 2068 | { 2069 | "type": "patreon", 2070 | "url": "https://www.patreon.com/feross" 2071 | }, 2072 | { 2073 | "type": "consulting", 2074 | "url": "https://feross.org/support" 2075 | } 2076 | ], 2077 | "license": "BSD-3-Clause" 2078 | }, 2079 | "node_modules/ignore": { 2080 | "version": "5.3.2", 2081 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", 2082 | "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", 2083 | "license": "MIT", 2084 | "engines": { 2085 | "node": ">= 4" 2086 | } 2087 | }, 2088 | "node_modules/import-fresh": { 2089 | "version": "3.3.0", 2090 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 2091 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 2092 | "license": "MIT", 2093 | "peer": true, 2094 | "dependencies": { 2095 | "parent-module": "^1.0.0", 2096 | "resolve-from": "^4.0.0" 2097 | }, 2098 | "engines": { 2099 | "node": ">=6" 2100 | }, 2101 | "funding": { 2102 | "url": "https://github.com/sponsors/sindresorhus" 2103 | } 2104 | }, 2105 | "node_modules/imurmurhash": { 2106 | "version": "0.1.4", 2107 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 2108 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 2109 | "license": "MIT", 2110 | "peer": true, 2111 | "engines": { 2112 | "node": ">=0.8.19" 2113 | } 2114 | }, 2115 | "node_modules/inflight": { 2116 | "version": "1.0.6", 2117 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2118 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 2119 | "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.", 2120 | "license": "ISC", 2121 | "peer": true, 2122 | "dependencies": { 2123 | "once": "^1.3.0", 2124 | "wrappy": "1" 2125 | } 2126 | }, 2127 | "node_modules/inherits": { 2128 | "version": "2.0.4", 2129 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2130 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 2131 | "license": "ISC" 2132 | }, 2133 | "node_modules/ini": { 2134 | "version": "1.3.8", 2135 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 2136 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 2137 | "license": "ISC", 2138 | "optional": true, 2139 | "peer": true 2140 | }, 2141 | "node_modules/is-arrayish": { 2142 | "version": "0.3.2", 2143 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", 2144 | "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", 2145 | "license": "MIT", 2146 | "optional": true, 2147 | "peer": true 2148 | }, 2149 | "node_modules/is-extglob": { 2150 | "version": "2.1.1", 2151 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 2152 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 2153 | "license": "MIT", 2154 | "engines": { 2155 | "node": ">=0.10.0" 2156 | } 2157 | }, 2158 | "node_modules/is-glob": { 2159 | "version": "4.0.3", 2160 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 2161 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 2162 | "license": "MIT", 2163 | "dependencies": { 2164 | "is-extglob": "^2.1.1" 2165 | }, 2166 | "engines": { 2167 | "node": ">=0.10.0" 2168 | } 2169 | }, 2170 | "node_modules/is-number": { 2171 | "version": "7.0.0", 2172 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2173 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 2174 | "license": "MIT", 2175 | "engines": { 2176 | "node": ">=0.12.0" 2177 | } 2178 | }, 2179 | "node_modules/is-path-inside": { 2180 | "version": "3.0.3", 2181 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 2182 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 2183 | "license": "MIT", 2184 | "peer": true, 2185 | "engines": { 2186 | "node": ">=8" 2187 | } 2188 | }, 2189 | "node_modules/isexe": { 2190 | "version": "2.0.0", 2191 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 2192 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 2193 | "license": "ISC" 2194 | }, 2195 | "node_modules/js-yaml": { 2196 | "version": "4.1.0", 2197 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 2198 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 2199 | "license": "MIT", 2200 | "peer": true, 2201 | "dependencies": { 2202 | "argparse": "^2.0.1" 2203 | }, 2204 | "bin": { 2205 | "js-yaml": "bin/js-yaml.js" 2206 | } 2207 | }, 2208 | "node_modules/json-buffer": { 2209 | "version": "3.0.1", 2210 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", 2211 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", 2212 | "license": "MIT", 2213 | "peer": true 2214 | }, 2215 | "node_modules/json-schema-traverse": { 2216 | "version": "0.4.1", 2217 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 2218 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 2219 | "license": "MIT", 2220 | "peer": true 2221 | }, 2222 | "node_modules/json-stable-stringify-without-jsonify": { 2223 | "version": "1.0.1", 2224 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 2225 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 2226 | "license": "MIT", 2227 | "peer": true 2228 | }, 2229 | "node_modules/keyv": { 2230 | "version": "4.5.4", 2231 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", 2232 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", 2233 | "license": "MIT", 2234 | "peer": true, 2235 | "dependencies": { 2236 | "json-buffer": "3.0.1" 2237 | } 2238 | }, 2239 | "node_modules/levn": { 2240 | "version": "0.4.1", 2241 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 2242 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 2243 | "license": "MIT", 2244 | "peer": true, 2245 | "dependencies": { 2246 | "prelude-ls": "^1.2.1", 2247 | "type-check": "~0.4.0" 2248 | }, 2249 | "engines": { 2250 | "node": ">= 0.8.0" 2251 | } 2252 | }, 2253 | "node_modules/libphonenumber-js": { 2254 | "version": "1.11.9", 2255 | "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.11.9.tgz", 2256 | "integrity": "sha512-Zs5wf5HaWzW2/inlupe2tstl0I/Tbqo7lH20ZLr6Is58u7Dz2n+gRFGNlj9/gWxFvNfp9+YyDsiegjNhdixB9A==", 2257 | "license": "MIT" 2258 | }, 2259 | "node_modules/libsignal": { 2260 | "name": "@whiskeysockets/libsignal-node", 2261 | "version": "2.0.1", 2262 | "resolved": "git+ssh://git@github.com/WhiskeySockets/libsignal-node.git#83a3e3a3864511cb74df1b796373f0d49d071134", 2263 | "license": "GPL-3.0", 2264 | "dependencies": { 2265 | "curve25519-js": "^0.0.4", 2266 | "protobufjs": "6.8.8" 2267 | } 2268 | }, 2269 | "node_modules/libsignal/node_modules/@types/node": { 2270 | "version": "10.17.60", 2271 | "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", 2272 | "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", 2273 | "license": "MIT" 2274 | }, 2275 | "node_modules/libsignal/node_modules/long": { 2276 | "version": "4.0.0", 2277 | "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", 2278 | "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", 2279 | "license": "Apache-2.0" 2280 | }, 2281 | "node_modules/libsignal/node_modules/protobufjs": { 2282 | "version": "6.8.8", 2283 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz", 2284 | "integrity": "sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw==", 2285 | "hasInstallScript": true, 2286 | "license": "BSD-3-Clause", 2287 | "dependencies": { 2288 | "@protobufjs/aspromise": "^1.1.2", 2289 | "@protobufjs/base64": "^1.1.2", 2290 | "@protobufjs/codegen": "^2.0.4", 2291 | "@protobufjs/eventemitter": "^1.1.0", 2292 | "@protobufjs/fetch": "^1.1.0", 2293 | "@protobufjs/float": "^1.0.2", 2294 | "@protobufjs/inquire": "^1.1.0", 2295 | "@protobufjs/path": "^1.1.2", 2296 | "@protobufjs/pool": "^1.1.0", 2297 | "@protobufjs/utf8": "^1.1.0", 2298 | "@types/long": "^4.0.0", 2299 | "@types/node": "^10.1.0", 2300 | "long": "^4.0.0" 2301 | }, 2302 | "bin": { 2303 | "pbjs": "bin/pbjs", 2304 | "pbts": "bin/pbts" 2305 | } 2306 | }, 2307 | "node_modules/locate-path": { 2308 | "version": "6.0.0", 2309 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 2310 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 2311 | "license": "MIT", 2312 | "peer": true, 2313 | "dependencies": { 2314 | "p-locate": "^5.0.0" 2315 | }, 2316 | "engines": { 2317 | "node": ">=10" 2318 | }, 2319 | "funding": { 2320 | "url": "https://github.com/sponsors/sindresorhus" 2321 | } 2322 | }, 2323 | "node_modules/lodash": { 2324 | "version": "4.17.21", 2325 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 2326 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 2327 | "license": "MIT" 2328 | }, 2329 | "node_modules/lodash.clonedeep": { 2330 | "version": "4.5.0", 2331 | "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", 2332 | "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", 2333 | "license": "MIT" 2334 | }, 2335 | "node_modules/lodash.merge": { 2336 | "version": "4.6.2", 2337 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 2338 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 2339 | "license": "MIT", 2340 | "peer": true 2341 | }, 2342 | "node_modules/long": { 2343 | "version": "5.2.3", 2344 | "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", 2345 | "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", 2346 | "license": "Apache-2.0" 2347 | }, 2348 | "node_modules/lru-cache": { 2349 | "version": "10.4.3", 2350 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 2351 | "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", 2352 | "license": "ISC" 2353 | }, 2354 | "node_modules/make-error": { 2355 | "version": "1.3.6", 2356 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", 2357 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", 2358 | "dev": true, 2359 | "license": "ISC" 2360 | }, 2361 | "node_modules/media-typer": { 2362 | "version": "1.1.0", 2363 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", 2364 | "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", 2365 | "license": "MIT", 2366 | "engines": { 2367 | "node": ">= 0.8" 2368 | } 2369 | }, 2370 | "node_modules/merge2": { 2371 | "version": "1.4.1", 2372 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 2373 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 2374 | "license": "MIT", 2375 | "engines": { 2376 | "node": ">= 8" 2377 | } 2378 | }, 2379 | "node_modules/micromatch": { 2380 | "version": "4.0.8", 2381 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", 2382 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", 2383 | "license": "MIT", 2384 | "dependencies": { 2385 | "braces": "^3.0.3", 2386 | "picomatch": "^2.3.1" 2387 | }, 2388 | "engines": { 2389 | "node": ">=8.6" 2390 | } 2391 | }, 2392 | "node_modules/mime-db": { 2393 | "version": "1.52.0", 2394 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 2395 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 2396 | "license": "MIT", 2397 | "engines": { 2398 | "node": ">= 0.6" 2399 | } 2400 | }, 2401 | "node_modules/mime-types": { 2402 | "version": "2.1.35", 2403 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 2404 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 2405 | "license": "MIT", 2406 | "dependencies": { 2407 | "mime-db": "1.52.0" 2408 | }, 2409 | "engines": { 2410 | "node": ">= 0.6" 2411 | } 2412 | }, 2413 | "node_modules/mimic-response": { 2414 | "version": "3.1.0", 2415 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", 2416 | "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", 2417 | "license": "MIT", 2418 | "optional": true, 2419 | "peer": true, 2420 | "engines": { 2421 | "node": ">=10" 2422 | }, 2423 | "funding": { 2424 | "url": "https://github.com/sponsors/sindresorhus" 2425 | } 2426 | }, 2427 | "node_modules/minimatch": { 2428 | "version": "9.0.5", 2429 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 2430 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 2431 | "license": "ISC", 2432 | "dependencies": { 2433 | "brace-expansion": "^2.0.1" 2434 | }, 2435 | "engines": { 2436 | "node": ">=16 || 14 >=14.17" 2437 | }, 2438 | "funding": { 2439 | "url": "https://github.com/sponsors/isaacs" 2440 | } 2441 | }, 2442 | "node_modules/minimist": { 2443 | "version": "1.2.8", 2444 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 2445 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 2446 | "license": "MIT", 2447 | "optional": true, 2448 | "peer": true, 2449 | "funding": { 2450 | "url": "https://github.com/sponsors/ljharb" 2451 | } 2452 | }, 2453 | "node_modules/mkdirp-classic": { 2454 | "version": "0.5.3", 2455 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 2456 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", 2457 | "license": "MIT", 2458 | "optional": true, 2459 | "peer": true 2460 | }, 2461 | "node_modules/mpg123-decoder": { 2462 | "version": "1.0.0", 2463 | "resolved": "https://registry.npmjs.org/mpg123-decoder/-/mpg123-decoder-1.0.0.tgz", 2464 | "integrity": "sha512-WV+pyuMUhRqv7s8S6p/Ii4KQHdBD1pb3yaABxcKJRsNp+HQ/Y6z2iIBIaOZu0JMHPTOoICYt0REDZ7XfLu+n/g==", 2465 | "license": "MIT", 2466 | "dependencies": { 2467 | "@wasm-audio-decoders/common": "9.0.5" 2468 | }, 2469 | "funding": { 2470 | "type": "individual", 2471 | "url": "https://github.com/sponsors/eshaz" 2472 | } 2473 | }, 2474 | "node_modules/ms": { 2475 | "version": "2.1.3", 2476 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2477 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2478 | "license": "MIT" 2479 | }, 2480 | "node_modules/music-metadata": { 2481 | "version": "7.14.0", 2482 | "resolved": "https://registry.npmjs.org/music-metadata/-/music-metadata-7.14.0.tgz", 2483 | "integrity": "sha512-xrm3w7SV0Wk+OythZcSbaI8mcr/KHd0knJieu8bVpaPfMv/Agz5EooCAPz3OR5hbYMiUG6dgAPKZKnMzV+3amA==", 2484 | "license": "MIT", 2485 | "dependencies": { 2486 | "@tokenizer/token": "^0.3.0", 2487 | "content-type": "^1.0.5", 2488 | "debug": "^4.3.4", 2489 | "file-type": "^16.5.4", 2490 | "media-typer": "^1.1.0", 2491 | "strtok3": "^6.3.0", 2492 | "token-types": "^4.2.1" 2493 | }, 2494 | "engines": { 2495 | "node": ">=10" 2496 | }, 2497 | "funding": { 2498 | "type": "github", 2499 | "url": "https://github.com/sponsors/Borewit" 2500 | } 2501 | }, 2502 | "node_modules/napi-build-utils": { 2503 | "version": "1.0.2", 2504 | "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", 2505 | "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", 2506 | "license": "MIT", 2507 | "optional": true, 2508 | "peer": true 2509 | }, 2510 | "node_modules/natural-compare": { 2511 | "version": "1.4.0", 2512 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 2513 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 2514 | "license": "MIT" 2515 | }, 2516 | "node_modules/node-abi": { 2517 | "version": "3.68.0", 2518 | "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.68.0.tgz", 2519 | "integrity": "sha512-7vbj10trelExNjFSBm5kTvZXXa7pZyKWx9RCKIyqe6I9Ev3IzGpQoqBP3a+cOdxY+pWj6VkP28n/2wWysBHD/A==", 2520 | "license": "MIT", 2521 | "optional": true, 2522 | "peer": true, 2523 | "dependencies": { 2524 | "semver": "^7.3.5" 2525 | }, 2526 | "engines": { 2527 | "node": ">=10" 2528 | } 2529 | }, 2530 | "node_modules/node-addon-api": { 2531 | "version": "6.1.0", 2532 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", 2533 | "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==", 2534 | "license": "MIT", 2535 | "optional": true, 2536 | "peer": true 2537 | }, 2538 | "node_modules/node-cache": { 2539 | "version": "5.1.2", 2540 | "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz", 2541 | "integrity": "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==", 2542 | "license": "MIT", 2543 | "dependencies": { 2544 | "clone": "2.x" 2545 | }, 2546 | "engines": { 2547 | "node": ">= 8.0.0" 2548 | } 2549 | }, 2550 | "node_modules/node-wav": { 2551 | "version": "0.0.2", 2552 | "resolved": "https://registry.npmjs.org/node-wav/-/node-wav-0.0.2.tgz", 2553 | "integrity": "sha512-M6Rm/bbG6De/gKGxOpeOobx/dnGuP0dz40adqx38boqHhlWssBJZgLCPBNtb9NkrmnKYiV04xELq+R6PFOnoLA==", 2554 | "license": "MIT", 2555 | "engines": { 2556 | "node": ">=4.4.0" 2557 | } 2558 | }, 2559 | "node_modules/ogg-opus-decoder": { 2560 | "version": "1.6.12", 2561 | "resolved": "https://registry.npmjs.org/ogg-opus-decoder/-/ogg-opus-decoder-1.6.12.tgz", 2562 | "integrity": "sha512-6MY/rgFegJABKVE7LS10lmVoy8dFhvLDbIlcymgMnn0qZG0YHqcUU+bW+MkVyhhWN3H0vqtkRlPHGOXU6yR5YQ==", 2563 | "license": "MIT", 2564 | "dependencies": { 2565 | "@wasm-audio-decoders/common": "9.0.5", 2566 | "codec-parser": "2.4.3", 2567 | "opus-decoder": "0.7.6" 2568 | }, 2569 | "funding": { 2570 | "type": "individual", 2571 | "url": "https://github.com/sponsors/eshaz" 2572 | } 2573 | }, 2574 | "node_modules/on-exit-leak-free": { 2575 | "version": "0.2.0", 2576 | "resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz", 2577 | "integrity": "sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==", 2578 | "license": "MIT" 2579 | }, 2580 | "node_modules/once": { 2581 | "version": "1.4.0", 2582 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2583 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2584 | "license": "ISC", 2585 | "dependencies": { 2586 | "wrappy": "1" 2587 | } 2588 | }, 2589 | "node_modules/optionator": { 2590 | "version": "0.9.4", 2591 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", 2592 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", 2593 | "license": "MIT", 2594 | "peer": true, 2595 | "dependencies": { 2596 | "deep-is": "^0.1.3", 2597 | "fast-levenshtein": "^2.0.6", 2598 | "levn": "^0.4.1", 2599 | "prelude-ls": "^1.2.1", 2600 | "type-check": "^0.4.0", 2601 | "word-wrap": "^1.2.5" 2602 | }, 2603 | "engines": { 2604 | "node": ">= 0.8.0" 2605 | } 2606 | }, 2607 | "node_modules/opus-decoder": { 2608 | "version": "0.7.6", 2609 | "resolved": "https://registry.npmjs.org/opus-decoder/-/opus-decoder-0.7.6.tgz", 2610 | "integrity": "sha512-5QYSl1YQYbSzWL7vM4dJoyrLC804xIvBFjfKTZZ6/z/EgmdFouOTT+8PDM2V18vzgnhRNPDuyB2aTfl/2hvMRA==", 2611 | "license": "MIT", 2612 | "dependencies": { 2613 | "@wasm-audio-decoders/common": "9.0.5" 2614 | }, 2615 | "funding": { 2616 | "type": "individual", 2617 | "url": "https://github.com/sponsors/eshaz" 2618 | } 2619 | }, 2620 | "node_modules/p-limit": { 2621 | "version": "3.1.0", 2622 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 2623 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 2624 | "license": "MIT", 2625 | "peer": true, 2626 | "dependencies": { 2627 | "yocto-queue": "^0.1.0" 2628 | }, 2629 | "engines": { 2630 | "node": ">=10" 2631 | }, 2632 | "funding": { 2633 | "url": "https://github.com/sponsors/sindresorhus" 2634 | } 2635 | }, 2636 | "node_modules/p-locate": { 2637 | "version": "5.0.0", 2638 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 2639 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 2640 | "license": "MIT", 2641 | "peer": true, 2642 | "dependencies": { 2643 | "p-limit": "^3.0.2" 2644 | }, 2645 | "engines": { 2646 | "node": ">=10" 2647 | }, 2648 | "funding": { 2649 | "url": "https://github.com/sponsors/sindresorhus" 2650 | } 2651 | }, 2652 | "node_modules/parent-module": { 2653 | "version": "1.0.1", 2654 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 2655 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 2656 | "license": "MIT", 2657 | "peer": true, 2658 | "dependencies": { 2659 | "callsites": "^3.0.0" 2660 | }, 2661 | "engines": { 2662 | "node": ">=6" 2663 | } 2664 | }, 2665 | "node_modules/path-exists": { 2666 | "version": "4.0.0", 2667 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2668 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2669 | "license": "MIT", 2670 | "peer": true, 2671 | "engines": { 2672 | "node": ">=8" 2673 | } 2674 | }, 2675 | "node_modules/path-is-absolute": { 2676 | "version": "1.0.1", 2677 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2678 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 2679 | "license": "MIT", 2680 | "peer": true, 2681 | "engines": { 2682 | "node": ">=0.10.0" 2683 | } 2684 | }, 2685 | "node_modules/path-key": { 2686 | "version": "3.1.1", 2687 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 2688 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 2689 | "license": "MIT", 2690 | "peer": true, 2691 | "engines": { 2692 | "node": ">=8" 2693 | } 2694 | }, 2695 | "node_modules/path-type": { 2696 | "version": "4.0.0", 2697 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 2698 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 2699 | "license": "MIT", 2700 | "engines": { 2701 | "node": ">=8" 2702 | } 2703 | }, 2704 | "node_modules/peek-readable": { 2705 | "version": "4.1.0", 2706 | "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-4.1.0.tgz", 2707 | "integrity": "sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==", 2708 | "license": "MIT", 2709 | "engines": { 2710 | "node": ">=8" 2711 | }, 2712 | "funding": { 2713 | "type": "github", 2714 | "url": "https://github.com/sponsors/Borewit" 2715 | } 2716 | }, 2717 | "node_modules/picomatch": { 2718 | "version": "2.3.1", 2719 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2720 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2721 | "license": "MIT", 2722 | "engines": { 2723 | "node": ">=8.6" 2724 | }, 2725 | "funding": { 2726 | "url": "https://github.com/sponsors/jonschlinkert" 2727 | } 2728 | }, 2729 | "node_modules/pino": { 2730 | "version": "7.11.0", 2731 | "resolved": "https://registry.npmjs.org/pino/-/pino-7.11.0.tgz", 2732 | "integrity": "sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==", 2733 | "license": "MIT", 2734 | "dependencies": { 2735 | "atomic-sleep": "^1.0.0", 2736 | "fast-redact": "^3.0.0", 2737 | "on-exit-leak-free": "^0.2.0", 2738 | "pino-abstract-transport": "v0.5.0", 2739 | "pino-std-serializers": "^4.0.0", 2740 | "process-warning": "^1.0.0", 2741 | "quick-format-unescaped": "^4.0.3", 2742 | "real-require": "^0.1.0", 2743 | "safe-stable-stringify": "^2.1.0", 2744 | "sonic-boom": "^2.2.1", 2745 | "thread-stream": "^0.15.1" 2746 | }, 2747 | "bin": { 2748 | "pino": "bin.js" 2749 | } 2750 | }, 2751 | "node_modules/pino-abstract-transport": { 2752 | "version": "0.5.0", 2753 | "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz", 2754 | "integrity": "sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==", 2755 | "license": "MIT", 2756 | "dependencies": { 2757 | "duplexify": "^4.1.2", 2758 | "split2": "^4.0.0" 2759 | } 2760 | }, 2761 | "node_modules/pino-std-serializers": { 2762 | "version": "4.0.0", 2763 | "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz", 2764 | "integrity": "sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==", 2765 | "license": "MIT" 2766 | }, 2767 | "node_modules/prebuild-install": { 2768 | "version": "7.1.2", 2769 | "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.2.tgz", 2770 | "integrity": "sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==", 2771 | "license": "MIT", 2772 | "optional": true, 2773 | "peer": true, 2774 | "dependencies": { 2775 | "detect-libc": "^2.0.0", 2776 | "expand-template": "^2.0.3", 2777 | "github-from-package": "0.0.0", 2778 | "minimist": "^1.2.3", 2779 | "mkdirp-classic": "^0.5.3", 2780 | "napi-build-utils": "^1.0.1", 2781 | "node-abi": "^3.3.0", 2782 | "pump": "^3.0.0", 2783 | "rc": "^1.2.7", 2784 | "simple-get": "^4.0.0", 2785 | "tar-fs": "^2.0.0", 2786 | "tunnel-agent": "^0.6.0" 2787 | }, 2788 | "bin": { 2789 | "prebuild-install": "bin.js" 2790 | }, 2791 | "engines": { 2792 | "node": ">=10" 2793 | } 2794 | }, 2795 | "node_modules/prebuild-install/node_modules/tar-fs": { 2796 | "version": "2.1.1", 2797 | "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", 2798 | "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", 2799 | "license": "MIT", 2800 | "optional": true, 2801 | "peer": true, 2802 | "dependencies": { 2803 | "chownr": "^1.1.1", 2804 | "mkdirp-classic": "^0.5.2", 2805 | "pump": "^3.0.0", 2806 | "tar-stream": "^2.1.4" 2807 | } 2808 | }, 2809 | "node_modules/prebuild-install/node_modules/tar-stream": { 2810 | "version": "2.2.0", 2811 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", 2812 | "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", 2813 | "license": "MIT", 2814 | "optional": true, 2815 | "peer": true, 2816 | "dependencies": { 2817 | "bl": "^4.0.3", 2818 | "end-of-stream": "^1.4.1", 2819 | "fs-constants": "^1.0.0", 2820 | "inherits": "^2.0.3", 2821 | "readable-stream": "^3.1.1" 2822 | }, 2823 | "engines": { 2824 | "node": ">=6" 2825 | } 2826 | }, 2827 | "node_modules/prelude-ls": { 2828 | "version": "1.2.1", 2829 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 2830 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 2831 | "license": "MIT", 2832 | "peer": true, 2833 | "engines": { 2834 | "node": ">= 0.8.0" 2835 | } 2836 | }, 2837 | "node_modules/process-warning": { 2838 | "version": "1.0.0", 2839 | "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-1.0.0.tgz", 2840 | "integrity": "sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==", 2841 | "license": "MIT" 2842 | }, 2843 | "node_modules/promise-coalesce": { 2844 | "version": "1.1.2", 2845 | "resolved": "https://registry.npmjs.org/promise-coalesce/-/promise-coalesce-1.1.2.tgz", 2846 | "integrity": "sha512-zLaJ9b8hnC564fnJH6NFSOGZYYdzrAJn2JUUIwzoQb32fG2QAakpDNM+CZo1km6keXkRXRM+hml1BFAPVnPkxg==", 2847 | "license": "BSD-3-Clause", 2848 | "engines": { 2849 | "node": ">=16" 2850 | } 2851 | }, 2852 | "node_modules/protobufjs": { 2853 | "version": "7.4.0", 2854 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", 2855 | "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", 2856 | "hasInstallScript": true, 2857 | "license": "BSD-3-Clause", 2858 | "dependencies": { 2859 | "@protobufjs/aspromise": "^1.1.2", 2860 | "@protobufjs/base64": "^1.1.2", 2861 | "@protobufjs/codegen": "^2.0.4", 2862 | "@protobufjs/eventemitter": "^1.1.0", 2863 | "@protobufjs/fetch": "^1.1.0", 2864 | "@protobufjs/float": "^1.0.2", 2865 | "@protobufjs/inquire": "^1.1.0", 2866 | "@protobufjs/path": "^1.1.2", 2867 | "@protobufjs/pool": "^1.1.0", 2868 | "@protobufjs/utf8": "^1.1.0", 2869 | "@types/node": ">=13.7.0", 2870 | "long": "^5.0.0" 2871 | }, 2872 | "engines": { 2873 | "node": ">=12.0.0" 2874 | } 2875 | }, 2876 | "node_modules/proxy-from-env": { 2877 | "version": "1.1.0", 2878 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 2879 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", 2880 | "license": "MIT" 2881 | }, 2882 | "node_modules/pump": { 2883 | "version": "3.0.2", 2884 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", 2885 | "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", 2886 | "license": "MIT", 2887 | "optional": true, 2888 | "peer": true, 2889 | "dependencies": { 2890 | "end-of-stream": "^1.1.0", 2891 | "once": "^1.3.1" 2892 | } 2893 | }, 2894 | "node_modules/punycode": { 2895 | "version": "2.3.1", 2896 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 2897 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 2898 | "license": "MIT", 2899 | "peer": true, 2900 | "engines": { 2901 | "node": ">=6" 2902 | } 2903 | }, 2904 | "node_modules/qoa-format": { 2905 | "version": "1.0.1", 2906 | "resolved": "https://registry.npmjs.org/qoa-format/-/qoa-format-1.0.1.tgz", 2907 | "integrity": "sha512-dMB0Z6XQjdpz/Cw4Rf6RiBpQvUSPCfYlQMWvmuWlWkAT7nDQD29cVZ1SwDUB6DYJSitHENwbt90lqfI+7bvMcw==", 2908 | "license": "MIT", 2909 | "dependencies": { 2910 | "@thi.ng/bitstream": "^2.2.12" 2911 | } 2912 | }, 2913 | "node_modules/qr-image": { 2914 | "version": "3.2.0", 2915 | "resolved": "https://registry.npmjs.org/qr-image/-/qr-image-3.2.0.tgz", 2916 | "integrity": "sha512-rXKDS5Sx3YipVsqmlMJsJsk6jXylEpiHRC2+nJy66fxA5ExYyGa4PqwteW69SaVmAb2OQ18HbYriT7cGQMbduw==", 2917 | "license": "MIT" 2918 | }, 2919 | "node_modules/qrcode-terminal": { 2920 | "version": "0.12.0", 2921 | "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz", 2922 | "integrity": "sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ==", 2923 | "bin": { 2924 | "qrcode-terminal": "bin/qrcode-terminal.js" 2925 | } 2926 | }, 2927 | "node_modules/queue-microtask": { 2928 | "version": "1.2.3", 2929 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 2930 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 2931 | "funding": [ 2932 | { 2933 | "type": "github", 2934 | "url": "https://github.com/sponsors/feross" 2935 | }, 2936 | { 2937 | "type": "patreon", 2938 | "url": "https://www.patreon.com/feross" 2939 | }, 2940 | { 2941 | "type": "consulting", 2942 | "url": "https://feross.org/support" 2943 | } 2944 | ], 2945 | "license": "MIT" 2946 | }, 2947 | "node_modules/queue-tick": { 2948 | "version": "1.0.1", 2949 | "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", 2950 | "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==", 2951 | "license": "MIT", 2952 | "optional": true, 2953 | "peer": true 2954 | }, 2955 | "node_modules/quick-format-unescaped": { 2956 | "version": "4.0.4", 2957 | "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz", 2958 | "integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==", 2959 | "license": "MIT" 2960 | }, 2961 | "node_modules/rc": { 2962 | "version": "1.2.8", 2963 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 2964 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 2965 | "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", 2966 | "optional": true, 2967 | "peer": true, 2968 | "dependencies": { 2969 | "deep-extend": "^0.6.0", 2970 | "ini": "~1.3.0", 2971 | "minimist": "^1.2.0", 2972 | "strip-json-comments": "~2.0.1" 2973 | }, 2974 | "bin": { 2975 | "rc": "cli.js" 2976 | } 2977 | }, 2978 | "node_modules/readable-stream": { 2979 | "version": "3.6.2", 2980 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", 2981 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", 2982 | "license": "MIT", 2983 | "dependencies": { 2984 | "inherits": "^2.0.3", 2985 | "string_decoder": "^1.1.1", 2986 | "util-deprecate": "^1.0.1" 2987 | }, 2988 | "engines": { 2989 | "node": ">= 6" 2990 | } 2991 | }, 2992 | "node_modules/readable-web-to-node-stream": { 2993 | "version": "3.0.2", 2994 | "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", 2995 | "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", 2996 | "license": "MIT", 2997 | "dependencies": { 2998 | "readable-stream": "^3.6.0" 2999 | }, 3000 | "engines": { 3001 | "node": ">=8" 3002 | }, 3003 | "funding": { 3004 | "type": "github", 3005 | "url": "https://github.com/sponsors/Borewit" 3006 | } 3007 | }, 3008 | "node_modules/real-require": { 3009 | "version": "0.1.0", 3010 | "resolved": "https://registry.npmjs.org/real-require/-/real-require-0.1.0.tgz", 3011 | "integrity": "sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==", 3012 | "license": "MIT", 3013 | "engines": { 3014 | "node": ">= 12.13.0" 3015 | } 3016 | }, 3017 | "node_modules/resolve-from": { 3018 | "version": "4.0.0", 3019 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 3020 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 3021 | "license": "MIT", 3022 | "peer": true, 3023 | "engines": { 3024 | "node": ">=4" 3025 | } 3026 | }, 3027 | "node_modules/reusify": { 3028 | "version": "1.0.4", 3029 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 3030 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 3031 | "license": "MIT", 3032 | "engines": { 3033 | "iojs": ">=1.0.0", 3034 | "node": ">=0.10.0" 3035 | } 3036 | }, 3037 | "node_modules/rimraf": { 3038 | "version": "3.0.2", 3039 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 3040 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 3041 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 3042 | "license": "ISC", 3043 | "peer": true, 3044 | "dependencies": { 3045 | "glob": "^7.1.3" 3046 | }, 3047 | "bin": { 3048 | "rimraf": "bin.js" 3049 | }, 3050 | "funding": { 3051 | "url": "https://github.com/sponsors/isaacs" 3052 | } 3053 | }, 3054 | "node_modules/run-parallel": { 3055 | "version": "1.2.0", 3056 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 3057 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 3058 | "funding": [ 3059 | { 3060 | "type": "github", 3061 | "url": "https://github.com/sponsors/feross" 3062 | }, 3063 | { 3064 | "type": "patreon", 3065 | "url": "https://www.patreon.com/feross" 3066 | }, 3067 | { 3068 | "type": "consulting", 3069 | "url": "https://feross.org/support" 3070 | } 3071 | ], 3072 | "license": "MIT", 3073 | "dependencies": { 3074 | "queue-microtask": "^1.2.2" 3075 | } 3076 | }, 3077 | "node_modules/safe-buffer": { 3078 | "version": "5.2.1", 3079 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 3080 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 3081 | "funding": [ 3082 | { 3083 | "type": "github", 3084 | "url": "https://github.com/sponsors/feross" 3085 | }, 3086 | { 3087 | "type": "patreon", 3088 | "url": "https://www.patreon.com/feross" 3089 | }, 3090 | { 3091 | "type": "consulting", 3092 | "url": "https://feross.org/support" 3093 | } 3094 | ], 3095 | "license": "MIT" 3096 | }, 3097 | "node_modules/safe-stable-stringify": { 3098 | "version": "2.5.0", 3099 | "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", 3100 | "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", 3101 | "license": "MIT", 3102 | "engines": { 3103 | "node": ">=10" 3104 | } 3105 | }, 3106 | "node_modules/semver": { 3107 | "version": "7.6.3", 3108 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", 3109 | "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", 3110 | "license": "ISC", 3111 | "bin": { 3112 | "semver": "bin/semver.js" 3113 | }, 3114 | "engines": { 3115 | "node": ">=10" 3116 | } 3117 | }, 3118 | "node_modules/sharp": { 3119 | "version": "0.32.6", 3120 | "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz", 3121 | "integrity": "sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==", 3122 | "hasInstallScript": true, 3123 | "license": "Apache-2.0", 3124 | "optional": true, 3125 | "peer": true, 3126 | "dependencies": { 3127 | "color": "^4.2.3", 3128 | "detect-libc": "^2.0.2", 3129 | "node-addon-api": "^6.1.0", 3130 | "prebuild-install": "^7.1.1", 3131 | "semver": "^7.5.4", 3132 | "simple-get": "^4.0.1", 3133 | "tar-fs": "^3.0.4", 3134 | "tunnel-agent": "^0.6.0" 3135 | }, 3136 | "engines": { 3137 | "node": ">=14.15.0" 3138 | }, 3139 | "funding": { 3140 | "url": "https://opencollective.com/libvips" 3141 | } 3142 | }, 3143 | "node_modules/shebang-command": { 3144 | "version": "2.0.0", 3145 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 3146 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 3147 | "license": "MIT", 3148 | "peer": true, 3149 | "dependencies": { 3150 | "shebang-regex": "^3.0.0" 3151 | }, 3152 | "engines": { 3153 | "node": ">=8" 3154 | } 3155 | }, 3156 | "node_modules/shebang-regex": { 3157 | "version": "3.0.0", 3158 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 3159 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 3160 | "license": "MIT", 3161 | "peer": true, 3162 | "engines": { 3163 | "node": ">=8" 3164 | } 3165 | }, 3166 | "node_modules/simple-concat": { 3167 | "version": "1.0.1", 3168 | "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", 3169 | "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", 3170 | "funding": [ 3171 | { 3172 | "type": "github", 3173 | "url": "https://github.com/sponsors/feross" 3174 | }, 3175 | { 3176 | "type": "patreon", 3177 | "url": "https://www.patreon.com/feross" 3178 | }, 3179 | { 3180 | "type": "consulting", 3181 | "url": "https://feross.org/support" 3182 | } 3183 | ], 3184 | "license": "MIT", 3185 | "optional": true, 3186 | "peer": true 3187 | }, 3188 | "node_modules/simple-get": { 3189 | "version": "4.0.1", 3190 | "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", 3191 | "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", 3192 | "funding": [ 3193 | { 3194 | "type": "github", 3195 | "url": "https://github.com/sponsors/feross" 3196 | }, 3197 | { 3198 | "type": "patreon", 3199 | "url": "https://www.patreon.com/feross" 3200 | }, 3201 | { 3202 | "type": "consulting", 3203 | "url": "https://feross.org/support" 3204 | } 3205 | ], 3206 | "license": "MIT", 3207 | "optional": true, 3208 | "peer": true, 3209 | "dependencies": { 3210 | "decompress-response": "^6.0.0", 3211 | "once": "^1.3.1", 3212 | "simple-concat": "^1.0.0" 3213 | } 3214 | }, 3215 | "node_modules/simple-swizzle": { 3216 | "version": "0.2.2", 3217 | "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", 3218 | "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", 3219 | "license": "MIT", 3220 | "optional": true, 3221 | "peer": true, 3222 | "dependencies": { 3223 | "is-arrayish": "^0.3.1" 3224 | } 3225 | }, 3226 | "node_modules/simple-yenc": { 3227 | "version": "1.0.4", 3228 | "resolved": "https://registry.npmjs.org/simple-yenc/-/simple-yenc-1.0.4.tgz", 3229 | "integrity": "sha512-5gvxpSd79e9a3V4QDYUqnqxeD4HGlhCakVpb6gMnDD7lexJggSBJRBO5h52y/iJrdXRilX9UCuDaIJhSWm5OWw==", 3230 | "license": "MIT", 3231 | "funding": { 3232 | "type": "individual", 3233 | "url": "https://github.com/sponsors/eshaz" 3234 | } 3235 | }, 3236 | "node_modules/slash": { 3237 | "version": "3.0.0", 3238 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 3239 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 3240 | "license": "MIT", 3241 | "engines": { 3242 | "node": ">=8" 3243 | } 3244 | }, 3245 | "node_modules/sonic-boom": { 3246 | "version": "2.8.0", 3247 | "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-2.8.0.tgz", 3248 | "integrity": "sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==", 3249 | "license": "MIT", 3250 | "dependencies": { 3251 | "atomic-sleep": "^1.0.0" 3252 | } 3253 | }, 3254 | "node_modules/split2": { 3255 | "version": "4.2.0", 3256 | "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", 3257 | "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", 3258 | "license": "ISC", 3259 | "engines": { 3260 | "node": ">= 10.x" 3261 | } 3262 | }, 3263 | "node_modules/stream-shift": { 3264 | "version": "1.0.3", 3265 | "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", 3266 | "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==", 3267 | "license": "MIT" 3268 | }, 3269 | "node_modules/streamx": { 3270 | "version": "2.20.1", 3271 | "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz", 3272 | "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==", 3273 | "license": "MIT", 3274 | "optional": true, 3275 | "peer": true, 3276 | "dependencies": { 3277 | "fast-fifo": "^1.3.2", 3278 | "queue-tick": "^1.0.1", 3279 | "text-decoder": "^1.1.0" 3280 | }, 3281 | "optionalDependencies": { 3282 | "bare-events": "^2.2.0" 3283 | } 3284 | }, 3285 | "node_modules/string_decoder": { 3286 | "version": "1.3.0", 3287 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 3288 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 3289 | "license": "MIT", 3290 | "dependencies": { 3291 | "safe-buffer": "~5.2.0" 3292 | } 3293 | }, 3294 | "node_modules/strip-ansi": { 3295 | "version": "6.0.1", 3296 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 3297 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 3298 | "license": "MIT", 3299 | "peer": true, 3300 | "dependencies": { 3301 | "ansi-regex": "^5.0.1" 3302 | }, 3303 | "engines": { 3304 | "node": ">=8" 3305 | } 3306 | }, 3307 | "node_modules/strip-json-comments": { 3308 | "version": "2.0.1", 3309 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 3310 | "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", 3311 | "license": "MIT", 3312 | "optional": true, 3313 | "peer": true, 3314 | "engines": { 3315 | "node": ">=0.10.0" 3316 | } 3317 | }, 3318 | "node_modules/strtok3": { 3319 | "version": "6.3.0", 3320 | "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.3.0.tgz", 3321 | "integrity": "sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==", 3322 | "license": "MIT", 3323 | "dependencies": { 3324 | "@tokenizer/token": "^0.3.0", 3325 | "peek-readable": "^4.1.0" 3326 | }, 3327 | "engines": { 3328 | "node": ">=10" 3329 | }, 3330 | "funding": { 3331 | "type": "github", 3332 | "url": "https://github.com/sponsors/Borewit" 3333 | } 3334 | }, 3335 | "node_modules/supports-color": { 3336 | "version": "7.2.0", 3337 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 3338 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 3339 | "license": "MIT", 3340 | "peer": true, 3341 | "dependencies": { 3342 | "has-flag": "^4.0.0" 3343 | }, 3344 | "engines": { 3345 | "node": ">=8" 3346 | } 3347 | }, 3348 | "node_modules/tar-fs": { 3349 | "version": "3.0.6", 3350 | "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", 3351 | "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", 3352 | "license": "MIT", 3353 | "optional": true, 3354 | "peer": true, 3355 | "dependencies": { 3356 | "pump": "^3.0.0", 3357 | "tar-stream": "^3.1.5" 3358 | }, 3359 | "optionalDependencies": { 3360 | "bare-fs": "^2.1.1", 3361 | "bare-path": "^2.1.0" 3362 | } 3363 | }, 3364 | "node_modules/tar-stream": { 3365 | "version": "3.1.7", 3366 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", 3367 | "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", 3368 | "license": "MIT", 3369 | "optional": true, 3370 | "peer": true, 3371 | "dependencies": { 3372 | "b4a": "^1.6.4", 3373 | "fast-fifo": "^1.2.0", 3374 | "streamx": "^2.15.0" 3375 | } 3376 | }, 3377 | "node_modules/text-decoder": { 3378 | "version": "1.2.0", 3379 | "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz", 3380 | "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==", 3381 | "license": "Apache-2.0", 3382 | "optional": true, 3383 | "peer": true, 3384 | "dependencies": { 3385 | "b4a": "^1.6.4" 3386 | } 3387 | }, 3388 | "node_modules/text-table": { 3389 | "version": "0.2.0", 3390 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 3391 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 3392 | "license": "MIT", 3393 | "peer": true 3394 | }, 3395 | "node_modules/thread-stream": { 3396 | "version": "0.15.2", 3397 | "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-0.15.2.tgz", 3398 | "integrity": "sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==", 3399 | "license": "MIT", 3400 | "dependencies": { 3401 | "real-require": "^0.1.0" 3402 | } 3403 | }, 3404 | "node_modules/to-regex-range": { 3405 | "version": "5.0.1", 3406 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3407 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3408 | "license": "MIT", 3409 | "dependencies": { 3410 | "is-number": "^7.0.0" 3411 | }, 3412 | "engines": { 3413 | "node": ">=8.0" 3414 | } 3415 | }, 3416 | "node_modules/token-types": { 3417 | "version": "4.2.1", 3418 | "resolved": "https://registry.npmjs.org/token-types/-/token-types-4.2.1.tgz", 3419 | "integrity": "sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==", 3420 | "license": "MIT", 3421 | "dependencies": { 3422 | "@tokenizer/token": "^0.3.0", 3423 | "ieee754": "^1.2.1" 3424 | }, 3425 | "engines": { 3426 | "node": ">=10" 3427 | }, 3428 | "funding": { 3429 | "type": "github", 3430 | "url": "https://github.com/sponsors/Borewit" 3431 | } 3432 | }, 3433 | "node_modules/ts-api-utils": { 3434 | "version": "1.3.0", 3435 | "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", 3436 | "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", 3437 | "license": "MIT", 3438 | "engines": { 3439 | "node": ">=16" 3440 | }, 3441 | "peerDependencies": { 3442 | "typescript": ">=4.2.0" 3443 | } 3444 | }, 3445 | "node_modules/ts-node": { 3446 | "version": "10.9.2", 3447 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", 3448 | "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", 3449 | "dev": true, 3450 | "license": "MIT", 3451 | "dependencies": { 3452 | "@cspotcode/source-map-support": "^0.8.0", 3453 | "@tsconfig/node10": "^1.0.7", 3454 | "@tsconfig/node12": "^1.0.7", 3455 | "@tsconfig/node14": "^1.0.0", 3456 | "@tsconfig/node16": "^1.0.2", 3457 | "acorn": "^8.4.1", 3458 | "acorn-walk": "^8.1.1", 3459 | "arg": "^4.1.0", 3460 | "create-require": "^1.1.0", 3461 | "diff": "^4.0.1", 3462 | "make-error": "^1.1.1", 3463 | "v8-compile-cache-lib": "^3.0.1", 3464 | "yn": "3.1.1" 3465 | }, 3466 | "bin": { 3467 | "ts-node": "dist/bin.js", 3468 | "ts-node-cwd": "dist/bin-cwd.js", 3469 | "ts-node-esm": "dist/bin-esm.js", 3470 | "ts-node-script": "dist/bin-script.js", 3471 | "ts-node-transpile-only": "dist/bin-transpile.js", 3472 | "ts-script": "dist/bin-script-deprecated.js" 3473 | }, 3474 | "peerDependencies": { 3475 | "@swc/core": ">=1.2.50", 3476 | "@swc/wasm": ">=1.2.50", 3477 | "@types/node": "*", 3478 | "typescript": ">=2.7" 3479 | }, 3480 | "peerDependenciesMeta": { 3481 | "@swc/core": { 3482 | "optional": true 3483 | }, 3484 | "@swc/wasm": { 3485 | "optional": true 3486 | } 3487 | } 3488 | }, 3489 | "node_modules/tunnel-agent": { 3490 | "version": "0.6.0", 3491 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 3492 | "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", 3493 | "license": "Apache-2.0", 3494 | "optional": true, 3495 | "peer": true, 3496 | "dependencies": { 3497 | "safe-buffer": "^5.0.1" 3498 | }, 3499 | "engines": { 3500 | "node": "*" 3501 | } 3502 | }, 3503 | "node_modules/type-check": { 3504 | "version": "0.4.0", 3505 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 3506 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 3507 | "license": "MIT", 3508 | "peer": true, 3509 | "dependencies": { 3510 | "prelude-ls": "^1.2.1" 3511 | }, 3512 | "engines": { 3513 | "node": ">= 0.8.0" 3514 | } 3515 | }, 3516 | "node_modules/type-fest": { 3517 | "version": "0.20.2", 3518 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 3519 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 3520 | "license": "(MIT OR CC0-1.0)", 3521 | "peer": true, 3522 | "engines": { 3523 | "node": ">=10" 3524 | }, 3525 | "funding": { 3526 | "url": "https://github.com/sponsors/sindresorhus" 3527 | } 3528 | }, 3529 | "node_modules/typescript": { 3530 | "version": "5.6.3", 3531 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", 3532 | "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", 3533 | "license": "Apache-2.0", 3534 | "bin": { 3535 | "tsc": "bin/tsc", 3536 | "tsserver": "bin/tsserver" 3537 | }, 3538 | "engines": { 3539 | "node": ">=14.17" 3540 | } 3541 | }, 3542 | "node_modules/undici-types": { 3543 | "version": "6.19.8", 3544 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", 3545 | "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", 3546 | "license": "MIT" 3547 | }, 3548 | "node_modules/uri-js": { 3549 | "version": "4.4.1", 3550 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 3551 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 3552 | "license": "BSD-2-Clause", 3553 | "peer": true, 3554 | "dependencies": { 3555 | "punycode": "^2.1.0" 3556 | } 3557 | }, 3558 | "node_modules/util-deprecate": { 3559 | "version": "1.0.2", 3560 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3561 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 3562 | "license": "MIT" 3563 | }, 3564 | "node_modules/uuid": { 3565 | "version": "10.0.0", 3566 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", 3567 | "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", 3568 | "funding": [ 3569 | "https://github.com/sponsors/broofa", 3570 | "https://github.com/sponsors/ctavan" 3571 | ], 3572 | "license": "MIT", 3573 | "bin": { 3574 | "uuid": "dist/bin/uuid" 3575 | } 3576 | }, 3577 | "node_modules/v8-compile-cache-lib": { 3578 | "version": "3.0.1", 3579 | "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", 3580 | "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", 3581 | "dev": true, 3582 | "license": "MIT" 3583 | }, 3584 | "node_modules/which": { 3585 | "version": "1.3.1", 3586 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 3587 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 3588 | "license": "ISC", 3589 | "dependencies": { 3590 | "isexe": "^2.0.0" 3591 | }, 3592 | "bin": { 3593 | "which": "bin/which" 3594 | } 3595 | }, 3596 | "node_modules/word-wrap": { 3597 | "version": "1.2.5", 3598 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", 3599 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", 3600 | "license": "MIT", 3601 | "peer": true, 3602 | "engines": { 3603 | "node": ">=0.10.0" 3604 | } 3605 | }, 3606 | "node_modules/wrappy": { 3607 | "version": "1.0.2", 3608 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3609 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3610 | "license": "ISC" 3611 | }, 3612 | "node_modules/ws": { 3613 | "version": "8.18.0", 3614 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", 3615 | "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", 3616 | "license": "MIT", 3617 | "engines": { 3618 | "node": ">=10.0.0" 3619 | }, 3620 | "peerDependencies": { 3621 | "bufferutil": "^4.0.1", 3622 | "utf-8-validate": ">=5.0.2" 3623 | }, 3624 | "peerDependenciesMeta": { 3625 | "bufferutil": { 3626 | "optional": true 3627 | }, 3628 | "utf-8-validate": { 3629 | "optional": true 3630 | } 3631 | } 3632 | }, 3633 | "node_modules/yn": { 3634 | "version": "3.1.1", 3635 | "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", 3636 | "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", 3637 | "dev": true, 3638 | "license": "MIT", 3639 | "engines": { 3640 | "node": ">=6" 3641 | } 3642 | }, 3643 | "node_modules/yocto-queue": { 3644 | "version": "0.1.0", 3645 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 3646 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 3647 | "license": "MIT", 3648 | "peer": true, 3649 | "engines": { 3650 | "node": ">=10" 3651 | }, 3652 | "funding": { 3653 | "url": "https://github.com/sponsors/sindresorhus" 3654 | } 3655 | } 3656 | } 3657 | } 3658 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@bot-wa/bot-wa-baileys", 3 | "version": "1.1.5", 4 | "description": "Creacte a bot for whatsapp with baileys library or bot-whatsapp", 5 | "main": "lib/baileys.js", 6 | "types": "lib/baileys.d.ts", 7 | "scripts": { 8 | "build": "tsc", 9 | "example": "tsc && node -r ts-node/register examples/bot.ts" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/andresayac/bot-wa-baileys.git" 14 | }, 15 | "keywords": [ 16 | "bot", 17 | "baileys", 18 | "whatsapp", 19 | "bot-whatsapp", 20 | "flow", 21 | "chatbot", 22 | "whatsapp" 23 | ], 24 | "files": [ 25 | "./lib/**/*" 26 | ], 27 | "dependencies": { 28 | "@ffmpeg-installer/ffmpeg": "^1.1.0", 29 | "@whiskeysockets/baileys": "^6.7.9", 30 | "fluent-ffmpeg": "^2.1.3", 31 | "qr-image": "^3.2.0", 32 | "qrcode-terminal": "^0.12.0" 33 | }, 34 | "author": "Andres Aya", 35 | "license": "MIT", 36 | "bugs": { 37 | "url": "https://github.com/andresayac/bot-wa-baileys/issues" 38 | }, 39 | "homepage": "https://github.com/andresayac/bot-wa-baileys#readme", 40 | "devDependencies": { 41 | "@types/fluent-ffmpeg": "^2.1.26", 42 | "@types/mime-types": "^2.1.4", 43 | "@types/node": "^22.7.8", 44 | "ts-node": "^10.9.2", 45 | "typescript": "^5.6.3" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/baileys.ts: -------------------------------------------------------------------------------- 1 | import { EventEmitter } from 'events'; 2 | import pino, { Logger } from 'pino' 3 | import NodeCache from 'node-cache' 4 | import makeWASocket, { 5 | DisconnectReason, 6 | fetchLatestBaileysVersion, 7 | getAggregateVotesInPollMessage, 8 | makeCacheableSignalKeyStore, 9 | makeInMemoryStore, 10 | useMultiFileAuthState, 11 | Browsers, 12 | proto, 13 | WAMessageContent, 14 | WAMessageKey 15 | } from '@whiskeysockets/baileys' 16 | import { readFileSync, existsSync, rmSync } from 'fs'; 17 | 18 | import ffmpeg from 'fluent-ffmpeg'; 19 | import ffmpegInstaller from '@ffmpeg-installer/ffmpeg'; 20 | 21 | import mime from 'mime-types'; 22 | 23 | import utils from './utils'; 24 | import { join } from 'path'; 25 | 26 | 27 | 28 | interface Args { 29 | debug?: boolean; 30 | [key: string]: any; // Define the shape of this object as needed 31 | } 32 | 33 | type SendMessageOptions = { 34 | keyword?: string, 35 | refresh?: string, 36 | answer?: string, 37 | options: { 38 | capture?: boolean 39 | child?: any 40 | delay?: number 41 | nested?: any[] 42 | keyword?: any 43 | callback?: boolean 44 | buttons?: { body: string }[] 45 | media?: string 46 | }, 47 | refSerialize?: string 48 | } 49 | 50 | ffmpeg.setFfmpegPath(ffmpegInstaller.path) 51 | 52 | const msgRetryCounterCache = new NodeCache() 53 | 54 | 55 | export class BaileysClass extends EventEmitter { 56 | private vendor: any; 57 | private store: any; 58 | private globalVendorArgs: Args; 59 | private sock: any; 60 | private NAME_DIR_SESSION: string; 61 | private plugin: boolean; 62 | 63 | constructor(args = {}) { 64 | 65 | super() 66 | this.vendor = null; 67 | this.store = null; 68 | this.globalVendorArgs = { name: `bot`, usePairingCode: false, phoneNumber: null, gifPlayback: false, dir: './', ...args }; 69 | this.NAME_DIR_SESSION = `${this.globalVendorArgs.dir}${this.globalVendorArgs.name}_sessions`; 70 | this.initBailey(); 71 | 72 | // is plugin? 73 | const err = new Error(); 74 | const stack = err.stack; 75 | this.plugin = stack?.includes('createProvider') ?? false; 76 | 77 | } 78 | 79 | getMessage = async (key: WAMessageKey): Promise => { 80 | if (this.store) { 81 | const msg = await this.store.loadMessage(key.remoteJid, key.id) 82 | return msg?.message || undefined 83 | } 84 | // only if store is present 85 | return proto.Message.fromObject({}) 86 | } 87 | 88 | getInstance = (): any => this.vendor; 89 | 90 | initBailey = async (): Promise => { 91 | 92 | const logger : Logger = pino({ level: this.globalVendorArgs.debug ? 'debug' : 'fatal' }) 93 | const { state, saveCreds } = await useMultiFileAuthState(this.NAME_DIR_SESSION); 94 | const { version, isLatest } = await fetchLatestBaileysVersion() 95 | 96 | if (this.globalVendorArgs.debug) console.log(`using WA v${version.join('.')}, isLatest: ${isLatest}`) 97 | 98 | this.store = makeInMemoryStore({ logger }) 99 | this.store.readFromFile(`${this.NAME_DIR_SESSION}/baileys_store.json`) 100 | setInterval(() => { 101 | const path = `${this.NAME_DIR_SESSION}/baileys_store.json`; 102 | if(existsSync(path)) { 103 | this.store.writeToFile(path); 104 | } 105 | }, 10_000); 106 | 107 | try { 108 | this.setUpBaileySock({ version, logger, state, saveCreds }); 109 | } catch (e) { 110 | this.emit('auth_failure', e); 111 | } 112 | } 113 | 114 | setUpBaileySock = async ({ version, logger, state, saveCreds }) => { 115 | this.sock = makeWASocket({ 116 | version, 117 | logger, 118 | printQRInTerminal: this.plugin || this.globalVendorArgs.usePairingCode ? false : true, 119 | auth: { 120 | creds: state.creds, 121 | keys: makeCacheableSignalKeyStore(state.keys, logger), 122 | }, 123 | browser: Browsers.macOS('Desktop'), 124 | msgRetryCounterCache, 125 | generateHighQualityLinkPreview: true, 126 | getMessage: this.getMessage, 127 | }) 128 | 129 | this.store?.bind(this.sock.ev) 130 | 131 | if (this.globalVendorArgs.usePairingCode) { 132 | if (this.globalVendorArgs.phoneNumber) { 133 | await this.sock.waitForConnectionUpdate((update) => !!update.qr) 134 | const code = await this.sock.requestPairingCode(this.globalVendorArgs.phoneNumber) 135 | if (this.plugin) { 136 | this.emit('require_action', { 137 | instructions: [ 138 | `Acepta la notificación del WhatsApp ${this.globalVendorArgs.phoneNumber} en tu celular 👌`, 139 | `El token para la vinculación es: ${code}`, 140 | `Necesitas ayuda: https://link.codigoencasa.com/DISCORD`, 141 | ], 142 | }) 143 | } else { 144 | this.emit('pairing_code', code); 145 | } 146 | } else { 147 | this.emit('auth_failure', 'phoneNumber is empty') 148 | } 149 | } 150 | 151 | this.sock.ev.on('connection.update', this.handleConnectionUpdate); 152 | this.sock.ev.on('creds.update', saveCreds) 153 | } 154 | 155 | handleConnectionUpdate = async (update: any): Promise => { 156 | const { connection, lastDisconnect, qr } = update; 157 | const statusCode = lastDisconnect?.error?.output?.statusCode; 158 | 159 | if (connection === 'close') { 160 | if (statusCode !== DisconnectReason.loggedOut) this.initBailey(); 161 | if (statusCode === DisconnectReason.loggedOut) this.clearSessionAndRestart(); 162 | } 163 | 164 | if (connection === 'open') { 165 | this.vendor = this.sock; 166 | this.initBusEvents(this.sock); 167 | this.emit('ready', true); 168 | } 169 | 170 | if (qr && !this.globalVendorArgs.usePairingCode) { 171 | if (this.plugin) this.emit('require_action', { 172 | instructions: [ 173 | `Debes escanear el QR Code 👌 ${this.globalVendorArgs.name}.qr.png`, 174 | `Recuerda que el QR se actualiza cada minuto `, 175 | `Necesitas ayuda: https://link.codigoencasa.com/DISCORD`, 176 | ], 177 | }) 178 | this.emit('qr', qr); 179 | if (this.plugin) await utils.baileyGenerateImage(qr, `${this.globalVendorArgs.name}.qr.png`) 180 | } 181 | } 182 | 183 | clearSessionAndRestart = (): void => { 184 | const PATH_BASE = join(process.cwd(), this.NAME_DIR_SESSION); 185 | rmSync(PATH_BASE, { recursive: true, force: true }); 186 | this.initBailey(); 187 | } 188 | 189 | busEvents = (): any[] => [ 190 | { 191 | event: 'messages.upsert', 192 | func: ({ messages, type }) => { 193 | // Ignore notify messages 194 | if (type !== 'notify') return 195 | 196 | const [messageCtx] = messages; 197 | let payload = { 198 | ...messageCtx, 199 | body: messageCtx?.message?.extendedTextMessage?.text ?? messageCtx?.message?.conversation, 200 | from: messageCtx?.key?.remoteJid, 201 | type: 'text' 202 | }; 203 | 204 | // Ignore pollUpdateMessage 205 | if (messageCtx.message?.pollUpdateMessage) return 206 | 207 | // Ignore broadcast messages 208 | if (payload.from === 'status@broadcast') return 209 | 210 | // Ignore messages from self 211 | if (payload?.key?.fromMe) return 212 | 213 | // Detect location 214 | if (messageCtx.message?.locationMessage) { 215 | const { degreesLatitude, degreesLongitude } = messageCtx.message.locationMessage; 216 | if (typeof degreesLatitude === 'number' && typeof degreesLongitude === 'number') { 217 | payload = { ...payload, body: utils.generateRefprovider('_event_location_'), type: 'location' }; 218 | } 219 | } 220 | // Detect media 221 | if (messageCtx.message?.imageMessage) { 222 | payload = { ...payload, body: utils.generateRefprovider('_event_media_'), type: 'image' }; 223 | } 224 | 225 | // Detect ectar file 226 | if (messageCtx.message?.documentMessage) { 227 | payload = { ...payload, body: utils.generateRefprovider('_event_document_'), type: 'file' }; 228 | } 229 | 230 | // Detect voice note 231 | if (messageCtx.message?.audioMessage) { 232 | payload = { ...payload, body: utils.generateRefprovider('_event_voice_note_'), type: 'voice' }; 233 | } 234 | 235 | // Check from user and group is valid 236 | if (!utils.formatPhone(payload.from)) { 237 | return 238 | } 239 | 240 | const btnCtx = payload?.message?.buttonsResponseMessage?.selectedDisplayText; 241 | if (btnCtx) payload.body = btnCtx; 242 | 243 | const listRowId = payload?.message?.listResponseMessage?.title; 244 | if (listRowId) payload.body = listRowId; 245 | 246 | payload.from = utils.formatPhone(payload.from, this.plugin); 247 | this.emit('message', payload); 248 | }, 249 | }, 250 | { 251 | event: 'messages.update', 252 | func: async (message) => { 253 | for (const { key, update } of message) { 254 | if (update.pollUpdates) { 255 | const pollCreation = await this.getMessage(key) 256 | if (pollCreation) { 257 | const pollMessage = await getAggregateVotesInPollMessage({ 258 | message: pollCreation, 259 | pollUpdates: update.pollUpdates, 260 | }) 261 | const [messageCtx] = message; 262 | 263 | let payload = { 264 | ...messageCtx, 265 | body: pollMessage.find(poll => poll.voters.length > 0)?.name || '', 266 | from: utils.formatPhone(key.remoteJid, this.plugin), 267 | voters: pollCreation, 268 | type: 'poll' 269 | }; 270 | 271 | this.emit('message', payload); 272 | } 273 | } 274 | } 275 | } 276 | } 277 | ] 278 | 279 | initBusEvents = (_sock: any): void => { 280 | this.vendor = _sock; 281 | const listEvents = this.busEvents(); 282 | 283 | for (const { event, func } of listEvents) { 284 | this.vendor.ev.on(event, func); 285 | } 286 | } 287 | 288 | /** 289 | * Send Media 290 | * @alpha 291 | * @param {string} number 292 | * @param {string} message 293 | * @example await sendMessage('+XXXXXXXXXXX', 'https://dominio.com/imagen.jpg' | 'img/imagen.jpg') 294 | */ 295 | 296 | sendMedia = async (number: string, mediaUrl: string, text: string): Promise => { 297 | try { 298 | const fileDownloaded = await utils.generalDownload(mediaUrl); 299 | const mimeType = mime.lookup(fileDownloaded); 300 | 301 | if (typeof mimeType === 'string' && mimeType.includes('image')) return this.sendImage(number, fileDownloaded, text); 302 | if (typeof mimeType === 'string' && mimeType.includes('video')) return this.sendVideo(number, fileDownloaded, text); 303 | if (typeof mimeType === 'string' && mimeType.includes('audio')) { 304 | const fileOpus = await utils.convertAudio(fileDownloaded); 305 | return this.sendAudio(number, fileOpus); 306 | } 307 | 308 | return this.sendFile(number, fileDownloaded) 309 | } catch (error) { 310 | console.error(`Error enviando media: ${error}`); 311 | throw error; 312 | } 313 | } 314 | 315 | /** 316 | * Send image 317 | * @param {*} number 318 | * @param {*} filePath 319 | * @param {*} text 320 | * @returns 321 | */ 322 | sendImage = async (number: string, filePath: string, text: string): Promise => { 323 | const numberClean = utils.formatPhone(number) 324 | return this.vendor.sendMessage(numberClean, { 325 | image: readFileSync(filePath), 326 | caption: text ?? '', 327 | }) 328 | } 329 | 330 | /** 331 | * Enviar video 332 | * @param {*} number 333 | * @param {*} imageUrl 334 | * @param {*} text 335 | * @returns 336 | */ 337 | sendVideo = async (number: string, filePath: string, text: string): Promise => { 338 | const numberClean = utils.formatPhone(number) 339 | return this.vendor.sendMessage(numberClean, { 340 | video: readFileSync(filePath), 341 | caption: text, 342 | gifPlayback: this.globalVendorArgs.gifPlayback, 343 | }) 344 | } 345 | 346 | /** 347 | * Enviar audio 348 | * @alpha 349 | * @param {string} number 350 | * @param {string} message 351 | * @param {boolean} voiceNote optional 352 | * @example await sendMessage('+XXXXXXXXXXX', 'audio.mp3') 353 | */ 354 | 355 | sendAudio = async (number: string, audioUrl: string): Promise => { 356 | const numberClean = utils.formatPhone(number) 357 | return this.vendor.sendMessage(numberClean, { 358 | audio: { url: audioUrl }, 359 | ptt: true, 360 | }) 361 | } 362 | 363 | /** 364 | * 365 | * @param {string} number 366 | * @param {string} message 367 | * @returns 368 | */ 369 | sendText = async (number: string, message: string): Promise => { 370 | const numberClean = utils.formatPhone(number) 371 | return this.vendor.sendMessage(numberClean, { text: message }) 372 | } 373 | 374 | /** 375 | * 376 | * @param {string} number 377 | * @param {string} filePath 378 | * @example await sendMessage('+XXXXXXXXXXX', './document/file.pdf') 379 | */ 380 | 381 | sendFile = async (number: string, filePath: string): Promise => { 382 | const numberClean = utils.formatPhone(number) 383 | const mimeType = mime.lookup(filePath); 384 | const fileName = filePath.split('/').pop(); 385 | return this.vendor.sendMessage(numberClean, { 386 | document: { url: filePath }, 387 | mimetype: mimeType, 388 | fileName: fileName, 389 | }) 390 | } 391 | 392 | /** 393 | * @deprecated 394 | * @param {string} number 395 | * @param {string} text 396 | * @param {string} footer 397 | * @param {Array} buttons 398 | * @example await sendMessage("+XXXXXXXXXXX", "Your Text", "Your Footer", [{"buttonId": "id", "buttonText": {"displayText": "Button"}, "type": 1}]) 399 | */ 400 | 401 | sendButtons = async (number: string, text: string, buttons: any[]): Promise => { 402 | const numberClean = utils.formatPhone(number) 403 | 404 | const templateButtons = buttons.map((btn, i) => ({ 405 | buttonId: `id-btn-${i}`, 406 | buttonText: { displayText: btn.body }, 407 | type: 1, 408 | })); 409 | 410 | const buttonMessage = { 411 | text, 412 | footer: '', 413 | buttons: templateButtons, 414 | headerType: 1, 415 | }; 416 | 417 | return this.vendor.sendMessage(numberClean, buttonMessage) 418 | } 419 | 420 | /** 421 | * 422 | * @param {string} number 423 | * @param {string} text 424 | * @param {string} footer 425 | * @param {Array} poll 426 | * @example await sendMessage("+XXXXXXXXXXX", "Your Text", "Your Footer", [{"buttonId": "id", "buttonText": {"displayText": "Button"}, "type": 1}]) 427 | */ 428 | 429 | sendPoll = async (number: string, text: string, poll: any): Promise => { 430 | const numberClean = utils.formatPhone(number) 431 | 432 | if (poll.options.length < 2) return false 433 | 434 | const pollMessage = { 435 | name: text, 436 | values: poll.options, 437 | selectableCount: 1 438 | }; 439 | return this.vendor.sendMessage(numberClean, { poll: pollMessage }) 440 | } 441 | 442 | /** 443 | * @param {string} number 444 | * @param {string} message 445 | * @example await sendMessage('+XXXXXXXXXXX', 'Hello World') 446 | */ 447 | 448 | 449 | sendMessage = async (numberIn: string, message: string, options: SendMessageOptions): Promise => { 450 | const number = utils.formatPhone(numberIn); 451 | 452 | if (options.options.buttons?.length) { 453 | return this.sendPoll(number, message, { 454 | options: options.options.buttons.map((btn, i) => (btn.body)) ?? [], 455 | }) 456 | } 457 | if (options.options?.media) return this.sendMedia(number, options.options.media, message) 458 | return this.sendText(number, message) 459 | } 460 | 461 | /** 462 | * @param {string} remoteJid 463 | * @param {string} latitude 464 | * @param {string} longitude 465 | * @param {any} messages 466 | * @example await sendLocation("xxxxxxxxxxx@c.us" || "xxxxxxxxxxxxxxxxxx@g.us", "xx.xxxx", "xx.xxxx", messages) 467 | */ 468 | 469 | sendLocation = async (remoteJid: string, latitude: string, longitude: string, messages: any = null): Promise<{ status: string }> => { 470 | await this.vendor.sendMessage( 471 | remoteJid, 472 | { 473 | location: { 474 | degreesLatitude: latitude, 475 | degreesLongitude: longitude, 476 | }, 477 | }, 478 | { quoted: messages } 479 | ); 480 | 481 | return { status: 'success' } 482 | } 483 | 484 | /** 485 | * @param {string} remoteJid 486 | * @param {string} contactNumber 487 | * @param {string} displayName 488 | * @param {any} messages - optional 489 | * @example await sendContact("xxxxxxxxxxx@c.us" || "xxxxxxxxxxxxxxxxxx@g.us", "+xxxxxxxxxxx", "Robin Smith", messages) 490 | */ 491 | 492 | sendContact = async (remoteJid: string, contactNumber: string, displayName: string, messages: any = null): Promise<{ status: string }> => { 493 | 494 | const cleanContactNumber = contactNumber.replace(/ /g, ''); 495 | const waid = cleanContactNumber.replace('+', ''); 496 | 497 | const vcard = 498 | 'BEGIN:VCARD\n' + 499 | 'VERSION:3.0\n' + 500 | `FN:${displayName}\n` + 501 | 'ORG:Ashoka Uni;\n' + 502 | `TEL;type=CELL;type=VOICE;waid=${waid}:${cleanContactNumber}\n` + 503 | 'END:VCARD'; 504 | 505 | await this.vendor.sendMessage( 506 | remoteJid, 507 | { 508 | contacts: { 509 | displayName: displayName, 510 | contacts: [{ vcard }], 511 | }, 512 | }, 513 | { quoted: messages } 514 | ); 515 | 516 | return { status: 'success' } 517 | } 518 | 519 | /** 520 | * @param {string} remoteJid 521 | * @param {string} WAPresence 522 | * @example await sendPresenceUpdate("xxxxxxxxxxx@c.us" || "xxxxxxxxxxxxxxxxxx@g.us", "recording") 523 | */ 524 | sendPresenceUpdate = async (remoteJid: string, WAPresence: string): Promise => { 525 | await this.vendor.sendPresenceUpdate(WAPresence, remoteJid); 526 | } 527 | 528 | /** 529 | * @param {string} remoteJid 530 | * @param {string} url 531 | * @param {object} stickerOptions 532 | * @param {any} messages - optional 533 | * @example await sendSticker("xxxxxxxxxxx@c.us" || "xxxxxxxxxxxxxxxxxx@g.us", "https://dn/image.png" || "https://dn/image.gif" || "https://dn/image.mp4", {pack: 'User', author: 'Me'}, messages) 534 | */ 535 | 536 | sendSticker = async (remoteJid: string, url: string, stickerOptions: any, messages: any = null): Promise => { 537 | const number = utils.formatPhone(remoteJid); 538 | const fileDownloaded = await utils.generalDownload(url); 539 | 540 | await this.vendor.sendMessage(number, { 541 | sticker: { 542 | url: fileDownloaded 543 | }, 544 | }, { quoted: messages }); 545 | } 546 | } 547 | 548 | 549 | -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- 1 | import { rename, createWriteStream, existsSync, readFileSync, promises as fsPromises } from 'fs' 2 | import { tmpdir } from 'os' 3 | import followRedirects, { HttpOptions, HttpClient, HttpsOptions, HttpsClient } from 'follow-redirects'; 4 | import path from 'path'; 5 | import crypto from 'crypto'; 6 | import mime from 'mime-types'; 7 | import { extname } from 'path'; 8 | import ffmpeg from 'fluent-ffmpeg'; 9 | 10 | 11 | import sharp from 'sharp'; 12 | import { readFile } from 'fs'; 13 | import qr from 'qr-image'; 14 | 15 | 16 | const { http, https } = followRedirects; 17 | 18 | interface HttpResponse { 19 | response: { 20 | headers: { 21 | 'content-type': string 22 | } 23 | }, 24 | fullPath: string 25 | } 26 | 27 | const utils = { 28 | formatPhone: (contact: string, full: boolean = false): string => { 29 | let domain = contact.includes('@g.us') ? '@g.us' : '@s.whatsapp.net'; 30 | contact = contact.replace(domain, ''); 31 | return !full ? `${contact}${domain}` : contact; 32 | }, 33 | generateRefprovider: (prefix: string = ''): string => prefix ? `${prefix}_${crypto.randomUUID()}` : crypto.randomUUID(), 34 | isValidNumber: (rawNumber: string): boolean => !rawNumber.match(/\@g.us\b/gm), 35 | prepareMedia: (media: string): { url: string } | { buffer: Buffer } => { 36 | if (utils.isUrl(media)) { 37 | return { url: media }; 38 | } else { 39 | try { 40 | return { buffer: readFileSync(media) }; 41 | } catch (e) { 42 | console.error(`Failed to read file at ${media}`, e); 43 | throw e; 44 | } 45 | } 46 | }, 47 | isUrl: (s: string): boolean => { 48 | try { 49 | new URL(s); 50 | return true; 51 | } catch { 52 | return false; 53 | } 54 | }, 55 | generalDownload: async (url: string): Promise => { 56 | const checkIsLocal = existsSync(url) 57 | 58 | const handleDownload = (): Promise => { 59 | const checkProtocol = url.includes('https:') 60 | const handleHttp = checkProtocol ? https : http 61 | 62 | const name = `tmp-${Date.now()}-dat` 63 | const fullPath = `${tmpdir()}/${name}` 64 | const file = createWriteStream(fullPath) 65 | 66 | if (checkIsLocal) { 67 | /** 68 | * From Local 69 | */ 70 | return new Promise((res) => { 71 | const response = { 72 | headers: { 73 | 'content-type': mime.contentType(extname(url)) || 'application/octet-stream', 74 | }, 75 | } 76 | res({ response, fullPath: url }) 77 | }) 78 | } else { 79 | /** 80 | * From URL 81 | */ 82 | return new Promise((res, rej) => { 83 | handleHttp.get(url, function (response) { 84 | response.pipe(file) 85 | file.on('finish', async function () { 86 | file.close() 87 | res({ response, fullPath }) 88 | }) 89 | file.on('error', function () { 90 | file.close() 91 | rej(null) 92 | }) 93 | }) 94 | }) 95 | } 96 | } 97 | 98 | const handleFile = (pathInput: string, ext: string): Promise => 99 | new Promise((resolve, reject) => { 100 | const fullPath = `${pathInput}.${ext}` 101 | rename(pathInput, fullPath, (err) => { 102 | if (err) reject(null) 103 | resolve(fullPath) 104 | }) 105 | }) 106 | 107 | const httpResponse = await handleDownload() 108 | const { ext } = await utils.fileTypeFromFile(httpResponse.response) 109 | const getPath = await handleFile(httpResponse.fullPath, ext) 110 | 111 | return getPath 112 | }, 113 | convertAudio: async (filePath: string = '', format: string = 'opus'): Promise => { 114 | const formats = { 115 | mp3: { 116 | code: 'libmp3lame', 117 | ext: 'mp3', 118 | }, 119 | opus: { 120 | code: 'libopus', 121 | ext: 'opus', 122 | }, 123 | } 124 | 125 | const opusFilePath = path.join(path.dirname(filePath), `${path.basename(filePath, path.extname(filePath))}.${formats[format].ext}`) 126 | await new Promise((resolve, reject) => { 127 | ffmpeg(filePath) 128 | .audioCodec(formats[format].code) 129 | .audioBitrate('64k') 130 | .format(formats[format].ext) 131 | .output(opusFilePath) 132 | .on('end', resolve) 133 | .on('error', reject) 134 | .run() 135 | }) 136 | return opusFilePath 137 | }, 138 | fileTypeFromFile: async (response: { headers: { 'content-type': string } }): Promise<{ type: string, ext: string | any }> => { 139 | const type = response.headers['content-type'] ?? null 140 | const ext = mime.extension(type) 141 | return { 142 | type, 143 | ext, 144 | } 145 | }, 146 | baileyGenerateImage: async (base64, name = 'qr.png') => { 147 | const PATH_QR = `${process.cwd()}/${name}` 148 | let qr_svg = qr.image(base64, { type: 'png', margin: 4 }) 149 | 150 | const writeFilePromise = () => 151 | new Promise((resolve, reject) => { 152 | const file = qr_svg.pipe(createWriteStream(PATH_QR)) 153 | file.on('finish', () => resolve(true)) 154 | file.on('error', reject) 155 | }) 156 | 157 | await writeFilePromise() 158 | await utils.cleanImage(PATH_QR) 159 | }, 160 | cleanImage: async (FROM: string): Promise => { 161 | const readBuffer = async (): Promise => { 162 | const data = await fsPromises.readFile(FROM) 163 | return Buffer.from(data) 164 | } 165 | 166 | const imgBuffer: Buffer = await readBuffer() 167 | 168 | return new Promise((resolve, reject) => { 169 | sharp(imgBuffer, { failOnError: false }) 170 | .extend({ 171 | top: 15, 172 | bottom: 15, 173 | left: 15, 174 | right: 15, 175 | background: { r: 255, g: 255, b: 255, alpha: 1 }, 176 | }) 177 | .toFile(FROM, (err) => { 178 | if (err) reject(err) 179 | resolve(true) 180 | }) 181 | }) 182 | } 183 | 184 | 185 | } 186 | 187 | export default utils; 188 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2018", 4 | "module": "commonjs", 5 | "experimentalDecorators": true, 6 | "allowJs": false, 7 | "checkJs": false, 8 | "outDir": "lib", 9 | "strict": false, 10 | "strictNullChecks": true, 11 | "skipLibCheck": true, 12 | "noImplicitThis": true, 13 | "esModuleInterop": true, 14 | "resolveJsonModule": true, 15 | "forceConsistentCasingInFileNames": true, 16 | "declaration": true 17 | }, 18 | "include": ["src/**/*.ts"], 19 | "exclude": ["node_modules"] 20 | } 21 | --------------------------------------------------------------------------------