Charlie commited on
Commit
59ff286
·
1 Parent(s): 392f043

initialise webhook example

Browse files
Files changed (14) hide show
  1. .gitignore +0 -1
  2. Dockerfile +12 -0
  3. README.md +2 -8
  4. dist/main.js +0 -174
  5. index.html +0 -36
  6. ngrok-start.sh +2 -0
  7. package-lock.json +1097 -633
  8. package.json +5 -14
  9. server.ts +27 -0
  10. src/client.ts +0 -44
  11. src/main.ts +0 -139
  12. src/token.ts +0 -33
  13. styles/main.css +0 -86
  14. tsconfig.json +5 -12
.gitignore CHANGED
@@ -1,2 +1 @@
1
  node_modules/
2
- *.json
 
1
  node_modules/
 
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
+ # you will also find guides on how best to write your Dockerfile
3
+
4
+ FROM node:19
5
+
6
+ WORKDIR /code
7
+
8
+ COPY . .
9
+
10
+ RUN npm i
11
+
12
+ CMD ["npx", "ts-node", "server.ts"]
README.md CHANGED
@@ -3,13 +3,7 @@ title: apidemo
3
  emoji: 🐠
4
  colorFrom: purple
5
  colorTo: yellow
6
- sdk: static
7
  pinned: false
8
- hf_oauth: true
9
- hf_oauth_scopes:
10
- - read-repos
11
- - email
12
- - write-repos
13
- - manage-repos
14
- hf_oauth_authorized_org: eh-quizz
15
  ---
 
3
  emoji: 🐠
4
  colorFrom: purple
5
  colorTo: yellow
6
+ sdk: docker
7
  pinned: false
8
+ license: mit
 
 
 
 
 
 
9
  ---
