Spaces:
Sleeping
Sleeping
Commit
•
5064319
0
Parent(s):
Duplicate from discussion-bot/webhook
Browse filesCo-authored-by: Discussion Bot (Bot) <discussion-bot@users.noreply.huggingface.co>
- .gitattributes +34 -0
- .gitignore +2 -0
- .prettierrc +3 -0
- .vscode/settings.json +4 -0
- Dockerfile +12 -0
- README.md +12 -0
- ngrok-start.sh +2 -0
- package-lock.json +1154 -0
- package.json +9 -0
- server.ts +73 -0
- supervisor.sh +3 -0
- tsconfig.json +8 -0
.gitattributes
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
node_modules/
|
2 |
+
|
.prettierrc
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"useTabs": true
|
3 |
+
}
|
.vscode/settings.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"editor.formatOnSave": true,
|
3 |
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
4 |
+
}
|
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
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Webhook
|
3 |
+
emoji: 👀
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: pink
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
license: mit
|
9 |
+
duplicated_from: discussion-bot/webhook
|
10 |
+
---
|
11 |
+
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
ngrok-start.sh
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
ngrok http --subdomain="moon-$USER" 7860
|
package-lock.json
ADDED
@@ -0,0 +1,1154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "discussion-bot-webhook",
|
3 |
+
"lockfileVersion": 3,
|
4 |
+
"requires": true,
|
5 |
+
"packages": {
|
6 |
+
"": {
|
7 |
+
"dependencies": {
|
8 |
+
"@types/express": "^4.17.15",
|
9 |
+
"@types/node": "^18.11.18",
|
10 |
+
"express": "^4.18.2",
|
11 |
+
"nodemon": "^2.0.20",
|
12 |
+
"ts-node": "^10.9.1"
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"node_modules/@cspotcode/source-map-support": {
|
16 |
+
"version": "0.8.1",
|
17 |
+
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
|
18 |
+
"integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
|
19 |
+
"dependencies": {
|
20 |
+
"@jridgewell/trace-mapping": "0.3.9"
|
21 |
+
},
|
22 |
+
"engines": {
|
23 |
+
"node": ">=12"
|
24 |
+
}
|
25 |
+
},
|
26 |
+
"node_modules/@jridgewell/resolve-uri": {
|
27 |
+
"version": "3.1.0",
|
28 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
|
29 |
+
"integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
|
30 |
+
"engines": {
|
31 |
+
"node": ">=6.0.0"
|
32 |
+
}
|
33 |
+
},
|
34 |
+
"node_modules/@jridgewell/sourcemap-codec": {
|
35 |
+
"version": "1.4.14",
|
36 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
|
37 |
+
"integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
|
38 |
+
},
|
39 |
+
"node_modules/@jridgewell/trace-mapping": {
|
40 |
+
"version": "0.3.9",
|
41 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
|
42 |
+
"integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
|
43 |
+
"dependencies": {
|
44 |
+
"@jridgewell/resolve-uri": "^3.0.3",
|
45 |
+
"@jridgewell/sourcemap-codec": "^1.4.10"
|
46 |
+
}
|
47 |
+
},
|
48 |
+
"node_modules/@tsconfig/node10": {
|
49 |
+
"version": "1.0.9",
|
50 |
+
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
|
51 |
+
"integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA=="
|
52 |
+
},
|
53 |
+
"node_modules/@tsconfig/node12": {
|
54 |
+
"version": "1.0.11",
|
55 |
+
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz",
|
56 |
+
"integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag=="
|
57 |
+
},
|
58 |
+
"node_modules/@tsconfig/node14": {
|
59 |
+
"version": "1.0.3",
|
60 |
+
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz",
|
61 |
+
"integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow=="
|
62 |
+
},
|
63 |
+
"node_modules/@tsconfig/node16": {
|
64 |
+
"version": "1.0.3",
|
65 |
+
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz",
|
66 |
+
"integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ=="
|
67 |
+
},
|
68 |
+
"node_modules/@types/body-parser": {
|
69 |
+
"version": "1.19.2",
|
70 |
+
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
|
71 |
+
"integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==",
|
72 |
+
"dependencies": {
|
73 |
+
"@types/connect": "*",
|
74 |
+
"@types/node": "*"
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"node_modules/@types/connect": {
|
78 |
+
"version": "3.4.35",
|
79 |
+
"resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz",
|
80 |
+
"integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==",
|
81 |
+
"dependencies": {
|
82 |
+
"@types/node": "*"
|
83 |
+
}
|
84 |
+
},
|
85 |
+
"node_modules/@types/express": {
|
86 |
+
"version": "4.17.15",
|
87 |
+
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.15.tgz",
|
88 |
+
"integrity": "sha512-Yv0k4bXGOH+8a+7bELd2PqHQsuiANB+A8a4gnQrkRWzrkKlb6KHaVvyXhqs04sVW/OWlbPyYxRgYlIXLfrufMQ==",
|
89 |
+
"dependencies": {
|
90 |
+
"@types/body-parser": "*",
|
91 |
+
"@types/express-serve-static-core": "^4.17.31",
|
92 |
+
"@types/qs": "*",
|
93 |
+
"@types/serve-static": "*"
|
94 |
+
}
|
95 |
+
},
|
96 |
+
"node_modules/@types/express-serve-static-core": {
|
97 |
+
"version": "4.17.32",
|
98 |
+
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.32.tgz",
|
99 |
+
"integrity": "sha512-aI5h/VOkxOF2Z1saPy0Zsxs5avets/iaiAJYznQFm5By/pamU31xWKL//epiF4OfUA2qTOc9PV6tCUjhO8wlZA==",
|
100 |
+
"dependencies": {
|
101 |
+
"@types/node": "*",
|
102 |
+
"@types/qs": "*",
|
103 |
+
"@types/range-parser": "*"
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"node_modules/@types/mime": {
|
107 |
+
"version": "3.0.1",
|
108 |
+
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz",
|
109 |
+
"integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA=="
|
110 |
+
},
|
111 |
+
"node_modules/@types/node": {
|
112 |
+
"version": "18.11.18",
|
113 |
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz",
|
114 |
+
"integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA=="
|
115 |
+
},
|
116 |
+
"node_modules/@types/qs": {
|
117 |
+
"version": "6.9.7",
|
118 |
+
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
|
119 |
+
"integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
|
120 |
+
},
|
121 |
+
"node_modules/@types/range-parser": {
|
122 |
+
"version": "1.2.4",
|
123 |
+
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
|
124 |
+
"integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
|
125 |
+
},
|
126 |
+
"node_modules/@types/serve-static": {
|
127 |
+
"version": "1.15.0",
|
128 |
+
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.0.tgz",
|
129 |
+
"integrity": "sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==",
|
130 |
+
"dependencies": {
|
131 |
+
"@types/mime": "*",
|
132 |
+
"@types/node": "*"
|
133 |
+
}
|
134 |
+
},
|
135 |
+
"node_modules/abbrev": {
|
136 |
+
"version": "1.1.1",
|
137 |
+
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
138 |
+
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
|
139 |
+
},
|
140 |
+
"node_modules/accepts": {
|
141 |
+
"version": "1.3.8",
|
142 |
+
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
|
143 |
+
"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
|
144 |
+
"dependencies": {
|
145 |
+
"mime-types": "~2.1.34",
|
146 |
+
"negotiator": "0.6.3"
|
147 |
+
},
|
148 |
+
"engines": {
|
149 |
+
"node": ">= 0.6"
|
150 |
+
}
|
151 |
+
},
|
152 |
+
"node_modules/acorn": {
|
153 |
+
"version": "8.8.1",
|
154 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
|
155 |
+
"integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",
|
156 |
+
"bin": {
|
157 |
+
"acorn": "bin/acorn"
|
158 |
+
},
|
159 |
+
"engines": {
|
160 |
+
"node": ">=0.4.0"
|
161 |
+
}
|
162 |
+
},
|
163 |
+
"node_modules/acorn-walk": {
|
164 |
+
"version": "8.2.0",
|
165 |
+
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",
|
166 |
+
"integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==",
|
167 |
+
"engines": {
|
168 |
+
"node": ">=0.4.0"
|
169 |
+
}
|
170 |
+
},
|
171 |
+
"node_modules/anymatch": {
|
172 |
+
"version": "3.1.3",
|
173 |
+
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
|
174 |
+
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
|
175 |
+
"dependencies": {
|
176 |
+
"normalize-path": "^3.0.0",
|
177 |
+
"picomatch": "^2.0.4"
|
178 |
+
},
|
179 |
+
"engines": {
|
180 |
+
"node": ">= 8"
|
181 |
+
}
|
182 |
+
},
|
183 |
+
"node_modules/arg": {
|
184 |
+
"version": "4.1.3",
|
185 |
+
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
|
186 |
+
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
|
187 |
+
},
|
188 |
+
"node_modules/array-flatten": {
|
189 |
+
"version": "1.1.1",
|
190 |
+
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
|
191 |
+
"integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
|
192 |
+
},
|
193 |
+
"node_modules/balanced-match": {
|
194 |
+
"version": "1.0.2",
|
195 |
+
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
196 |
+
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
|
197 |
+
},
|
198 |
+
"node_modules/binary-extensions": {
|
199 |
+
"version": "2.2.0",
|
200 |
+
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
|
201 |
+
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
|
202 |
+
"engines": {
|
203 |
+
"node": ">=8"
|
204 |
+
}
|
205 |
+
},
|
206 |
+
"node_modules/body-parser": {
|
207 |
+
"version": "1.20.1",
|
208 |
+
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz",
|
209 |
+
"integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==",
|
210 |
+
"dependencies": {
|
211 |
+
"bytes": "3.1.2",
|
212 |
+
"content-type": "~1.0.4",
|
213 |
+
"debug": "2.6.9",
|
214 |
+
"depd": "2.0.0",
|
215 |
+
"destroy": "1.2.0",
|
216 |
+
"http-errors": "2.0.0",
|
217 |
+
"iconv-lite": "0.4.24",
|
218 |
+
"on-finished": "2.4.1",
|
219 |
+
"qs": "6.11.0",
|
220 |
+
"raw-body": "2.5.1",
|
221 |
+
"type-is": "~1.6.18",
|
222 |
+
"unpipe": "1.0.0"
|
223 |
+
},
|
224 |
+
"engines": {
|
225 |
+
"node": ">= 0.8",
|
226 |
+
"npm": "1.2.8000 || >= 1.4.16"
|
227 |
+
}
|
228 |
+
},
|
229 |
+
"node_modules/brace-expansion": {
|
230 |
+
"version": "1.1.11",
|
231 |
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
232 |
+
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
233 |
+
"dependencies": {
|
234 |
+
"balanced-match": "^1.0.0",
|
235 |
+
"concat-map": "0.0.1"
|
236 |
+
}
|
237 |
+
},
|
238 |
+
"node_modules/braces": {
|
239 |
+
"version": "3.0.2",
|
240 |
+
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
|
241 |
+
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
|
242 |
+
"dependencies": {
|
243 |
+
"fill-range": "^7.0.1"
|
244 |
+
},
|
245 |
+
"engines": {
|
246 |
+
"node": ">=8"
|
247 |
+
}
|
248 |
+
},
|
249 |
+
"node_modules/bytes": {
|
250 |
+
"version": "3.1.2",
|
251 |
+
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
|
252 |
+
"integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
|
253 |
+
"engines": {
|
254 |
+
"node": ">= 0.8"
|
255 |
+
}
|
256 |
+
},
|
257 |
+
"node_modules/call-bind": {
|
258 |
+
"version": "1.0.2",
|
259 |
+
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
|
260 |
+
"integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
|
261 |
+
"dependencies": {
|
262 |
+
"function-bind": "^1.1.1",
|
263 |
+
"get-intrinsic": "^1.0.2"
|
264 |
+
},
|
265 |
+
"funding": {
|
266 |
+
"url": "https://github.com/sponsors/ljharb"
|
267 |
+
}
|
268 |
+
},
|
269 |
+
"node_modules/chokidar": {
|
270 |
+
"version": "3.5.3",
|
271 |
+
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
272 |
+
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
|
273 |
+
"funding": [
|
274 |
+
{
|
275 |
+
"type": "individual",
|
276 |
+
"url": "https://paulmillr.com/funding/"
|
277 |
+
}
|
278 |
+
],
|
279 |
+
"dependencies": {
|
280 |
+
"anymatch": "~3.1.2",
|
281 |
+
"braces": "~3.0.2",
|
282 |
+
"glob-parent": "~5.1.2",
|
283 |
+
"is-binary-path": "~2.1.0",
|
284 |
+
"is-glob": "~4.0.1",
|
285 |
+
"normalize-path": "~3.0.0",
|
286 |
+
"readdirp": "~3.6.0"
|
287 |
+
},
|
288 |
+
"engines": {
|
289 |
+
"node": ">= 8.10.0"
|
290 |
+
},
|
291 |
+
"optionalDependencies": {
|
292 |
+
"fsevents": "~2.3.2"
|
293 |
+
}
|
294 |
+
},
|
295 |
+
"node_modules/concat-map": {
|
296 |
+
"version": "0.0.1",
|
297 |
+
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
298 |
+
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
|
299 |
+
},
|
300 |
+
"node_modules/content-disposition": {
|
301 |
+
"version": "0.5.4",
|
302 |
+
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
|
303 |
+
"integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
|
304 |
+
"dependencies": {
|
305 |
+
"safe-buffer": "5.2.1"
|
306 |
+
},
|
307 |
+
"engines": {
|
308 |
+
"node": ">= 0.6"
|
309 |
+
}
|
310 |
+
},
|
311 |
+
"node_modules/content-type": {
|
312 |
+
"version": "1.0.4",
|
313 |
+
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
|
314 |
+
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
|
315 |
+
"engines": {
|
316 |
+
"node": ">= 0.6"
|
317 |
+
}
|
318 |
+
},
|
319 |
+
"node_modules/cookie": {
|
320 |
+
"version": "0.5.0",
|
321 |
+
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
|
322 |
+
"integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
|
323 |
+
"engines": {
|
324 |
+
"node": ">= 0.6"
|
325 |
+
}
|
326 |
+
},
|
327 |
+
"node_modules/cookie-signature": {
|
328 |
+
"version": "1.0.6",
|
329 |
+
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
|
330 |
+
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
|
331 |
+
},
|
332 |
+
"node_modules/create-require": {
|
333 |
+
"version": "1.1.1",
|
334 |
+
"resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
|
335 |
+
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
|
336 |
+
},
|
337 |
+
"node_modules/debug": {
|
338 |
+
"version": "2.6.9",
|
339 |
+
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
340 |
+
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
|
341 |
+
"dependencies": {
|
342 |
+
"ms": "2.0.0"
|
343 |
+
}
|
344 |
+
},
|
345 |
+
"node_modules/depd": {
|
346 |
+
"version": "2.0.0",
|
347 |
+
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
|
348 |
+
"integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
|
349 |
+
"engines": {
|
350 |
+
"node": ">= 0.8"
|
351 |
+
}
|
352 |
+
},
|
353 |
+
"node_modules/destroy": {
|
354 |
+
"version": "1.2.0",
|
355 |
+
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
|
356 |
+
"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
|
357 |
+
"engines": {
|
358 |
+
"node": ">= 0.8",
|
359 |
+
"npm": "1.2.8000 || >= 1.4.16"
|
360 |
+
}
|
361 |
+
},
|
362 |
+
"node_modules/diff": {
|
363 |
+
"version": "4.0.2",
|
364 |
+
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
|
365 |
+
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
|
366 |
+
"engines": {
|
367 |
+
"node": ">=0.3.1"
|
368 |
+
}
|
369 |
+
},
|
370 |
+
"node_modules/ee-first": {
|
371 |
+
"version": "1.1.1",
|
372 |
+
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
373 |
+
"integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
|
374 |
+
},
|
375 |
+
"node_modules/encodeurl": {
|
376 |
+
"version": "1.0.2",
|
377 |
+
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
|
378 |
+
"integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
|
379 |
+
"engines": {
|
380 |
+
"node": ">= 0.8"
|
381 |
+
}
|
382 |
+
},
|
383 |
+
"node_modules/escape-html": {
|
384 |
+
"version": "1.0.3",
|
385 |
+
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
|
386 |
+
"integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
|
387 |
+
},
|
388 |
+
"node_modules/etag": {
|
389 |
+
"version": "1.8.1",
|
390 |
+
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
|
391 |
+
"integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
|
392 |
+
"engines": {
|
393 |
+
"node": ">= 0.6"
|
394 |
+
}
|
395 |
+
},
|
396 |
+
"node_modules/express": {
|
397 |
+
"version": "4.18.2",
|
398 |
+
"resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz",
|
399 |
+
"integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==",
|
400 |
+
"dependencies": {
|
401 |
+
"accepts": "~1.3.8",
|
402 |
+
"array-flatten": "1.1.1",
|
403 |
+
"body-parser": "1.20.1",
|
404 |
+
"content-disposition": "0.5.4",
|
405 |
+
"content-type": "~1.0.4",
|
406 |
+
"cookie": "0.5.0",
|
407 |
+
"cookie-signature": "1.0.6",
|
408 |
+
"debug": "2.6.9",
|
409 |
+
"depd": "2.0.0",
|
410 |
+
"encodeurl": "~1.0.2",
|
411 |
+
"escape-html": "~1.0.3",
|
412 |
+
"etag": "~1.8.1",
|
413 |
+
"finalhandler": "1.2.0",
|
414 |
+
"fresh": "0.5.2",
|
415 |
+
"http-errors": "2.0.0",
|
416 |
+
"merge-descriptors": "1.0.1",
|
417 |
+
"methods": "~1.1.2",
|
418 |
+
"on-finished": "2.4.1",
|
419 |
+
"parseurl": "~1.3.3",
|
420 |
+
"path-to-regexp": "0.1.7",
|
421 |
+
"proxy-addr": "~2.0.7",
|
422 |
+
"qs": "6.11.0",
|
423 |
+
"range-parser": "~1.2.1",
|
424 |
+
"safe-buffer": "5.2.1",
|
425 |
+
"send": "0.18.0",
|
426 |
+
"serve-static": "1.15.0",
|
427 |
+
"setprototypeof": "1.2.0",
|
428 |
+
"statuses": "2.0.1",
|
429 |
+
"type-is": "~1.6.18",
|
430 |
+
"utils-merge": "1.0.1",
|
431 |
+
"vary": "~1.1.2"
|
432 |
+
},
|
433 |
+
"engines": {
|
434 |
+
"node": ">= 0.10.0"
|
435 |
+
}
|
436 |
+
},
|
437 |
+
"node_modules/fill-range": {
|
438 |
+
"version": "7.0.1",
|
439 |
+
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
440 |
+
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
|
441 |
+
"dependencies": {
|
442 |
+
"to-regex-range": "^5.0.1"
|
443 |
+
},
|
444 |
+
"engines": {
|
445 |
+
"node": ">=8"
|
446 |
+
}
|
447 |
+
},
|
448 |
+
"node_modules/finalhandler": {
|
449 |
+
"version": "1.2.0",
|
450 |
+
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
|
451 |
+
"integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
|
452 |
+
"dependencies": {
|
453 |
+
"debug": "2.6.9",
|
454 |
+
"encodeurl": "~1.0.2",
|
455 |
+
"escape-html": "~1.0.3",
|
456 |
+
"on-finished": "2.4.1",
|
457 |
+
"parseurl": "~1.3.3",
|
458 |
+
"statuses": "2.0.1",
|
459 |
+
"unpipe": "~1.0.0"
|
460 |
+
},
|
461 |
+
"engines": {
|
462 |
+
"node": ">= 0.8"
|
463 |
+
}
|
464 |
+
},
|
465 |
+
"node_modules/forwarded": {
|
466 |
+
"version": "0.2.0",
|
467 |
+
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
|
468 |
+
"integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
|
469 |
+
"engines": {
|
470 |
+
"node": ">= 0.6"
|
471 |
+
}
|
472 |
+
},
|
473 |
+
"node_modules/fresh": {
|
474 |
+
"version": "0.5.2",
|
475 |
+
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
476 |
+
"integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
|
477 |
+
"engines": {
|
478 |
+
"node": ">= 0.6"
|
479 |
+
}
|
480 |
+
},
|
481 |
+
"node_modules/fsevents": {
|
482 |
+
"version": "2.3.2",
|
483 |
+
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
484 |
+
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
485 |
+
"hasInstallScript": true,
|
486 |
+
"optional": true,
|
487 |
+
"os": [
|
488 |
+
"darwin"
|
489 |
+
],
|
490 |
+
"engines": {
|
491 |
+
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
492 |
+
}
|
493 |
+
},
|
494 |
+
"node_modules/function-bind": {
|
495 |
+
"version": "1.1.1",
|
496 |
+
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
497 |
+
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
498 |
+
},
|
499 |
+
"node_modules/get-intrinsic": {
|
500 |
+
"version": "1.2.0",
|
501 |
+
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
|
502 |
+
"integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
|
503 |
+
"dependencies": {
|
504 |
+
"function-bind": "^1.1.1",
|
505 |
+
"has": "^1.0.3",
|
506 |
+
"has-symbols": "^1.0.3"
|
507 |
+
},
|
508 |
+
"funding": {
|
509 |
+
"url": "https://github.com/sponsors/ljharb"
|
510 |
+
}
|
511 |
+
},
|
512 |
+
"node_modules/glob-parent": {
|
513 |
+
"version": "5.1.2",
|
514 |
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
515 |
+
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
516 |
+
"dependencies": {
|
517 |
+
"is-glob": "^4.0.1"
|
518 |
+
},
|
519 |
+
"engines": {
|
520 |
+
"node": ">= 6"
|
521 |
+
}
|
522 |
+
},
|
523 |
+
"node_modules/has": {
|
524 |
+
"version": "1.0.3",
|
525 |
+
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
526 |
+
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
527 |
+
"dependencies": {
|
528 |
+
"function-bind": "^1.1.1"
|
529 |
+
},
|
530 |
+
"engines": {
|
531 |
+
"node": ">= 0.4.0"
|
532 |
+
}
|
533 |
+
},
|
534 |
+
"node_modules/has-flag": {
|
535 |
+
"version": "3.0.0",
|
536 |
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
537 |
+
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
|
538 |
+
"engines": {
|
539 |
+
"node": ">=4"
|
540 |
+
}
|
541 |
+
},
|
542 |
+
"node_modules/has-symbols": {
|
543 |
+
"version": "1.0.3",
|
544 |
+
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
545 |
+
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
|
546 |
+
"engines": {
|
547 |
+
"node": ">= 0.4"
|
548 |
+
},
|
549 |
+
"funding": {
|
550 |
+
"url": "https://github.com/sponsors/ljharb"
|
551 |
+
}
|
552 |
+
},
|
553 |
+
"node_modules/http-errors": {
|
554 |
+
"version": "2.0.0",
|
555 |
+
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
|
556 |
+
"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
|
557 |
+
"dependencies": {
|
558 |
+
"depd": "2.0.0",
|
559 |
+
"inherits": "2.0.4",
|
560 |
+
"setprototypeof": "1.2.0",
|
561 |
+
"statuses": "2.0.1",
|
562 |
+
"toidentifier": "1.0.1"
|
563 |
+
},
|
564 |
+
"engines": {
|
565 |
+
"node": ">= 0.8"
|
566 |
+
}
|
567 |
+
},
|
568 |
+
"node_modules/iconv-lite": {
|
569 |
+
"version": "0.4.24",
|
570 |
+
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
|
571 |
+
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
|
572 |
+
"dependencies": {
|
573 |
+
"safer-buffer": ">= 2.1.2 < 3"
|
574 |
+
},
|
575 |
+
"engines": {
|
576 |
+
"node": ">=0.10.0"
|
577 |
+
}
|
578 |
+
},
|
579 |
+
"node_modules/ignore-by-default": {
|
580 |
+
"version": "1.0.1",
|
581 |
+
"resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
|
582 |
+
"integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA=="
|
583 |
+
},
|
584 |
+
"node_modules/inherits": {
|
585 |
+
"version": "2.0.4",
|
586 |
+
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
587 |
+
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
588 |
+
},
|
589 |
+
"node_modules/ipaddr.js": {
|
590 |
+
"version": "1.9.1",
|
591 |
+
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
|
592 |
+
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
|
593 |
+
"engines": {
|
594 |
+
"node": ">= 0.10"
|
595 |
+
}
|
596 |
+
},
|
597 |
+
"node_modules/is-binary-path": {
|
598 |
+
"version": "2.1.0",
|
599 |
+
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
600 |
+
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
|
601 |
+
"dependencies": {
|
602 |
+
"binary-extensions": "^2.0.0"
|
603 |
+
},
|
604 |
+
"engines": {
|
605 |
+
"node": ">=8"
|
606 |
+
}
|
607 |
+
},
|
608 |
+
"node_modules/is-extglob": {
|
609 |
+
"version": "2.1.1",
|
610 |
+
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
611 |
+
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
|
612 |
+
"engines": {
|
613 |
+
"node": ">=0.10.0"
|
614 |
+
}
|
615 |
+
},
|
616 |
+
"node_modules/is-glob": {
|
617 |
+
"version": "4.0.3",
|
618 |
+
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
619 |
+
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
620 |
+
"dependencies": {
|
621 |
+
"is-extglob": "^2.1.1"
|
622 |
+
},
|
623 |
+
"engines": {
|
624 |
+
"node": ">=0.10.0"
|
625 |
+
}
|
626 |
+
},
|
627 |
+
"node_modules/is-number": {
|
628 |
+
"version": "7.0.0",
|
629 |
+
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
630 |
+
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
|
631 |
+
"engines": {
|
632 |
+
"node": ">=0.12.0"
|
633 |
+
}
|
634 |
+
},
|
635 |
+
"node_modules/make-error": {
|
636 |
+
"version": "1.3.6",
|
637 |
+
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
|
638 |
+
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
|
639 |
+
},
|
640 |
+
"node_modules/media-typer": {
|
641 |
+
"version": "0.3.0",
|
642 |
+
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
|
643 |
+
"integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
|
644 |
+
"engines": {
|
645 |
+
"node": ">= 0.6"
|
646 |
+
}
|
647 |
+
},
|
648 |
+
"node_modules/merge-descriptors": {
|
649 |
+
"version": "1.0.1",
|
650 |
+
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
|
651 |
+
"integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
|
652 |
+
},
|
653 |
+
"node_modules/methods": {
|
654 |
+
"version": "1.1.2",
|
655 |
+
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
|
656 |
+
"integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
|
657 |
+
"engines": {
|
658 |
+
"node": ">= 0.6"
|
659 |
+
}
|
660 |
+
},
|
661 |
+
"node_modules/mime": {
|
662 |
+
"version": "1.6.0",
|
663 |
+
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
|
664 |
+
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
|
665 |
+
"bin": {
|
666 |
+
"mime": "cli.js"
|
667 |
+
},
|
668 |
+
"engines": {
|
669 |
+
"node": ">=4"
|
670 |
+
}
|
671 |
+
},
|
672 |
+
"node_modules/mime-db": {
|
673 |
+
"version": "1.52.0",
|
674 |
+
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
675 |
+
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
676 |
+
"engines": {
|
677 |
+
"node": ">= 0.6"
|
678 |
+
}
|
679 |
+
},
|
680 |
+
"node_modules/mime-types": {
|
681 |
+
"version": "2.1.35",
|
682 |
+
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
683 |
+
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
684 |
+
"dependencies": {
|
685 |
+
"mime-db": "1.52.0"
|
686 |
+
},
|
687 |
+
"engines": {
|
688 |
+
"node": ">= 0.6"
|
689 |
+
}
|
690 |
+
},
|
691 |
+
"node_modules/minimatch": {
|
692 |
+
"version": "3.1.2",
|
693 |
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
694 |
+
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
695 |
+
"dependencies": {
|
696 |
+
"brace-expansion": "^1.1.7"
|
697 |
+
},
|
698 |
+
"engines": {
|
699 |
+
"node": "*"
|
700 |
+
}
|
701 |
+
},
|
702 |
+
"node_modules/ms": {
|
703 |
+
"version": "2.0.0",
|
704 |
+
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
705 |
+
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
|
706 |
+
},
|
707 |
+
"node_modules/negotiator": {
|
708 |
+
"version": "0.6.3",
|
709 |
+
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
|
710 |
+
"integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
|
711 |
+
"engines": {
|
712 |
+
"node": ">= 0.6"
|
713 |
+
}
|
714 |
+
},
|
715 |
+
"node_modules/nodemon": {
|
716 |
+
"version": "2.0.20",
|
717 |
+
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.20.tgz",
|
718 |
+
"integrity": "sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw==",
|
719 |
+
"dependencies": {
|
720 |
+
"chokidar": "^3.5.2",
|
721 |
+
"debug": "^3.2.7",
|
722 |
+
"ignore-by-default": "^1.0.1",
|
723 |
+
"minimatch": "^3.1.2",
|
724 |
+
"pstree.remy": "^1.1.8",
|
725 |
+
"semver": "^5.7.1",
|
726 |
+
"simple-update-notifier": "^1.0.7",
|
727 |
+
"supports-color": "^5.5.0",
|
728 |
+
"touch": "^3.1.0",
|
729 |
+
"undefsafe": "^2.0.5"
|
730 |
+
},
|
731 |
+
"bin": {
|
732 |
+
"nodemon": "bin/nodemon.js"
|
733 |
+
},
|
734 |
+
"engines": {
|
735 |
+
"node": ">=8.10.0"
|
736 |
+
},
|
737 |
+
"funding": {
|
738 |
+
"type": "opencollective",
|
739 |
+
"url": "https://opencollective.com/nodemon"
|
740 |
+
}
|
741 |
+
},
|
742 |
+
"node_modules/nodemon/node_modules/debug": {
|
743 |
+
"version": "3.2.7",
|
744 |
+
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
|
745 |
+
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
|
746 |
+
"dependencies": {
|
747 |
+
"ms": "^2.1.1"
|
748 |
+
}
|
749 |
+
},
|
750 |
+
"node_modules/nodemon/node_modules/ms": {
|
751 |
+
"version": "2.1.3",
|
752 |
+
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
753 |
+
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
754 |
+
},
|
755 |
+
"node_modules/nopt": {
|
756 |
+
"version": "1.0.10",
|
757 |
+
"resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
|
758 |
+
"integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==",
|
759 |
+
"dependencies": {
|
760 |
+
"abbrev": "1"
|
761 |
+
},
|
762 |
+
"bin": {
|
763 |
+
"nopt": "bin/nopt.js"
|
764 |
+
},
|
765 |
+
"engines": {
|
766 |
+
"node": "*"
|
767 |
+
}
|
768 |
+
},
|
769 |
+
"node_modules/normalize-path": {
|
770 |
+
"version": "3.0.0",
|
771 |
+
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
772 |
+
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
|
773 |
+
"engines": {
|
774 |
+
"node": ">=0.10.0"
|
775 |
+
}
|
776 |
+
},
|
777 |
+
"node_modules/object-inspect": {
|
778 |
+
"version": "1.12.3",
|
779 |
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
|
780 |
+
"integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
|
781 |
+
"funding": {
|
782 |
+
"url": "https://github.com/sponsors/ljharb"
|
783 |
+
}
|
784 |
+
},
|
785 |
+
"node_modules/on-finished": {
|
786 |
+
"version": "2.4.1",
|
787 |
+
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
|
788 |
+
"integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
|
789 |
+
"dependencies": {
|
790 |
+
"ee-first": "1.1.1"
|
791 |
+
},
|
792 |
+
"engines": {
|
793 |
+
"node": ">= 0.8"
|
794 |
+
}
|
795 |
+
},
|
796 |
+
"node_modules/parseurl": {
|
797 |
+
"version": "1.3.3",
|
798 |
+
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
|
799 |
+
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
|
800 |
+
"engines": {
|
801 |
+
"node": ">= 0.8"
|
802 |
+
}
|
803 |
+
},
|
804 |
+
"node_modules/path-to-regexp": {
|
805 |
+
"version": "0.1.7",
|
806 |
+
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
|
807 |
+
"integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
|
808 |
+
},
|
809 |
+
"node_modules/picomatch": {
|
810 |
+
"version": "2.3.1",
|
811 |
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
812 |
+
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
813 |
+
"engines": {
|
814 |
+
"node": ">=8.6"
|
815 |
+
},
|
816 |
+
"funding": {
|
817 |
+
"url": "https://github.com/sponsors/jonschlinkert"
|
818 |
+
}
|
819 |
+
},
|
820 |
+
"node_modules/proxy-addr": {
|
821 |
+
"version": "2.0.7",
|
822 |
+
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
|
823 |
+
"integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
|
824 |
+
"dependencies": {
|
825 |
+
"forwarded": "0.2.0",
|
826 |
+
"ipaddr.js": "1.9.1"
|
827 |
+
},
|
828 |
+
"engines": {
|
829 |
+
"node": ">= 0.10"
|
830 |
+
}
|
831 |
+
},
|
832 |
+
"node_modules/pstree.remy": {
|
833 |
+
"version": "1.1.8",
|
834 |
+
"resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
|
835 |
+
"integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w=="
|
836 |
+
},
|
837 |
+
"node_modules/qs": {
|
838 |
+
"version": "6.11.0",
|
839 |
+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
|
840 |
+
"integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
|
841 |
+
"dependencies": {
|
842 |
+
"side-channel": "^1.0.4"
|
843 |
+
},
|
844 |
+
"engines": {
|
845 |
+
"node": ">=0.6"
|
846 |
+
},
|
847 |
+
"funding": {
|
848 |
+
"url": "https://github.com/sponsors/ljharb"
|
849 |
+
}
|
850 |
+
},
|
851 |
+
"node_modules/range-parser": {
|
852 |
+
"version": "1.2.1",
|
853 |
+
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
|
854 |
+
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
|
855 |
+
"engines": {
|
856 |
+
"node": ">= 0.6"
|
857 |
+
}
|
858 |
+
},
|
859 |
+
"node_modules/raw-body": {
|
860 |
+
"version": "2.5.1",
|
861 |
+
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz",
|
862 |
+
"integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==",
|
863 |
+
"dependencies": {
|
864 |
+
"bytes": "3.1.2",
|
865 |
+
"http-errors": "2.0.0",
|
866 |
+
"iconv-lite": "0.4.24",
|
867 |
+
"unpipe": "1.0.0"
|
868 |
+
},
|
869 |
+
"engines": {
|
870 |
+
"node": ">= 0.8"
|
871 |
+
}
|
872 |
+
},
|
873 |
+
"node_modules/readdirp": {
|
874 |
+
"version": "3.6.0",
|
875 |
+
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
|
876 |
+
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
|
877 |
+
"dependencies": {
|
878 |
+
"picomatch": "^2.2.1"
|
879 |
+
},
|
880 |
+
"engines": {
|
881 |
+
"node": ">=8.10.0"
|
882 |
+
}
|
883 |
+
},
|
884 |
+
"node_modules/safe-buffer": {
|
885 |
+
"version": "5.2.1",
|
886 |
+
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
887 |
+
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
888 |
+
"funding": [
|
889 |
+
{
|
890 |
+
"type": "github",
|
891 |
+
"url": "https://github.com/sponsors/feross"
|
892 |
+
},
|
893 |
+
{
|
894 |
+
"type": "patreon",
|
895 |
+
"url": "https://www.patreon.com/feross"
|
896 |
+
},
|
897 |
+
{
|
898 |
+
"type": "consulting",
|
899 |
+
"url": "https://feross.org/support"
|
900 |
+
}
|
901 |
+
]
|
902 |
+
},
|
903 |
+
"node_modules/safer-buffer": {
|
904 |
+
"version": "2.1.2",
|
905 |
+
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
906 |
+
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
907 |
+
},
|
908 |
+
"node_modules/semver": {
|
909 |
+
"version": "5.7.1",
|
910 |
+
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
911 |
+
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
|
912 |
+
"bin": {
|
913 |
+
"semver": "bin/semver"
|
914 |
+
}
|
915 |
+
},
|
916 |
+
"node_modules/send": {
|
917 |
+
"version": "0.18.0",
|
918 |
+
"resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
|
919 |
+
"integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
|
920 |
+
"dependencies": {
|
921 |
+
"debug": "2.6.9",
|
922 |
+
"depd": "2.0.0",
|
923 |
+
"destroy": "1.2.0",
|
924 |
+
"encodeurl": "~1.0.2",
|
925 |
+
"escape-html": "~1.0.3",
|
926 |
+
"etag": "~1.8.1",
|
927 |
+
"fresh": "0.5.2",
|
928 |
+
"http-errors": "2.0.0",
|
929 |
+
"mime": "1.6.0",
|
930 |
+
"ms": "2.1.3",
|
931 |
+
"on-finished": "2.4.1",
|
932 |
+
"range-parser": "~1.2.1",
|
933 |
+
"statuses": "2.0.1"
|
934 |
+
},
|
935 |
+
"engines": {
|
936 |
+
"node": ">= 0.8.0"
|
937 |
+
}
|
938 |
+
},
|
939 |
+
"node_modules/send/node_modules/ms": {
|
940 |
+
"version": "2.1.3",
|
941 |
+
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
942 |
+
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
943 |
+
},
|
944 |
+
"node_modules/serve-static": {
|
945 |
+
"version": "1.15.0",
|
946 |
+
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
|
947 |
+
"integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
|
948 |
+
"dependencies": {
|
949 |
+
"encodeurl": "~1.0.2",
|
950 |
+
"escape-html": "~1.0.3",
|
951 |
+
"parseurl": "~1.3.3",
|
952 |
+
"send": "0.18.0"
|
953 |
+
},
|
954 |
+
"engines": {
|
955 |
+
"node": ">= 0.8.0"
|
956 |
+
}
|
957 |
+
},
|
958 |
+
"node_modules/setprototypeof": {
|
959 |
+
"version": "1.2.0",
|
960 |
+
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
|
961 |
+
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
|
962 |
+
},
|
963 |
+
"node_modules/side-channel": {
|
964 |
+
"version": "1.0.4",
|
965 |
+
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
|
966 |
+
"integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
|
967 |
+
"dependencies": {
|
968 |
+
"call-bind": "^1.0.0",
|
969 |
+
"get-intrinsic": "^1.0.2",
|
970 |
+
"object-inspect": "^1.9.0"
|
971 |
+
},
|
972 |
+
"funding": {
|
973 |
+
"url": "https://github.com/sponsors/ljharb"
|
974 |
+
}
|
975 |
+
},
|
976 |
+
"node_modules/simple-update-notifier": {
|
977 |
+
"version": "1.1.0",
|
978 |
+
"resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz",
|
979 |
+
"integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==",
|
980 |
+
"dependencies": {
|
981 |
+
"semver": "~7.0.0"
|
982 |
+
},
|
983 |
+
"engines": {
|
984 |
+
"node": ">=8.10.0"
|
985 |
+
}
|
986 |
+
},
|
987 |
+
"node_modules/simple-update-notifier/node_modules/semver": {
|
988 |
+
"version": "7.0.0",
|
989 |
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
|
990 |
+
"integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==",
|
991 |
+
"bin": {
|
992 |
+
"semver": "bin/semver.js"
|
993 |
+
}
|
994 |
+
},
|
995 |
+
"node_modules/statuses": {
|
996 |
+
"version": "2.0.1",
|
997 |
+
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
|
998 |
+
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
|
999 |
+
"engines": {
|
1000 |
+
"node": ">= 0.8"
|
1001 |
+
}
|
1002 |
+
},
|
1003 |
+
"node_modules/supports-color": {
|
1004 |
+
"version": "5.5.0",
|
1005 |
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
1006 |
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
1007 |
+
"dependencies": {
|
1008 |
+
"has-flag": "^3.0.0"
|
1009 |
+
},
|
1010 |
+
"engines": {
|
1011 |
+
"node": ">=4"
|
1012 |
+
}
|
1013 |
+
},
|
1014 |
+
"node_modules/to-regex-range": {
|
1015 |
+
"version": "5.0.1",
|
1016 |
+
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
1017 |
+
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
1018 |
+
"dependencies": {
|
1019 |
+
"is-number": "^7.0.0"
|
1020 |
+
},
|
1021 |
+
"engines": {
|
1022 |
+
"node": ">=8.0"
|
1023 |
+
}
|
1024 |
+
},
|
1025 |
+
"node_modules/toidentifier": {
|
1026 |
+
"version": "1.0.1",
|
1027 |
+
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
|
1028 |
+
"integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
|
1029 |
+
"engines": {
|
1030 |
+
"node": ">=0.6"
|
1031 |
+
}
|
1032 |
+
},
|
1033 |
+
"node_modules/touch": {
|
1034 |
+
"version": "3.1.0",
|
1035 |
+
"resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
|
1036 |
+
"integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
|
1037 |
+
"dependencies": {
|
1038 |
+
"nopt": "~1.0.10"
|
1039 |
+
},
|
1040 |
+
"bin": {
|
1041 |
+
"nodetouch": "bin/nodetouch.js"
|
1042 |
+
}
|
1043 |
+
},
|
1044 |
+
"node_modules/ts-node": {
|
1045 |
+
"version": "10.9.1",
|
1046 |
+
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz",
|
1047 |
+
"integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==",
|
1048 |
+
"dependencies": {
|
1049 |
+
"@cspotcode/source-map-support": "^0.8.0",
|
1050 |
+
"@tsconfig/node10": "^1.0.7",
|
1051 |
+
"@tsconfig/node12": "^1.0.7",
|
1052 |
+
"@tsconfig/node14": "^1.0.0",
|
1053 |
+
"@tsconfig/node16": "^1.0.2",
|
1054 |
+
"acorn": "^8.4.1",
|
1055 |
+
"acorn-walk": "^8.1.1",
|
1056 |
+
"arg": "^4.1.0",
|
1057 |
+
"create-require": "^1.1.0",
|
1058 |
+
"diff": "^4.0.1",
|
1059 |
+
"make-error": "^1.1.1",
|
1060 |
+
"v8-compile-cache-lib": "^3.0.1",
|
1061 |
+
"yn": "3.1.1"
|
1062 |
+
},
|
1063 |
+
"bin": {
|
1064 |
+
"ts-node": "dist/bin.js",
|
1065 |
+
"ts-node-cwd": "dist/bin-cwd.js",
|
1066 |
+
"ts-node-esm": "dist/bin-esm.js",
|
1067 |
+
"ts-node-script": "dist/bin-script.js",
|
1068 |
+
"ts-node-transpile-only": "dist/bin-transpile.js",
|
1069 |
+
"ts-script": "dist/bin-script-deprecated.js"
|
1070 |
+
},
|
1071 |
+
"peerDependencies": {
|
1072 |
+
"@swc/core": ">=1.2.50",
|
1073 |
+
"@swc/wasm": ">=1.2.50",
|
1074 |
+
"@types/node": "*",
|
1075 |
+
"typescript": ">=2.7"
|
1076 |
+
},
|
1077 |
+
"peerDependenciesMeta": {
|
1078 |
+
"@swc/core": {
|
1079 |
+
"optional": true
|
1080 |
+
},
|
1081 |
+
"@swc/wasm": {
|
1082 |
+
"optional": true
|
1083 |
+
}
|
1084 |
+
}
|
1085 |
+
},
|
1086 |
+
"node_modules/type-is": {
|
1087 |
+
"version": "1.6.18",
|
1088 |
+
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
|
1089 |
+
"integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
|
1090 |
+
"dependencies": {
|
1091 |
+
"media-typer": "0.3.0",
|
1092 |
+
"mime-types": "~2.1.24"
|
1093 |
+
},
|
1094 |
+
"engines": {
|
1095 |
+
"node": ">= 0.6"
|
1096 |
+
}
|
1097 |
+
},
|
1098 |
+
"node_modules/typescript": {
|
1099 |
+
"version": "4.9.4",
|
1100 |
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz",
|
1101 |
+
"integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==",
|
1102 |
+
"peer": true,
|
1103 |
+
"bin": {
|
1104 |
+
"tsc": "bin/tsc",
|
1105 |
+
"tsserver": "bin/tsserver"
|
1106 |
+
},
|
1107 |
+
"engines": {
|
1108 |
+
"node": ">=4.2.0"
|
1109 |
+
}
|
1110 |
+
},
|
1111 |
+
"node_modules/undefsafe": {
|
1112 |
+
"version": "2.0.5",
|
1113 |
+
"resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
|
1114 |
+
"integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA=="
|
1115 |
+
},
|
1116 |
+
"node_modules/unpipe": {
|
1117 |
+
"version": "1.0.0",
|
1118 |
+
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
|
1119 |
+
"integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
|
1120 |
+
"engines": {
|
1121 |
+
"node": ">= 0.8"
|
1122 |
+
}
|
1123 |
+
},
|
1124 |
+
"node_modules/utils-merge": {
|
1125 |
+
"version": "1.0.1",
|
1126 |
+
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
1127 |
+
"integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
|
1128 |
+
"engines": {
|
1129 |
+
"node": ">= 0.4.0"
|
1130 |
+
}
|
1131 |
+
},
|
1132 |
+
"node_modules/v8-compile-cache-lib": {
|
1133 |
+
"version": "3.0.1",
|
1134 |
+
"resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
|
1135 |
+
"integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="
|
1136 |
+
},
|
1137 |
+
"node_modules/vary": {
|
1138 |
+
"version": "1.1.2",
|
1139 |
+
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
1140 |
+
"integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
|
1141 |
+
"engines": {
|
1142 |
+
"node": ">= 0.8"
|
1143 |
+
}
|
1144 |
+
},
|
1145 |
+
"node_modules/yn": {
|
1146 |
+
"version": "3.1.1",
|
1147 |
+
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
|
1148 |
+
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
|
1149 |
+
"engines": {
|
1150 |
+
"node": ">=6"
|
1151 |
+
}
|
1152 |
+
}
|
1153 |
+
}
|
1154 |
+
}
|
package.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import * as express from "express";
|
2 |
+
|
3 |
+
const PORT = 7860;
|
4 |
+
const BOT_USERNAME = "@discussion-bot";
|
5 |
+
const INFERENCE_URL =
|
6 |
+
"https://api-inference.huggingface.co/models/bigscience/bloom";
|
7 |
+
const PROMPT = `Pretend that you are a bot that replies to discussions about machine learning, and reply to the following comment:\n`;
|
8 |
+
|
9 |
+
if (!process.env.WEBHOOK_SECRET || !process.env.HF_TOKEN) {
|
10 |
+
console.error(
|
11 |
+
"This app needs those env variables to be defined",
|
12 |
+
"WEBHOOK_SECRET, HF_TOKEN"
|
13 |
+
);
|
14 |
+
process.exit();
|
15 |
+
}
|
16 |
+
|
17 |
+
const app = express();
|
18 |
+
// parse HTTP request bodies as json
|
19 |
+
app.use(express.json());
|
20 |
+
|
21 |
+
app.get("/", (req, res) => {
|
22 |
+
res.json({ hello: "world" });
|
23 |
+
});
|
24 |
+
|
25 |
+
app.post("/", async (req, res) => {
|
26 |
+
if (req.header("X-Webhook-Secret") !== process.env.WEBHOOK_SECRET) {
|
27 |
+
console.error("incorrect secret");
|
28 |
+
return res.status(400).json({ error: "incorrect secret" });
|
29 |
+
}
|
30 |
+
console.log(req.body);
|
31 |
+
const event = req.body.event;
|
32 |
+
if (
|
33 |
+
event.action === "create" &&
|
34 |
+
event.scope === "discussion.comment" &&
|
35 |
+
req.body.comment.content.includes(BOT_USERNAME)
|
36 |
+
) {
|
37 |
+
const response = await fetch(INFERENCE_URL, {
|
38 |
+
method: "POST",
|
39 |
+
body: JSON.stringify({ inputs: PROMPT + req.body.comment.content }),
|
40 |
+
});
|
41 |
+
if (response.ok) {
|
42 |
+
const output = await response.json();
|
43 |
+
const continuationText = output[0].generated_text.replace(
|
44 |
+
PROMPT + req.body.comment.content,
|
45 |
+
""
|
46 |
+
);
|
47 |
+
|
48 |
+
console.log(continuationText);
|
49 |
+
/// Finally, let's post it as a comment in the same discussion
|
50 |
+
const commentUrl = req.body.discussion.url.api + "/comment";
|
51 |
+
|
52 |
+
const commentApiResponse = await fetch(commentUrl, {
|
53 |
+
method: "POST",
|
54 |
+
headers: {
|
55 |
+
Authorization: `Bearer ${process.env.HF_TOKEN}`,
|
56 |
+
"Content-Type": "application/json",
|
57 |
+
},
|
58 |
+
body: JSON.stringify({ comment: continuationText }),
|
59 |
+
});
|
60 |
+
|
61 |
+
const apiOutput = await commentApiResponse.json();
|
62 |
+
|
63 |
+
console.log(apiOutput);
|
64 |
+
} else {
|
65 |
+
console.error(`API Error`, await response.json());
|
66 |
+
}
|
67 |
+
}
|
68 |
+
res.json({ success: true });
|
69 |
+
});
|
70 |
+
|
71 |
+
app.listen(PORT, () => {
|
72 |
+
console.debug(`server started at http://localhost:${PORT}`);
|
73 |
+
});
|
supervisor.sh
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
npx nodemon server.ts
|
tsconfig.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|