├── .env
├── LICENSE
├── README.md
├── package-lock.json
├── package.json
└── src
├── bot.js
└── index.js
/.env:
--------------------------------------------------------------------------------
1 | ClientID=YOUR_CLIENT_ID_HERE
2 | ClientSecret=YOUR_CLIENT_SECRET_HERE
3 | PORT=1500
4 | BotToken=YOUR_DISCORD_BOT_TOKEN_HERE
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # [Discord] - OAuth2 Bot
2 |
3 | 
4 | 
5 |
6 | ## Description
7 | This project allows you to manage user access to your Discord bot via OAuth2 authorization. Users must authorize the bot to join servers on their behalf. It provides useful commands for server management, a simple setup process, and a robust database to handle user information.
8 |
9 | ## Features
10 | - Manage user access to your server via OAuth2.
11 | - View and control users in the database.
12 | - Refresh and manage bot commands dynamically.
13 |
14 | ## Commands
15 |
16 | ### Bot Commands
17 | - **`/ping`**: Displays the bot's current ping.
18 | - **`/refresh`**: Refreshes the bot's slash commands.
19 | - **`/links`**: Sends useful links such as OAuth2 and bot invitation links.
20 | - **`/joinall`**: Adds all users from the database to the server.
21 | - **`/join`**: Adds a specified number of users to the server.
22 | - **`/users`**: Displays the total number of users in the database.
23 | - **`/clear`**: Deletes a specified number of messages in a channel.
24 |
25 | ## Setup Instructions
26 |
27 | ### Prerequisites
28 | - Node.js v16.15 or later
29 | - Discord bot token
30 | - SQLite database
31 |
32 | ### Installation
33 | 1. Clone this repository:
34 | ```bash
35 | git clone https://github.com/AstraaDev/Discord-OAuth2.git
36 | ```
37 | 2. Navigate to the project directory:
38 | ```bash
39 | cd Discord-OAuth2
40 | ```
41 | 3. Install dependencies:
42 | ```bash
43 | npm install
44 | ```
45 | 4. Edit the `.env` file provided in the repository:
46 | ```env
47 | ClientID=YOUR_CLIENT_ID_HERE
48 | ClientSecret=YOUR_CLIENT_SECRET_HERE
49 | PORT=1500
50 | BotToken=YOUR_BOT_TOKEN_HERE
51 | ```
52 | 5. Modify `YOUR_USER_ID_HERE` in `src/bot.js` with your Discord account ID. Only these IDs will have access to the bot commands.
53 | 6. Replace `YOUR_CLIENT_ID_HERE` and `YOUR_REDIRECT_URI_HERE` in `src/bot.js` to match your application's OAuth2 settings.
54 |
55 | ### Running the Bot
56 | Start the bot by running:
57 | ```bash
58 | node bot.js
59 | ```
60 |
61 | Start the Express server:
62 | ```bash
63 | node index.js
64 | ```
65 |
66 | ## Creating a Discord Bot
67 |
68 | To create your Discord bot and retrieve the necessary credentials:
69 |
70 | 1. **Go to the Discord Developer Portal**:
71 | Visit the [Discord Developer Portal](https://discord.com/developers/applications) and log in with your Discord account.
72 |
73 | 2. **Create a New Application**:
74 | - Click on "New Application."
75 | - Provide a name for your bot and click "Create."
76 |
77 | 3. **Generate the Client ID and Client Secret**:
78 | - Go to the "OAuth2" tab.
79 | - Under "General Information," copy your **Client ID** and **Client Secret**. These will be used in your `.env` file.
80 |
81 | 4. **Add a Bot User**:
82 | - Navigate to the "Bot" tab.
83 | - Click on "Add Bot" and confirm.
84 | - Copy the **Bot Token** by clicking on "Reset Token." Add this token to your `.env` file as `BotToken`.
85 |
86 | 5. **Set Up OAuth2 Redirects**:
87 | - In the "OAuth2" tab, under "Redirects," add your redirect URI (e.g., `http://localhost:1500/api/auth/discord/redirect`).
88 |
89 | 6. **Configure Permissions**:
90 | - In the "OAuth2" tab, use the URL Generator to set the bot's permissions and scopes (e.g., `bot`, `applications.commands`).
91 | - Generate the invitation link and use it to invite your bot to a server.
92 |
93 | ## Example OAuth2 Authorization Link Content
94 |
95 |
96 | ## Database
97 | SQLite is used to store user information:
98 | - `username`: The username of the authorized user.
99 | - `discord_id`: The Discord ID of the user.
100 | - `access_token`: The OAuth2 access token.
101 | - `refresh_token`: The OAuth2 refresh token.
102 |
103 | ## Additional Information
104 | - Need help? Join the [Discord Server](https://astraadev.github.io/#/discord).
105 | - Contributions are welcome! Open an issue or create a pull request.
106 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "oauth2",
3 | "version": "1.0.0",
4 | "lockfileVersion": 2,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "oauth2",
9 | "version": "1.0.0",
10 | "license": "ISC",
11 | "dependencies": {
12 | "axios": "^1.5.0",
13 | "discord.js": "^14.13.0",
14 | "fs": "^0.0.1-security",
15 | "sqlite3": "^5.1.6"
16 | }
17 | },
18 | "node_modules/@discordjs/builders": {
19 | "version": "1.6.5",
20 | "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.5.tgz",
21 | "integrity": "sha512-SdweyCs/+mHj+PNhGLLle7RrRFX9ZAhzynHahMCLqp5Zeq7np7XC6/mgzHc79QoVlQ1zZtOkTTiJpOZu5V8Ufg==",
22 | "dependencies": {
23 | "@discordjs/formatters": "^0.3.2",
24 | "@discordjs/util": "^1.0.1",
25 | "@sapphire/shapeshift": "^3.9.2",
26 | "discord-api-types": "0.37.50",
27 | "fast-deep-equal": "^3.1.3",
28 | "ts-mixer": "^6.0.3",
29 | "tslib": "^2.6.1"
30 | },
31 | "engines": {
32 | "node": ">=16.11.0"
33 | }
34 | },
35 | "node_modules/@discordjs/collection": {
36 | "version": "1.5.3",
37 | "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.5.3.tgz",
38 | "integrity": "sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ==",
39 | "engines": {
40 | "node": ">=16.11.0"
41 | }
42 | },
43 | "node_modules/@discordjs/formatters": {
44 | "version": "0.3.2",
45 | "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.2.tgz",
46 | "integrity": "sha512-lE++JZK8LSSDRM5nLjhuvWhGuKiXqu+JZ/DsOR89DVVia3z9fdCJVcHF2W/1Zxgq0re7kCzmAJlCMMX3tetKpA==",
47 | "dependencies": {
48 | "discord-api-types": "0.37.50"
49 | },
50 | "engines": {
51 | "node": ">=16.11.0"
52 | }
53 | },
54 | "node_modules/@discordjs/rest": {
55 | "version": "2.0.1",
56 | "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-2.0.1.tgz",
57 | "integrity": "sha512-/eWAdDRvwX/rIE2tuQUmKaxmWeHmGealttIzGzlYfI4+a7y9b6ZoMp8BG/jaohs8D8iEnCNYaZiOFLVFLQb8Zg==",
58 | "dependencies": {
59 | "@discordjs/collection": "^1.5.3",
60 | "@discordjs/util": "^1.0.1",
61 | "@sapphire/async-queue": "^1.5.0",
62 | "@sapphire/snowflake": "^3.5.1",
63 | "@vladfrangu/async_event_emitter": "^2.2.2",
64 | "discord-api-types": "0.37.50",
65 | "magic-bytes.js": "^1.0.15",
66 | "tslib": "^2.6.1",
67 | "undici": "5.22.1"
68 | },
69 | "engines": {
70 | "node": ">=16.11.0"
71 | }
72 | },
73 | "node_modules/@discordjs/util": {
74 | "version": "1.0.1",
75 | "resolved": "https://registry.npmjs.org/@discordjs/util/-/util-1.0.1.tgz",
76 | "integrity": "sha512-d0N2yCxB8r4bn00/hvFZwM7goDcUhtViC5un4hPj73Ba4yrChLSJD8fy7Ps5jpTLg1fE9n4K0xBLc1y9WGwSsA==",
77 | "engines": {
78 | "node": ">=16.11.0"
79 | }
80 | },
81 | "node_modules/@discordjs/ws": {
82 | "version": "1.0.1",
83 | "resolved": "https://registry.npmjs.org/@discordjs/ws/-/ws-1.0.1.tgz",
84 | "integrity": "sha512-avvAolBqN3yrSvdBPcJ/0j2g42ABzrv3PEL76e3YTp2WYMGH7cuspkjfSyNWaqYl1J+669dlLp+YFMxSVQyS5g==",
85 | "dependencies": {
86 | "@discordjs/collection": "^1.5.3",
87 | "@discordjs/rest": "^2.0.1",
88 | "@discordjs/util": "^1.0.1",
89 | "@sapphire/async-queue": "^1.5.0",
90 | "@types/ws": "^8.5.5",
91 | "@vladfrangu/async_event_emitter": "^2.2.2",
92 | "discord-api-types": "0.37.50",
93 | "tslib": "^2.6.1",
94 | "ws": "^8.13.0"
95 | },
96 | "engines": {
97 | "node": ">=16.11.0"
98 | }
99 | },
100 | "node_modules/@gar/promisify": {
101 | "version": "1.1.3",
102 | "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz",
103 | "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==",
104 | "optional": true
105 | },
106 | "node_modules/@mapbox/node-pre-gyp": {
107 | "version": "1.0.11",
108 | "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz",
109 | "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==",
110 | "dependencies": {
111 | "detect-libc": "^2.0.0",
112 | "https-proxy-agent": "^5.0.0",
113 | "make-dir": "^3.1.0",
114 | "node-fetch": "^2.6.7",
115 | "nopt": "^5.0.0",
116 | "npmlog": "^5.0.1",
117 | "rimraf": "^3.0.2",
118 | "semver": "^7.3.5",
119 | "tar": "^6.1.11"
120 | },
121 | "bin": {
122 | "node-pre-gyp": "bin/node-pre-gyp"
123 | }
124 | },
125 | "node_modules/@npmcli/fs": {
126 | "version": "1.1.1",
127 | "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz",
128 | "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==",
129 | "optional": true,
130 | "dependencies": {
131 | "@gar/promisify": "^1.0.1",
132 | "semver": "^7.3.5"
133 | }
134 | },
135 | "node_modules/@npmcli/move-file": {
136 | "version": "1.1.2",
137 | "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz",
138 | "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==",
139 | "deprecated": "This functionality has been moved to @npmcli/fs",
140 | "optional": true,
141 | "dependencies": {
142 | "mkdirp": "^1.0.4",
143 | "rimraf": "^3.0.2"
144 | },
145 | "engines": {
146 | "node": ">=10"
147 | }
148 | },
149 | "node_modules/@sapphire/async-queue": {
150 | "version": "1.5.0",
151 | "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz",
152 | "integrity": "sha512-JkLdIsP8fPAdh9ZZjrbHWR/+mZj0wvKS5ICibcLrRI1j84UmLMshx5n9QmL8b95d4onJ2xxiyugTgSAX7AalmA==",
153 | "engines": {
154 | "node": ">=v14.0.0",
155 | "npm": ">=7.0.0"
156 | }
157 | },
158 | "node_modules/@sapphire/shapeshift": {
159 | "version": "3.9.2",
160 | "resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.9.2.tgz",
161 | "integrity": "sha512-YRbCXWy969oGIdqR/wha62eX8GNHsvyYi0Rfd4rNW6tSVVa8p0ELiMEuOH/k8rgtvRoM+EMV7Csqz77YdwiDpA==",
162 | "dependencies": {
163 | "fast-deep-equal": "^3.1.3",
164 | "lodash": "^4.17.21"
165 | },
166 | "engines": {
167 | "node": ">=v14.0.0",
168 | "npm": ">=7.0.0"
169 | }
170 | },
171 | "node_modules/@sapphire/snowflake": {
172 | "version": "3.5.1",
173 | "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.5.1.tgz",
174 | "integrity": "sha512-BxcYGzgEsdlG0dKAyOm0ehLGm2CafIrfQTZGWgkfKYbj+pNNsorZ7EotuZukc2MT70E0UbppVbtpBrqpzVzjNA==",
175 | "engines": {
176 | "node": ">=v14.0.0",
177 | "npm": ">=7.0.0"
178 | }
179 | },
180 | "node_modules/@tootallnate/once": {
181 | "version": "1.1.2",
182 | "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
183 | "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
184 | "optional": true,
185 | "engines": {
186 | "node": ">= 6"
187 | }
188 | },
189 | "node_modules/@types/node": {
190 | "version": "20.6.0",
191 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.0.tgz",
192 | "integrity": "sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg=="
193 | },
194 | "node_modules/@types/ws": {
195 | "version": "8.5.5",
196 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz",
197 | "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==",
198 | "dependencies": {
199 | "@types/node": "*"
200 | }
201 | },
202 | "node_modules/@vladfrangu/async_event_emitter": {
203 | "version": "2.2.2",
204 | "resolved": "https://registry.npmjs.org/@vladfrangu/async_event_emitter/-/async_event_emitter-2.2.2.tgz",
205 | "integrity": "sha512-HIzRG7sy88UZjBJamssEczH5q7t5+axva19UbZLO6u0ySbYPrwzWiXBcC0WuHyhKKoeCyneH+FvYzKQq/zTtkQ==",
206 | "engines": {
207 | "node": ">=v14.0.0",
208 | "npm": ">=7.0.0"
209 | }
210 | },
211 | "node_modules/abbrev": {
212 | "version": "1.1.1",
213 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
214 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
215 | },
216 | "node_modules/agent-base": {
217 | "version": "6.0.2",
218 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
219 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
220 | "dependencies": {
221 | "debug": "4"
222 | },
223 | "engines": {
224 | "node": ">= 6.0.0"
225 | }
226 | },
227 | "node_modules/agentkeepalive": {
228 | "version": "4.5.0",
229 | "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
230 | "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
231 | "optional": true,
232 | "dependencies": {
233 | "humanize-ms": "^1.2.1"
234 | },
235 | "engines": {
236 | "node": ">= 8.0.0"
237 | }
238 | },
239 | "node_modules/aggregate-error": {
240 | "version": "3.1.0",
241 | "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
242 | "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
243 | "optional": true,
244 | "dependencies": {
245 | "clean-stack": "^2.0.0",
246 | "indent-string": "^4.0.0"
247 | },
248 | "engines": {
249 | "node": ">=8"
250 | }
251 | },
252 | "node_modules/ansi-regex": {
253 | "version": "5.0.1",
254 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
255 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
256 | "engines": {
257 | "node": ">=8"
258 | }
259 | },
260 | "node_modules/aproba": {
261 | "version": "2.0.0",
262 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz",
263 | "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ=="
264 | },
265 | "node_modules/are-we-there-yet": {
266 | "version": "2.0.0",
267 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz",
268 | "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==",
269 | "dependencies": {
270 | "delegates": "^1.0.0",
271 | "readable-stream": "^3.6.0"
272 | },
273 | "engines": {
274 | "node": ">=10"
275 | }
276 | },
277 | "node_modules/asynckit": {
278 | "version": "0.4.0",
279 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
280 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
281 | },
282 | "node_modules/axios": {
283 | "version": "1.5.0",
284 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz",
285 | "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==",
286 | "dependencies": {
287 | "follow-redirects": "^1.15.0",
288 | "form-data": "^4.0.0",
289 | "proxy-from-env": "^1.1.0"
290 | }
291 | },
292 | "node_modules/balanced-match": {
293 | "version": "1.0.2",
294 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
295 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
296 | },
297 | "node_modules/brace-expansion": {
298 | "version": "1.1.11",
299 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
300 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
301 | "dependencies": {
302 | "balanced-match": "^1.0.0",
303 | "concat-map": "0.0.1"
304 | }
305 | },
306 | "node_modules/busboy": {
307 | "version": "1.6.0",
308 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
309 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
310 | "dependencies": {
311 | "streamsearch": "^1.1.0"
312 | },
313 | "engines": {
314 | "node": ">=10.16.0"
315 | }
316 | },
317 | "node_modules/cacache": {
318 | "version": "15.3.0",
319 | "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz",
320 | "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==",
321 | "optional": true,
322 | "dependencies": {
323 | "@npmcli/fs": "^1.0.0",
324 | "@npmcli/move-file": "^1.0.1",
325 | "chownr": "^2.0.0",
326 | "fs-minipass": "^2.0.0",
327 | "glob": "^7.1.4",
328 | "infer-owner": "^1.0.4",
329 | "lru-cache": "^6.0.0",
330 | "minipass": "^3.1.1",
331 | "minipass-collect": "^1.0.2",
332 | "minipass-flush": "^1.0.5",
333 | "minipass-pipeline": "^1.2.2",
334 | "mkdirp": "^1.0.3",
335 | "p-map": "^4.0.0",
336 | "promise-inflight": "^1.0.1",
337 | "rimraf": "^3.0.2",
338 | "ssri": "^8.0.1",
339 | "tar": "^6.0.2",
340 | "unique-filename": "^1.1.1"
341 | },
342 | "engines": {
343 | "node": ">= 10"
344 | }
345 | },
346 | "node_modules/chownr": {
347 | "version": "2.0.0",
348 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
349 | "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
350 | "engines": {
351 | "node": ">=10"
352 | }
353 | },
354 | "node_modules/clean-stack": {
355 | "version": "2.2.0",
356 | "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
357 | "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
358 | "optional": true,
359 | "engines": {
360 | "node": ">=6"
361 | }
362 | },
363 | "node_modules/color-support": {
364 | "version": "1.1.3",
365 | "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
366 | "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==",
367 | "bin": {
368 | "color-support": "bin.js"
369 | }
370 | },
371 | "node_modules/combined-stream": {
372 | "version": "1.0.8",
373 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
374 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
375 | "dependencies": {
376 | "delayed-stream": "~1.0.0"
377 | },
378 | "engines": {
379 | "node": ">= 0.8"
380 | }
381 | },
382 | "node_modules/concat-map": {
383 | "version": "0.0.1",
384 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
385 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
386 | },
387 | "node_modules/console-control-strings": {
388 | "version": "1.1.0",
389 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
390 | "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ=="
391 | },
392 | "node_modules/debug": {
393 | "version": "4.3.4",
394 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
395 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
396 | "dependencies": {
397 | "ms": "2.1.2"
398 | },
399 | "engines": {
400 | "node": ">=6.0"
401 | },
402 | "peerDependenciesMeta": {
403 | "supports-color": {
404 | "optional": true
405 | }
406 | }
407 | },
408 | "node_modules/delayed-stream": {
409 | "version": "1.0.0",
410 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
411 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
412 | "engines": {
413 | "node": ">=0.4.0"
414 | }
415 | },
416 | "node_modules/delegates": {
417 | "version": "1.0.0",
418 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
419 | "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ=="
420 | },
421 | "node_modules/detect-libc": {
422 | "version": "2.0.2",
423 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz",
424 | "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==",
425 | "engines": {
426 | "node": ">=8"
427 | }
428 | },
429 | "node_modules/discord-api-types": {
430 | "version": "0.37.50",
431 | "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.50.tgz",
432 | "integrity": "sha512-X4CDiMnDbA3s3RaUXWXmgAIbY1uxab3fqe3qwzg5XutR3wjqi7M3IkgQbsIBzpqBN2YWr/Qdv7JrFRqSgb4TFg=="
433 | },
434 | "node_modules/discord.js": {
435 | "version": "14.13.0",
436 | "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.13.0.tgz",
437 | "integrity": "sha512-Kufdvg7fpyTEwANGy9x7i4od4yu5c6gVddGi5CKm4Y5a6sF0VBODObI3o0Bh7TGCj0LfNT8Qp8z04wnLFzgnbA==",
438 | "dependencies": {
439 | "@discordjs/builders": "^1.6.5",
440 | "@discordjs/collection": "^1.5.3",
441 | "@discordjs/formatters": "^0.3.2",
442 | "@discordjs/rest": "^2.0.1",
443 | "@discordjs/util": "^1.0.1",
444 | "@discordjs/ws": "^1.0.1",
445 | "@sapphire/snowflake": "^3.5.1",
446 | "@types/ws": "^8.5.5",
447 | "discord-api-types": "0.37.50",
448 | "fast-deep-equal": "^3.1.3",
449 | "lodash.snakecase": "^4.1.1",
450 | "tslib": "^2.6.1",
451 | "undici": "5.22.1",
452 | "ws": "^8.13.0"
453 | },
454 | "engines": {
455 | "node": ">=16.11.0"
456 | }
457 | },
458 | "node_modules/emoji-regex": {
459 | "version": "8.0.0",
460 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
461 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
462 | },
463 | "node_modules/encoding": {
464 | "version": "0.1.13",
465 | "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
466 | "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
467 | "optional": true,
468 | "dependencies": {
469 | "iconv-lite": "^0.6.2"
470 | }
471 | },
472 | "node_modules/env-paths": {
473 | "version": "2.2.1",
474 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
475 | "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
476 | "optional": true,
477 | "engines": {
478 | "node": ">=6"
479 | }
480 | },
481 | "node_modules/err-code": {
482 | "version": "2.0.3",
483 | "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
484 | "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
485 | "optional": true
486 | },
487 | "node_modules/fast-deep-equal": {
488 | "version": "3.1.3",
489 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
490 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
491 | },
492 | "node_modules/follow-redirects": {
493 | "version": "1.15.2",
494 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
495 | "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
496 | "funding": [
497 | {
498 | "type": "individual",
499 | "url": "https://github.com/sponsors/RubenVerborgh"
500 | }
501 | ],
502 | "engines": {
503 | "node": ">=4.0"
504 | },
505 | "peerDependenciesMeta": {
506 | "debug": {
507 | "optional": true
508 | }
509 | }
510 | },
511 | "node_modules/form-data": {
512 | "version": "4.0.0",
513 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
514 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
515 | "dependencies": {
516 | "asynckit": "^0.4.0",
517 | "combined-stream": "^1.0.8",
518 | "mime-types": "^2.1.12"
519 | },
520 | "engines": {
521 | "node": ">= 6"
522 | }
523 | },
524 | "node_modules/fs": {
525 | "version": "0.0.1-security",
526 | "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
527 | "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
528 | },
529 | "node_modules/fs-minipass": {
530 | "version": "2.1.0",
531 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
532 | "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
533 | "dependencies": {
534 | "minipass": "^3.0.0"
535 | },
536 | "engines": {
537 | "node": ">= 8"
538 | }
539 | },
540 | "node_modules/fs.realpath": {
541 | "version": "1.0.0",
542 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
543 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
544 | },
545 | "node_modules/gauge": {
546 | "version": "3.0.2",
547 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz",
548 | "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",
549 | "dependencies": {
550 | "aproba": "^1.0.3 || ^2.0.0",
551 | "color-support": "^1.1.2",
552 | "console-control-strings": "^1.0.0",
553 | "has-unicode": "^2.0.1",
554 | "object-assign": "^4.1.1",
555 | "signal-exit": "^3.0.0",
556 | "string-width": "^4.2.3",
557 | "strip-ansi": "^6.0.1",
558 | "wide-align": "^1.1.2"
559 | },
560 | "engines": {
561 | "node": ">=10"
562 | }
563 | },
564 | "node_modules/glob": {
565 | "version": "7.2.3",
566 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
567 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
568 | "dependencies": {
569 | "fs.realpath": "^1.0.0",
570 | "inflight": "^1.0.4",
571 | "inherits": "2",
572 | "minimatch": "^3.1.1",
573 | "once": "^1.3.0",
574 | "path-is-absolute": "^1.0.0"
575 | },
576 | "engines": {
577 | "node": "*"
578 | },
579 | "funding": {
580 | "url": "https://github.com/sponsors/isaacs"
581 | }
582 | },
583 | "node_modules/graceful-fs": {
584 | "version": "4.2.11",
585 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
586 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
587 | "optional": true
588 | },
589 | "node_modules/has-unicode": {
590 | "version": "2.0.1",
591 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
592 | "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ=="
593 | },
594 | "node_modules/http-cache-semantics": {
595 | "version": "4.1.1",
596 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
597 | "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
598 | "optional": true
599 | },
600 | "node_modules/http-proxy-agent": {
601 | "version": "4.0.1",
602 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
603 | "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
604 | "optional": true,
605 | "dependencies": {
606 | "@tootallnate/once": "1",
607 | "agent-base": "6",
608 | "debug": "4"
609 | },
610 | "engines": {
611 | "node": ">= 6"
612 | }
613 | },
614 | "node_modules/https-proxy-agent": {
615 | "version": "5.0.1",
616 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
617 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
618 | "dependencies": {
619 | "agent-base": "6",
620 | "debug": "4"
621 | },
622 | "engines": {
623 | "node": ">= 6"
624 | }
625 | },
626 | "node_modules/humanize-ms": {
627 | "version": "1.2.1",
628 | "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
629 | "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
630 | "optional": true,
631 | "dependencies": {
632 | "ms": "^2.0.0"
633 | }
634 | },
635 | "node_modules/iconv-lite": {
636 | "version": "0.6.3",
637 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
638 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
639 | "optional": true,
640 | "dependencies": {
641 | "safer-buffer": ">= 2.1.2 < 3.0.0"
642 | },
643 | "engines": {
644 | "node": ">=0.10.0"
645 | }
646 | },
647 | "node_modules/imurmurhash": {
648 | "version": "0.1.4",
649 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
650 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
651 | "optional": true,
652 | "engines": {
653 | "node": ">=0.8.19"
654 | }
655 | },
656 | "node_modules/indent-string": {
657 | "version": "4.0.0",
658 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
659 | "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
660 | "optional": true,
661 | "engines": {
662 | "node": ">=8"
663 | }
664 | },
665 | "node_modules/infer-owner": {
666 | "version": "1.0.4",
667 | "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz",
668 | "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==",
669 | "optional": true
670 | },
671 | "node_modules/inflight": {
672 | "version": "1.0.6",
673 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
674 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
675 | "dependencies": {
676 | "once": "^1.3.0",
677 | "wrappy": "1"
678 | }
679 | },
680 | "node_modules/inherits": {
681 | "version": "2.0.4",
682 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
683 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
684 | },
685 | "node_modules/ip": {
686 | "version": "2.0.0",
687 | "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
688 | "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==",
689 | "optional": true
690 | },
691 | "node_modules/is-fullwidth-code-point": {
692 | "version": "3.0.0",
693 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
694 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
695 | "engines": {
696 | "node": ">=8"
697 | }
698 | },
699 | "node_modules/is-lambda": {
700 | "version": "1.0.1",
701 | "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz",
702 | "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==",
703 | "optional": true
704 | },
705 | "node_modules/isexe": {
706 | "version": "2.0.0",
707 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
708 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
709 | "optional": true
710 | },
711 | "node_modules/lodash": {
712 | "version": "4.17.21",
713 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
714 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
715 | },
716 | "node_modules/lodash.snakecase": {
717 | "version": "4.1.1",
718 | "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
719 | "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
720 | },
721 | "node_modules/lru-cache": {
722 | "version": "6.0.0",
723 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
724 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
725 | "dependencies": {
726 | "yallist": "^4.0.0"
727 | },
728 | "engines": {
729 | "node": ">=10"
730 | }
731 | },
732 | "node_modules/magic-bytes.js": {
733 | "version": "1.0.15",
734 | "resolved": "https://registry.npmjs.org/magic-bytes.js/-/magic-bytes.js-1.0.15.tgz",
735 | "integrity": "sha512-bpRmwbRHqongRhA+mXzbLWjVy7ylqmfMBYaQkSs6pac0z6hBTvsgrH0r4FBYd/UYVJBmS6Rp/O+oCCQVLzKV1g=="
736 | },
737 | "node_modules/make-dir": {
738 | "version": "3.1.0",
739 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
740 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
741 | "dependencies": {
742 | "semver": "^6.0.0"
743 | },
744 | "engines": {
745 | "node": ">=8"
746 | },
747 | "funding": {
748 | "url": "https://github.com/sponsors/sindresorhus"
749 | }
750 | },
751 | "node_modules/make-dir/node_modules/semver": {
752 | "version": "6.3.1",
753 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
754 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
755 | "bin": {
756 | "semver": "bin/semver.js"
757 | }
758 | },
759 | "node_modules/make-fetch-happen": {
760 | "version": "9.1.0",
761 | "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz",
762 | "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==",
763 | "optional": true,
764 | "dependencies": {
765 | "agentkeepalive": "^4.1.3",
766 | "cacache": "^15.2.0",
767 | "http-cache-semantics": "^4.1.0",
768 | "http-proxy-agent": "^4.0.1",
769 | "https-proxy-agent": "^5.0.0",
770 | "is-lambda": "^1.0.1",
771 | "lru-cache": "^6.0.0",
772 | "minipass": "^3.1.3",
773 | "minipass-collect": "^1.0.2",
774 | "minipass-fetch": "^1.3.2",
775 | "minipass-flush": "^1.0.5",
776 | "minipass-pipeline": "^1.2.4",
777 | "negotiator": "^0.6.2",
778 | "promise-retry": "^2.0.1",
779 | "socks-proxy-agent": "^6.0.0",
780 | "ssri": "^8.0.0"
781 | },
782 | "engines": {
783 | "node": ">= 10"
784 | }
785 | },
786 | "node_modules/mime-db": {
787 | "version": "1.52.0",
788 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
789 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
790 | "engines": {
791 | "node": ">= 0.6"
792 | }
793 | },
794 | "node_modules/mime-types": {
795 | "version": "2.1.35",
796 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
797 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
798 | "dependencies": {
799 | "mime-db": "1.52.0"
800 | },
801 | "engines": {
802 | "node": ">= 0.6"
803 | }
804 | },
805 | "node_modules/minimatch": {
806 | "version": "3.1.2",
807 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
808 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
809 | "dependencies": {
810 | "brace-expansion": "^1.1.7"
811 | },
812 | "engines": {
813 | "node": "*"
814 | }
815 | },
816 | "node_modules/minipass": {
817 | "version": "3.3.6",
818 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
819 | "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
820 | "dependencies": {
821 | "yallist": "^4.0.0"
822 | },
823 | "engines": {
824 | "node": ">=8"
825 | }
826 | },
827 | "node_modules/minipass-collect": {
828 | "version": "1.0.2",
829 | "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz",
830 | "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==",
831 | "optional": true,
832 | "dependencies": {
833 | "minipass": "^3.0.0"
834 | },
835 | "engines": {
836 | "node": ">= 8"
837 | }
838 | },
839 | "node_modules/minipass-fetch": {
840 | "version": "1.4.1",
841 | "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz",
842 | "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==",
843 | "optional": true,
844 | "dependencies": {
845 | "minipass": "^3.1.0",
846 | "minipass-sized": "^1.0.3",
847 | "minizlib": "^2.0.0"
848 | },
849 | "engines": {
850 | "node": ">=8"
851 | },
852 | "optionalDependencies": {
853 | "encoding": "^0.1.12"
854 | }
855 | },
856 | "node_modules/minipass-flush": {
857 | "version": "1.0.5",
858 | "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
859 | "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==",
860 | "optional": true,
861 | "dependencies": {
862 | "minipass": "^3.0.0"
863 | },
864 | "engines": {
865 | "node": ">= 8"
866 | }
867 | },
868 | "node_modules/minipass-pipeline": {
869 | "version": "1.2.4",
870 | "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz",
871 | "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==",
872 | "optional": true,
873 | "dependencies": {
874 | "minipass": "^3.0.0"
875 | },
876 | "engines": {
877 | "node": ">=8"
878 | }
879 | },
880 | "node_modules/minipass-sized": {
881 | "version": "1.0.3",
882 | "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz",
883 | "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==",
884 | "optional": true,
885 | "dependencies": {
886 | "minipass": "^3.0.0"
887 | },
888 | "engines": {
889 | "node": ">=8"
890 | }
891 | },
892 | "node_modules/minizlib": {
893 | "version": "2.1.2",
894 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
895 | "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
896 | "dependencies": {
897 | "minipass": "^3.0.0",
898 | "yallist": "^4.0.0"
899 | },
900 | "engines": {
901 | "node": ">= 8"
902 | }
903 | },
904 | "node_modules/mkdirp": {
905 | "version": "1.0.4",
906 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
907 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
908 | "bin": {
909 | "mkdirp": "bin/cmd.js"
910 | },
911 | "engines": {
912 | "node": ">=10"
913 | }
914 | },
915 | "node_modules/ms": {
916 | "version": "2.1.2",
917 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
918 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
919 | },
920 | "node_modules/negotiator": {
921 | "version": "0.6.3",
922 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
923 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
924 | "optional": true,
925 | "engines": {
926 | "node": ">= 0.6"
927 | }
928 | },
929 | "node_modules/node-addon-api": {
930 | "version": "4.3.0",
931 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz",
932 | "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ=="
933 | },
934 | "node_modules/node-fetch": {
935 | "version": "2.7.0",
936 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
937 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
938 | "dependencies": {
939 | "whatwg-url": "^5.0.0"
940 | },
941 | "engines": {
942 | "node": "4.x || >=6.0.0"
943 | },
944 | "peerDependencies": {
945 | "encoding": "^0.1.0"
946 | },
947 | "peerDependenciesMeta": {
948 | "encoding": {
949 | "optional": true
950 | }
951 | }
952 | },
953 | "node_modules/node-gyp": {
954 | "version": "8.4.1",
955 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz",
956 | "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==",
957 | "optional": true,
958 | "dependencies": {
959 | "env-paths": "^2.2.0",
960 | "glob": "^7.1.4",
961 | "graceful-fs": "^4.2.6",
962 | "make-fetch-happen": "^9.1.0",
963 | "nopt": "^5.0.0",
964 | "npmlog": "^6.0.0",
965 | "rimraf": "^3.0.2",
966 | "semver": "^7.3.5",
967 | "tar": "^6.1.2",
968 | "which": "^2.0.2"
969 | },
970 | "bin": {
971 | "node-gyp": "bin/node-gyp.js"
972 | },
973 | "engines": {
974 | "node": ">= 10.12.0"
975 | }
976 | },
977 | "node_modules/node-gyp/node_modules/are-we-there-yet": {
978 | "version": "3.0.1",
979 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz",
980 | "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==",
981 | "optional": true,
982 | "dependencies": {
983 | "delegates": "^1.0.0",
984 | "readable-stream": "^3.6.0"
985 | },
986 | "engines": {
987 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
988 | }
989 | },
990 | "node_modules/node-gyp/node_modules/gauge": {
991 | "version": "4.0.4",
992 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz",
993 | "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==",
994 | "optional": true,
995 | "dependencies": {
996 | "aproba": "^1.0.3 || ^2.0.0",
997 | "color-support": "^1.1.3",
998 | "console-control-strings": "^1.1.0",
999 | "has-unicode": "^2.0.1",
1000 | "signal-exit": "^3.0.7",
1001 | "string-width": "^4.2.3",
1002 | "strip-ansi": "^6.0.1",
1003 | "wide-align": "^1.1.5"
1004 | },
1005 | "engines": {
1006 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
1007 | }
1008 | },
1009 | "node_modules/node-gyp/node_modules/npmlog": {
1010 | "version": "6.0.2",
1011 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz",
1012 | "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==",
1013 | "optional": true,
1014 | "dependencies": {
1015 | "are-we-there-yet": "^3.0.0",
1016 | "console-control-strings": "^1.1.0",
1017 | "gauge": "^4.0.3",
1018 | "set-blocking": "^2.0.0"
1019 | },
1020 | "engines": {
1021 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
1022 | }
1023 | },
1024 | "node_modules/nopt": {
1025 | "version": "5.0.0",
1026 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
1027 | "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
1028 | "dependencies": {
1029 | "abbrev": "1"
1030 | },
1031 | "bin": {
1032 | "nopt": "bin/nopt.js"
1033 | },
1034 | "engines": {
1035 | "node": ">=6"
1036 | }
1037 | },
1038 | "node_modules/npmlog": {
1039 | "version": "5.0.1",
1040 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz",
1041 | "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==",
1042 | "dependencies": {
1043 | "are-we-there-yet": "^2.0.0",
1044 | "console-control-strings": "^1.1.0",
1045 | "gauge": "^3.0.0",
1046 | "set-blocking": "^2.0.0"
1047 | }
1048 | },
1049 | "node_modules/object-assign": {
1050 | "version": "4.1.1",
1051 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
1052 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
1053 | "engines": {
1054 | "node": ">=0.10.0"
1055 | }
1056 | },
1057 | "node_modules/once": {
1058 | "version": "1.4.0",
1059 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
1060 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
1061 | "dependencies": {
1062 | "wrappy": "1"
1063 | }
1064 | },
1065 | "node_modules/p-map": {
1066 | "version": "4.0.0",
1067 | "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
1068 | "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
1069 | "optional": true,
1070 | "dependencies": {
1071 | "aggregate-error": "^3.0.0"
1072 | },
1073 | "engines": {
1074 | "node": ">=10"
1075 | },
1076 | "funding": {
1077 | "url": "https://github.com/sponsors/sindresorhus"
1078 | }
1079 | },
1080 | "node_modules/path-is-absolute": {
1081 | "version": "1.0.1",
1082 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
1083 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
1084 | "engines": {
1085 | "node": ">=0.10.0"
1086 | }
1087 | },
1088 | "node_modules/promise-inflight": {
1089 | "version": "1.0.1",
1090 | "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
1091 | "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==",
1092 | "optional": true
1093 | },
1094 | "node_modules/promise-retry": {
1095 | "version": "2.0.1",
1096 | "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz",
1097 | "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==",
1098 | "optional": true,
1099 | "dependencies": {
1100 | "err-code": "^2.0.2",
1101 | "retry": "^0.12.0"
1102 | },
1103 | "engines": {
1104 | "node": ">=10"
1105 | }
1106 | },
1107 | "node_modules/proxy-from-env": {
1108 | "version": "1.1.0",
1109 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
1110 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
1111 | },
1112 | "node_modules/readable-stream": {
1113 | "version": "3.6.2",
1114 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
1115 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
1116 | "dependencies": {
1117 | "inherits": "^2.0.3",
1118 | "string_decoder": "^1.1.1",
1119 | "util-deprecate": "^1.0.1"
1120 | },
1121 | "engines": {
1122 | "node": ">= 6"
1123 | }
1124 | },
1125 | "node_modules/retry": {
1126 | "version": "0.12.0",
1127 | "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
1128 | "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
1129 | "optional": true,
1130 | "engines": {
1131 | "node": ">= 4"
1132 | }
1133 | },
1134 | "node_modules/rimraf": {
1135 | "version": "3.0.2",
1136 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
1137 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
1138 | "dependencies": {
1139 | "glob": "^7.1.3"
1140 | },
1141 | "bin": {
1142 | "rimraf": "bin.js"
1143 | },
1144 | "funding": {
1145 | "url": "https://github.com/sponsors/isaacs"
1146 | }
1147 | },
1148 | "node_modules/safe-buffer": {
1149 | "version": "5.2.1",
1150 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
1151 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
1152 | "funding": [
1153 | {
1154 | "type": "github",
1155 | "url": "https://github.com/sponsors/feross"
1156 | },
1157 | {
1158 | "type": "patreon",
1159 | "url": "https://www.patreon.com/feross"
1160 | },
1161 | {
1162 | "type": "consulting",
1163 | "url": "https://feross.org/support"
1164 | }
1165 | ]
1166 | },
1167 | "node_modules/safer-buffer": {
1168 | "version": "2.1.2",
1169 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1170 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
1171 | "optional": true
1172 | },
1173 | "node_modules/semver": {
1174 | "version": "7.5.4",
1175 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
1176 | "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
1177 | "dependencies": {
1178 | "lru-cache": "^6.0.0"
1179 | },
1180 | "bin": {
1181 | "semver": "bin/semver.js"
1182 | },
1183 | "engines": {
1184 | "node": ">=10"
1185 | }
1186 | },
1187 | "node_modules/set-blocking": {
1188 | "version": "2.0.0",
1189 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
1190 | "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
1191 | },
1192 | "node_modules/signal-exit": {
1193 | "version": "3.0.7",
1194 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
1195 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
1196 | },
1197 | "node_modules/smart-buffer": {
1198 | "version": "4.2.0",
1199 | "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
1200 | "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
1201 | "optional": true,
1202 | "engines": {
1203 | "node": ">= 6.0.0",
1204 | "npm": ">= 3.0.0"
1205 | }
1206 | },
1207 | "node_modules/socks": {
1208 | "version": "2.7.1",
1209 | "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz",
1210 | "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==",
1211 | "optional": true,
1212 | "dependencies": {
1213 | "ip": "^2.0.0",
1214 | "smart-buffer": "^4.2.0"
1215 | },
1216 | "engines": {
1217 | "node": ">= 10.13.0",
1218 | "npm": ">= 3.0.0"
1219 | }
1220 | },
1221 | "node_modules/socks-proxy-agent": {
1222 | "version": "6.2.1",
1223 | "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz",
1224 | "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==",
1225 | "optional": true,
1226 | "dependencies": {
1227 | "agent-base": "^6.0.2",
1228 | "debug": "^4.3.3",
1229 | "socks": "^2.6.2"
1230 | },
1231 | "engines": {
1232 | "node": ">= 10"
1233 | }
1234 | },
1235 | "node_modules/sqlite3": {
1236 | "version": "5.1.6",
1237 | "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-5.1.6.tgz",
1238 | "integrity": "sha512-olYkWoKFVNSSSQNvxVUfjiVbz3YtBwTJj+mfV5zpHmqW3sELx2Cf4QCdirMelhM5Zh+KDVaKgQHqCxrqiWHybw==",
1239 | "hasInstallScript": true,
1240 | "dependencies": {
1241 | "@mapbox/node-pre-gyp": "^1.0.0",
1242 | "node-addon-api": "^4.2.0",
1243 | "tar": "^6.1.11"
1244 | },
1245 | "optionalDependencies": {
1246 | "node-gyp": "8.x"
1247 | },
1248 | "peerDependencies": {
1249 | "node-gyp": "8.x"
1250 | },
1251 | "peerDependenciesMeta": {
1252 | "node-gyp": {
1253 | "optional": true
1254 | }
1255 | }
1256 | },
1257 | "node_modules/ssri": {
1258 | "version": "8.0.1",
1259 | "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
1260 | "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==",
1261 | "optional": true,
1262 | "dependencies": {
1263 | "minipass": "^3.1.1"
1264 | },
1265 | "engines": {
1266 | "node": ">= 8"
1267 | }
1268 | },
1269 | "node_modules/streamsearch": {
1270 | "version": "1.1.0",
1271 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
1272 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",
1273 | "engines": {
1274 | "node": ">=10.0.0"
1275 | }
1276 | },
1277 | "node_modules/string_decoder": {
1278 | "version": "1.3.0",
1279 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
1280 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
1281 | "dependencies": {
1282 | "safe-buffer": "~5.2.0"
1283 | }
1284 | },
1285 | "node_modules/string-width": {
1286 | "version": "4.2.3",
1287 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
1288 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
1289 | "dependencies": {
1290 | "emoji-regex": "^8.0.0",
1291 | "is-fullwidth-code-point": "^3.0.0",
1292 | "strip-ansi": "^6.0.1"
1293 | },
1294 | "engines": {
1295 | "node": ">=8"
1296 | }
1297 | },
1298 | "node_modules/strip-ansi": {
1299 | "version": "6.0.1",
1300 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
1301 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
1302 | "dependencies": {
1303 | "ansi-regex": "^5.0.1"
1304 | },
1305 | "engines": {
1306 | "node": ">=8"
1307 | }
1308 | },
1309 | "node_modules/tar": {
1310 | "version": "6.2.0",
1311 | "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
1312 | "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
1313 | "dependencies": {
1314 | "chownr": "^2.0.0",
1315 | "fs-minipass": "^2.0.0",
1316 | "minipass": "^5.0.0",
1317 | "minizlib": "^2.1.1",
1318 | "mkdirp": "^1.0.3",
1319 | "yallist": "^4.0.0"
1320 | },
1321 | "engines": {
1322 | "node": ">=10"
1323 | }
1324 | },
1325 | "node_modules/tar/node_modules/minipass": {
1326 | "version": "5.0.0",
1327 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
1328 | "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
1329 | "engines": {
1330 | "node": ">=8"
1331 | }
1332 | },
1333 | "node_modules/tr46": {
1334 | "version": "0.0.3",
1335 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
1336 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
1337 | },
1338 | "node_modules/ts-mixer": {
1339 | "version": "6.0.3",
1340 | "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.3.tgz",
1341 | "integrity": "sha512-k43M7uCG1AkTyxgnmI5MPwKoUvS/bRvLvUb7+Pgpdlmok8AoqmUaZxUUw8zKM5B1lqZrt41GjYgnvAi0fppqgQ=="
1342 | },
1343 | "node_modules/tslib": {
1344 | "version": "2.6.2",
1345 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
1346 | "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
1347 | },
1348 | "node_modules/undici": {
1349 | "version": "5.22.1",
1350 | "resolved": "https://registry.npmjs.org/undici/-/undici-5.22.1.tgz",
1351 | "integrity": "sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==",
1352 | "dependencies": {
1353 | "busboy": "^1.6.0"
1354 | },
1355 | "engines": {
1356 | "node": ">=14.0"
1357 | }
1358 | },
1359 | "node_modules/unique-filename": {
1360 | "version": "1.1.1",
1361 | "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
1362 | "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
1363 | "optional": true,
1364 | "dependencies": {
1365 | "unique-slug": "^2.0.0"
1366 | }
1367 | },
1368 | "node_modules/unique-slug": {
1369 | "version": "2.0.2",
1370 | "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz",
1371 | "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==",
1372 | "optional": true,
1373 | "dependencies": {
1374 | "imurmurhash": "^0.1.4"
1375 | }
1376 | },
1377 | "node_modules/util-deprecate": {
1378 | "version": "1.0.2",
1379 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1380 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
1381 | },
1382 | "node_modules/webidl-conversions": {
1383 | "version": "3.0.1",
1384 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
1385 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
1386 | },
1387 | "node_modules/whatwg-url": {
1388 | "version": "5.0.0",
1389 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
1390 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
1391 | "dependencies": {
1392 | "tr46": "~0.0.3",
1393 | "webidl-conversions": "^3.0.0"
1394 | }
1395 | },
1396 | "node_modules/which": {
1397 | "version": "2.0.2",
1398 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
1399 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
1400 | "optional": true,
1401 | "dependencies": {
1402 | "isexe": "^2.0.0"
1403 | },
1404 | "bin": {
1405 | "node-which": "bin/node-which"
1406 | },
1407 | "engines": {
1408 | "node": ">= 8"
1409 | }
1410 | },
1411 | "node_modules/wide-align": {
1412 | "version": "1.1.5",
1413 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
1414 | "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
1415 | "dependencies": {
1416 | "string-width": "^1.0.2 || 2 || 3 || 4"
1417 | }
1418 | },
1419 | "node_modules/wrappy": {
1420 | "version": "1.0.2",
1421 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1422 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
1423 | },
1424 | "node_modules/ws": {
1425 | "version": "8.14.1",
1426 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.1.tgz",
1427 | "integrity": "sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A==",
1428 | "engines": {
1429 | "node": ">=10.0.0"
1430 | },
1431 | "peerDependencies": {
1432 | "bufferutil": "^4.0.1",
1433 | "utf-8-validate": ">=5.0.2"
1434 | },
1435 | "peerDependenciesMeta": {
1436 | "bufferutil": {
1437 | "optional": true
1438 | },
1439 | "utf-8-validate": {
1440 | "optional": true
1441 | }
1442 | }
1443 | },
1444 | "node_modules/yallist": {
1445 | "version": "4.0.0",
1446 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
1447 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
1448 | }
1449 | },
1450 | "dependencies": {
1451 | "@discordjs/builders": {
1452 | "version": "1.6.5",
1453 | "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.5.tgz",
1454 | "integrity": "sha512-SdweyCs/+mHj+PNhGLLle7RrRFX9ZAhzynHahMCLqp5Zeq7np7XC6/mgzHc79QoVlQ1zZtOkTTiJpOZu5V8Ufg==",
1455 | "requires": {
1456 | "@discordjs/formatters": "^0.3.2",
1457 | "@discordjs/util": "^1.0.1",
1458 | "@sapphire/shapeshift": "^3.9.2",
1459 | "discord-api-types": "0.37.50",
1460 | "fast-deep-equal": "^3.1.3",
1461 | "ts-mixer": "^6.0.3",
1462 | "tslib": "^2.6.1"
1463 | }
1464 | },
1465 | "@discordjs/collection": {
1466 | "version": "1.5.3",
1467 | "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.5.3.tgz",
1468 | "integrity": "sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ=="
1469 | },
1470 | "@discordjs/formatters": {
1471 | "version": "0.3.2",
1472 | "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.2.tgz",
1473 | "integrity": "sha512-lE++JZK8LSSDRM5nLjhuvWhGuKiXqu+JZ/DsOR89DVVia3z9fdCJVcHF2W/1Zxgq0re7kCzmAJlCMMX3tetKpA==",
1474 | "requires": {
1475 | "discord-api-types": "0.37.50"
1476 | }
1477 | },
1478 | "@discordjs/rest": {
1479 | "version": "2.0.1",
1480 | "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-2.0.1.tgz",
1481 | "integrity": "sha512-/eWAdDRvwX/rIE2tuQUmKaxmWeHmGealttIzGzlYfI4+a7y9b6ZoMp8BG/jaohs8D8iEnCNYaZiOFLVFLQb8Zg==",
1482 | "requires": {
1483 | "@discordjs/collection": "^1.5.3",
1484 | "@discordjs/util": "^1.0.1",
1485 | "@sapphire/async-queue": "^1.5.0",
1486 | "@sapphire/snowflake": "^3.5.1",
1487 | "@vladfrangu/async_event_emitter": "^2.2.2",
1488 | "discord-api-types": "0.37.50",
1489 | "magic-bytes.js": "^1.0.15",
1490 | "tslib": "^2.6.1",
1491 | "undici": "5.22.1"
1492 | }
1493 | },
1494 | "@discordjs/util": {
1495 | "version": "1.0.1",
1496 | "resolved": "https://registry.npmjs.org/@discordjs/util/-/util-1.0.1.tgz",
1497 | "integrity": "sha512-d0N2yCxB8r4bn00/hvFZwM7goDcUhtViC5un4hPj73Ba4yrChLSJD8fy7Ps5jpTLg1fE9n4K0xBLc1y9WGwSsA=="
1498 | },
1499 | "@discordjs/ws": {
1500 | "version": "1.0.1",
1501 | "resolved": "https://registry.npmjs.org/@discordjs/ws/-/ws-1.0.1.tgz",
1502 | "integrity": "sha512-avvAolBqN3yrSvdBPcJ/0j2g42ABzrv3PEL76e3YTp2WYMGH7cuspkjfSyNWaqYl1J+669dlLp+YFMxSVQyS5g==",
1503 | "requires": {
1504 | "@discordjs/collection": "^1.5.3",
1505 | "@discordjs/rest": "^2.0.1",
1506 | "@discordjs/util": "^1.0.1",
1507 | "@sapphire/async-queue": "^1.5.0",
1508 | "@types/ws": "^8.5.5",
1509 | "@vladfrangu/async_event_emitter": "^2.2.2",
1510 | "discord-api-types": "0.37.50",
1511 | "tslib": "^2.6.1",
1512 | "ws": "^8.13.0"
1513 | }
1514 | },
1515 | "@gar/promisify": {
1516 | "version": "1.1.3",
1517 | "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz",
1518 | "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==",
1519 | "optional": true
1520 | },
1521 | "@mapbox/node-pre-gyp": {
1522 | "version": "1.0.11",
1523 | "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz",
1524 | "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==",
1525 | "requires": {
1526 | "detect-libc": "^2.0.0",
1527 | "https-proxy-agent": "^5.0.0",
1528 | "make-dir": "^3.1.0",
1529 | "node-fetch": "^2.6.7",
1530 | "nopt": "^5.0.0",
1531 | "npmlog": "^5.0.1",
1532 | "rimraf": "^3.0.2",
1533 | "semver": "^7.3.5",
1534 | "tar": "^6.1.11"
1535 | }
1536 | },
1537 | "@npmcli/fs": {
1538 | "version": "1.1.1",
1539 | "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz",
1540 | "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==",
1541 | "optional": true,
1542 | "requires": {
1543 | "@gar/promisify": "^1.0.1",
1544 | "semver": "^7.3.5"
1545 | }
1546 | },
1547 | "@npmcli/move-file": {
1548 | "version": "1.1.2",
1549 | "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz",
1550 | "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==",
1551 | "optional": true,
1552 | "requires": {
1553 | "mkdirp": "^1.0.4",
1554 | "rimraf": "^3.0.2"
1555 | }
1556 | },
1557 | "@sapphire/async-queue": {
1558 | "version": "1.5.0",
1559 | "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz",
1560 | "integrity": "sha512-JkLdIsP8fPAdh9ZZjrbHWR/+mZj0wvKS5ICibcLrRI1j84UmLMshx5n9QmL8b95d4onJ2xxiyugTgSAX7AalmA=="
1561 | },
1562 | "@sapphire/shapeshift": {
1563 | "version": "3.9.2",
1564 | "resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.9.2.tgz",
1565 | "integrity": "sha512-YRbCXWy969oGIdqR/wha62eX8GNHsvyYi0Rfd4rNW6tSVVa8p0ELiMEuOH/k8rgtvRoM+EMV7Csqz77YdwiDpA==",
1566 | "requires": {
1567 | "fast-deep-equal": "^3.1.3",
1568 | "lodash": "^4.17.21"
1569 | }
1570 | },
1571 | "@sapphire/snowflake": {
1572 | "version": "3.5.1",
1573 | "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.5.1.tgz",
1574 | "integrity": "sha512-BxcYGzgEsdlG0dKAyOm0ehLGm2CafIrfQTZGWgkfKYbj+pNNsorZ7EotuZukc2MT70E0UbppVbtpBrqpzVzjNA=="
1575 | },
1576 | "@tootallnate/once": {
1577 | "version": "1.1.2",
1578 | "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
1579 | "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
1580 | "optional": true
1581 | },
1582 | "@types/node": {
1583 | "version": "20.6.0",
1584 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.0.tgz",
1585 | "integrity": "sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg=="
1586 | },
1587 | "@types/ws": {
1588 | "version": "8.5.5",
1589 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz",
1590 | "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==",
1591 | "requires": {
1592 | "@types/node": "*"
1593 | }
1594 | },
1595 | "@vladfrangu/async_event_emitter": {
1596 | "version": "2.2.2",
1597 | "resolved": "https://registry.npmjs.org/@vladfrangu/async_event_emitter/-/async_event_emitter-2.2.2.tgz",
1598 | "integrity": "sha512-HIzRG7sy88UZjBJamssEczH5q7t5+axva19UbZLO6u0ySbYPrwzWiXBcC0WuHyhKKoeCyneH+FvYzKQq/zTtkQ=="
1599 | },
1600 | "abbrev": {
1601 | "version": "1.1.1",
1602 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
1603 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
1604 | },
1605 | "agent-base": {
1606 | "version": "6.0.2",
1607 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
1608 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
1609 | "requires": {
1610 | "debug": "4"
1611 | }
1612 | },
1613 | "agentkeepalive": {
1614 | "version": "4.5.0",
1615 | "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
1616 | "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
1617 | "optional": true,
1618 | "requires": {
1619 | "humanize-ms": "^1.2.1"
1620 | }
1621 | },
1622 | "aggregate-error": {
1623 | "version": "3.1.0",
1624 | "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
1625 | "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
1626 | "optional": true,
1627 | "requires": {
1628 | "clean-stack": "^2.0.0",
1629 | "indent-string": "^4.0.0"
1630 | }
1631 | },
1632 | "ansi-regex": {
1633 | "version": "5.0.1",
1634 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
1635 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
1636 | },
1637 | "aproba": {
1638 | "version": "2.0.0",
1639 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz",
1640 | "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ=="
1641 | },
1642 | "are-we-there-yet": {
1643 | "version": "2.0.0",
1644 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz",
1645 | "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==",
1646 | "requires": {
1647 | "delegates": "^1.0.0",
1648 | "readable-stream": "^3.6.0"
1649 | }
1650 | },
1651 | "asynckit": {
1652 | "version": "0.4.0",
1653 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
1654 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
1655 | },
1656 | "axios": {
1657 | "version": "1.5.0",
1658 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz",
1659 | "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==",
1660 | "requires": {
1661 | "follow-redirects": "^1.15.0",
1662 | "form-data": "^4.0.0",
1663 | "proxy-from-env": "^1.1.0"
1664 | }
1665 | },
1666 | "balanced-match": {
1667 | "version": "1.0.2",
1668 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1669 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
1670 | },
1671 | "brace-expansion": {
1672 | "version": "1.1.11",
1673 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
1674 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1675 | "requires": {
1676 | "balanced-match": "^1.0.0",
1677 | "concat-map": "0.0.1"
1678 | }
1679 | },
1680 | "busboy": {
1681 | "version": "1.6.0",
1682 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
1683 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
1684 | "requires": {
1685 | "streamsearch": "^1.1.0"
1686 | }
1687 | },
1688 | "cacache": {
1689 | "version": "15.3.0",
1690 | "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz",
1691 | "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==",
1692 | "optional": true,
1693 | "requires": {
1694 | "@npmcli/fs": "^1.0.0",
1695 | "@npmcli/move-file": "^1.0.1",
1696 | "chownr": "^2.0.0",
1697 | "fs-minipass": "^2.0.0",
1698 | "glob": "^7.1.4",
1699 | "infer-owner": "^1.0.4",
1700 | "lru-cache": "^6.0.0",
1701 | "minipass": "^3.1.1",
1702 | "minipass-collect": "^1.0.2",
1703 | "minipass-flush": "^1.0.5",
1704 | "minipass-pipeline": "^1.2.2",
1705 | "mkdirp": "^1.0.3",
1706 | "p-map": "^4.0.0",
1707 | "promise-inflight": "^1.0.1",
1708 | "rimraf": "^3.0.2",
1709 | "ssri": "^8.0.1",
1710 | "tar": "^6.0.2",
1711 | "unique-filename": "^1.1.1"
1712 | }
1713 | },
1714 | "chownr": {
1715 | "version": "2.0.0",
1716 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
1717 | "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="
1718 | },
1719 | "clean-stack": {
1720 | "version": "2.2.0",
1721 | "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
1722 | "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
1723 | "optional": true
1724 | },
1725 | "color-support": {
1726 | "version": "1.1.3",
1727 | "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
1728 | "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg=="
1729 | },
1730 | "combined-stream": {
1731 | "version": "1.0.8",
1732 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
1733 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
1734 | "requires": {
1735 | "delayed-stream": "~1.0.0"
1736 | }
1737 | },
1738 | "concat-map": {
1739 | "version": "0.0.1",
1740 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1741 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
1742 | },
1743 | "console-control-strings": {
1744 | "version": "1.1.0",
1745 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
1746 | "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ=="
1747 | },
1748 | "debug": {
1749 | "version": "4.3.4",
1750 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
1751 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
1752 | "requires": {
1753 | "ms": "2.1.2"
1754 | }
1755 | },
1756 | "delayed-stream": {
1757 | "version": "1.0.0",
1758 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1759 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
1760 | },
1761 | "delegates": {
1762 | "version": "1.0.0",
1763 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
1764 | "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ=="
1765 | },
1766 | "detect-libc": {
1767 | "version": "2.0.2",
1768 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz",
1769 | "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw=="
1770 | },
1771 | "discord-api-types": {
1772 | "version": "0.37.50",
1773 | "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.50.tgz",
1774 | "integrity": "sha512-X4CDiMnDbA3s3RaUXWXmgAIbY1uxab3fqe3qwzg5XutR3wjqi7M3IkgQbsIBzpqBN2YWr/Qdv7JrFRqSgb4TFg=="
1775 | },
1776 | "discord.js": {
1777 | "version": "14.13.0",
1778 | "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.13.0.tgz",
1779 | "integrity": "sha512-Kufdvg7fpyTEwANGy9x7i4od4yu5c6gVddGi5CKm4Y5a6sF0VBODObI3o0Bh7TGCj0LfNT8Qp8z04wnLFzgnbA==",
1780 | "requires": {
1781 | "@discordjs/builders": "^1.6.5",
1782 | "@discordjs/collection": "^1.5.3",
1783 | "@discordjs/formatters": "^0.3.2",
1784 | "@discordjs/rest": "^2.0.1",
1785 | "@discordjs/util": "^1.0.1",
1786 | "@discordjs/ws": "^1.0.1",
1787 | "@sapphire/snowflake": "^3.5.1",
1788 | "@types/ws": "^8.5.5",
1789 | "discord-api-types": "0.37.50",
1790 | "fast-deep-equal": "^3.1.3",
1791 | "lodash.snakecase": "^4.1.1",
1792 | "tslib": "^2.6.1",
1793 | "undici": "5.22.1",
1794 | "ws": "^8.13.0"
1795 | }
1796 | },
1797 | "emoji-regex": {
1798 | "version": "8.0.0",
1799 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
1800 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
1801 | },
1802 | "encoding": {
1803 | "version": "0.1.13",
1804 | "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
1805 | "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
1806 | "optional": true,
1807 | "requires": {
1808 | "iconv-lite": "^0.6.2"
1809 | }
1810 | },
1811 | "env-paths": {
1812 | "version": "2.2.1",
1813 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
1814 | "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
1815 | "optional": true
1816 | },
1817 | "err-code": {
1818 | "version": "2.0.3",
1819 | "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
1820 | "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==",
1821 | "optional": true
1822 | },
1823 | "fast-deep-equal": {
1824 | "version": "3.1.3",
1825 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1826 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
1827 | },
1828 | "follow-redirects": {
1829 | "version": "1.15.2",
1830 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
1831 | "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
1832 | },
1833 | "form-data": {
1834 | "version": "4.0.0",
1835 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
1836 | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
1837 | "requires": {
1838 | "asynckit": "^0.4.0",
1839 | "combined-stream": "^1.0.8",
1840 | "mime-types": "^2.1.12"
1841 | }
1842 | },
1843 | "fs": {
1844 | "version": "0.0.1-security",
1845 | "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
1846 | "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
1847 | },
1848 | "fs-minipass": {
1849 | "version": "2.1.0",
1850 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
1851 | "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
1852 | "requires": {
1853 | "minipass": "^3.0.0"
1854 | }
1855 | },
1856 | "fs.realpath": {
1857 | "version": "1.0.0",
1858 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1859 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
1860 | },
1861 | "gauge": {
1862 | "version": "3.0.2",
1863 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz",
1864 | "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",
1865 | "requires": {
1866 | "aproba": "^1.0.3 || ^2.0.0",
1867 | "color-support": "^1.1.2",
1868 | "console-control-strings": "^1.0.0",
1869 | "has-unicode": "^2.0.1",
1870 | "object-assign": "^4.1.1",
1871 | "signal-exit": "^3.0.0",
1872 | "string-width": "^4.2.3",
1873 | "strip-ansi": "^6.0.1",
1874 | "wide-align": "^1.1.2"
1875 | }
1876 | },
1877 | "glob": {
1878 | "version": "7.2.3",
1879 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
1880 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
1881 | "requires": {
1882 | "fs.realpath": "^1.0.0",
1883 | "inflight": "^1.0.4",
1884 | "inherits": "2",
1885 | "minimatch": "^3.1.1",
1886 | "once": "^1.3.0",
1887 | "path-is-absolute": "^1.0.0"
1888 | }
1889 | },
1890 | "graceful-fs": {
1891 | "version": "4.2.11",
1892 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
1893 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
1894 | "optional": true
1895 | },
1896 | "has-unicode": {
1897 | "version": "2.0.1",
1898 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
1899 | "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ=="
1900 | },
1901 | "http-cache-semantics": {
1902 | "version": "4.1.1",
1903 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
1904 | "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
1905 | "optional": true
1906 | },
1907 | "http-proxy-agent": {
1908 | "version": "4.0.1",
1909 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
1910 | "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
1911 | "optional": true,
1912 | "requires": {
1913 | "@tootallnate/once": "1",
1914 | "agent-base": "6",
1915 | "debug": "4"
1916 | }
1917 | },
1918 | "https-proxy-agent": {
1919 | "version": "5.0.1",
1920 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
1921 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
1922 | "requires": {
1923 | "agent-base": "6",
1924 | "debug": "4"
1925 | }
1926 | },
1927 | "humanize-ms": {
1928 | "version": "1.2.1",
1929 | "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
1930 | "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
1931 | "optional": true,
1932 | "requires": {
1933 | "ms": "^2.0.0"
1934 | }
1935 | },
1936 | "iconv-lite": {
1937 | "version": "0.6.3",
1938 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
1939 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
1940 | "optional": true,
1941 | "requires": {
1942 | "safer-buffer": ">= 2.1.2 < 3.0.0"
1943 | }
1944 | },
1945 | "imurmurhash": {
1946 | "version": "0.1.4",
1947 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
1948 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
1949 | "optional": true
1950 | },
1951 | "indent-string": {
1952 | "version": "4.0.0",
1953 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
1954 | "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
1955 | "optional": true
1956 | },
1957 | "infer-owner": {
1958 | "version": "1.0.4",
1959 | "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz",
1960 | "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==",
1961 | "optional": true
1962 | },
1963 | "inflight": {
1964 | "version": "1.0.6",
1965 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
1966 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
1967 | "requires": {
1968 | "once": "^1.3.0",
1969 | "wrappy": "1"
1970 | }
1971 | },
1972 | "inherits": {
1973 | "version": "2.0.4",
1974 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
1975 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
1976 | },
1977 | "ip": {
1978 | "version": "2.0.0",
1979 | "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
1980 | "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==",
1981 | "optional": true
1982 | },
1983 | "is-fullwidth-code-point": {
1984 | "version": "3.0.0",
1985 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
1986 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
1987 | },
1988 | "is-lambda": {
1989 | "version": "1.0.1",
1990 | "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz",
1991 | "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==",
1992 | "optional": true
1993 | },
1994 | "isexe": {
1995 | "version": "2.0.0",
1996 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
1997 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
1998 | "optional": true
1999 | },
2000 | "lodash": {
2001 | "version": "4.17.21",
2002 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
2003 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
2004 | },
2005 | "lodash.snakecase": {
2006 | "version": "4.1.1",
2007 | "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
2008 | "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
2009 | },
2010 | "lru-cache": {
2011 | "version": "6.0.0",
2012 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
2013 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
2014 | "requires": {
2015 | "yallist": "^4.0.0"
2016 | }
2017 | },
2018 | "magic-bytes.js": {
2019 | "version": "1.0.15",
2020 | "resolved": "https://registry.npmjs.org/magic-bytes.js/-/magic-bytes.js-1.0.15.tgz",
2021 | "integrity": "sha512-bpRmwbRHqongRhA+mXzbLWjVy7ylqmfMBYaQkSs6pac0z6hBTvsgrH0r4FBYd/UYVJBmS6Rp/O+oCCQVLzKV1g=="
2022 | },
2023 | "make-dir": {
2024 | "version": "3.1.0",
2025 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
2026 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
2027 | "requires": {
2028 | "semver": "^6.0.0"
2029 | },
2030 | "dependencies": {
2031 | "semver": {
2032 | "version": "6.3.1",
2033 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
2034 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
2035 | }
2036 | }
2037 | },
2038 | "make-fetch-happen": {
2039 | "version": "9.1.0",
2040 | "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz",
2041 | "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==",
2042 | "optional": true,
2043 | "requires": {
2044 | "agentkeepalive": "^4.1.3",
2045 | "cacache": "^15.2.0",
2046 | "http-cache-semantics": "^4.1.0",
2047 | "http-proxy-agent": "^4.0.1",
2048 | "https-proxy-agent": "^5.0.0",
2049 | "is-lambda": "^1.0.1",
2050 | "lru-cache": "^6.0.0",
2051 | "minipass": "^3.1.3",
2052 | "minipass-collect": "^1.0.2",
2053 | "minipass-fetch": "^1.3.2",
2054 | "minipass-flush": "^1.0.5",
2055 | "minipass-pipeline": "^1.2.4",
2056 | "negotiator": "^0.6.2",
2057 | "promise-retry": "^2.0.1",
2058 | "socks-proxy-agent": "^6.0.0",
2059 | "ssri": "^8.0.0"
2060 | }
2061 | },
2062 | "mime-db": {
2063 | "version": "1.52.0",
2064 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
2065 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
2066 | },
2067 | "mime-types": {
2068 | "version": "2.1.35",
2069 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
2070 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
2071 | "requires": {
2072 | "mime-db": "1.52.0"
2073 | }
2074 | },
2075 | "minimatch": {
2076 | "version": "3.1.2",
2077 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
2078 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
2079 | "requires": {
2080 | "brace-expansion": "^1.1.7"
2081 | }
2082 | },
2083 | "minipass": {
2084 | "version": "3.3.6",
2085 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
2086 | "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
2087 | "requires": {
2088 | "yallist": "^4.0.0"
2089 | }
2090 | },
2091 | "minipass-collect": {
2092 | "version": "1.0.2",
2093 | "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz",
2094 | "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==",
2095 | "optional": true,
2096 | "requires": {
2097 | "minipass": "^3.0.0"
2098 | }
2099 | },
2100 | "minipass-fetch": {
2101 | "version": "1.4.1",
2102 | "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz",
2103 | "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==",
2104 | "optional": true,
2105 | "requires": {
2106 | "encoding": "^0.1.12",
2107 | "minipass": "^3.1.0",
2108 | "minipass-sized": "^1.0.3",
2109 | "minizlib": "^2.0.0"
2110 | }
2111 | },
2112 | "minipass-flush": {
2113 | "version": "1.0.5",
2114 | "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
2115 | "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==",
2116 | "optional": true,
2117 | "requires": {
2118 | "minipass": "^3.0.0"
2119 | }
2120 | },
2121 | "minipass-pipeline": {
2122 | "version": "1.2.4",
2123 | "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz",
2124 | "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==",
2125 | "optional": true,
2126 | "requires": {
2127 | "minipass": "^3.0.0"
2128 | }
2129 | },
2130 | "minipass-sized": {
2131 | "version": "1.0.3",
2132 | "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz",
2133 | "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==",
2134 | "optional": true,
2135 | "requires": {
2136 | "minipass": "^3.0.0"
2137 | }
2138 | },
2139 | "minizlib": {
2140 | "version": "2.1.2",
2141 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
2142 | "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
2143 | "requires": {
2144 | "minipass": "^3.0.0",
2145 | "yallist": "^4.0.0"
2146 | }
2147 | },
2148 | "mkdirp": {
2149 | "version": "1.0.4",
2150 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
2151 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
2152 | },
2153 | "ms": {
2154 | "version": "2.1.2",
2155 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
2156 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
2157 | },
2158 | "negotiator": {
2159 | "version": "0.6.3",
2160 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
2161 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
2162 | "optional": true
2163 | },
2164 | "node-addon-api": {
2165 | "version": "4.3.0",
2166 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz",
2167 | "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ=="
2168 | },
2169 | "node-fetch": {
2170 | "version": "2.7.0",
2171 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
2172 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
2173 | "requires": {
2174 | "whatwg-url": "^5.0.0"
2175 | }
2176 | },
2177 | "node-gyp": {
2178 | "version": "8.4.1",
2179 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz",
2180 | "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==",
2181 | "optional": true,
2182 | "requires": {
2183 | "env-paths": "^2.2.0",
2184 | "glob": "^7.1.4",
2185 | "graceful-fs": "^4.2.6",
2186 | "make-fetch-happen": "^9.1.0",
2187 | "nopt": "^5.0.0",
2188 | "npmlog": "^6.0.0",
2189 | "rimraf": "^3.0.2",
2190 | "semver": "^7.3.5",
2191 | "tar": "^6.1.2",
2192 | "which": "^2.0.2"
2193 | },
2194 | "dependencies": {
2195 | "are-we-there-yet": {
2196 | "version": "3.0.1",
2197 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz",
2198 | "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==",
2199 | "optional": true,
2200 | "requires": {
2201 | "delegates": "^1.0.0",
2202 | "readable-stream": "^3.6.0"
2203 | }
2204 | },
2205 | "gauge": {
2206 | "version": "4.0.4",
2207 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz",
2208 | "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==",
2209 | "optional": true,
2210 | "requires": {
2211 | "aproba": "^1.0.3 || ^2.0.0",
2212 | "color-support": "^1.1.3",
2213 | "console-control-strings": "^1.1.0",
2214 | "has-unicode": "^2.0.1",
2215 | "signal-exit": "^3.0.7",
2216 | "string-width": "^4.2.3",
2217 | "strip-ansi": "^6.0.1",
2218 | "wide-align": "^1.1.5"
2219 | }
2220 | },
2221 | "npmlog": {
2222 | "version": "6.0.2",
2223 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz",
2224 | "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==",
2225 | "optional": true,
2226 | "requires": {
2227 | "are-we-there-yet": "^3.0.0",
2228 | "console-control-strings": "^1.1.0",
2229 | "gauge": "^4.0.3",
2230 | "set-blocking": "^2.0.0"
2231 | }
2232 | }
2233 | }
2234 | },
2235 | "nopt": {
2236 | "version": "5.0.0",
2237 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
2238 | "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
2239 | "requires": {
2240 | "abbrev": "1"
2241 | }
2242 | },
2243 | "npmlog": {
2244 | "version": "5.0.1",
2245 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz",
2246 | "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==",
2247 | "requires": {
2248 | "are-we-there-yet": "^2.0.0",
2249 | "console-control-strings": "^1.1.0",
2250 | "gauge": "^3.0.0",
2251 | "set-blocking": "^2.0.0"
2252 | }
2253 | },
2254 | "object-assign": {
2255 | "version": "4.1.1",
2256 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
2257 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="
2258 | },
2259 | "once": {
2260 | "version": "1.4.0",
2261 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2262 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
2263 | "requires": {
2264 | "wrappy": "1"
2265 | }
2266 | },
2267 | "p-map": {
2268 | "version": "4.0.0",
2269 | "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
2270 | "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
2271 | "optional": true,
2272 | "requires": {
2273 | "aggregate-error": "^3.0.0"
2274 | }
2275 | },
2276 | "path-is-absolute": {
2277 | "version": "1.0.1",
2278 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
2279 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="
2280 | },
2281 | "promise-inflight": {
2282 | "version": "1.0.1",
2283 | "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
2284 | "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==",
2285 | "optional": true
2286 | },
2287 | "promise-retry": {
2288 | "version": "2.0.1",
2289 | "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz",
2290 | "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==",
2291 | "optional": true,
2292 | "requires": {
2293 | "err-code": "^2.0.2",
2294 | "retry": "^0.12.0"
2295 | }
2296 | },
2297 | "proxy-from-env": {
2298 | "version": "1.1.0",
2299 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
2300 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
2301 | },
2302 | "readable-stream": {
2303 | "version": "3.6.2",
2304 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
2305 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
2306 | "requires": {
2307 | "inherits": "^2.0.3",
2308 | "string_decoder": "^1.1.1",
2309 | "util-deprecate": "^1.0.1"
2310 | }
2311 | },
2312 | "retry": {
2313 | "version": "0.12.0",
2314 | "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
2315 | "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
2316 | "optional": true
2317 | },
2318 | "rimraf": {
2319 | "version": "3.0.2",
2320 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
2321 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
2322 | "requires": {
2323 | "glob": "^7.1.3"
2324 | }
2325 | },
2326 | "safe-buffer": {
2327 | "version": "5.2.1",
2328 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
2329 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
2330 | },
2331 | "safer-buffer": {
2332 | "version": "2.1.2",
2333 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
2334 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
2335 | "optional": true
2336 | },
2337 | "semver": {
2338 | "version": "7.5.4",
2339 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
2340 | "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
2341 | "requires": {
2342 | "lru-cache": "^6.0.0"
2343 | }
2344 | },
2345 | "set-blocking": {
2346 | "version": "2.0.0",
2347 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
2348 | "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
2349 | },
2350 | "signal-exit": {
2351 | "version": "3.0.7",
2352 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
2353 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
2354 | },
2355 | "smart-buffer": {
2356 | "version": "4.2.0",
2357 | "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
2358 | "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
2359 | "optional": true
2360 | },
2361 | "socks": {
2362 | "version": "2.7.1",
2363 | "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz",
2364 | "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==",
2365 | "optional": true,
2366 | "requires": {
2367 | "ip": "^2.0.0",
2368 | "smart-buffer": "^4.2.0"
2369 | }
2370 | },
2371 | "socks-proxy-agent": {
2372 | "version": "6.2.1",
2373 | "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz",
2374 | "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==",
2375 | "optional": true,
2376 | "requires": {
2377 | "agent-base": "^6.0.2",
2378 | "debug": "^4.3.3",
2379 | "socks": "^2.6.2"
2380 | }
2381 | },
2382 | "sqlite3": {
2383 | "version": "5.1.6",
2384 | "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-5.1.6.tgz",
2385 | "integrity": "sha512-olYkWoKFVNSSSQNvxVUfjiVbz3YtBwTJj+mfV5zpHmqW3sELx2Cf4QCdirMelhM5Zh+KDVaKgQHqCxrqiWHybw==",
2386 | "requires": {
2387 | "@mapbox/node-pre-gyp": "^1.0.0",
2388 | "node-addon-api": "^4.2.0",
2389 | "node-gyp": "8.x",
2390 | "tar": "^6.1.11"
2391 | }
2392 | },
2393 | "ssri": {
2394 | "version": "8.0.1",
2395 | "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
2396 | "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==",
2397 | "optional": true,
2398 | "requires": {
2399 | "minipass": "^3.1.1"
2400 | }
2401 | },
2402 | "streamsearch": {
2403 | "version": "1.1.0",
2404 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
2405 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg=="
2406 | },
2407 | "string_decoder": {
2408 | "version": "1.3.0",
2409 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
2410 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
2411 | "requires": {
2412 | "safe-buffer": "~5.2.0"
2413 | }
2414 | },
2415 | "string-width": {
2416 | "version": "4.2.3",
2417 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
2418 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
2419 | "requires": {
2420 | "emoji-regex": "^8.0.0",
2421 | "is-fullwidth-code-point": "^3.0.0",
2422 | "strip-ansi": "^6.0.1"
2423 | }
2424 | },
2425 | "strip-ansi": {
2426 | "version": "6.0.1",
2427 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
2428 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
2429 | "requires": {
2430 | "ansi-regex": "^5.0.1"
2431 | }
2432 | },
2433 | "tar": {
2434 | "version": "6.2.0",
2435 | "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
2436 | "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
2437 | "requires": {
2438 | "chownr": "^2.0.0",
2439 | "fs-minipass": "^2.0.0",
2440 | "minipass": "^5.0.0",
2441 | "minizlib": "^2.1.1",
2442 | "mkdirp": "^1.0.3",
2443 | "yallist": "^4.0.0"
2444 | },
2445 | "dependencies": {
2446 | "minipass": {
2447 | "version": "5.0.0",
2448 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
2449 | "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ=="
2450 | }
2451 | }
2452 | },
2453 | "tr46": {
2454 | "version": "0.0.3",
2455 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
2456 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
2457 | },
2458 | "ts-mixer": {
2459 | "version": "6.0.3",
2460 | "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.3.tgz",
2461 | "integrity": "sha512-k43M7uCG1AkTyxgnmI5MPwKoUvS/bRvLvUb7+Pgpdlmok8AoqmUaZxUUw8zKM5B1lqZrt41GjYgnvAi0fppqgQ=="
2462 | },
2463 | "tslib": {
2464 | "version": "2.6.2",
2465 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
2466 | "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
2467 | },
2468 | "undici": {
2469 | "version": "5.22.1",
2470 | "resolved": "https://registry.npmjs.org/undici/-/undici-5.22.1.tgz",
2471 | "integrity": "sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==",
2472 | "requires": {
2473 | "busboy": "^1.6.0"
2474 | }
2475 | },
2476 | "unique-filename": {
2477 | "version": "1.1.1",
2478 | "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
2479 | "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
2480 | "optional": true,
2481 | "requires": {
2482 | "unique-slug": "^2.0.0"
2483 | }
2484 | },
2485 | "unique-slug": {
2486 | "version": "2.0.2",
2487 | "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz",
2488 | "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==",
2489 | "optional": true,
2490 | "requires": {
2491 | "imurmurhash": "^0.1.4"
2492 | }
2493 | },
2494 | "util-deprecate": {
2495 | "version": "1.0.2",
2496 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
2497 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
2498 | },
2499 | "webidl-conversions": {
2500 | "version": "3.0.1",
2501 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
2502 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
2503 | },
2504 | "whatwg-url": {
2505 | "version": "5.0.0",
2506 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
2507 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
2508 | "requires": {
2509 | "tr46": "~0.0.3",
2510 | "webidl-conversions": "^3.0.0"
2511 | }
2512 | },
2513 | "which": {
2514 | "version": "2.0.2",
2515 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
2516 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
2517 | "optional": true,
2518 | "requires": {
2519 | "isexe": "^2.0.0"
2520 | }
2521 | },
2522 | "wide-align": {
2523 | "version": "1.1.5",
2524 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
2525 | "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
2526 | "requires": {
2527 | "string-width": "^1.0.2 || 2 || 3 || 4"
2528 | }
2529 | },
2530 | "wrappy": {
2531 | "version": "1.0.2",
2532 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
2533 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
2534 | },
2535 | "ws": {
2536 | "version": "8.14.1",
2537 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.1.tgz",
2538 | "integrity": "sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A==",
2539 | "requires": {}
2540 | },
2541 | "yallist": {
2542 | "version": "4.0.0",
2543 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
2544 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
2545 | }
2546 | }
2547 | }
2548 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "oauth2",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "src/index.js",
6 | "scripts": {
7 | "test": "mode src/index.js"
8 | },
9 | "author": "AstraaDev",
10 | "license": "ISC",
11 | "dependencies": {
12 | "axios": "^1.5.0",
13 | "discord.js": "^14.13.0",
14 | "fs": "^0.0.1-security",
15 | "sqlite3": "^5.1.6",
16 | "dotenv": "^16.4.7"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/bot.js:
--------------------------------------------------------------------------------
1 | const { Client, GatewayIntentBits, EmbedBuilder, ActionRowBuilder, ButtonBuilder, REST, Routes} = require('discord.js');
2 | const sqlite3 = require('sqlite3').verbose();
3 | const axios = require('axios');
4 | const url = require('url');
5 | require('../dotenv').config();
6 |
7 | const TOKEN = process.env.BotToken;
8 | const authorizedUserIds = ['YOUR_USER_ID_HERE'];
9 |
10 | const client = new Client({
11 | intents: [
12 | GatewayIntentBits.Guilds,
13 | GatewayIntentBits.GuildMembers,
14 | GatewayIntentBits.GuildMessages,
15 | ],
16 | });
17 |
18 | const db = new sqlite3.Database('../db.sqlite');
19 |
20 | const commands = [
21 | {
22 | name: 'help',
23 | description: 'Get help on a specific command.',
24 | },
25 | {
26 | name: 'ping',
27 | description: 'Return the bot\'s current ping.',
28 | },
29 | {
30 | name: 'refresh',
31 | description: 'Refresh bot commands.',
32 | },
33 | {
34 | name: 'links',
35 | description: 'Sends a list of useful links (oauth2 link, bot invitation link, ...).',
36 | },
37 | {
38 | name: 'joinall',
39 | description: 'Makes all users join the server.',
40 | },
41 | {
42 | name: 'join',
43 | description: 'Add a specified number of users to the server.',
44 | options: [
45 | {
46 | name: 'count',
47 | description: 'Number of users to add',
48 | type: 4,
49 | required: true,
50 | },
51 | ],
52 | },
53 | {
54 | name: 'users',
55 | description: 'Get the number of users in the database.',
56 | },
57 | {
58 | name: 'clear',
59 | description: 'Deletes a specified number of messages.',
60 | options: [
61 | {
62 | name: 'amount',
63 | description: 'Number of messages to delete',
64 | type: 4,
65 | required: true,
66 | },
67 | ],
68 | },
69 | ];
70 |
71 | const rest = new REST({ version: '10' }).setToken(TOKEN);
72 |
73 | async function refreshApplicationCommands() {
74 | try {
75 | console.log('Started refreshing application (/) commands.');
76 |
77 | await rest.put(
78 | Routes.applicationCommands(process.env.ClientID),
79 | { body: commands },
80 | );
81 |
82 | console.log('Successfully reloaded application (/) commands.');
83 | } catch (error) {
84 | console.error(error);
85 | }
86 | }
87 |
88 | client.on('ready', () => {
89 | console.log(`Logged in as ${client.user.tag}`);
90 | });
91 |
92 | client.on('interactionCreate', async (interaction) => {
93 | if (!interaction.isCommand()) return;
94 |
95 | const { commandName, guildId } = interaction;
96 |
97 | if (commandName === 'help') {
98 | const help_embed = createEmbed('🏠 Help command', 5003474, 'Use `/help ` to see the details of a command.\nUse `/command None` to disable the command.\n\n**Some useful links:**\n> [Support Discord](https://discord.gg/)\n\n**All commands:**\n> `/ping` - return the bot\'s current ping\n> `/refresh` - refresh bot commands\n> `/links` - sends a list of useful links (oauth2 link, bot invitation link, ...)\n> `/joinall` - makes all users join the server\n> `/join` - make a specific number of users join the server\n> `/users` - get the number of users in the database\n> `/clear` - deletes a specified number of messages');
99 | interaction.reply({ embeds: [help_embed] });
100 | } else if (commandName === 'ping') {
101 | const ping = Math.abs(Date.now() - interaction.createdTimestamp);
102 |
103 | const ping_embed = createEmbed('⚡ Ping command', 5003474, `Bot's ping to Discord API: **${ping}** ms`);
104 | interaction.reply({ embeds: [ping_embed] });
105 | } else if (commandName === 'refresh') {
106 | refreshApplicationCommands();
107 | const refresh_Embed = createEmbed('⏰ Refresh command', 2935808, `Commands successfully refreshed`);
108 | interaction.reply({ embeds: [refresh_Embed] });
109 | } else if (commandName === 'links') {
110 | if (!authorizedUserIds.includes(interaction.user.id)) {
111 | const unauthorized_embed = createEmbed('🚫 Unauthorized', 13500416, 'You are not authorized to use this command.');
112 | interaction.reply({ embeds: [unauthorized_embed], ephemeral: true });
113 | return;
114 | }
115 |
116 | const links_actionRow = new ActionRowBuilder()
117 | .addComponents(
118 | new ButtonBuilder()
119 | .setStyle(5)
120 | .setLabel('OAuth2 Authorization link')
121 | .setURL('https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&redirect_uri=YOUR_REDIRECT_URI_HERE&response_type=code&scope=gdm.join%20identify'),
122 | new ButtonBuilder()
123 | .setStyle(5)
124 | .setLabel('Bot Invitation link')
125 | .setURL('https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&permissions=8&scope=bot%20applications.commands')
126 | );
127 | const lists_embed = createEmbed('📃 Links command', 5003474, '**Utilities of links:**\n> `OAuth2 Authorization link` - authorize the bot to join a server for you.\n> `Bot Invitation link` - invite the bot to a server.\n\n**🔗 Links:**\n> __OAuth2 Authorization link__\n```https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&redirect_uri=YOUR_REDIRECT_URI_HERE&response_type=code&scope=gdm.join%20identify```\n> __Bot invitation link__\n```https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&permissions=8&scope=bot%20applications.commands```');
128 | interaction.reply({ embeds: [lists_embed] , components: [links_actionRow] });
129 | } else if (commandName === 'joinall') {
130 | if (!authorizedUserIds.includes(interaction.user.id)) {
131 | const unauthorized_embed = createEmbed('🚫 Unauthorized', 13500416, 'You are not authorized to use this command.');
132 | interaction.reply({ embeds: [unauthorized_embed], ephemeral: true });
133 | return;
134 | }
135 |
136 | db.all('SELECT * FROM users', async (err, rows) => {
137 | if (err) {
138 | console.error(err.message);
139 | return;
140 | }
141 |
142 | let usersAdded = 0;
143 | let usersFailed = 0;
144 | let usersAlreadyAdded = 0;
145 | const guild = client.guilds.cache.get(guildId);
146 |
147 | let final_embed = createEmbed('🚪 JoinAll command', 5003474, `✅ ${usersAdded} users successfully added\n⚠ ${usersAlreadyAdded} users already on the server\n❌ ${usersFailed} users could not be added\n\n💠 Total users: ${usersAdded+usersFailed+usersAlreadyAdded}`);
148 | const reply = await interaction.reply({ embeds: [final_embed] });
149 |
150 | for (const row of rows) {
151 | const { discord_id, refresh_token } = row;
152 |
153 | try {
154 | const isMember = await guild.members.fetch(discord_id).then(() => true).catch(() => false);
155 |
156 | if (isMember) {
157 | usersAlreadyAdded++;
158 | final_embed = createEmbed('🚪 JoinAll command', 5003474, `✅ ${usersAdded} users successfully added\n⚠ ${usersAlreadyAdded} users already on the server\n❌ ${usersFailed} users could not be added\n\n💠 Total users: ${usersAdded+usersFailed+usersAlreadyAdded}`);
159 | await reply.edit({ embeds: [final_embed] });
160 | } else {
161 | const formData1 = new url.URLSearchParams({
162 | client_id: process.env.ClientID,
163 | client_secret: process.env.ClientSecret,
164 | grant_type: 'refresh_token',
165 | refresh_token: refresh_token,
166 | });
167 |
168 | const response = await axios.post('https://discord.com/api/v10/oauth2/token', formData1, {
169 | headers: {
170 | 'Content-Type': 'application/x-www-form-urlencoded',
171 | },
172 | });
173 |
174 | if (response.data && response.data.access_token) {
175 | const newAccessToken = response.data.access_token;
176 |
177 | db.run('UPDATE users SET access_token = ?, refresh_token = ? WHERE discord_id = ?', [newAccessToken, response.data.refresh_token, discord_id], (updateErr) => {
178 | if (updateErr) {
179 | console.error(`Error updating database for ${discord_id}. Error message: `, updateErr.message);
180 | }
181 | });
182 |
183 | try {
184 | const user = await client.users.fetch(discord_id);
185 | await guild.members.add(user, { accessToken: newAccessToken });
186 | usersAdded++;
187 | } catch (error) {
188 | console.error(`Error adding ${discord_id} to the server`);
189 | usersFailed++;
190 | }
191 | } else {
192 | console.error(`Error getting ${discord_id}'s access token`);
193 | usersFailed++;
194 | }
195 | }
196 |
197 | } catch (error) {
198 | console.error(`Error generating ${discord_id} access token. Error message: `, error.message);
199 | }
200 |
201 | final_embed = createEmbed('🚪 JoinAll command', 5003474, `✅ ${usersAdded} users successfully added\n⚠ ${usersAlreadyAdded} users already on the server\n❌ ${usersFailed} users could not be added\n\n💠 Total users: ${usersAdded+usersFailed+usersAlreadyAdded}`);
202 | await reply.edit({ embeds: [final_embed] });
203 | }
204 | const end_joinall = createEmbed('All users added successfully', 2935808, null);
205 | await reply.edit({ embeds: [final_embed, end_joinall] });
206 | });
207 | } else if (commandName === 'join') {
208 | if (!authorizedUserIds.includes(interaction.user.id)) {
209 | const unauthorized_embed = createEmbed('🚫 Unauthorized', 13500416, 'You are not authorized to use this command.');
210 | interaction.reply({ embeds: [unauthorized_embed], ephemeral: true });
211 | return;
212 | }
213 |
214 | db.all('SELECT * FROM users', async (err, rows) => {
215 | if (err) {
216 | console.error(err.message);
217 | return;
218 | }
219 |
220 | let usersAdded = 0;
221 | let usersFailed = 0;
222 | let usersAlreadyAdded = 0;
223 | const guild = client.guilds.cache.get(guildId);
224 | const count = interaction.options.getInteger('count');
225 |
226 | if (count <= 0 || count > rows.count) {
227 | const join_Embed = createEmbed('🚪 Join command', 13500416, 'Please enter a valid number of users to be added.');
228 | interaction.reply({ embeds: [join_Embed], ephemeral: true });
229 | return;
230 | }
231 |
232 | let final_embed = createEmbed('🚪 Join command', 5003474, `✅ ${usersAdded} users successfully added\n⚠ ${usersAlreadyAdded} users already on the server\n❌ ${usersFailed} users could not be added\n\n💠 Total users: ${usersAdded+usersFailed+usersAlreadyAdded}`);
233 | const reply = await interaction.reply({ embeds: [final_embed] });
234 |
235 | for (const row of rows) {
236 | const { discord_id, refresh_token } = row;
237 |
238 | if (usersAdded >= count) {
239 | return;
240 | }
241 |
242 | try {
243 | const isMember = await guild.members.fetch(discord_id).then(() => true).catch(() => false);
244 |
245 | if (isMember) {
246 | usersAlreadyAdded++;
247 | final_embed = createEmbed('🚪 Join command', 5003474, `✅ ${usersAdded} users successfully added\n⚠ ${usersAlreadyAdded} users already on the server\n❌ ${usersFailed} users could not be added\n\n💠 Total users: ${usersAdded+usersFailed+usersAlreadyAdded}`);
248 | await reply.edit({ embeds: [final_embed] });
249 | } else {
250 | const formData1 = new url.URLSearchParams({
251 | client_id: process.env.ClientID,
252 | client_secret: process.env.ClientSecret,
253 | grant_type: 'refresh_token',
254 | refresh_token: refresh_token,
255 | });
256 |
257 | const response = await axios.post('https://discord.com/api/v10/oauth2/token', formData1, {
258 | headers: {
259 | 'Content-Type': 'application/x-www-form-urlencoded',
260 | },
261 | });
262 |
263 | if (response.data && response.data.access_token) {
264 | const newAccessToken = response.data.access_token;
265 |
266 | db.run('UPDATE users SET access_token = ?, refresh_token = ? WHERE discord_id = ?', [newAccessToken, response.data.refresh_token, discord_id], (updateErr) => {
267 | if (updateErr) {
268 | console.error(`Error updating database for ${discord_id}. Error message: `, updateErr.message);
269 | }
270 | });
271 |
272 | try {
273 | const user = await client.users.fetch(discord_id);
274 | await guild.members.add(user, { accessToken: newAccessToken });
275 | usersAdded++;
276 | } catch (error) {
277 | console.error(`Error adding ${discord_id} to the server`);
278 | usersFailed++;
279 | }
280 | } else {
281 | console.error(`Error getting ${discord_id}'s access token`);
282 | usersFailed++;
283 | }
284 | }
285 |
286 | } catch (error) {
287 | console.error(`Error generating ${discord_id} access token. Error message: `, error.message);
288 | }
289 |
290 | final_embed = createEmbed('🚪 Join command', 5003474, `✅ ${usersAdded} users successfully added\n⚠ ${usersAlreadyAdded} users already on the server\n❌ ${usersFailed} users could not be added\n\n💠 Total users: ${usersAdded+usersFailed+usersAlreadyAdded}`);
291 | await reply.edit({ embeds: [final_embed] });
292 | }
293 | const end_joinall = createEmbed(`${usersAdded} users added successfully`, 2935808, null);
294 | await reply.edit({ embeds: [final_embed, end_joinall] });
295 | });
296 | } else if (commandName === 'users') {
297 | if (!authorizedUserIds.includes(interaction.user.id)) {
298 | const unauthorized_embed = createEmbed('🚫 Unauthorized', 13500416, 'You are not authorized to use this command.');
299 | interaction.reply({ embeds: [unauthorized_embed], ephemeral: true });
300 | return;
301 | }
302 |
303 | db.get('SELECT COUNT(*) as count FROM users', async (err, row) => {
304 | if (err) {
305 | console.error(err.message);
306 | return;
307 | }
308 |
309 | const users_Embed = createEmbed('👥 Users command', 5003474, `Database contains **${row.count}** users.`);
310 | interaction.reply({ embeds: [users_Embed]});
311 | });
312 | } else if (commandName === 'clear') {
313 | const amount = interaction.options.getInteger('amount');
314 |
315 | if (amount < 1 || amount > 50) {
316 | const clear_Embed = createEmbed('🧹 Clear command', 13500416, `Please enter a valid number of messages to be deleted.\nThis must be between **1** and **50**.`);
317 | interaction.reply({ embeds: [clear_Embed], ephemeral: true });
318 | return;
319 | }
320 |
321 | interaction.channel.messages.fetch({ limit: amount })
322 | .then(messages => {
323 | interaction.channel.bulkDelete(messages)
324 | .then(deletedMessages => {
325 | const clear_Embed = createEmbed('🧹 Clear command', 2935808, `**${deletedMessages.size}** messages successfully deleted`);
326 | interaction.reply({ embeds: [clear_Embed] });
327 | })
328 | .catch(error => {
329 | const clear_Embed = createEmbed('🧹 Clear command', 13500416, `An error has occurred while deleting messages: ${error}`);
330 | interaction.reply({ embeds: [clear_Embed], ephemeral: true });
331 | });
332 | })
333 | .catch(error => {
334 | const clear_Embed = createEmbed('🧹 Clear command', 13500416, `An error has occurred while retrieving messages: ${error}`);
335 | interaction.reply({ embeds: [clear_Embed], ephemeral: true });
336 | });
337 | }
338 | });
339 |
340 | function createEmbed(title, color, description, thumbnail) {
341 | const embed = new EmbedBuilder()
342 | .setTitle(title)
343 | .setColor(color)
344 | .setDescription(description)
345 | .setFooter({ text: 'Made by Astraa ・ https://github.com/astraadev', iconURL: 'https://cdn.discordapp.com/attachments/1033450243481677874/1040933725531275304/astraa.gif' });
346 |
347 | if (thumbnail) {
348 | embed.setThumbnail(thumbnail);
349 | }
350 |
351 | return embed;
352 | }
353 |
354 | refreshApplicationCommands();
355 | client.login(TOKEN);
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | require('../dotenv').config();
2 | const express = require('express');
3 | const axios = require('axios');
4 | const url = require('url');
5 | const sqlite3 = require('sqlite3').verbose();
6 |
7 | const port = process.env.PORT || 1500;
8 | const app = express();
9 |
10 | const db = new sqlite3.Database('../db.sqlite');
11 |
12 | console.log('ClientID:', process.env.ClientID);
13 | console.log('ClientSecret:', process.env.ClientSecret);
14 |
15 | db.serialize(() => {
16 | db.run("CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, username TEXT, discord_id TEXT, access_token TEXT, refresh_token TEXT)");
17 | });
18 |
19 | app.get('/api/auth/discord/redirect', async (req, res) => {
20 | const { code } = req.query;
21 |
22 | if (code) {
23 | const formData = new url.URLSearchParams({
24 | client_id: process.env.ClientID,
25 | client_secret: process.env.ClientSecret,
26 | grant_type: 'authorization_code',
27 | code: code.toString(),
28 | redirect_uri: 'http://localhost:1500/api/auth/discord/redirect',
29 | });
30 |
31 | const output = await axios.post('https://discord.com/api/v10/oauth2/token',
32 | formData, {
33 | headers: {
34 | 'Content-Type': 'application/x-www-form-urlencoded',
35 | },
36 | });
37 |
38 | if (output.data) {
39 | const access = output.data.access_token;
40 |
41 | const userinfo = await axios.get('https://discord.com/api/v10/users/@me', {
42 | headers: {
43 | 'Authorization': `Bearer ${access}`,
44 | },
45 | });
46 |
47 | const existingUser = await getUserByDiscordId(userinfo.data.id);
48 |
49 | if (existingUser) {
50 | db.run("UPDATE users SET username = ?, access_token = ?, refresh_token = ? WHERE discord_id = ?",
51 | [userinfo.data.username, output.data.access_token, output.data.refresh_token, userinfo.data.id], (err) => {
52 | if (err) {
53 | console.error(err.message);
54 | } else {
55 | console.log("User data updated in database");
56 | }
57 | });
58 | } else {
59 | db.run("INSERT INTO users (username, discord_id, access_token, refresh_token) VALUES (?, ?, ?, ?)",
60 | [userinfo.data.username, userinfo.data.id, output.data.access_token, output.data.refresh_token], (err) => {
61 | if (err) {
62 | console.error(err.message);
63 | } else {
64 | console.log("User registered in the database");
65 | }
66 | });
67 | }
68 |
69 | console.log(output.data, userinfo.data);
70 |
71 | }
72 | }
73 | });
74 |
75 | function getUserByDiscordId(discordId) {
76 | return new Promise((resolve, reject) => {
77 | db.get("SELECT * FROM users WHERE discord_id = ?", [discordId], (err, row) => {
78 | if (err) {
79 | reject(err);
80 | } else {
81 | resolve(row);
82 | }
83 | });
84 | });
85 | }
86 |
87 | app.listen(port, () => {console.log(`Running on ${port}`)});
88 |
--------------------------------------------------------------------------------