dist/main.js DELETED
@@ -1,174 +0,0 @@
1
- // src/token.ts
2
- var TokenManager = class {
3
- constructor() {
4
- this.token = null;
5
- const storedToken = localStorage.getItem("token");
6
- if (storedToken) {
7
- this.token = storedToken;
8
- }
9
- }
10
- setToken(token) {
11
- this.token = token;
12
- localStorage.setItem("token", token);
13
- }
14
- logout() {
15
- this.token = null;
16
- localStorage.removeItem("token");
17
- window.location.reload();
18
- }
19
- getAccessToken() {
20
- return this.token;
21
- }
22
- isAuthenticated() {
23
- return this.token !== null;
24
- }
25
- };
26
- var tokenManager = new TokenManager();
27
-
28
- // src/client.ts
29
- var Client = class {
30
- constructor(baseUrl2, token) {
31
- this.baseUrl = baseUrl2.endsWith("/") ? baseUrl2.slice(0, -1) : baseUrl2;
32
- this.token = token;
33
- }
34
- getHeaders(contentType) {
35
- const headers = {
36
- Authorization: `Bearer ${this.token}`
37
- };
38
- if (contentType) {
39
- headers["Content-Type"] = contentType;
40
- }
41
- return headers;
42
- }
43
- async handleResponse(response) {
44
- if (!response.ok) {
45
- throw new Error(`API request failed: ${response.statusText}`);
46
- }
47
- return response.json();
48
- }
49
- async get(path) {
50
- const url = `${this.baseUrl}${path.startsWith("/") ? path : "/" + path}`;
51
- const response = await fetch(url, {
52
- headers: this.getHeaders()
53
- });
54
- return this.handleResponse(response);
55
- }
56
- async post(path, payload) {
57
- const url = `${this.baseUrl}${path.startsWith("/") ? path : "/" + path}`;
58
- const response = await fetch(url, {
59
- method: "POST",
60
- headers: this.getHeaders("application/json"),
61
- body: JSON.stringify(payload)
62
- });
63
- return this.handleResponse(response);
64
- }
65
- };
66
-
67
- // src/main.ts
68
- var baseUrl = "https://huggingface.co/api";
69
- var showAuthenticatedUI = async () => {
70
- const accessToken = tokenManager.getAccessToken();
71
- if (!accessToken) {
72
- throw new Error("Access token not found");
73
- }
74
- const client = new Client(baseUrl, accessToken);
75
- const tokenForm = document.getElementById("token-form");
76
- const repoForm = document.getElementById("repo-form");
77
- const signoutButton = document.getElementById("signout");
78
- const createRepoButton = document.getElementById("create-repo");
79
- const repoNameInput = document.getElementById("repo-name");
80
- const resourceGroupInput = document.getElementById("resource-group-name");
81
- const resourceGroupContainer = document.getElementById(
82
- "resource-group-container"
83
- );
84
- tokenForm.style.display = "none";
85
- repoForm.style.removeProperty("display");
86
- signoutButton.style.removeProperty("display");
87
- signoutButton.onclick = () => tokenManager.logout();
88
- createRepoButton.onclick = async () => {
89
- const repoName = repoNameInput.value;
90
- if (!repoName)
91
- return alert("Provide a repo name");
92
- const orgSelect2 = document.getElementById("org-select");
93
- const originalButtonText = createRepoButton.textContent;
94
- createRepoButton.textContent = "Creating...";
95
- createRepoButton.disabled = true;
96
- try {
97
- const organizationName = orgSelect2?.value || void 0;
98
- const resourceGroupName = organizationName ? resourceGroupInput?.value : void 0;
99
- const repo = await client.post("repos/create", {
100
- type: "model",
101
- name: repoName,
102
- organization: organizationName,
103
- private: true
104
- });
105
- if (resourceGroupName) {
106
- await client.post(
107
- `organizations/${organizationName}/resource-groups`,
108
- {
109
- name: resourceGroupName,
110
- description: `Resource group for repository ${repo.name}`,
111
- repos: [{ ...repo, type: "model" }],
112
- autoJoin: {
113
- enabled: true,
114
- role: "admin"
115
- }
116
- }
117
- );
118
- }
119
- alert("Repository and resource group created successfully!");
120
- } catch (error) {
121
- console.error(error);
122
- alert("Failed to create repository");
123
- } finally {
124
- createRepoButton.textContent = originalButtonText;
125
- createRepoButton.disabled = false;
126
- }
127
- };
128
- const orgSelect = document.getElementById("org-select");
129
- orgSelect.onchange = () => {
130
- if (orgSelect.value) {
131
- resourceGroupContainer.style.removeProperty("display");
132
- } else {
133
- resourceGroupContainer.style.display = "none";
134
- }
135
- };
136
- try {
137
- const userInfo = await client.get("whoami-v2");
138
- if (userInfo.orgs.length) {
139
- userInfo.orgs.forEach((org) => {
140
- const option = document.createElement("option");
141
- option.value = org.name;
142
- option.textContent = org.name;
143
- orgSelect.appendChild(option);
144
- });
145
- }
146
- } catch (error) {
147
- console.error(error);
148
- }
149
- };
150
- var showUnauthenticatedUI = () => {
151
- const tokenForm = document.getElementById("token-form");
152
- const tokenInput = document.getElementById("token-input");
153
- const tokenSubmit = document.getElementById("token-submit");
154
- const repoForm = document.getElementById("repo-form");
155
- const signoutButton = document.getElementById("signout");
156
- tokenForm.style.removeProperty("display");
157
- tokenSubmit.onclick = () => {
158
- const token = tokenInput.value;
159
- if (token) {
160
- tokenManager.setToken(token);
161
- showAuthenticatedUI();
162
- }
163
- };
164
- repoForm.style.display = "none";
165
- signoutButton.style.display = "none";
166
- };
167
- var init = async () => {
168
- if (tokenManager.isAuthenticated()) {
169
- showAuthenticatedUI();
170
- } else {
171
- showUnauthenticatedUI();
172
- }
173
- };
174
- init();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
index.html DELETED
@@ -1,36 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>HuggingFace API Demo</title>
8
- <link rel="stylesheet" href="styles/main.css">
9
- </head>
10
-
11
- <body>
12
- <div id="app">
13
- <h1>HuggingFace API Demo</h1>
14
- <div class="auth-container">
15
- <div id="token-form" class="token-form">
16
- <input type="password" id="token-input" placeholder="Enter your HuggingFace API token"
17
- class="repo-input">
18
- <button id="token-submit" class="auth-button">Submit Token</button>
19
- </div>
20
- <button id="signout" style="display: none;" class="auth-button">Sign out</button>
21
- </div>
22
- <div id="repo-form" style="display: none;" class="repo-form">
23
- <select id="org-select" class="repo-input">
24
- <option value="">Own account</option>
25
- </select>
26
- <input type="text" id="repo-name" placeholder="Enter repository name" class="repo-input">
27
- <div id="resource-group-container" style="display: none; width: max-content;">
28
- <input type="text" id="resource-group-name" placeholder="Enter resource group name" class="repo-input">
29
- </div>
30
- <button id="create-repo" class="repo-button">Create Repository</button>
31
- </div>
32
- </div>
33
- <script type="module" src="dist/main.js"></script>
34
- </body>
35
-
36
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ngrok-start.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/bin/bash
2
+ ngrok http --subdomain="moon-$USER" 7860
package-lock.json CHANGED
@@ -1,449 +1,349 @@
1
  {
2
- "name": "static-ts-site",
3
  "version": "1.0.0",
4
  "lockfileVersion": 3,
5
  "requires": true,
6
  "packages": {
7
  "": {
8
- "name": "static-ts-site",
9
- "version": "1.0.0",
10
  "dependencies": {
11
- "@huggingface/hub": "^1.0.1",
12
- "@huggingface/inference": "^3.3.3"
 
 
 
 
 
 
 
 
 
 
 
 
13
  },
14
- "devDependencies": {
15
- "esbuild": "^0.20.0",
16
- "http-server": "^14.1.1",
17
- "typescript": "^5.0.0"
18
- }
19
- },
20
- "node_modules/@esbuild/aix-ppc64": {
21
- "version": "0.20.2",
22
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz",
23
- "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==",
24
- "cpu": [
25
- "ppc64"
26
- ],
27
- "dev": true,
28
- "optional": true,
29
- "os": [
30
- "aix"
31
- ],
32
  "engines": {
33
  "node": ">=12"
34
  }
35
  },
36
- "node_modules/@esbuild/android-arm": {
37
- "version": "0.20.2",
38
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz",
39
- "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==",
40
- "cpu": [
41
- "arm"
42
- ],
43
- "dev": true,
44
- "optional": true,
45
- "os": [
46
- "android"
47
- ],
48
  "engines": {
49
- "node": ">=12"
50
  }
51
  },
52
- "node_modules/@esbuild/android-arm64": {
53
- "version": "0.20.2",
54
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz",
55
- "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==",
56
- "cpu": [
57
- "arm64"
58
- ],
59
- "dev": true,
60
- "optional": true,
61
- "os": [
62
- "android"
63
- ],
64
- "engines": {
65
- "node": ">=12"
66
- }
67
  },
68
- "node_modules/@esbuild/android-x64": {
69
- "version": "0.20.2",
70
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz",
71
- "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==",
72
- "cpu": [
73
- "x64"
74
- ],
75
- "dev": true,
76
- "optional": true,
77
- "os": [
78
- "android"
79
- ],
80
- "engines": {
81
- "node": ">=12"
82
- }
83
- },
84
- "node_modules/@esbuild/darwin-arm64": {
85
- "version": "0.20.2",
86
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz",
87
- "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==",
88
- "cpu": [
89
- "arm64"
90
- ],
91
- "dev": true,
92
- "optional": true,
93
- "os": [
94
- "darwin"
95
- ],
96
- "engines": {
97
- "node": ">=12"
98
- }
99
- },
100
- "node_modules/@esbuild/darwin-x64": {
101
- "version": "0.20.2",
102
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz",
103
- "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==",
104
- "cpu": [
105
- "x64"
106
- ],
107
- "dev": true,
108
- "optional": true,
109
- "os": [
110
- "darwin"
111
- ],
112
- "engines": {
113
- "node": ">=12"
114
  }
115
  },
116
- "node_modules/@esbuild/freebsd-arm64": {
117
- "version": "0.20.2",
118
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz",
119
- "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==",
120
- "cpu": [
121
- "arm64"
122
- ],
123
- "dev": true,
124
- "optional": true,
125
- "os": [
126
- "freebsd"
127
- ],
128
- "engines": {
129
- "node": ">=12"
130
- }
131
  },
132
- "node_modules/@esbuild/freebsd-x64": {
133
- "version": "0.20.2",
134
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz",
135
- "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==",
136
- "cpu": [
137
- "x64"
138
- ],
139
- "dev": true,
140
- "optional": true,
141
- "os": [
142
- "freebsd"
143
- ],
144
- "engines": {
145
- "node": ">=12"
146
- }
147
  },
148
- "node_modules/@esbuild/linux-arm": {
149
- "version": "0.20.2",
150
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz",
151
- "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==",
152
- "cpu": [
153
- "arm"
154
- ],
155
- "dev": true,
156
- "optional": true,
157
- "os": [
158
- "linux"
159
- ],
160
- "engines": {
161
- "node": ">=12"
 
 
 
 
 
 
162
  }
163
  },
164
- "node_modules/@esbuild/linux-arm64": {
165
- "version": "0.20.2",
166
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz",
167
- "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==",
168
- "cpu": [
169
- "arm64"
170
- ],
171
- "dev": true,
172
- "optional": true,
173
- "os": [
174
- "linux"
175
- ],
176
- "engines": {
177
- "node": ">=12"
178
  }
179
  },
180
- "node_modules/@esbuild/linux-ia32": {
181
- "version": "0.20.2",
182
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz",
183
- "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==",
184
- "cpu": [
185
- "ia32"
186
- ],
187
- "dev": true,
188
- "optional": true,
189
- "os": [
190
- "linux"
191
- ],
192
- "engines": {
193
- "node": ">=12"
194
  }
195
  },
196
- "node_modules/@esbuild/linux-loong64": {
197
- "version": "0.20.2",
198
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz",
199
- "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==",
200
- "cpu": [
201
- "loong64"
202
- ],
203
- "dev": true,
204
- "optional": true,
205
- "os": [
206
- "linux"
207
- ],
208
- "engines": {
209
- "node": ">=12"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  }
211
  },
212
- "node_modules/@esbuild/linux-mips64el": {
213
- "version": "0.20.2",
214
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz",
215
- "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==",
216
- "cpu": [
217
- "mips64el"
218
- ],
219
- "dev": true,
220
- "optional": true,
221
- "os": [
222
- "linux"
223
- ],
224
- "engines": {
225
- "node": ">=12"
226
- }
227
  },
228
- "node_modules/@esbuild/linux-ppc64": {
229
- "version": "0.20.2",
230
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz",
231
- "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==",
232
- "cpu": [
233
- "ppc64"
234
- ],
235
- "dev": true,
236
- "optional": true,
237
- "os": [
238
- "linux"
239
- ],
240
- "engines": {
241
- "node": ">=12"
242
  }
243
  },
244
- "node_modules/@esbuild/linux-riscv64": {
245
- "version": "0.20.2",
246
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz",
247
- "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==",
248
- "cpu": [
249
- "riscv64"
250
- ],
251
- "dev": true,
252
- "optional": true,
253
- "os": [
254
- "linux"
255
- ],
256
- "engines": {
257
- "node": ">=12"
258
  }
259
  },
260
- "node_modules/@esbuild/linux-s390x": {
261
- "version": "0.20.2",
262
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz",
263
- "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==",
264
- "cpu": [
265
- "s390x"
266
- ],
267
- "dev": true,
268
- "optional": true,
269
- "os": [
270
- "linux"
271
- ],
272
  "engines": {
273
- "node": ">=12"
274
  }
275
  },
276
- "node_modules/@esbuild/linux-x64": {
277
- "version": "0.20.2",
278
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz",
279
- "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==",
280
- "cpu": [
281
- "x64"
282
- ],
283
- "dev": true,
284
- "optional": true,
285
- "os": [
286
- "linux"
287
- ],
288
  "engines": {
289
- "node": ">=12"
290
  }
291
  },
292
- "node_modules/@esbuild/netbsd-x64": {
293
- "version": "0.20.2",
294
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz",
295
- "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==",
296
- "cpu": [
297
- "x64"
298
- ],
299
- "dev": true,
300
- "optional": true,
301
- "os": [
302
- "netbsd"
303
- ],
304
  "engines": {
305
- "node": ">=12"
306
  }
307
  },
308
- "node_modules/@esbuild/openbsd-x64": {
309
- "version": "0.20.2",
310
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz",
311
- "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==",
312
- "cpu": [
313
- "x64"
314
- ],
315
- "dev": true,
316
- "optional": true,
317
- "os": [
318
- "openbsd"
319
- ],
320
  "engines": {
321
- "node": ">=12"
322
  }
323
  },
324
- "node_modules/@esbuild/sunos-x64": {
325
- "version": "0.20.2",
326
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz",
327
- "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==",
328
- "cpu": [
329
- "x64"
330
- ],
331
- "dev": true,
332
- "optional": true,
333
- "os": [
334
- "sunos"
335
- ],
336
- "engines": {
337
- "node": ">=12"
338
- }
339
  },
340
- "node_modules/@esbuild/win32-arm64": {
341
- "version": "0.20.2",
342
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz",
343
- "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==",
344
- "cpu": [
345
- "arm64"
346
- ],
347
- "dev": true,
348
- "optional": true,
349
- "os": [
350
- "win32"
351
- ],
352
- "engines": {
353
- "node": ">=12"
354
- }
355
  },
356
- "node_modules/@esbuild/win32-ia32": {
357
- "version": "0.20.2",
358
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz",
359
- "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==",
360
- "cpu": [
361
- "ia32"
362
- ],
363
- "dev": true,
364
- "optional": true,
365
- "os": [
366
- "win32"
367
- ],
368
  "engines": {
369
- "node": ">=12"
 
 
 
370
  }
371
  },
372
- "node_modules/@esbuild/win32-x64": {
373
- "version": "0.20.2",
374
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz",
375
- "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==",
376
- "cpu": [
377
- "x64"
378
- ],
379
- "dev": true,
380
- "optional": true,
381
- "os": [
382
- "win32"
383
- ],
 
 
 
 
 
 
 
384
  "engines": {
385
- "node": ">=12"
 
386
  }
387
  },
388
- "node_modules/@huggingface/hub": {
389
- "version": "1.0.1",
390
- "resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-1.0.1.tgz",
391
- "integrity": "sha512-wogGVETaNUV/wYBkny0uQD48L0rK9cttVtbaA1Rw/pGCuSYoZ8YlvTV6zymsGJfXaxQU8zup0aOR2XLIf6HVfg==",
 
392
  "dependencies": {
393
- "@huggingface/tasks": "^0.15.9"
394
- },
395
- "engines": {
396
- "node": ">=18"
397
  }
398
  },
399
- "node_modules/@huggingface/inference": {
400
- "version": "3.3.3",
401
- "resolved": "https://registry.npmjs.org/@huggingface/inference/-/inference-3.3.3.tgz",
402
- "integrity": "sha512-8GJituytUDCzUsqTCwaa630RZ5r/YkkDIJxSv3oqNcFpwaM0/368Ss9cYW8wsmlCBBpC4RKiBRE1KCuHBAURTA==",
 
403
  "dependencies": {
404
- "@huggingface/tasks": "^0.15.9"
405
  },
406
  "engines": {
407
- "node": ">=18"
408
  }
409
  },
410
- "node_modules/@huggingface/tasks": {
411
- "version": "0.15.9",
412
- "resolved": "https://registry.npmjs.org/@huggingface/tasks/-/tasks-0.15.9.tgz",
413
- "integrity": "sha512-cbnZcpMHKdhURWIplVP4obHxAZcxjyRm0zI7peTPksZN4CtIOMmJC4ZqGEymo0lk+0VNkXD7ULwFJ3JjT/VpkQ=="
414
- },
415
- "node_modules/ansi-styles": {
416
- "version": "4.3.0",
417
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
418
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
419
- "dev": true,
 
420
  "dependencies": {
421
- "color-convert": "^2.0.1"
422
  },
423
  "engines": {
424
- "node": ">=8"
425
  },
426
  "funding": {
427
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
428
  }
429
  },
430
- "node_modules/async": {
431
- "version": "2.6.4",
432
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz",
433
- "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==",
434
- "dev": true,
435
  "dependencies": {
436
- "lodash": "^4.17.14"
 
437
  }
438
  },
439
- "node_modules/basic-auth": {
440
- "version": "2.0.1",
441
- "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
442
- "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==",
443
- "dev": true,
444
  "dependencies": {
445
- "safe-buffer": "5.1.2"
446
  },
 
 
 
 
 
 
 
 
 
447
  "engines": {
448
  "node": ">= 0.8"
449
  }
@@ -452,7 +352,6 @@
452
  "version": "1.0.2",
453
  "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
454
  "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
455
- "dev": true,
456
  "dependencies": {
457
  "es-errors": "^1.3.0",
458
  "function-bind": "^1.1.2"
@@ -465,7 +364,6 @@
465
  "version": "1.0.3",
466
  "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz",
467
  "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==",
468
- "dev": true,
469
  "dependencies": {
470
  "call-bind-apply-helpers": "^1.0.1",
471
  "get-intrinsic": "^1.2.6"
@@ -477,63 +375,138 @@
477
  "url": "https://github.com/sponsors/ljharb"
478
  }
479
  },
480
- "node_modules/chalk": {
481
- "version": "4.1.2",
482
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
483
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
484
- "dev": true,
485
  "dependencies": {
486
- "ansi-styles": "^4.1.0",
487
- "supports-color": "^7.1.0"
 
 
 
 
 
488
  },
489
  "engines": {
490
- "node": ">=10"
491
  },
492
  "funding": {
493
- "url": "https://github.com/chalk/chalk?sponsor=1"
 
 
 
494
  }
495
  },
496
- "node_modules/color-convert": {
497
- "version": "2.0.1",
498
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
499
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
500
- "dev": true,
 
 
 
 
 
 
501
  "dependencies": {
502
- "color-name": "~1.1.4"
503
  },
504
  "engines": {
505
- "node": ">=7.0.0"
506
  }
507
  },
508
- "node_modules/color-name": {
509
- "version": "1.1.4",
510
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
511
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
512
- "dev": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  },
514
- "node_modules/corser": {
515
- "version": "2.0.1",
516
- "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz",
517
- "integrity": "sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ==",
518
- "dev": true,
519
  "engines": {
520
- "node": ">= 0.4.0"
521
  }
522
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  "node_modules/debug": {
524
  "version": "3.2.7",
525
  "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
526
  "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
527
- "dev": true,
528
  "dependencies": {
529
  "ms": "^2.1.1"
530
  }
531
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
532
  "node_modules/dunder-proto": {
533
  "version": "1.0.1",
534
  "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
535
  "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
536
- "dev": true,
537
  "dependencies": {
538
  "call-bind-apply-helpers": "^1.0.1",
539
  "es-errors": "^1.3.0",
@@ -543,11 +516,25 @@
543
  "node": ">= 0.4"
544
  }
545
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
546
  "node_modules/es-define-property": {
547
  "version": "1.0.1",
548
  "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
549
  "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
550
- "dev": true,
551
  "engines": {
552
  "node": ">= 0.4"
553
  }
@@ -556,7 +543,6 @@
556
  "version": "1.3.0",
557
  "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
558
  "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
559
- "dev": true,
560
  "engines": {
561
  "node": ">= 0.4"
562
  }
@@ -565,7 +551,6 @@
565
  "version": "1.1.1",
566
  "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
567
  "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
568
- "dev": true,
569
  "dependencies": {
570
  "es-errors": "^1.3.0"
571
  },
@@ -573,75 +558,198 @@
573
  "node": ">= 0.4"
574
  }
575
  },
576
- "node_modules/esbuild": {
577
- "version": "0.20.2",
578
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz",
579
- "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==",
580
- "dev": true,
581
- "hasInstallScript": true,
582
- "bin": {
583
- "esbuild": "bin/esbuild"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
584
  },
585
  "engines": {
586
- "node": ">=12"
587
  },
588
- "optionalDependencies": {
589
- "@esbuild/aix-ppc64": "0.20.2",
590
- "@esbuild/android-arm": "0.20.2",
591
- "@esbuild/android-arm64": "0.20.2",
592
- "@esbuild/android-x64": "0.20.2",
593
- "@esbuild/darwin-arm64": "0.20.2",
594
- "@esbuild/darwin-x64": "0.20.2",
595
- "@esbuild/freebsd-arm64": "0.20.2",
596
- "@esbuild/freebsd-x64": "0.20.2",
597
- "@esbuild/linux-arm": "0.20.2",
598
- "@esbuild/linux-arm64": "0.20.2",
599
- "@esbuild/linux-ia32": "0.20.2",
600
- "@esbuild/linux-loong64": "0.20.2",
601
- "@esbuild/linux-mips64el": "0.20.2",
602
- "@esbuild/linux-ppc64": "0.20.2",
603
- "@esbuild/linux-riscv64": "0.20.2",
604
- "@esbuild/linux-s390x": "0.20.2",
605
- "@esbuild/linux-x64": "0.20.2",
606
- "@esbuild/netbsd-x64": "0.20.2",
607
- "@esbuild/openbsd-x64": "0.20.2",
608
- "@esbuild/sunos-x64": "0.20.2",
609
- "@esbuild/win32-arm64": "0.20.2",
610
- "@esbuild/win32-ia32": "0.20.2",
611
- "@esbuild/win32-x64": "0.20.2"
612
- }
613
- },
614
- "node_modules/eventemitter3": {
615
- "version": "4.0.7",
616
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
617
- "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",
618
- "dev": true
619
- },
620
- "node_modules/follow-redirects": {
621
- "version": "1.15.9",
622
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
623
- "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
624
- "dev": true,
 
 
625
  "funding": [
626
  {
627
- "type": "individual",
628
- "url": "https://github.com/sponsors/RubenVerborgh"
 
 
 
 
 
 
 
 
629
  }
630
  ],
 
 
 
 
 
 
 
 
 
 
631
  "engines": {
632
- "node": ">=4.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  },
634
- "peerDependenciesMeta": {
635
- "debug": {
636
- "optional": true
637
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
638
  }
639
  },
640
  "node_modules/function-bind": {
641
  "version": "1.1.2",
642
  "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
643
  "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
644
- "dev": true,
645
  "funding": {
646
  "url": "https://github.com/sponsors/ljharb"
647
  }
@@ -650,7 +758,6 @@
650
  "version": "1.2.7",
651
  "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz",
652
  "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==",
653
- "dev": true,
654
  "dependencies": {
655
  "call-bind-apply-helpers": "^1.0.1",
656
  "es-define-property": "^1.0.1",
@@ -674,7 +781,6 @@
674
  "version": "1.0.1",
675
  "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
676
  "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
677
- "dev": true,
678
  "dependencies": {
679
  "dunder-proto": "^1.0.1",
680
  "es-object-atoms": "^1.0.0"
@@ -683,11 +789,22 @@
683
  "node": ">= 0.4"
684
  }
685
  },
 
 
 
 
 
 
 
 
 
 
 
 
686
  "node_modules/gopd": {
687
  "version": "1.2.0",
688
  "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
689
  "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
690
- "dev": true,
691
  "engines": {
692
  "node": ">= 0.4"
693
  },
@@ -695,20 +812,10 @@
695
  "url": "https://github.com/sponsors/ljharb"
696
  }
697
  },
698
- "node_modules/has-flag": {
699
- "version": "4.0.0",
700
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
701
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
702
- "dev": true,
703
- "engines": {
704
- "node": ">=8"
705
- }
706
- },
707
  "node_modules/has-symbols": {
708
  "version": "1.1.0",
709
  "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
710
  "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
711
- "dev": true,
712
  "engines": {
713
  "node": ">= 0.4"
714
  },
@@ -720,7 +827,6 @@
720
  "version": "2.0.2",
721
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
722
  "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
723
- "dev": true,
724
  "dependencies": {
725
  "function-bind": "^1.1.2"
726
  },
@@ -728,100 +834,130 @@
728
  "node": ">= 0.4"
729
  }
730
  },
731
- "node_modules/he": {
732
- "version": "1.2.0",
733
- "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
734
- "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
735
- "dev": true,
736
- "bin": {
737
- "he": "bin/he"
738
- }
739
- },
740
- "node_modules/html-encoding-sniffer": {
741
- "version": "3.0.0",
742
- "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz",
743
- "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==",
744
- "dev": true,
745
  "dependencies": {
746
- "whatwg-encoding": "^2.0.0"
 
 
 
 
747
  },
748
  "engines": {
749
- "node": ">=12"
750
  }
751
  },
752
- "node_modules/http-proxy": {
753
- "version": "1.18.1",
754
- "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz",
755
- "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==",
756
- "dev": true,
757
- "dependencies": {
758
- "eventemitter3": "^4.0.0",
759
- "follow-redirects": "^1.0.0",
760
- "requires-port": "^1.0.0"
761
- },
 
 
 
 
 
 
 
762
  "engines": {
763
- "node": ">=8.0.0"
764
  }
765
  },
766
- "node_modules/http-server": {
767
- "version": "14.1.1",
768
- "resolved": "https://registry.npmjs.org/http-server/-/http-server-14.1.1.tgz",
769
- "integrity": "sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==",
770
- "dev": true,
771
  "dependencies": {
772
- "basic-auth": "^2.0.1",
773
- "chalk": "^4.1.2",
774
- "corser": "^2.0.1",
775
- "he": "^1.2.0",
776
- "html-encoding-sniffer": "^3.0.0",
777
- "http-proxy": "^1.18.1",
778
- "mime": "^1.6.0",
779
- "minimist": "^1.2.6",
780
- "opener": "^1.5.1",
781
- "portfinder": "^1.0.28",
782
- "secure-compare": "3.0.1",
783
- "union": "~0.5.0",
784
- "url-join": "^4.0.1"
785
- },
786
- "bin": {
787
- "http-server": "bin/http-server"
788
  },
789
  "engines": {
790
- "node": ">=12"
791
  }
792
  },
793
- "node_modules/iconv-lite": {
794
- "version": "0.6.3",
795
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
796
- "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
797
- "dev": true,
 
 
 
 
 
 
 
 
 
798
  "dependencies": {
799
- "safer-buffer": ">= 2.1.2 < 3.0.0"
800
  },
801
  "engines": {
802
  "node": ">=0.10.0"
803
  }
804
  },
805
- "node_modules/lodash": {
806
- "version": "4.17.21",
807
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
808
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
809
- "dev": true
 
 
 
 
 
 
 
 
 
810
  },
811
  "node_modules/math-intrinsics": {
812
  "version": "1.1.0",
813
  "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
814
  "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
815
- "dev": true,
816
  "engines": {
817
  "node": ">= 0.4"
818
  }
819
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
820
  "node_modules/mime": {
821
  "version": "1.6.0",
822
  "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
823
  "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
824
- "dev": true,
825
  "bin": {
826
  "mime": "cli.js"
827
  },
@@ -829,38 +965,115 @@
829
  "node": ">=4"
830
  }
831
  },
832
- "node_modules/minimist": {
833
- "version": "1.2.8",
834
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
835
- "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
836
- "dev": true,
837
- "funding": {
838
- "url": "https://github.com/sponsors/ljharb"
839
  }
840
  },
841
- "node_modules/mkdirp": {
842
- "version": "0.5.6",
843
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
844
- "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
845
- "dev": true,
846
  "dependencies": {
847
- "minimist": "^1.2.6"
848
  },
849
- "bin": {
850
- "mkdirp": "bin/cmd.js"
 
 
 
 
 
 
 
 
 
 
 
 
851
  }
852
  },
853
  "node_modules/ms": {
854
  "version": "2.1.3",
855
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
856
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
857
- "dev": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
858
  },
859
  "node_modules/object-inspect": {
860
  "version": "1.13.4",
861
  "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
862
  "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
863
- "dev": true,
864
  "engines": {
865
  "node": ">= 0.4"
866
  },
@@ -868,73 +1081,199 @@
868
  "url": "https://github.com/sponsors/ljharb"
869
  }
870
  },
871
- "node_modules/opener": {
872
- "version": "1.5.2",
873
- "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz",
874
- "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==",
875
- "dev": true,
876
- "bin": {
877
- "opener": "bin/opener-bin.js"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
878
  }
879
  },
880
- "node_modules/portfinder": {
881
- "version": "1.0.32",
882
- "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz",
883
- "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==",
884
- "dev": true,
885
  "dependencies": {
886
- "async": "^2.6.4",
887
- "debug": "^3.2.7",
888
- "mkdirp": "^0.5.6"
889
  },
890
  "engines": {
891
- "node": ">= 0.12.0"
892
  }
893
  },
894
- "node_modules/qs": {
895
- "version": "6.14.0",
896
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
897
- "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
898
- "dev": true,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
899
  "dependencies": {
900
- "side-channel": "^1.1.0"
 
 
 
901
  },
902
  "engines": {
903
- "node": ">=0.6"
904
- },
905
- "funding": {
906
- "url": "https://github.com/sponsors/ljharb"
907
  }
908
  },
909
- "node_modules/requires-port": {
910
- "version": "1.0.0",
911
- "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
912
- "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
913
- "dev": true
 
 
 
 
 
 
914
  },
915
- "node_modules/safe-buffer": {
916
- "version": "5.1.2",
917
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
918
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
919
- "dev": true
 
 
 
 
 
 
920
  },
921
  "node_modules/safer-buffer": {
922
  "version": "2.1.2",
923
  "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
924
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
925
- "dev": true
926
  },
927
- "node_modules/secure-compare": {
928
- "version": "3.0.1",
929
- "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz",
930
- "integrity": "sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==",
931
- "dev": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
932
  },
933
  "node_modules/side-channel": {
934
  "version": "1.1.0",
935
  "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
936
  "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
937
- "dev": true,
938
  "dependencies": {
939
  "es-errors": "^1.3.0",
940
  "object-inspect": "^1.13.3",
@@ -953,7 +1292,6 @@
953
  "version": "1.0.0",
954
  "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
955
  "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
956
- "dev": true,
957
  "dependencies": {
958
  "es-errors": "^1.3.0",
959
  "object-inspect": "^1.13.3"
@@ -969,7 +1307,6 @@
969
  "version": "1.0.1",
970
  "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
971
  "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
972
- "dev": true,
973
  "dependencies": {
974
  "call-bound": "^1.0.2",
975
  "es-errors": "^1.3.0",
@@ -987,7 +1324,6 @@
987
  "version": "1.0.2",
988
  "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
989
  "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
990
- "dev": true,
991
  "dependencies": {
992
  "call-bound": "^1.0.2",
993
  "es-errors": "^1.3.0",
@@ -1002,23 +1338,127 @@
1002
  "url": "https://github.com/sponsors/ljharb"
1003
  }
1004
  },
1005
- "node_modules/supports-color": {
1006
- "version": "7.2.0",
1007
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
1008
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
1009
- "dev": true,
1010
  "dependencies": {
1011
- "has-flag": "^4.0.0"
1012
  },
1013
  "engines": {
1014
- "node": ">=8"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1015
  }
1016
  },
1017
  "node_modules/typescript": {
1018
  "version": "5.7.3",
1019
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
1020
  "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
1021
- "dev": true,
1022
  "bin": {
1023
  "tsc": "bin/tsc",
1024
  "tsserver": "bin/tsserver"
@@ -1027,34 +1467,58 @@
1027
  "node": ">=14.17"
1028
  }
1029
  },
1030
- "node_modules/union": {
1031
- "version": "0.5.0",
1032
- "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz",
1033
- "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==",
1034
- "dev": true,
1035
- "dependencies": {
1036
- "qs": "^6.4.0"
1037
- },
 
 
 
 
 
 
 
 
 
1038
  "engines": {
1039
- "node": ">= 0.8.0"
1040
  }
1041
  },
1042
- "node_modules/url-join": {
1043
- "version": "4.0.1",
1044
- "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",
1045
- "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==",
1046
- "dev": true
 
 
 
1047
  },
1048
- "node_modules/whatwg-encoding": {
1049
- "version": "2.0.0",
1050
- "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz",
1051
- "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==",
1052
- "dev": true,
1053
- "dependencies": {
1054
- "iconv-lite": "0.6.3"
1055
- },
 
 
 
1056
  "engines": {
1057
- "node": ">=12"
 
 
 
 
 
 
 
 
 
1058
  }
1059
  }
1060
  }
 
1
  {
2
+ "name": "apidemo",
3
  "version": "1.0.0",
4
  "lockfileVersion": 3,
5
  "requires": true,
6
  "packages": {
7
  "": {
 
 
8
  "dependencies": {
9
+ "@types/express": "^4.17.15",
10
+ "@types/node": "^18.11.18",
11
+ "express": "^4.18.2",
12
+ "nodemon": "^2.0.20",
13
+ "ts-node": "^10.9.1"
14
+ }
15
+ },
16
+ "node_modules/@cspotcode/source-map-support": {
17
+ "version": "0.8.1",
18
+ "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
19
+ "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
20
+ "license": "MIT",
21
+ "dependencies": {
22
+ "@jridgewell/trace-mapping": "0.3.9"
23
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  "engines": {
25
  "node": ">=12"
26
  }
27
  },
28
+ "node_modules/@jridgewell/resolve-uri": {
29
+ "version": "3.1.2",
30
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
31
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
32
+ "license": "MIT",
 
 
 
 
 
 
 
33
  "engines": {
34
+ "node": ">=6.0.0"
35
  }
36
  },
37
+ "node_modules/@jridgewell/sourcemap-codec": {
38
+ "version": "1.5.0",
39
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
40
+ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
41
+ "license": "MIT"
 
 
 
 
 
 
 
 
 
 
42
  },
43
+ "node_modules/@jridgewell/trace-mapping": {
44
+ "version": "0.3.9",
45
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
46
+ "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
47
+ "license": "MIT",
48
+ "dependencies": {
49
+ "@jridgewell/resolve-uri": "^3.0.3",
50
+ "@jridgewell/sourcemap-codec": "^1.4.10"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
  },
53
+ "node_modules/@tsconfig/node10": {
54
+ "version": "1.0.11",
55
+ "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz",
56
+ "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==",
57
+ "license": "MIT"
 
 
 
 
 
 
 
 
 
 
58
  },
59
+ "node_modules/@tsconfig/node12": {
60
+ "version": "1.0.11",
61
+ "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz",
62
+ "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==",
63
+ "license": "MIT"
 
 
 
 
 
 
 
 
 
 
64
  },
65
+ "node_modules/@tsconfig/node14": {
66
+ "version": "1.0.3",
67
+ "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz",
68
+ "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==",
69
+ "license": "MIT"
70
+ },
71
+ "node_modules/@tsconfig/node16": {
72
+ "version": "1.0.4",
73
+ "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz",
74
+ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==",
75
+ "license": "MIT"
76
+ },
77
+ "node_modules/@types/body-parser": {
78
+ "version": "1.19.5",
79
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz",
80
+ "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==",
81
+ "license": "MIT",
82
+ "dependencies": {
83
+ "@types/connect": "*",
84
+ "@types/node": "*"
85
  }
86
  },
87
+ "node_modules/@types/connect": {
88
+ "version": "3.4.38",
89
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",
90
+ "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",
91
+ "license": "MIT",
92
+ "dependencies": {
93
+ "@types/node": "*"
 
 
 
 
 
 
 
94
  }
95
  },
96
+ "node_modules/@types/express": {
97
+ "version": "4.17.21",
98
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz",
99
+ "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==",
100
+ "license": "MIT",
101
+ "dependencies": {
102
+ "@types/body-parser": "*",
103
+ "@types/express-serve-static-core": "^4.17.33",
104
+ "@types/qs": "*",
105
+ "@types/serve-static": "*"
 
 
 
 
106
  }
107
  },
108
+ "node_modules/@types/express-serve-static-core": {
109
+ "version": "4.19.6",
110
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz",
111
+ "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==",
112
+ "license": "MIT",
113
+ "dependencies": {
114
+ "@types/node": "*",
115
+ "@types/qs": "*",
116
+ "@types/range-parser": "*",
117
+ "@types/send": "*"
118
+ }
119
+ },
120
+ "node_modules/@types/http-errors": {
121
+ "version": "2.0.4",
122
+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz",
123
+ "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==",
124
+ "license": "MIT"
125
+ },
126
+ "node_modules/@types/mime": {
127
+ "version": "1.3.5",
128
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
129
+ "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==",
130
+ "license": "MIT"
131
+ },
132
+ "node_modules/@types/node": {
133
+ "version": "18.19.76",
134
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.76.tgz",
135
+ "integrity": "sha512-yvR7Q9LdPz2vGpmpJX5LolrgRdWvB67MJKDPSgIIzpFbaf9a1j/f5DnLp5VDyHGMR0QZHlTr1afsD87QCXFHKw==",
136
+ "license": "MIT",
137
+ "dependencies": {
138
+ "undici-types": "~5.26.4"
139
  }
140
  },
141
+ "node_modules/@types/qs": {
142
+ "version": "6.9.18",
143
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.18.tgz",
144
+ "integrity": "sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==",
145
+ "license": "MIT"
 
 
 
 
 
 
 
 
 
 
146
  },
147
+ "node_modules/@types/range-parser": {
148
+ "version": "1.2.7",
149
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
150
+ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==",
151
+ "license": "MIT"
152
+ },
153
+ "node_modules/@types/send": {
154
+ "version": "0.17.4",
155
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
156
+ "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==",
157
+ "license": "MIT",
158
+ "dependencies": {
159
+ "@types/mime": "^1",
160
+ "@types/node": "*"
161
  }
162
  },
163
+ "node_modules/@types/serve-static": {
164
+ "version": "1.15.7",
165
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz",
166
+ "integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==",
167
+ "license": "MIT",
168
+ "dependencies": {
169
+ "@types/http-errors": "*",
170
+ "@types/node": "*",
171
+ "@types/send": "*"
 
 
 
 
 
172
  }
173
  },
174
+ "node_modules/accepts": {
175
+ "version": "1.3.8",
176
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
177
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
178
+ "license": "MIT",
179
+ "dependencies": {
180
+ "mime-types": "~2.1.34",
181
+ "negotiator": "0.6.3"
182
+ },
 
 
 
183
  "engines": {
184
+ "node": ">= 0.6"
185
  }
186
  },
187
+ "node_modules/acorn": {
188
+ "version": "8.14.0",
189
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
190
+ "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==",
191
+ "license": "MIT",
192
+ "bin": {
193
+ "acorn": "bin/acorn"
194
+ },
 
 
 
 
195
  "engines": {
196
+ "node": ">=0.4.0"
197
  }
198
  },
199
+ "node_modules/acorn-walk": {
200
+ "version": "8.3.4",
201
+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz",
202
+ "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==",
203
+ "license": "MIT",
204
+ "dependencies": {
205
+ "acorn": "^8.11.0"
206
+ },
 
 
 
 
207
  "engines": {
208
+ "node": ">=0.4.0"
209
  }
210
  },
211
+ "node_modules/anymatch": {
212
+ "version": "3.1.3",
213
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
214
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
215
+ "license": "ISC",
216
+ "dependencies": {
217
+ "normalize-path": "^3.0.0",
218
+ "picomatch": "^2.0.4"
219
+ },
 
 
 
220
  "engines": {
221
+ "node": ">= 8"
222
  }
223
  },
224
+ "node_modules/arg": {
225
+ "version": "4.1.3",
226
+ "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
227
+ "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
228
+ "license": "MIT"
 
 
 
 
 
 
 
 
 
 
229
  },
230
+ "node_modules/array-flatten": {
231
+ "version": "1.1.1",
232
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
233
+ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
234
+ "license": "MIT"
 
 
 
 
 
 
 
 
 
 
235
  },
236
+ "node_modules/balanced-match": {
237
+ "version": "1.0.2",
238
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
239
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
240
+ "license": "MIT"
241
+ },
242
+ "node_modules/binary-extensions": {
243
+ "version": "2.3.0",
244
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
245
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
246
+ "license": "MIT",
 
247
  "engines": {
248
+ "node": ">=8"
249
+ },
250
+ "funding": {
251
+ "url": "https://github.com/sponsors/sindresorhus"
252
  }
253
  },
254
+ "node_modules/body-parser": {
255
+ "version": "1.20.3",
256
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
257
+ "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
258
+ "license": "MIT",
259
+ "dependencies": {
260
+ "bytes": "3.1.2",
261
+ "content-type": "~1.0.5",
262
+ "debug": "2.6.9",
263
+ "depd": "2.0.0",
264
+ "destroy": "1.2.0",
265
+ "http-errors": "2.0.0",
266
+ "iconv-lite": "0.4.24",
267
+ "on-finished": "2.4.1",
268
+ "qs": "6.13.0",
269
+ "raw-body": "2.5.2",
270
+ "type-is": "~1.6.18",
271
+ "unpipe": "1.0.0"
272
+ },
273
  "engines": {
274
+ "node": ">= 0.8",
275
+ "npm": "1.2.8000 || >= 1.4.16"
276
  }
277
  },
278
+ "node_modules/body-parser/node_modules/debug": {
279
+ "version": "2.6.9",
280
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
281
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
282
+ "license": "MIT",
283
  "dependencies": {
284
+ "ms": "2.0.0"
 
 
 
285
  }
286
  },
287
+ "node_modules/body-parser/node_modules/iconv-lite": {
288
+ "version": "0.4.24",
289
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
290
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
291
+ "license": "MIT",
292
  "dependencies": {
293
+ "safer-buffer": ">= 2.1.2 < 3"
294
  },
295
  "engines": {
296
+ "node": ">=0.10.0"
297
  }
298
  },
299
+ "node_modules/body-parser/node_modules/ms": {
300
+ "version": "2.0.0",
301
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
302
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
303
+ "license": "MIT"
304
+ },
305
+ "node_modules/body-parser/node_modules/qs": {
306
+ "version": "6.13.0",
307
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
308
+ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
309
+ "license": "BSD-3-Clause",
310
  "dependencies": {
311
+ "side-channel": "^1.0.6"
312
  },
313
  "engines": {
314
+ "node": ">=0.6"
315
  },
316
  "funding": {
317
+ "url": "https://github.com/sponsors/ljharb"
318
  }
319
  },
320
+ "node_modules/brace-expansion": {
321
+ "version": "1.1.11",
322
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
323
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
324
+ "license": "MIT",
325
  "dependencies": {
326
+ "balanced-match": "^1.0.0",
327
+ "concat-map": "0.0.1"
328
  }
329
  },
330
+ "node_modules/braces": {
331
+ "version": "3.0.3",
332
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
333
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
334
+ "license": "MIT",
335
  "dependencies": {
336
+ "fill-range": "^7.1.1"
337
  },
338
+ "engines": {
339
+ "node": ">=8"
340
+ }
341
+ },
342
+ "node_modules/bytes": {
343
+ "version": "3.1.2",
344
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
345
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
346
+ "license": "MIT",
347
  "engines": {
348
  "node": ">= 0.8"
349
  }
 
352
  "version": "1.0.2",
353
  "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
354
  "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
 
355
  "dependencies": {
356
  "es-errors": "^1.3.0",
357
  "function-bind": "^1.1.2"
 
364
  "version": "1.0.3",
365
  "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz",
366
  "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==",
 
367
  "dependencies": {
368
  "call-bind-apply-helpers": "^1.0.1",
369
  "get-intrinsic": "^1.2.6"
 
375
  "url": "https://github.com/sponsors/ljharb"
376
  }
377
  },
378
+ "node_modules/chokidar": {
379
+ "version": "3.6.0",
380
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
381
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
382
+ "license": "MIT",
383
  "dependencies": {
384
+ "anymatch": "~3.1.2",
385
+ "braces": "~3.0.2",
386
+ "glob-parent": "~5.1.2",
387
+ "is-binary-path": "~2.1.0",
388
+ "is-glob": "~4.0.1",
389
+ "normalize-path": "~3.0.0",
390
+ "readdirp": "~3.6.0"
391
  },
392
  "engines": {
393
+ "node": ">= 8.10.0"
394
  },
395
  "funding": {
396
+ "url": "https://paulmillr.com/funding/"
397
+ },
398
+ "optionalDependencies": {
399
+ "fsevents": "~2.3.2"
400
  }
401
  },
402
+ "node_modules/concat-map": {
403
+ "version": "0.0.1",
404
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
405
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
406
+ "license": "MIT"
407
+ },
408
+ "node_modules/content-disposition": {
409
+ "version": "0.5.4",
410
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
411
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
412
+ "license": "MIT",
413
  "dependencies": {
414
+ "safe-buffer": "5.2.1"
415
  },
416
  "engines": {
417
+ "node": ">= 0.6"
418
  }
419
  },
420
+ "node_modules/content-disposition/node_modules/safe-buffer": {
421
+ "version": "5.2.1",
422
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
423
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
424
+ "funding": [
425
+ {
426
+ "type": "github",
427
+ "url": "https://github.com/sponsors/feross"
428
+ },
429
+ {
430
+ "type": "patreon",
431
+ "url": "https://www.patreon.com/feross"
432
+ },
433
+ {
434
+ "type": "consulting",
435
+ "url": "https://feross.org/support"
436
+ }
437
+ ],
438
+ "license": "MIT"
439
  },
440
+ "node_modules/content-type": {
441
+ "version": "1.0.5",
442
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
443
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
444
+ "license": "MIT",
445
  "engines": {
446
+ "node": ">= 0.6"
447
  }
448
  },
449
+ "node_modules/cookie": {
450
+ "version": "0.7.1",
451
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
452
+ "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
453
+ "license": "MIT",
454
+ "engines": {
455
+ "node": ">= 0.6"
456
+ }
457
+ },
458
+ "node_modules/cookie-signature": {
459
+ "version": "1.0.6",
460
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
461
+ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
462
+ "license": "MIT"
463
+ },
464
+ "node_modules/create-require": {
465
+ "version": "1.1.1",
466
+ "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
467
+ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==",
468
+ "license": "MIT"
469
+ },
470
  "node_modules/debug": {
471
  "version": "3.2.7",
472
  "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
473
  "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
 
474
  "dependencies": {
475
  "ms": "^2.1.1"
476
  }
477
  },
478
+ "node_modules/depd": {
479
+ "version": "2.0.0",
480
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
481
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
482
+ "license": "MIT",
483
+ "engines": {
484
+ "node": ">= 0.8"
485
+ }
486
+ },
487
+ "node_modules/destroy": {
488
+ "version": "1.2.0",
489
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
490
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
491
+ "license": "MIT",
492
+ "engines": {
493
+ "node": ">= 0.8",
494
+ "npm": "1.2.8000 || >= 1.4.16"
495
+ }
496
+ },
497
+ "node_modules/diff": {
498
+ "version": "4.0.2",
499
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
500
+ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
501
+ "license": "BSD-3-Clause",
502
+ "engines": {
503
+ "node": ">=0.3.1"
504
+ }
505
+ },
506
  "node_modules/dunder-proto": {
507
  "version": "1.0.1",
508
  "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
509
  "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
 
510
  "dependencies": {
511
  "call-bind-apply-helpers": "^1.0.1",
512
  "es-errors": "^1.3.0",
 
516
  "node": ">= 0.4"
517
  }
518
  },
519
+ "node_modules/ee-first": {
520
+ "version": "1.1.1",
521
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
522
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
523
+ "license": "MIT"
524
+ },
525
+ "node_modules/encodeurl": {
526
+ "version": "2.0.0",
527
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
528
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
529
+ "license": "MIT",
530
+ "engines": {
531
+ "node": ">= 0.8"
532
+ }
533
+ },
534
  "node_modules/es-define-property": {
535
  "version": "1.0.1",
536
  "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
537
  "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
 
538
  "engines": {
539
  "node": ">= 0.4"
540
  }
 
543
  "version": "1.3.0",
544
  "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
545
  "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
 
546
  "engines": {
547
  "node": ">= 0.4"
548
  }
 
551
  "version": "1.1.1",
552
  "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
553
  "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
 
554
  "dependencies": {
555
  "es-errors": "^1.3.0"
556
  },
 
558
  "node": ">= 0.4"
559
  }
560
  },
561
+ "node_modules/escape-html": {
562
+ "version": "1.0.3",
563
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
564
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
565
+ "license": "MIT"
566
+ },
567
+ "node_modules/etag": {
568
+ "version": "1.8.1",
569
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
570
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
571
+ "license": "MIT",
572
+ "engines": {
573
+ "node": ">= 0.6"
574
+ }
575
+ },
576
+ "node_modules/express": {
577
+ "version": "4.21.2",
578
+ "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
579
+ "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
580
+ "license": "MIT",
581
+ "dependencies": {
582
+ "accepts": "~1.3.8",
583
+ "array-flatten": "1.1.1",
584
+ "body-parser": "1.20.3",
585
+ "content-disposition": "0.5.4",
586
+ "content-type": "~1.0.4",
587
+ "cookie": "0.7.1",
588
+ "cookie-signature": "1.0.6",
589
+ "debug": "2.6.9",
590
+ "depd": "2.0.0",
591
+ "encodeurl": "~2.0.0",
592
+ "escape-html": "~1.0.3",
593
+ "etag": "~1.8.1",
594
+ "finalhandler": "1.3.1",
595
+ "fresh": "0.5.2",
596
+ "http-errors": "2.0.0",
597
+ "merge-descriptors": "1.0.3",
598
+ "methods": "~1.1.2",
599
+ "on-finished": "2.4.1",
600
+ "parseurl": "~1.3.3",
601
+ "path-to-regexp": "0.1.12",
602
+ "proxy-addr": "~2.0.7",
603
+ "qs": "6.13.0",
604
+ "range-parser": "~1.2.1",
605
+ "safe-buffer": "5.2.1",
606
+ "send": "0.19.0",
607
+ "serve-static": "1.16.2",
608
+ "setprototypeof": "1.2.0",
609
+ "statuses": "2.0.1",
610
+ "type-is": "~1.6.18",
611
+ "utils-merge": "1.0.1",
612
+ "vary": "~1.1.2"
613
  },
614
  "engines": {
615
+ "node": ">= 0.10.0"
616
  },
617
+ "funding": {
618
+ "type": "opencollective",
619
+ "url": "https://opencollective.com/express"
620
+ }
621
+ },
622
+ "node_modules/express/node_modules/debug": {
623
+ "version": "2.6.9",
624
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
625
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
626
+ "license": "MIT",
627
+ "dependencies": {
628
+ "ms": "2.0.0"
629
+ }
630
+ },
631
+ "node_modules/express/node_modules/ms": {
632
+ "version": "2.0.0",
633
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
634
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
635
+ "license": "MIT"
636
+ },
637
+ "node_modules/express/node_modules/qs": {
638
+ "version": "6.13.0",
639
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
640
+ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
641
+ "license": "BSD-3-Clause",
642
+ "dependencies": {
643
+ "side-channel": "^1.0.6"
644
+ },
645
+ "engines": {
646
+ "node": ">=0.6"
647
+ },
648
+ "funding": {
649
+ "url": "https://github.com/sponsors/ljharb"
650
+ }
651
+ },
652
+ "node_modules/express/node_modules/safe-buffer": {
653
+ "version": "5.2.1",
654
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
655
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
656
  "funding": [
657
  {
658
+ "type": "github",
659
+ "url": "https://github.com/sponsors/feross"
660
+ },
661
+ {
662
+ "type": "patreon",
663
+ "url": "https://www.patreon.com/feross"
664
+ },
665
+ {
666
+ "type": "consulting",
667
+ "url": "https://feross.org/support"
668
  }
669
  ],
670
+ "license": "MIT"
671
+ },
672
+ "node_modules/fill-range": {
673
+ "version": "7.1.1",
674
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
675
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
676
+ "license": "MIT",
677
+ "dependencies": {
678
+ "to-regex-range": "^5.0.1"
679
+ },
680
  "engines": {
681
+ "node": ">=8"
682
+ }
683
+ },
684
+ "node_modules/finalhandler": {
685
+ "version": "1.3.1",
686
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
687
+ "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
688
+ "license": "MIT",
689
+ "dependencies": {
690
+ "debug": "2.6.9",
691
+ "encodeurl": "~2.0.0",
692
+ "escape-html": "~1.0.3",
693
+ "on-finished": "2.4.1",
694
+ "parseurl": "~1.3.3",
695
+ "statuses": "2.0.1",
696
+ "unpipe": "~1.0.0"
697
  },
698
+ "engines": {
699
+ "node": ">= 0.8"
700
+ }
701
+ },
702
+ "node_modules/finalhandler/node_modules/debug": {
703
+ "version": "2.6.9",
704
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
705
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
706
+ "license": "MIT",
707
+ "dependencies": {
708
+ "ms": "2.0.0"
709
+ }
710
+ },
711
+ "node_modules/finalhandler/node_modules/ms": {
712
+ "version": "2.0.0",
713
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
714
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
715
+ "license": "MIT"
716
+ },
717
+ "node_modules/forwarded": {
718
+ "version": "0.2.0",
719
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
720
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
721
+ "license": "MIT",
722
+ "engines": {
723
+ "node": ">= 0.6"
724
+ }
725
+ },
726
+ "node_modules/fresh": {
727
+ "version": "0.5.2",
728
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
729
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
730
+ "license": "MIT",
731
+ "engines": {
732
+ "node": ">= 0.6"
733
+ }
734
+ },
735
+ "node_modules/fsevents": {
736
+ "version": "2.3.3",
737
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
738
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
739
+ "hasInstallScript": true,
740
+ "license": "MIT",
741
+ "optional": true,
742
+ "os": [
743
+ "darwin"
744
+ ],
745
+ "engines": {
746
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
747
  }
748
  },
749
  "node_modules/function-bind": {
750
  "version": "1.1.2",
751
  "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
752
  "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
 
753
  "funding": {
754
  "url": "https://github.com/sponsors/ljharb"
755
  }
 
758
  "version": "1.2.7",
759
  "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz",
760
  "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==",
 
761
  "dependencies": {
762
  "call-bind-apply-helpers": "^1.0.1",
763
  "es-define-property": "^1.0.1",
 
781
  "version": "1.0.1",
782
  "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
783
  "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
 
784
  "dependencies": {
785
  "dunder-proto": "^1.0.1",
786
  "es-object-atoms": "^1.0.0"
 
789
  "node": ">= 0.4"
790
  }
791
  },
792
+ "node_modules/glob-parent": {
793
+ "version": "5.1.2",
794
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
795
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
796
+ "license": "ISC",
797
+ "dependencies": {
798
+ "is-glob": "^4.0.1"
799
+ },
800
+ "engines": {
801
+ "node": ">= 6"
802
+ }
803
+ },
804
  "node_modules/gopd": {
805
  "version": "1.2.0",
806
  "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
807
  "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
 
808
  "engines": {
809
  "node": ">= 0.4"
810
  },
 
812
  "url": "https://github.com/sponsors/ljharb"
813
  }
814
  },
 
 
 
 
 
 
 
 
 
815
  "node_modules/has-symbols": {
816
  "version": "1.1.0",
817
  "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
818
  "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
 
819
  "engines": {
820
  "node": ">= 0.4"
821
  },
 
827
  "version": "2.0.2",
828
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
829
  "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
 
830
  "dependencies": {
831
  "function-bind": "^1.1.2"
832
  },
 
834
  "node": ">= 0.4"
835
  }
836
  },
837
+ "node_modules/http-errors": {
838
+ "version": "2.0.0",
839
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
840
+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
841
+ "license": "MIT",
 
 
 
 
 
 
 
 
 
842
  "dependencies": {
843
+ "depd": "2.0.0",
844
+ "inherits": "2.0.4",
845
+ "setprototypeof": "1.2.0",
846
+ "statuses": "2.0.1",
847
+ "toidentifier": "1.0.1"
848
  },
849
  "engines": {
850
+ "node": ">= 0.8"
851
  }
852
  },
853
+ "node_modules/ignore-by-default": {
854
+ "version": "1.0.1",
855
+ "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
856
+ "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==",
857
+ "license": "ISC"
858
+ },
859
+ "node_modules/inherits": {
860
+ "version": "2.0.4",
861
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
862
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
863
+ "license": "ISC"
864
+ },
865
+ "node_modules/ipaddr.js": {
866
+ "version": "1.9.1",
867
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
868
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
869
+ "license": "MIT",
870
  "engines": {
871
+ "node": ">= 0.10"
872
  }
873
  },
874
+ "node_modules/is-binary-path": {
875
+ "version": "2.1.0",
876
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
877
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
878
+ "license": "MIT",
879
  "dependencies": {
880
+ "binary-extensions": "^2.0.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
881
  },
882
  "engines": {
883
+ "node": ">=8"
884
  }
885
  },
886
+ "node_modules/is-extglob": {
887
+ "version": "2.1.1",
888
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
889
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
890
+ "license": "MIT",
891
+ "engines": {
892
+ "node": ">=0.10.0"
893
+ }
894
+ },
895
+ "node_modules/is-glob": {
896
+ "version": "4.0.3",
897
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
898
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
899
+ "license": "MIT",
900
  "dependencies": {
901
+ "is-extglob": "^2.1.1"
902
  },
903
  "engines": {
904
  "node": ">=0.10.0"
905
  }
906
  },
907
+ "node_modules/is-number": {
908
+ "version": "7.0.0",
909
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
910
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
911
+ "license": "MIT",
912
+ "engines": {
913
+ "node": ">=0.12.0"
914
+ }
915
+ },
916
+ "node_modules/make-error": {
917
+ "version": "1.3.6",
918
+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
919
+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
920
+ "license": "ISC"
921
  },
922
  "node_modules/math-intrinsics": {
923
  "version": "1.1.0",
924
  "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
925
  "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
 
926
  "engines": {
927
  "node": ">= 0.4"
928
  }
929
  },
930
+ "node_modules/media-typer": {
931
+ "version": "0.3.0",
932
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
933
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
934
+ "license": "MIT",
935
+ "engines": {
936
+ "node": ">= 0.6"
937
+ }
938
+ },
939
+ "node_modules/merge-descriptors": {
940
+ "version": "1.0.3",
941
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
942
+ "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
943
+ "license": "MIT",
944
+ "funding": {
945
+ "url": "https://github.com/sponsors/sindresorhus"
946
+ }
947
+ },
948
+ "node_modules/methods": {
949
+ "version": "1.1.2",
950
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
951
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
952
+ "license": "MIT",
953
+ "engines": {
954
+ "node": ">= 0.6"
955
+ }
956
+ },
957
  "node_modules/mime": {
958
  "version": "1.6.0",
959
  "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
960
  "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
 
961
  "bin": {
962
  "mime": "cli.js"
963
  },
 
965
  "node": ">=4"
966
  }
967
  },
968
+ "node_modules/mime-db": {
969
+ "version": "1.52.0",
970
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
971
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
972
+ "license": "MIT",
973
+ "engines": {
974
+ "node": ">= 0.6"
975
  }
976
  },
977
+ "node_modules/mime-types": {
978
+ "version": "2.1.35",
979
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
980
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
981
+ "license": "MIT",
982
  "dependencies": {
983
+ "mime-db": "1.52.0"
984
  },
985
+ "engines": {
986
+ "node": ">= 0.6"
987
+ }
988
+ },
989
+ "node_modules/minimatch": {
990
+ "version": "3.1.2",
991
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
992
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
993
+ "license": "ISC",
994
+ "dependencies": {
995
+ "brace-expansion": "^1.1.7"
996
+ },
997
+ "engines": {
998
+ "node": "*"
999
  }
1000
  },
1001
  "node_modules/ms": {
1002
  "version": "2.1.3",
1003
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1004
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
1005
+ },
1006
+ "node_modules/negotiator": {
1007
+ "version": "0.6.3",
1008
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
1009
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
1010
+ "license": "MIT",
1011
+ "engines": {
1012
+ "node": ">= 0.6"
1013
+ }
1014
+ },
1015
+ "node_modules/nodemon": {
1016
+ "version": "2.0.22",
1017
+ "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz",
1018
+ "integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==",
1019
+ "license": "MIT",
1020
+ "dependencies": {
1021
+ "chokidar": "^3.5.2",
1022
+ "debug": "^3.2.7",
1023
+ "ignore-by-default": "^1.0.1",
1024
+ "minimatch": "^3.1.2",
1025
+ "pstree.remy": "^1.1.8",
1026
+ "semver": "^5.7.1",
1027
+ "simple-update-notifier": "^1.0.7",
1028
+ "supports-color": "^5.5.0",
1029
+ "touch": "^3.1.0",
1030
+ "undefsafe": "^2.0.5"
1031
+ },
1032
+ "bin": {
1033
+ "nodemon": "bin/nodemon.js"
1034
+ },
1035
+ "engines": {
1036
+ "node": ">=8.10.0"
1037
+ },
1038
+ "funding": {
1039
+ "type": "opencollective",
1040
+ "url": "https://opencollective.com/nodemon"
1041
+ }
1042
+ },
1043
+ "node_modules/nodemon/node_modules/has-flag": {
1044
+ "version": "3.0.0",
1045
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
1046
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
1047
+ "license": "MIT",
1048
+ "engines": {
1049
+ "node": ">=4"
1050
+ }
1051
+ },
1052
+ "node_modules/nodemon/node_modules/supports-color": {
1053
+ "version": "5.5.0",
1054
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1055
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1056
+ "license": "MIT",
1057
+ "dependencies": {
1058
+ "has-flag": "^3.0.0"
1059
+ },
1060
+ "engines": {
1061
+ "node": ">=4"
1062
+ }
1063
+ },
1064
+ "node_modules/normalize-path": {
1065
+ "version": "3.0.0",
1066
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
1067
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
1068
+ "license": "MIT",
1069
+ "engines": {
1070
+ "node": ">=0.10.0"
1071
+ }
1072
  },
1073
  "node_modules/object-inspect": {
1074
  "version": "1.13.4",
1075
  "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
1076
  "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
 
1077
  "engines": {
1078
  "node": ">= 0.4"
1079
  },
 
1081
  "url": "https://github.com/sponsors/ljharb"
1082
  }
1083
  },
1084
+ "node_modules/on-finished": {
1085
+ "version": "2.4.1",
1086
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
1087
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
1088
+ "license": "MIT",
1089
+ "dependencies": {
1090
+ "ee-first": "1.1.1"
1091
+ },
1092
+ "engines": {
1093
+ "node": ">= 0.8"
1094
+ }
1095
+ },
1096
+ "node_modules/parseurl": {
1097
+ "version": "1.3.3",
1098
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
1099
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
1100
+ "license": "MIT",
1101
+ "engines": {
1102
+ "node": ">= 0.8"
1103
+ }
1104
+ },
1105
+ "node_modules/path-to-regexp": {
1106
+ "version": "0.1.12",
1107
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
1108
+ "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
1109
+ "license": "MIT"
1110
+ },
1111
+ "node_modules/picomatch": {
1112
+ "version": "2.3.1",
1113
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
1114
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
1115
+ "license": "MIT",
1116
+ "engines": {
1117
+ "node": ">=8.6"
1118
+ },
1119
+ "funding": {
1120
+ "url": "https://github.com/sponsors/jonschlinkert"
1121
  }
1122
  },
1123
+ "node_modules/proxy-addr": {
1124
+ "version": "2.0.7",
1125
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
1126
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
1127
+ "license": "MIT",
1128
  "dependencies": {
1129
+ "forwarded": "0.2.0",
1130
+ "ipaddr.js": "1.9.1"
 
1131
  },
1132
  "engines": {
1133
+ "node": ">= 0.10"
1134
  }
1135
  },
1136
+ "node_modules/pstree.remy": {
1137
+ "version": "1.1.8",
1138
+ "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
1139
+ "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==",
1140
+ "license": "MIT"
1141
+ },
1142
+ "node_modules/range-parser": {
1143
+ "version": "1.2.1",
1144
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
1145
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
1146
+ "license": "MIT",
1147
+ "engines": {
1148
+ "node": ">= 0.6"
1149
+ }
1150
+ },
1151
+ "node_modules/raw-body": {
1152
+ "version": "2.5.2",
1153
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
1154
+ "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
1155
+ "license": "MIT",
1156
  "dependencies": {
1157
+ "bytes": "3.1.2",
1158
+ "http-errors": "2.0.0",
1159
+ "iconv-lite": "0.4.24",
1160
+ "unpipe": "1.0.0"
1161
  },
1162
  "engines": {
1163
+ "node": ">= 0.8"
 
 
 
1164
  }
1165
  },
1166
+ "node_modules/raw-body/node_modules/iconv-lite": {
1167
+ "version": "0.4.24",
1168
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
1169
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
1170
+ "license": "MIT",
1171
+ "dependencies": {
1172
+ "safer-buffer": ">= 2.1.2 < 3"
1173
+ },
1174
+ "engines": {
1175
+ "node": ">=0.10.0"
1176
+ }
1177
  },
1178
+ "node_modules/readdirp": {
1179
+ "version": "3.6.0",
1180
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
1181
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
1182
+ "license": "MIT",
1183
+ "dependencies": {
1184
+ "picomatch": "^2.2.1"
1185
+ },
1186
+ "engines": {
1187
+ "node": ">=8.10.0"
1188
+ }
1189
  },
1190
  "node_modules/safer-buffer": {
1191
  "version": "2.1.2",
1192
  "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1193
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
 
1194
  },
1195
+ "node_modules/semver": {
1196
+ "version": "5.7.2",
1197
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
1198
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
1199
+ "license": "ISC",
1200
+ "bin": {
1201
+ "semver": "bin/semver"
1202
+ }
1203
+ },
1204
+ "node_modules/send": {
1205
+ "version": "0.19.0",
1206
+ "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
1207
+ "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
1208
+ "license": "MIT",
1209
+ "dependencies": {
1210
+ "debug": "2.6.9",
1211
+ "depd": "2.0.0",
1212
+ "destroy": "1.2.0",
1213
+ "encodeurl": "~1.0.2",
1214
+ "escape-html": "~1.0.3",
1215
+ "etag": "~1.8.1",
1216
+ "fresh": "0.5.2",
1217
+ "http-errors": "2.0.0",
1218
+ "mime": "1.6.0",
1219
+ "ms": "2.1.3",
1220
+ "on-finished": "2.4.1",
1221
+ "range-parser": "~1.2.1",
1222
+ "statuses": "2.0.1"
1223
+ },
1224
+ "engines": {
1225
+ "node": ">= 0.8.0"
1226
+ }
1227
+ },
1228
+ "node_modules/send/node_modules/debug": {
1229
+ "version": "2.6.9",
1230
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
1231
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
1232
+ "license": "MIT",
1233
+ "dependencies": {
1234
+ "ms": "2.0.0"
1235
+ }
1236
+ },
1237
+ "node_modules/send/node_modules/debug/node_modules/ms": {
1238
+ "version": "2.0.0",
1239
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
1240
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
1241
+ "license": "MIT"
1242
+ },
1243
+ "node_modules/send/node_modules/encodeurl": {
1244
+ "version": "1.0.2",
1245
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
1246
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
1247
+ "license": "MIT",
1248
+ "engines": {
1249
+ "node": ">= 0.8"
1250
+ }
1251
+ },
1252
+ "node_modules/serve-static": {
1253
+ "version": "1.16.2",
1254
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
1255
+ "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
1256
+ "license": "MIT",
1257
+ "dependencies": {
1258
+ "encodeurl": "~2.0.0",
1259
+ "escape-html": "~1.0.3",
1260
+ "parseurl": "~1.3.3",
1261
+ "send": "0.19.0"
1262
+ },
1263
+ "engines": {
1264
+ "node": ">= 0.8.0"
1265
+ }
1266
+ },
1267
+ "node_modules/setprototypeof": {
1268
+ "version": "1.2.0",
1269
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
1270
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
1271
+ "license": "ISC"
1272
  },
1273
  "node_modules/side-channel": {
1274
  "version": "1.1.0",
1275
  "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
1276
  "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
 
1277
  "dependencies": {
1278
  "es-errors": "^1.3.0",
1279
  "object-inspect": "^1.13.3",
 
1292
  "version": "1.0.0",
1293
  "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
1294
  "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
 
1295
  "dependencies": {
1296
  "es-errors": "^1.3.0",
1297
  "object-inspect": "^1.13.3"
 
1307
  "version": "1.0.1",
1308
  "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
1309
  "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
 
1310
  "dependencies": {
1311
  "call-bound": "^1.0.2",
1312
  "es-errors": "^1.3.0",
 
1324
  "version": "1.0.2",
1325
  "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
1326
  "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
 
1327
  "dependencies": {
1328
  "call-bound": "^1.0.2",
1329
  "es-errors": "^1.3.0",
 
1338
  "url": "https://github.com/sponsors/ljharb"
1339
  }
1340
  },
1341
+ "node_modules/simple-update-notifier": {
1342
+ "version": "1.1.0",
1343
+ "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz",
1344
+ "integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==",
1345
+ "license": "MIT",
1346
  "dependencies": {
1347
+ "semver": "~7.0.0"
1348
  },
1349
  "engines": {
1350
+ "node": ">=8.10.0"
1351
+ }
1352
+ },
1353
+ "node_modules/simple-update-notifier/node_modules/semver": {
1354
+ "version": "7.0.0",
1355
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
1356
+ "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==",
1357
+ "license": "ISC",
1358
+ "bin": {
1359
+ "semver": "bin/semver.js"
1360
+ }
1361
+ },
1362
+ "node_modules/statuses": {
1363
+ "version": "2.0.1",
1364
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
1365
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
1366
+ "license": "MIT",
1367
+ "engines": {
1368
+ "node": ">= 0.8"
1369
+ }
1370
+ },
1371
+ "node_modules/to-regex-range": {
1372
+ "version": "5.0.1",
1373
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
1374
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
1375
+ "license": "MIT",
1376
+ "dependencies": {
1377
+ "is-number": "^7.0.0"
1378
+ },
1379
+ "engines": {
1380
+ "node": ">=8.0"
1381
+ }
1382
+ },
1383
+ "node_modules/toidentifier": {
1384
+ "version": "1.0.1",
1385
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
1386
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
1387
+ "license": "MIT",
1388
+ "engines": {
1389
+ "node": ">=0.6"
1390
+ }
1391
+ },
1392
+ "node_modules/touch": {
1393
+ "version": "3.1.1",
1394
+ "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz",
1395
+ "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==",
1396
+ "license": "ISC",
1397
+ "bin": {
1398
+ "nodetouch": "bin/nodetouch.js"
1399
+ }
1400
+ },
1401
+ "node_modules/ts-node": {
1402
+ "version": "10.9.2",
1403
+ "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz",
1404
+ "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==",
1405
+ "license": "MIT",
1406
+ "dependencies": {
1407
+ "@cspotcode/source-map-support": "^0.8.0",
1408
+ "@tsconfig/node10": "^1.0.7",
1409
+ "@tsconfig/node12": "^1.0.7",
1410
+ "@tsconfig/node14": "^1.0.0",
1411
+ "@tsconfig/node16": "^1.0.2",
1412
+ "acorn": "^8.4.1",
1413
+ "acorn-walk": "^8.1.1",
1414
+ "arg": "^4.1.0",
1415
+ "create-require": "^1.1.0",
1416
+ "diff": "^4.0.1",
1417
+ "make-error": "^1.1.1",
1418
+ "v8-compile-cache-lib": "^3.0.1",
1419
+ "yn": "3.1.1"
1420
+ },
1421
+ "bin": {
1422
+ "ts-node": "dist/bin.js",
1423
+ "ts-node-cwd": "dist/bin-cwd.js",
1424
+ "ts-node-esm": "dist/bin-esm.js",
1425
+ "ts-node-script": "dist/bin-script.js",
1426
+ "ts-node-transpile-only": "dist/bin-transpile.js",
1427
+ "ts-script": "dist/bin-script-deprecated.js"
1428
+ },
1429
+ "peerDependencies": {
1430
+ "@swc/core": ">=1.2.50",
1431
+ "@swc/wasm": ">=1.2.50",
1432
+ "@types/node": "*",
1433
+ "typescript": ">=2.7"
1434
+ },
1435
+ "peerDependenciesMeta": {
1436
+ "@swc/core": {
1437
+ "optional": true
1438
+ },
1439
+ "@swc/wasm": {
1440
+ "optional": true
1441
+ }
1442
+ }
1443
+ },
1444
+ "node_modules/type-is": {
1445
+ "version": "1.6.18",
1446
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
1447
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
1448
+ "license": "MIT",
1449
+ "dependencies": {
1450
+ "media-typer": "0.3.0",
1451
+ "mime-types": "~2.1.24"
1452
+ },
1453
+ "engines": {
1454
+ "node": ">= 0.6"
1455
  }
1456
  },
1457
  "node_modules/typescript": {
1458
  "version": "5.7.3",
1459
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
1460
  "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
1461
+ "peer": true,
1462
  "bin": {
1463
  "tsc": "bin/tsc",
1464
  "tsserver": "bin/tsserver"
 
1467
  "node": ">=14.17"
1468
  }
1469
  },
1470
+ "node_modules/undefsafe": {
1471
+ "version": "2.0.5",
1472
+ "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
1473
+ "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==",
1474
+ "license": "MIT"
1475
+ },
1476
+ "node_modules/undici-types": {
1477
+ "version": "5.26.5",
1478
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
1479
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
1480
+ "license": "MIT"
1481
+ },
1482
+ "node_modules/unpipe": {
1483
+ "version": "1.0.0",
1484
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
1485
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
1486
+ "license": "MIT",
1487
  "engines": {
1488
+ "node": ">= 0.8"
1489
  }
1490
  },
1491
+ "node_modules/utils-merge": {
1492
+ "version": "1.0.1",
1493
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
1494
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
1495
+ "license": "MIT",
1496
+ "engines": {
1497
+ "node": ">= 0.4.0"
1498
+ }
1499
  },
1500
+ "node_modules/v8-compile-cache-lib": {
1501
+ "version": "3.0.1",
1502
+ "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
1503
+ "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==",
1504
+ "license": "MIT"
1505
+ },
1506
+ "node_modules/vary": {
1507
+ "version": "1.1.2",
1508
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
1509
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
1510
+ "license": "MIT",
1511
  "engines": {
1512
+ "node": ">= 0.8"
1513
+ }
1514
+ },
1515
+ "node_modules/yn": {
1516
+ "version": "3.1.1",
1517
+ "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
1518
+ "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
1519
+ "license": "MIT",
1520
+ "engines": {
1521
+ "node": ">=6"
1522
  }
1523
  }
1524
  }
package.json CHANGED
@@ -1,18 +1,9 @@
1
  {
2
- "name": "static-ts-site",
3
- "version": "1.0.0",
4
- "description": "Static site with TypeScript",
5
- "scripts": {
6
- "build": "esbuild src/main.ts --bundle --outfile=dist/main.js --format=esm --platform=node",
7
- "watch": "esbuild src/main.ts --bundle --outfile=dist/main.js --format=esm --platform=node --watch"
8
- },
9
- "devDependencies": {
10
- "esbuild": "^0.20.0",
11
- "http-server": "^14.1.1",
12
- "typescript": "^5.0.0"
13
- },
14
  "dependencies": {
15
- "@huggingface/hub": "^1.0.1",
16
- "@huggingface/inference": "^3.3.3"
 
 
 
17
  }
18
  }
 
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
2
  "dependencies": {
3
+ "@types/express": "^4.17.15",
4
+ "@types/node": "^18.11.18",
5
+ "express": "^4.18.2",
6
+ "nodemon": "^2.0.20",
7
+ "ts-node": "^10.9.1"
8
  }
9
  }
server.ts ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as express from "express";
2
+
3
+ const PORT = 7860;
4
+
5
+ if (!process.env.WEBHOOK_SECRET || !process.env.HF_TOKEN) {
6
+ console.error(
7
+ "This app needs those env variables to be defined",
8
+ "WEBHOOK_SECRET, HF_TOKEN"
9
+ );
10
+ process.exit();
11
+ }
12
+
13
+ const app = express();
14
+ app.use(express.json());
15
+
16
+ app.post("/", async (req, res) => {
17
+ if (req.header("X-Webhook-Secret") !== process.env.WEBHOOK_SECRET) {
18
+ console.error("incorrect secret");
19
+ return res.status(400).json({ error: "incorrect secret" });
20
+ }
21
+ console.log(req.body);
22
+ res.json({ success: true });
23
+ });
24
+
25
+ app.listen(PORT, () => {
26
+ console.debug(`server started at http://localhost:${PORT}`);
27
+ });
src/client.ts DELETED
@@ -1,44 +0,0 @@
1
- export class Client {
2
- private baseUrl: string;
3
- private token: string;
4
-
5
- constructor(baseUrl: string, token: string) {
6
- this.baseUrl = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
7
- this.token = token;
8
- }
9
-
10
- private getHeaders(contentType?: string): HeadersInit {
11
- const headers: HeadersInit = {
12
- Authorization: `Bearer ${this.token}`,
13
- };
14
- if (contentType) {
15
- headers["Content-Type"] = contentType;
16
- }
17
- return headers;
18
- }
19
-
20
- private async handleResponse<T>(response: Response): Promise<T> {
21
- if (!response.ok) {
22
- throw new Error(`API request failed: ${response.statusText}`);
23
- }
24
- return response.json();
25
- }
26
-
27
- async get<T>(path: string): Promise<T> {
28
- const url = `${this.baseUrl}${path.startsWith("/") ? path : "/" + path}`;
29
- const response = await fetch(url, {
30
- headers: this.getHeaders(),
31
- });
32
- return this.handleResponse<T>(response);
33
- }
34
-
35
- async post<T>(path: string, payload: unknown): Promise<T> {
36
- const url = `${this.baseUrl}${path.startsWith("/") ? path : "/" + path}`;
37
- const response = await fetch(url, {
38
- method: "POST",
39
- headers: this.getHeaders("application/json"),
40
- body: JSON.stringify(payload),
41
- });
42
- return this.handleResponse<T>(response);
43
- }
44
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/main.ts DELETED
@@ -1,139 +0,0 @@
1
- import { tokenManager } from "./token";
2
- import { Client } from "./client";
3
- import { WhoAmIUser } from "@huggingface/hub";
4
-
5
- const baseUrl = "https://huggingface.co/api";
6
-
7
- const showAuthenticatedUI = async () => {
8
- const accessToken = tokenManager.getAccessToken();
9
-
10
- if (!accessToken) {
11
- throw new Error("Access token not found");
12
- }
13
-
14
- const client = new Client(baseUrl, accessToken);
15
-
16
- const tokenForm = document.getElementById("token-form");
17
- const repoForm = document.getElementById("repo-form");
18
- const signoutButton = document.getElementById("signout");
19
- const createRepoButton = <HTMLButtonElement>(
20
- document.getElementById("create-repo")
21
- );
22
- const repoNameInput = <HTMLInputElement>document.getElementById("repo-name");
23
- const resourceGroupInput = <HTMLInputElement>(
24
- document.getElementById("resource-group-name")
25
- );
26
- const resourceGroupContainer = document.getElementById(
27
- "resource-group-container"
28
- );
29
-
30
- tokenForm!.style.display = "none";
31
- repoForm!.style.removeProperty("display");
32
- signoutButton!.style.removeProperty("display");
33
- signoutButton!.onclick = () => tokenManager.logout();
34
- createRepoButton!.onclick = async () => {
35
- const repoName = repoNameInput.value;
36
- if (!repoName) return alert("Provide a repo name");
37
-
38
- const orgSelect = <HTMLSelectElement>document.getElementById("org-select");
39
-
40
- const originalButtonText = createRepoButton!.textContent;
41
- createRepoButton!.textContent = "Creating...";
42
- createRepoButton!.disabled = true;
43
-
44
- try {
45
- const organizationName = orgSelect?.value || undefined;
46
- const resourceGroupName = organizationName
47
- ? resourceGroupInput?.value
48
- : undefined;
49
-
50
- // create repo
51
- const repo = await client.post<{ name: string }>("repos/create", {
52
- type: "model",
53
- name: repoName,
54
- organization: organizationName,
55
- private: true,
56
- });
57
-
58
- // create RG wi for repo
59
- if (resourceGroupName) {
60
- await client.post<void>(
61
- `organizations/${organizationName}/resource-groups`,
62
- {
63
- name: resourceGroupName,
64
- description: `Resource group for repository ${repo.name}`,
65
- repos: [{ ...repo, type: "model" }],
66
- autoJoin: {
67
- enabled: true,
68
- role: "admin",
69
- },
70
- }
71
- );
72
- }
73
-
74
- alert("Repository and resource group created successfully!");
75
- } catch (error) {
76
- console.error(error);
77
- alert("Failed to create repository");
78
- } finally {
79
- createRepoButton!.textContent = originalButtonText;
80
- createRepoButton!.disabled = false;
81
- }
82
- };
83
-
84
- // Handle org select change to show/hide resource group input
85
- const orgSelect = document.getElementById("org-select") as HTMLSelectElement;
86
- orgSelect.onchange = () => {
87
- if (orgSelect.value) {
88
- resourceGroupContainer!.style.removeProperty("display");
89
- } else {
90
- resourceGroupContainer!.style.display = "none";
91
- }
92
- };
93
-
94
- try {
95
- const userInfo = await client.get<WhoAmIUser>("whoami-v2");
96
-
97
- // Populate org select
98
- if (userInfo.orgs.length) {
99
- userInfo.orgs.forEach((org) => {
100
- const option = document.createElement("option");
101
- option.value = org.name;
102
- option.textContent = org.name;
103
- orgSelect.appendChild(option);
104
- });
105
- }
106
- } catch (error) {
107
- console.error(error);
108
- }
109
- };
110
-
111
- const showUnauthenticatedUI = () => {
112
- const tokenForm = document.getElementById("token-form");
113
- const tokenInput = <HTMLInputElement>document.getElementById("token-input");
114
- const tokenSubmit = document.getElementById("token-submit");
115
- const repoForm = document.getElementById("repo-form");
116
- const signoutButton = document.getElementById("signout");
117
-
118
- tokenForm!.style.removeProperty("display");
119
- tokenSubmit!.onclick = () => {
120
- const token = tokenInput.value;
121
- if (token) {
122
- tokenManager.setToken(token);
123
- showAuthenticatedUI();
124
- }
125
- };
126
-
127
- repoForm!.style.display = "none";
128
- signoutButton!.style.display = "none";
129
- };
130
-
131
- const init = async (): Promise<void> => {
132
- if (tokenManager.isAuthenticated()) {
133
- showAuthenticatedUI();
134
- } else {
135
- showUnauthenticatedUI();
136
- }
137
- };
138
-
139
- init();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/token.ts DELETED
@@ -1,33 +0,0 @@
1
- export type TokenResult = string | null;
2
-
3
- export class TokenManager {
4
- private token: TokenResult = null;
5
-
6
- constructor() {
7
- const storedToken = localStorage.getItem("token");
8
- if (storedToken) {
9
- this.token = storedToken;
10
- }
11
- }
12
-
13
- setToken(token: string): void {
14
- this.token = token;
15
- localStorage.setItem("token", token);
16
- }
17
-
18
- logout(): void {
19
- this.token = null;
20
- localStorage.removeItem("token");
21
- window.location.reload();
22
- }
23
-
24
- getAccessToken(): string | null {
25
- return this.token;
26
- }
27
-
28
- isAuthenticated(): boolean {
29
- return this.token !== null;
30
- }
31
- }
32
-
33
- export const tokenManager = new TokenManager();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
styles/main.css DELETED
@@ -1,86 +0,0 @@
1
- * {
2
- margin: 0;
3
- padding: 0;
4
- box-sizing: border-box;
5
- }
6
-
7
- body {
8
- font-family: Arial, sans-serif;
9
- line-height: 1.6;
10
- color: #333;
11
- background-color: #f5f7fa;
12
- padding: 32px;
13
- }
14
-
15
- #app {
16
- max-width: 800px;
17
- margin: 0 auto;
18
- text-align: center;
19
- }
20
-
21
- h1 {
22
- font-size: 44px;
23
- font-weight: bold;
24
- color: #333;
25
- margin-bottom: 32px;
26
- }
27
-
28
- h2 {
29
- font-size: 26px;
30
- color: #666;
31
- margin-bottom: 24px;
32
- }
33
-
34
- .token-form,
35
- .repo-form {
36
- max-width: 440px;
37
- margin: 32px auto;
38
- display: flex;
39
- gap: 16px;
40
- flex-wrap: wrap;
41
- }
42
-
43
- .repo-input {
44
- flex: 1;
45
- min-width: 220px;
46
- padding: 16px;
47
- border: 2px solid #ddd;
48
- border-radius: 8px;
49
- font-size: 16px;
50
- background-color: white;
51
- }
52
-
53
- .repo-input:focus {
54
- outline: none;
55
- border-color: #4a90e2;
56
- }
57
-
58
- .auth-button,
59
- .repo-button {
60
- background-color: #4a90e2;
61
- color: white;
62
- border: none;
63
- padding: 16px 24px;
64
- border-radius: 8px;
65
- font-size: 16px;
66
- font-weight: bold;
67
- cursor: pointer;
68
- }
69
-
70
- .auth-button:hover,
71
- .repo-button:hover {
72
- background-color: #357abd;
73
- }
74
-
75
- .auth-container {
76
- margin: 32px 0;
77
- }
78
-
79
- #content {
80
- padding: 32px;
81
- background-color: white;
82
- border-radius: 16px;
83
- margin-top: 32px;
84
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
85
- border: 1px solid #ddd;
86
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tsconfig.json CHANGED
@@ -1,15 +1,8 @@
1
  {
 
2
  "compilerOptions": {
3
- "target": "ES2015",
4
- "module": "ES2015",
5
- "moduleResolution": "node",
6
- "strict": true,
7
- "esModuleInterop": true,
8
- "skipLibCheck": true,
9
- "forceConsistentCasingInFileNames": true,
10
- "outDir": "./dist",
11
- "rootDir": "./src"
12
- },
13
- "include": ["src/**/*"],
14
- "exclude": ["node_modules"]
15
  }
 
1
  {
2
+ /// We can target es2022 according to https://github.com/tsconfig/bases/blob/main/bases/node18.json
3
  "compilerOptions": {
4
+ "target": "es2022",
5
+ "module": "commonjs",
6
+ "alwaysStrict": true
7
+ }
 
 
 
 
 
 
 
 
8
  }