Franek-Le commited on
Commit
a86efc3
·
1 Parent(s): f323580
package-lock.json CHANGED
@@ -11,7 +11,8 @@
11
  "dependencies": {
12
  "express": "^5.2.1",
13
  "mineflayer": "^4.25.0",
14
- "tslib": "^2.8.1"
 
15
  },
16
  "devDependencies": {
17
  "@eslint/js": "^9.39.4",
@@ -271,6 +272,33 @@
271
  "url": "https://github.com/sponsors/nzakas"
272
  }
273
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  "node_modules/@types/body-parser": {
275
  "version": "1.19.6",
276
  "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz",
@@ -682,6 +710,42 @@
682
  "url": "https://opencollective.com/eslint"
683
  }
684
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  "node_modules/@xboxreplay/errors": {
686
  "version": "0.1.0",
687
  "resolved": "https://registry.npmjs.org/@xboxreplay/errors/-/errors-0.1.0.tgz",
@@ -768,11 +832,34 @@
768
  "url": "https://github.com/sponsors/epoberezkin"
769
  }
770
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
771
  "node_modules/ansi-styles": {
772
  "version": "4.3.0",
773
  "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
774
  "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
775
- "dev": true,
776
  "license": "MIT",
777
  "dependencies": {
778
  "color-convert": "^2.0.1"
@@ -791,6 +878,12 @@
791
  "dev": true,
792
  "license": "Python-2.0"
793
  },
 
 
 
 
 
 
794
  "node_modules/asn1": {
795
  "version": "0.2.3",
796
  "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
@@ -833,6 +926,55 @@
833
  ],
834
  "license": "MIT"
835
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
836
  "node_modules/body-parser": {
837
  "version": "2.3.0",
838
  "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
@@ -975,7 +1117,6 @@
975
  "version": "4.1.2",
976
  "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
977
  "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
978
- "dev": true,
979
  "license": "MIT",
980
  "dependencies": {
981
  "ansi-styles": "^4.1.0",
@@ -988,11 +1129,58 @@
988
  "url": "https://github.com/chalk/chalk?sponsor=1"
989
  }
990
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
991
  "node_modules/color-convert": {
992
  "version": "2.0.1",
993
  "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
994
  "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
995
- "dev": true,
996
  "license": "MIT",
997
  "dependencies": {
998
  "color-name": "~1.1.4"
@@ -1005,7 +1193,6 @@
1005
  "version": "1.1.4",
1006
  "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1007
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1008
- "dev": true,
1009
  "license": "MIT"
1010
  },
1011
  "node_modules/commander": {
@@ -1014,6 +1201,19 @@
1014
  "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
1015
  "license": "MIT"
1016
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
1017
  "node_modules/concat-map": {
1018
  "version": "0.0.1",
1019
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@@ -1100,6 +1300,18 @@
1100
  "dev": true,
1101
  "license": "MIT"
1102
  },
 
 
 
 
 
 
 
 
 
 
 
 
1103
  "node_modules/depd": {
1104
  "version": "2.0.0",
1105
  "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
@@ -1115,6 +1327,15 @@
1115
  "integrity": "sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==",
1116
  "license": "MIT"
1117
  },
 
 
 
 
 
 
 
 
 
1118
  "node_modules/dunder-proto": {
1119
  "version": "1.0.1",
1120
  "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
@@ -1144,6 +1365,12 @@
1144
  "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
1145
  "license": "MIT"
1146
  },
 
 
 
 
 
 
1147
  "node_modules/encodeurl": {
1148
  "version": "2.0.0",
1149
  "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
@@ -1332,6 +1559,19 @@
1332
  "url": "https://opencollective.com/eslint"
1333
  }
1334
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
1335
  "node_modules/esquery": {
1336
  "version": "1.7.0",
1337
  "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
@@ -1485,6 +1725,30 @@
1485
  }
1486
  }
1487
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1488
  "node_modules/file-entry-cache": {
1489
  "version": "8.0.0",
1490
  "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
@@ -1683,7 +1947,6 @@
1683
  "version": "4.0.0",
1684
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
1685
  "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
1686
- "dev": true,
1687
  "license": "MIT",
1688
  "engines": {
1689
  "node": ">=8"
@@ -1812,6 +2075,32 @@
1812
  "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
1813
  "license": "ISC"
1814
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1815
  "node_modules/ipaddr.js": {
1816
  "version": "1.9.1",
1817
  "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
@@ -1831,6 +2120,15 @@
1831
  "node": ">=0.10.0"
1832
  }
1833
  },
 
 
 
 
 
 
 
 
 
1834
  "node_modules/is-glob": {
1835
  "version": "4.0.3",
1836
  "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
@@ -1844,12 +2142,33 @@
1844
  "node": ">=0.10.0"
1845
  }
1846
  },
 
 
 
 
 
 
 
 
 
1847
  "node_modules/is-promise": {
1848
  "version": "4.0.0",
1849
  "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
1850
  "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
1851
  "license": "MIT"
1852
  },
 
 
 
 
 
 
 
 
 
 
 
 
1853
  "node_modules/isexe": {
1854
  "version": "2.0.0",
1855
  "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
@@ -1983,6 +2302,12 @@
1983
  "url": "https://github.com/sponsors/sindresorhus"
1984
  }
1985
  },
 
 
 
 
 
 
1986
  "node_modules/lodash.get": {
1987
  "version": "4.4.2",
1988
  "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
@@ -2044,6 +2369,22 @@
2044
  "integrity": "sha512-6raRe2vxCYBhpBu+B+TtNGUzah+hQjVdu3E17wfusjyrXBka2nBS8OH/gjVZ5PvHOhWmIZTYri09Z6n/QfnNMw==",
2045
  "license": "MIT"
2046
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2047
  "node_modules/macaddress": {
2048
  "version": "0.5.4",
2049
  "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.5.4.tgz",
@@ -2105,6 +2446,15 @@
2105
  "url": "https://opencollective.com/express"
2106
  }
2107
  },
 
 
 
 
 
 
 
 
 
2108
  "node_modules/minecraft-data": {
2109
  "version": "3.110.2",
2110
  "resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.110.2.tgz",
@@ -2210,6 +2560,12 @@
2210
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
2211
  "license": "MIT"
2212
  },
 
 
 
 
 
 
2213
  "node_modules/natural-compare": {
2214
  "version": "1.4.0",
2215
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -2310,6 +2666,21 @@
2310
  "wrappy": "1"
2311
  }
2312
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2313
  "node_modules/optionator": {
2314
  "version": "0.9.4",
2315
  "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
@@ -2328,6 +2699,29 @@
2328
  "node": ">= 0.8.0"
2329
  }
2330
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2331
  "node_modules/p-limit": {
2332
  "version": "3.1.0",
2333
  "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
@@ -2360,6 +2754,15 @@
2360
  "url": "https://github.com/sponsors/sindresorhus"
2361
  }
2362
  },
 
 
 
 
 
 
 
 
 
2363
  "node_modules/parent-module": {
2364
  "version": "1.0.1",
2365
  "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -2694,6 +3097,22 @@
2694
  "url": "https://github.com/sponsors/ljharb"
2695
  }
2696
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2697
  "node_modules/railroad-diagrams": {
2698
  "version": "1.0.0",
2699
  "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz",
@@ -2763,6 +3182,19 @@
2763
  "node": ">=4"
2764
  }
2765
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
2766
  "node_modules/ret": {
2767
  "version": "0.1.15",
2768
  "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
@@ -2788,12 +3220,20 @@
2788
  "node": ">= 18"
2789
  }
2790
  },
 
 
 
 
 
 
 
 
 
2791
  "node_modules/rxjs": {
2792
  "version": "7.8.2",
2793
  "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",
2794
  "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==",
2795
  "license": "Apache-2.0",
2796
- "optional": true,
2797
  "dependencies": {
2798
  "tslib": "^2.1.0"
2799
  }
@@ -2982,6 +3422,12 @@
2982
  "url": "https://github.com/sponsors/ljharb"
2983
  }
2984
  },
 
 
 
 
 
 
2985
  "node_modules/smart-buffer": {
2986
  "version": "4.2.0",
2987
  "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
@@ -3010,6 +3456,32 @@
3010
  "safe-buffer": "~5.2.0"
3011
  }
3012
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3013
  "node_modules/strip-json-comments": {
3014
  "version": "3.1.1",
3015
  "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
@@ -3027,7 +3499,6 @@
3027
  "version": "7.2.0",
3028
  "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
3029
  "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
3030
- "dev": true,
3031
  "license": "MIT",
3032
  "dependencies": {
3033
  "has-flag": "^4.0.0"
@@ -3036,6 +3507,12 @@
3036
  "node": ">=8"
3037
  }
3038
  },
 
 
 
 
 
 
3039
  "node_modules/tinyglobby": {
3040
  "version": "0.2.17",
3041
  "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
@@ -3100,6 +3577,18 @@
3100
  "node": ">= 0.8.0"
3101
  }
3102
  },
 
 
 
 
 
 
 
 
 
 
 
 
3103
  "node_modules/type-is": {
3104
  "version": "2.1.0",
3105
  "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
@@ -3141,7 +3630,6 @@
3141
  "version": "6.0.3",
3142
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
3143
  "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
3144
- "dev": true,
3145
  "license": "Apache-2.0",
3146
  "bin": {
3147
  "tsc": "bin/tsc",
@@ -3175,6 +3663,61 @@
3175
  "typescript": ">=4.8.4 <6.1.0"
3176
  }
3177
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3178
  "node_modules/uint4": {
3179
  "version": "0.1.2",
3180
  "resolved": "https://registry.npmjs.org/uint4/-/uint4-0.1.2.tgz",
@@ -3205,6 +3748,12 @@
3205
  "punycode": "^2.1.0"
3206
  }
3207
  },
 
 
 
 
 
 
3208
  "node_modules/uuid": {
3209
  "version": "8.3.2",
3210
  "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
@@ -3239,6 +3788,15 @@
3239
  "integrity": "sha512-Sr1U3mYtMqCOonGd3LAN9iqy0qF6C+Gjil92awyK/i2OwiUo9bm7PnLgFpafymun50mOjnDcg4ToTgRssrlTcw==",
3240
  "license": "BSD"
3241
  },
 
 
 
 
 
 
 
 
 
3242
  "node_modules/webidl-conversions": {
3243
  "version": "3.0.1",
3244
  "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
@@ -3281,6 +3839,20 @@
3281
  "node": ">=0.10.0"
3282
  }
3283
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3284
  "node_modules/wrappy": {
3285
  "version": "1.0.2",
3286
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
 
11
  "dependencies": {
12
  "express": "^5.2.1",
13
  "mineflayer": "^4.25.0",
14
+ "tslib": "^2.8.1",
15
+ "typia": "^12.1.1"
16
  },
17
  "devDependencies": {
18
  "@eslint/js": "^9.39.4",
 
272
  "url": "https://github.com/sponsors/nzakas"
273
  }
274
  },
275
+ "node_modules/@inquirer/external-editor": {
276
+ "version": "1.0.3",
277
+ "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz",
278
+ "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==",
279
+ "license": "MIT",
280
+ "dependencies": {
281
+ "chardet": "^2.1.1",
282
+ "iconv-lite": "^0.7.0"
283
+ },
284
+ "engines": {
285
+ "node": ">=18"
286
+ },
287
+ "peerDependencies": {
288
+ "@types/node": ">=18"
289
+ },
290
+ "peerDependenciesMeta": {
291
+ "@types/node": {
292
+ "optional": true
293
+ }
294
+ }
295
+ },
296
+ "node_modules/@standard-schema/spec": {
297
+ "version": "1.1.0",
298
+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
299
+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
300
+ "license": "MIT"
301
+ },
302
  "node_modules/@types/body-parser": {
303
  "version": "1.19.6",
304
  "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz",
 
710
  "url": "https://opencollective.com/eslint"
711
  }
712
  },
713
+ "node_modules/@typia/core": {
714
+ "version": "12.1.1",
715
+ "resolved": "https://registry.npmjs.org/@typia/core/-/core-12.1.1.tgz",
716
+ "integrity": "sha512-SfyugTNTCJa75pVwSXwfx6SwvS5YcNOCBg8VjxqykhSgCyoAXkZtc2PsWEkeeaB8EPut1JRBCrzlWtsXo1EZ8Q==",
717
+ "license": "MIT",
718
+ "dependencies": {
719
+ "@typia/interface": "^12.1.1",
720
+ "@typia/utils": "^12.1.1"
721
+ }
722
+ },
723
+ "node_modules/@typia/interface": {
724
+ "version": "12.1.1",
725
+ "resolved": "https://registry.npmjs.org/@typia/interface/-/interface-12.1.1.tgz",
726
+ "integrity": "sha512-FKLpgNX1mrGnPfeXhU6ztRyMhLvuK13OY8MgqaIucl59XNyCVtcRqgnCMc7dJGLpXEveVp3N5a5VGyZdNUHnCQ==",
727
+ "license": "MIT"
728
+ },
729
+ "node_modules/@typia/transform": {
730
+ "version": "12.1.1",
731
+ "resolved": "https://registry.npmjs.org/@typia/transform/-/transform-12.1.1.tgz",
732
+ "integrity": "sha512-RbWB9L/aqcBTbPrJBOYpIg8IyQh6eGliElAFww40F7QlgsXIlk13twjTV3EEWXvgvOTl5eOSDWUKYgL7iAgoOw==",
733
+ "license": "MIT",
734
+ "dependencies": {
735
+ "@typia/core": "^12.1.1",
736
+ "@typia/interface": "^12.1.1",
737
+ "@typia/utils": "^12.1.1"
738
+ }
739
+ },
740
+ "node_modules/@typia/utils": {
741
+ "version": "12.1.1",
742
+ "resolved": "https://registry.npmjs.org/@typia/utils/-/utils-12.1.1.tgz",
743
+ "integrity": "sha512-RQSHMEyVfPnpQJHGfFe2pxU1H5lJPUBF9CQcCB6/EtI+QKcBj/QmQBOJX7a/WRyvC5ojJlJGL0DEylufhBKxkQ==",
744
+ "license": "MIT",
745
+ "dependencies": {
746
+ "@typia/interface": "^12.1.1"
747
+ }
748
+ },
749
  "node_modules/@xboxreplay/errors": {
750
  "version": "0.1.0",
751
  "resolved": "https://registry.npmjs.org/@xboxreplay/errors/-/errors-0.1.0.tgz",
 
832
  "url": "https://github.com/sponsors/epoberezkin"
833
  }
834
  },
835
+ "node_modules/ansi-escapes": {
836
+ "version": "4.3.2",
837
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
838
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
839
+ "license": "MIT",
840
+ "dependencies": {
841
+ "type-fest": "^0.21.3"
842
+ },
843
+ "engines": {
844
+ "node": ">=8"
845
+ },
846
+ "funding": {
847
+ "url": "https://github.com/sponsors/sindresorhus"
848
+ }
849
+ },
850
+ "node_modules/ansi-regex": {
851
+ "version": "5.0.1",
852
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
853
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
854
+ "license": "MIT",
855
+ "engines": {
856
+ "node": ">=8"
857
+ }
858
+ },
859
  "node_modules/ansi-styles": {
860
  "version": "4.3.0",
861
  "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
862
  "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
 
863
  "license": "MIT",
864
  "dependencies": {
865
  "color-convert": "^2.0.1"
 
878
  "dev": true,
879
  "license": "Python-2.0"
880
  },
881
+ "node_modules/array-timsort": {
882
+ "version": "1.0.3",
883
+ "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz",
884
+ "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==",
885
+ "license": "MIT"
886
+ },
887
  "node_modules/asn1": {
888
  "version": "0.2.3",
889
  "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
 
926
  ],
927
  "license": "MIT"
928
  },
929
+ "node_modules/bl": {
930
+ "version": "4.1.0",
931
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
932
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
933
+ "license": "MIT",
934
+ "dependencies": {
935
+ "buffer": "^5.5.0",
936
+ "inherits": "^2.0.4",
937
+ "readable-stream": "^3.4.0"
938
+ }
939
+ },
940
+ "node_modules/bl/node_modules/buffer": {
941
+ "version": "5.7.1",
942
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
943
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
944
+ "funding": [
945
+ {
946
+ "type": "github",
947
+ "url": "https://github.com/sponsors/feross"
948
+ },
949
+ {
950
+ "type": "patreon",
951
+ "url": "https://www.patreon.com/feross"
952
+ },
953
+ {
954
+ "type": "consulting",
955
+ "url": "https://feross.org/support"
956
+ }
957
+ ],
958
+ "license": "MIT",
959
+ "dependencies": {
960
+ "base64-js": "^1.3.1",
961
+ "ieee754": "^1.1.13"
962
+ }
963
+ },
964
+ "node_modules/bl/node_modules/readable-stream": {
965
+ "version": "3.6.2",
966
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
967
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
968
+ "license": "MIT",
969
+ "dependencies": {
970
+ "inherits": "^2.0.3",
971
+ "string_decoder": "^1.1.1",
972
+ "util-deprecate": "^1.0.1"
973
+ },
974
+ "engines": {
975
+ "node": ">= 6"
976
+ }
977
+ },
978
  "node_modules/body-parser": {
979
  "version": "2.3.0",
980
  "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
 
1117
  "version": "4.1.2",
1118
  "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
1119
  "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
 
1120
  "license": "MIT",
1121
  "dependencies": {
1122
  "ansi-styles": "^4.1.0",
 
1129
  "url": "https://github.com/chalk/chalk?sponsor=1"
1130
  }
1131
  },
1132
+ "node_modules/chardet": {
1133
+ "version": "2.2.0",
1134
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.2.0.tgz",
1135
+ "integrity": "sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==",
1136
+ "license": "MIT"
1137
+ },
1138
+ "node_modules/cli-cursor": {
1139
+ "version": "3.1.0",
1140
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
1141
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
1142
+ "license": "MIT",
1143
+ "dependencies": {
1144
+ "restore-cursor": "^3.1.0"
1145
+ },
1146
+ "engines": {
1147
+ "node": ">=8"
1148
+ }
1149
+ },
1150
+ "node_modules/cli-spinners": {
1151
+ "version": "2.9.2",
1152
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
1153
+ "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==",
1154
+ "license": "MIT",
1155
+ "engines": {
1156
+ "node": ">=6"
1157
+ },
1158
+ "funding": {
1159
+ "url": "https://github.com/sponsors/sindresorhus"
1160
+ }
1161
+ },
1162
+ "node_modules/cli-width": {
1163
+ "version": "3.0.0",
1164
+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz",
1165
+ "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==",
1166
+ "license": "ISC",
1167
+ "engines": {
1168
+ "node": ">= 10"
1169
+ }
1170
+ },
1171
+ "node_modules/clone": {
1172
+ "version": "1.0.4",
1173
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
1174
+ "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
1175
+ "license": "MIT",
1176
+ "engines": {
1177
+ "node": ">=0.8"
1178
+ }
1179
+ },
1180
  "node_modules/color-convert": {
1181
  "version": "2.0.1",
1182
  "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1183
  "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
 
1184
  "license": "MIT",
1185
  "dependencies": {
1186
  "color-name": "~1.1.4"
 
1193
  "version": "1.1.4",
1194
  "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1195
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
 
1196
  "license": "MIT"
1197
  },
1198
  "node_modules/commander": {
 
1201
  "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
1202
  "license": "MIT"
1203
  },
1204
+ "node_modules/comment-json": {
1205
+ "version": "4.6.2",
1206
+ "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.6.2.tgz",
1207
+ "integrity": "sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==",
1208
+ "license": "MIT",
1209
+ "dependencies": {
1210
+ "array-timsort": "^1.0.3",
1211
+ "esprima": "^4.0.1"
1212
+ },
1213
+ "engines": {
1214
+ "node": ">= 6"
1215
+ }
1216
+ },
1217
  "node_modules/concat-map": {
1218
  "version": "0.0.1",
1219
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
 
1300
  "dev": true,
1301
  "license": "MIT"
1302
  },
1303
+ "node_modules/defaults": {
1304
+ "version": "1.0.4",
1305
+ "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz",
1306
+ "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==",
1307
+ "license": "MIT",
1308
+ "dependencies": {
1309
+ "clone": "^1.0.2"
1310
+ },
1311
+ "funding": {
1312
+ "url": "https://github.com/sponsors/sindresorhus"
1313
+ }
1314
+ },
1315
  "node_modules/depd": {
1316
  "version": "2.0.0",
1317
  "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
 
1327
  "integrity": "sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==",
1328
  "license": "MIT"
1329
  },
1330
+ "node_modules/drange": {
1331
+ "version": "1.1.1",
1332
+ "resolved": "https://registry.npmjs.org/drange/-/drange-1.1.1.tgz",
1333
+ "integrity": "sha512-pYxfDYpued//QpnLIm4Avk7rsNtAtQkUES2cwAYSvD/wd2pKD71gN2Ebj3e7klzXwjocvE8c5vx/1fxwpqmSxA==",
1334
+ "license": "MIT",
1335
+ "engines": {
1336
+ "node": ">=4"
1337
+ }
1338
+ },
1339
  "node_modules/dunder-proto": {
1340
  "version": "1.0.1",
1341
  "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
 
1365
  "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
1366
  "license": "MIT"
1367
  },
1368
+ "node_modules/emoji-regex": {
1369
+ "version": "8.0.0",
1370
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
1371
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
1372
+ "license": "MIT"
1373
+ },
1374
  "node_modules/encodeurl": {
1375
  "version": "2.0.0",
1376
  "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
 
1559
  "url": "https://opencollective.com/eslint"
1560
  }
1561
  },
1562
+ "node_modules/esprima": {
1563
+ "version": "4.0.1",
1564
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
1565
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
1566
+ "license": "BSD-2-Clause",
1567
+ "bin": {
1568
+ "esparse": "bin/esparse.js",
1569
+ "esvalidate": "bin/esvalidate.js"
1570
+ },
1571
+ "engines": {
1572
+ "node": ">=4"
1573
+ }
1574
+ },
1575
  "node_modules/esquery": {
1576
  "version": "1.7.0",
1577
  "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
 
1725
  }
1726
  }
1727
  },
1728
+ "node_modules/figures": {
1729
+ "version": "3.2.0",
1730
+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
1731
+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
1732
+ "license": "MIT",
1733
+ "dependencies": {
1734
+ "escape-string-regexp": "^1.0.5"
1735
+ },
1736
+ "engines": {
1737
+ "node": ">=8"
1738
+ },
1739
+ "funding": {
1740
+ "url": "https://github.com/sponsors/sindresorhus"
1741
+ }
1742
+ },
1743
+ "node_modules/figures/node_modules/escape-string-regexp": {
1744
+ "version": "1.0.5",
1745
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
1746
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
1747
+ "license": "MIT",
1748
+ "engines": {
1749
+ "node": ">=0.8.0"
1750
+ }
1751
+ },
1752
  "node_modules/file-entry-cache": {
1753
  "version": "8.0.0",
1754
  "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
 
1947
  "version": "4.0.0",
1948
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
1949
  "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
 
1950
  "license": "MIT",
1951
  "engines": {
1952
  "node": ">=8"
 
2075
  "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
2076
  "license": "ISC"
2077
  },
2078
+ "node_modules/inquirer": {
2079
+ "version": "8.2.7",
2080
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.7.tgz",
2081
+ "integrity": "sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==",
2082
+ "license": "MIT",
2083
+ "dependencies": {
2084
+ "@inquirer/external-editor": "^1.0.0",
2085
+ "ansi-escapes": "^4.2.1",
2086
+ "chalk": "^4.1.1",
2087
+ "cli-cursor": "^3.1.0",
2088
+ "cli-width": "^3.0.0",
2089
+ "figures": "^3.0.0",
2090
+ "lodash": "^4.17.21",
2091
+ "mute-stream": "0.0.8",
2092
+ "ora": "^5.4.1",
2093
+ "run-async": "^2.4.0",
2094
+ "rxjs": "^7.5.5",
2095
+ "string-width": "^4.1.0",
2096
+ "strip-ansi": "^6.0.0",
2097
+ "through": "^2.3.6",
2098
+ "wrap-ansi": "^6.0.1"
2099
+ },
2100
+ "engines": {
2101
+ "node": ">=12.0.0"
2102
+ }
2103
+ },
2104
  "node_modules/ipaddr.js": {
2105
  "version": "1.9.1",
2106
  "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
 
2120
  "node": ">=0.10.0"
2121
  }
2122
  },
2123
+ "node_modules/is-fullwidth-code-point": {
2124
+ "version": "3.0.0",
2125
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
2126
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
2127
+ "license": "MIT",
2128
+ "engines": {
2129
+ "node": ">=8"
2130
+ }
2131
+ },
2132
  "node_modules/is-glob": {
2133
  "version": "4.0.3",
2134
  "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
 
2142
  "node": ">=0.10.0"
2143
  }
2144
  },
2145
+ "node_modules/is-interactive": {
2146
+ "version": "1.0.0",
2147
+ "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz",
2148
+ "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==",
2149
+ "license": "MIT",
2150
+ "engines": {
2151
+ "node": ">=8"
2152
+ }
2153
+ },
2154
  "node_modules/is-promise": {
2155
  "version": "4.0.0",
2156
  "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
2157
  "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
2158
  "license": "MIT"
2159
  },
2160
+ "node_modules/is-unicode-supported": {
2161
+ "version": "0.1.0",
2162
+ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz",
2163
+ "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==",
2164
+ "license": "MIT",
2165
+ "engines": {
2166
+ "node": ">=10"
2167
+ },
2168
+ "funding": {
2169
+ "url": "https://github.com/sponsors/sindresorhus"
2170
+ }
2171
+ },
2172
  "node_modules/isexe": {
2173
  "version": "2.0.0",
2174
  "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
 
2302
  "url": "https://github.com/sponsors/sindresorhus"
2303
  }
2304
  },
2305
+ "node_modules/lodash": {
2306
+ "version": "4.18.1",
2307
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",
2308
+ "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",
2309
+ "license": "MIT"
2310
+ },
2311
  "node_modules/lodash.get": {
2312
  "version": "4.4.2",
2313
  "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
 
2369
  "integrity": "sha512-6raRe2vxCYBhpBu+B+TtNGUzah+hQjVdu3E17wfusjyrXBka2nBS8OH/gjVZ5PvHOhWmIZTYri09Z6n/QfnNMw==",
2370
  "license": "MIT"
2371
  },
2372
+ "node_modules/log-symbols": {
2373
+ "version": "4.1.0",
2374
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
2375
+ "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==",
2376
+ "license": "MIT",
2377
+ "dependencies": {
2378
+ "chalk": "^4.1.0",
2379
+ "is-unicode-supported": "^0.1.0"
2380
+ },
2381
+ "engines": {
2382
+ "node": ">=10"
2383
+ },
2384
+ "funding": {
2385
+ "url": "https://github.com/sponsors/sindresorhus"
2386
+ }
2387
+ },
2388
  "node_modules/macaddress": {
2389
  "version": "0.5.4",
2390
  "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.5.4.tgz",
 
2446
  "url": "https://opencollective.com/express"
2447
  }
2448
  },
2449
+ "node_modules/mimic-fn": {
2450
+ "version": "2.1.0",
2451
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
2452
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
2453
+ "license": "MIT",
2454
+ "engines": {
2455
+ "node": ">=6"
2456
+ }
2457
+ },
2458
  "node_modules/minecraft-data": {
2459
  "version": "3.110.2",
2460
  "resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.110.2.tgz",
 
2560
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
2561
  "license": "MIT"
2562
  },
2563
+ "node_modules/mute-stream": {
2564
+ "version": "0.0.8",
2565
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
2566
+ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
2567
+ "license": "ISC"
2568
+ },
2569
  "node_modules/natural-compare": {
2570
  "version": "1.4.0",
2571
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
 
2666
  "wrappy": "1"
2667
  }
2668
  },
2669
+ "node_modules/onetime": {
2670
+ "version": "5.1.2",
2671
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
2672
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
2673
+ "license": "MIT",
2674
+ "dependencies": {
2675
+ "mimic-fn": "^2.1.0"
2676
+ },
2677
+ "engines": {
2678
+ "node": ">=6"
2679
+ },
2680
+ "funding": {
2681
+ "url": "https://github.com/sponsors/sindresorhus"
2682
+ }
2683
+ },
2684
  "node_modules/optionator": {
2685
  "version": "0.9.4",
2686
  "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
 
2699
  "node": ">= 0.8.0"
2700
  }
2701
  },
2702
+ "node_modules/ora": {
2703
+ "version": "5.4.1",
2704
+ "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz",
2705
+ "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==",
2706
+ "license": "MIT",
2707
+ "dependencies": {
2708
+ "bl": "^4.1.0",
2709
+ "chalk": "^4.1.0",
2710
+ "cli-cursor": "^3.1.0",
2711
+ "cli-spinners": "^2.5.0",
2712
+ "is-interactive": "^1.0.0",
2713
+ "is-unicode-supported": "^0.1.0",
2714
+ "log-symbols": "^4.1.0",
2715
+ "strip-ansi": "^6.0.0",
2716
+ "wcwidth": "^1.0.1"
2717
+ },
2718
+ "engines": {
2719
+ "node": ">=10"
2720
+ },
2721
+ "funding": {
2722
+ "url": "https://github.com/sponsors/sindresorhus"
2723
+ }
2724
+ },
2725
  "node_modules/p-limit": {
2726
  "version": "3.1.0",
2727
  "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
 
2754
  "url": "https://github.com/sponsors/sindresorhus"
2755
  }
2756
  },
2757
+ "node_modules/package-manager-detector": {
2758
+ "version": "0.2.11",
2759
+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-0.2.11.tgz",
2760
+ "integrity": "sha512-BEnLolu+yuz22S56CU1SUKq3XC3PkwD5wv4ikR4MfGvnRVcmzXR9DwSlW2fEamyTPyXHomBJRzgapeuBvRNzJQ==",
2761
+ "license": "MIT",
2762
+ "dependencies": {
2763
+ "quansync": "^0.2.7"
2764
+ }
2765
+ },
2766
  "node_modules/parent-module": {
2767
  "version": "1.0.1",
2768
  "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
 
3097
  "url": "https://github.com/sponsors/ljharb"
3098
  }
3099
  },
3100
+ "node_modules/quansync": {
3101
+ "version": "0.2.11",
3102
+ "resolved": "https://registry.npmjs.org/quansync/-/quansync-0.2.11.tgz",
3103
+ "integrity": "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==",
3104
+ "funding": [
3105
+ {
3106
+ "type": "individual",
3107
+ "url": "https://github.com/sponsors/antfu"
3108
+ },
3109
+ {
3110
+ "type": "individual",
3111
+ "url": "https://github.com/sponsors/sxzz"
3112
+ }
3113
+ ],
3114
+ "license": "MIT"
3115
+ },
3116
  "node_modules/railroad-diagrams": {
3117
  "version": "1.0.0",
3118
  "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz",
 
3182
  "node": ">=4"
3183
  }
3184
  },
3185
+ "node_modules/restore-cursor": {
3186
+ "version": "3.1.0",
3187
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
3188
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
3189
+ "license": "MIT",
3190
+ "dependencies": {
3191
+ "onetime": "^5.1.0",
3192
+ "signal-exit": "^3.0.2"
3193
+ },
3194
+ "engines": {
3195
+ "node": ">=8"
3196
+ }
3197
+ },
3198
  "node_modules/ret": {
3199
  "version": "0.1.15",
3200
  "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
 
3220
  "node": ">= 18"
3221
  }
3222
  },
3223
+ "node_modules/run-async": {
3224
+ "version": "2.4.1",
3225
+ "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",
3226
+ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==",
3227
+ "license": "MIT",
3228
+ "engines": {
3229
+ "node": ">=0.12.0"
3230
+ }
3231
+ },
3232
  "node_modules/rxjs": {
3233
  "version": "7.8.2",
3234
  "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",
3235
  "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==",
3236
  "license": "Apache-2.0",
 
3237
  "dependencies": {
3238
  "tslib": "^2.1.0"
3239
  }
 
3422
  "url": "https://github.com/sponsors/ljharb"
3423
  }
3424
  },
3425
+ "node_modules/signal-exit": {
3426
+ "version": "3.0.7",
3427
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
3428
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
3429
+ "license": "ISC"
3430
+ },
3431
  "node_modules/smart-buffer": {
3432
  "version": "4.2.0",
3433
  "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
 
3456
  "safe-buffer": "~5.2.0"
3457
  }
3458
  },
3459
+ "node_modules/string-width": {
3460
+ "version": "4.2.3",
3461
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
3462
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
3463
+ "license": "MIT",
3464
+ "dependencies": {
3465
+ "emoji-regex": "^8.0.0",
3466
+ "is-fullwidth-code-point": "^3.0.0",
3467
+ "strip-ansi": "^6.0.1"
3468
+ },
3469
+ "engines": {
3470
+ "node": ">=8"
3471
+ }
3472
+ },
3473
+ "node_modules/strip-ansi": {
3474
+ "version": "6.0.1",
3475
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3476
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3477
+ "license": "MIT",
3478
+ "dependencies": {
3479
+ "ansi-regex": "^5.0.1"
3480
+ },
3481
+ "engines": {
3482
+ "node": ">=8"
3483
+ }
3484
+ },
3485
  "node_modules/strip-json-comments": {
3486
  "version": "3.1.1",
3487
  "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
 
3499
  "version": "7.2.0",
3500
  "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
3501
  "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
 
3502
  "license": "MIT",
3503
  "dependencies": {
3504
  "has-flag": "^4.0.0"
 
3507
  "node": ">=8"
3508
  }
3509
  },
3510
+ "node_modules/through": {
3511
+ "version": "2.3.8",
3512
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
3513
+ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
3514
+ "license": "MIT"
3515
+ },
3516
  "node_modules/tinyglobby": {
3517
  "version": "0.2.17",
3518
  "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
 
3577
  "node": ">= 0.8.0"
3578
  }
3579
  },
3580
+ "node_modules/type-fest": {
3581
+ "version": "0.21.3",
3582
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
3583
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
3584
+ "license": "(MIT OR CC0-1.0)",
3585
+ "engines": {
3586
+ "node": ">=10"
3587
+ },
3588
+ "funding": {
3589
+ "url": "https://github.com/sponsors/sindresorhus"
3590
+ }
3591
+ },
3592
  "node_modules/type-is": {
3593
  "version": "2.1.0",
3594
  "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
 
3630
  "version": "6.0.3",
3631
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
3632
  "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
 
3633
  "license": "Apache-2.0",
3634
  "bin": {
3635
  "tsc": "bin/tsc",
 
3663
  "typescript": ">=4.8.4 <6.1.0"
3664
  }
3665
  },
3666
+ "node_modules/typia": {
3667
+ "version": "12.1.1",
3668
+ "resolved": "https://registry.npmjs.org/typia/-/typia-12.1.1.tgz",
3669
+ "integrity": "sha512-sgUjpsSW8EhvVoLVbalMyejo9XT42cJUPqFPmXPdf/bIh7xY0rIiNF4CJc9oTXZpqtiZR9II7M8qZ0dYkg93Gw==",
3670
+ "license": "MIT",
3671
+ "dependencies": {
3672
+ "@standard-schema/spec": "^1.0.0",
3673
+ "@typia/core": "^12.1.1",
3674
+ "@typia/interface": "^12.1.1",
3675
+ "@typia/transform": "^12.1.1",
3676
+ "@typia/utils": "^12.1.1",
3677
+ "commander": "^10.0.0",
3678
+ "comment-json": "^4.2.3",
3679
+ "inquirer": "^8.2.5",
3680
+ "package-manager-detector": "^0.2.0",
3681
+ "randexp": "^0.5.3"
3682
+ },
3683
+ "bin": {
3684
+ "typia": "lib/executable/typia.js"
3685
+ },
3686
+ "peerDependencies": {
3687
+ "typescript": ">=4.8.0 <7.0.0"
3688
+ }
3689
+ },
3690
+ "node_modules/typia/node_modules/commander": {
3691
+ "version": "10.0.1",
3692
+ "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",
3693
+ "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",
3694
+ "license": "MIT",
3695
+ "engines": {
3696
+ "node": ">=14"
3697
+ }
3698
+ },
3699
+ "node_modules/typia/node_modules/randexp": {
3700
+ "version": "0.5.3",
3701
+ "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.5.3.tgz",
3702
+ "integrity": "sha512-U+5l2KrcMNOUPYvazA3h5ekF80FHTUG+87SEAmHZmolh1M+i/WyTCxVzmi+tidIa1tM4BSe8g2Y/D3loWDjj+w==",
3703
+ "license": "MIT",
3704
+ "dependencies": {
3705
+ "drange": "^1.0.2",
3706
+ "ret": "^0.2.0"
3707
+ },
3708
+ "engines": {
3709
+ "node": ">=4"
3710
+ }
3711
+ },
3712
+ "node_modules/typia/node_modules/ret": {
3713
+ "version": "0.2.2",
3714
+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.2.2.tgz",
3715
+ "integrity": "sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==",
3716
+ "license": "MIT",
3717
+ "engines": {
3718
+ "node": ">=4"
3719
+ }
3720
+ },
3721
  "node_modules/uint4": {
3722
  "version": "0.1.2",
3723
  "resolved": "https://registry.npmjs.org/uint4/-/uint4-0.1.2.tgz",
 
3748
  "punycode": "^2.1.0"
3749
  }
3750
  },
3751
+ "node_modules/util-deprecate": {
3752
+ "version": "1.0.2",
3753
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
3754
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
3755
+ "license": "MIT"
3756
+ },
3757
  "node_modules/uuid": {
3758
  "version": "8.3.2",
3759
  "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
 
3788
  "integrity": "sha512-Sr1U3mYtMqCOonGd3LAN9iqy0qF6C+Gjil92awyK/i2OwiUo9bm7PnLgFpafymun50mOjnDcg4ToTgRssrlTcw==",
3789
  "license": "BSD"
3790
  },
3791
+ "node_modules/wcwidth": {
3792
+ "version": "1.0.1",
3793
+ "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
3794
+ "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==",
3795
+ "license": "MIT",
3796
+ "dependencies": {
3797
+ "defaults": "^1.0.3"
3798
+ }
3799
+ },
3800
  "node_modules/webidl-conversions": {
3801
  "version": "3.0.1",
3802
  "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
 
3839
  "node": ">=0.10.0"
3840
  }
3841
  },
3842
+ "node_modules/wrap-ansi": {
3843
+ "version": "6.2.0",
3844
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
3845
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
3846
+ "license": "MIT",
3847
+ "dependencies": {
3848
+ "ansi-styles": "^4.0.0",
3849
+ "string-width": "^4.1.0",
3850
+ "strip-ansi": "^6.0.0"
3851
+ },
3852
+ "engines": {
3853
+ "node": ">=8"
3854
+ }
3855
+ },
3856
  "node_modules/wrappy": {
3857
  "version": "1.0.2",
3858
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
package.json CHANGED
@@ -17,7 +17,8 @@
17
  "dependencies": {
18
  "express": "^5.2.1",
19
  "mineflayer": "^4.25.0",
20
- "tslib": "^2.8.1"
 
21
  },
22
  "devDependencies": {
23
  "@eslint/js": "^9.39.4",
 
17
  "dependencies": {
18
  "express": "^5.2.1",
19
  "mineflayer": "^4.25.0",
20
+ "tslib": "^2.8.1",
21
+ "typia": "^12.1.1"
22
  },
23
  "devDependencies": {
24
  "@eslint/js": "^9.39.4",
src/index.ts CHANGED
@@ -1,19 +1,22 @@
1
  import { Server } from "./server/server";
2
  import { Logger } from "./logger/logger";
 
3
  //import { Config } from "./config/config";
4
  //import { Bot } from "./bot/bot";
5
 
6
  function main(): void {
7
  //const config: Config = new Config({});
8
  const logger: Logger = new Logger();
9
-
10
  const server: Server = new Server(logger);
 
11
  //const bot: Bot = new Bot(config, logger);
12
 
13
- server.get("/", () => {
14
- return "<h1>NSMP Server</h1>";
15
  })
16
 
 
 
17
  //bot.connect();
18
  server.start(7860);
19
  }
 
1
  import { Server } from "./server/server";
2
  import { Logger } from "./logger/logger";
3
+ import { ModManager } from "./mods/mods";
4
  //import { Config } from "./config/config";
5
  //import { Bot } from "./bot/bot";
6
 
7
  function main(): void {
8
  //const config: Config = new Config({});
9
  const logger: Logger = new Logger();
 
10
  const server: Server = new Server(logger);
11
+ const modManager: ModManager = new ModManager(server);
12
  //const bot: Bot = new Bot(config, logger);
13
 
14
+ server.get("/", (_req, res) => {
15
+ res.send("<h1>NSMP Server</h1>");
16
  })
17
 
18
+ modManager.createModEndpoints();
19
+
20
  //bot.connect();
21
  server.start(7860);
22
  }
src/mods/mod-metadata.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+
2
+
3
+ export interface ModMetadata {
4
+ name: string,
5
+ }
src/mods/mod.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ export interface Mod {
4
+ name: string,
5
+ filename: string,
6
+ sha256: string,
7
+ url: string,
8
+ }
src/mods/mods.ts ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { Server } from "../server/server";
2
+ import path from 'node:path';
3
+ import { readdir, readFile } from "fs/promises"
4
+ import { sha256 } from "../utils/sha256";
5
+ import { Mod } from "./mod";
6
+ import typia from "typia"
7
+ import { ModMetadata } from "./mod-metadata";
8
+
9
+ export class ModManager {
10
+ private server: Server;
11
+
12
+ constructor(server: Server) {
13
+ this.server = server;
14
+ }
15
+
16
+ public async createModEndpoints(): Promise<void> {
17
+ const mods: Mod[] = await this.getModList();
18
+
19
+ this.server.get("/mods/", (_req, res) => {
20
+ res.send(typia.json.stringify(mods));
21
+ })
22
+
23
+ for (const mod of mods) {
24
+ this.server.get(`/files/mods/${mod.filename}`, (_req, res) => {
25
+ const filepath = `/mods/${mod.filename}`;
26
+ res.download(filepath);
27
+ })
28
+ }
29
+ }
30
+
31
+ private async getModList(): Promise<Mod[]> {
32
+ const modFolderPath = path.join("mods");
33
+
34
+ const filenames = await readdir(modFolderPath);
35
+
36
+ const mods: Mod[] = [];
37
+
38
+ for (const filename of filenames) {
39
+ const filepath = path.join(modFolderPath, filename);
40
+ const metadataFilepath = filepath + ".json"
41
+
42
+ const content = await readFile(filepath);
43
+ const metadataContent = await readFile(metadataFilepath, "utf-8");
44
+
45
+ const jsonData = JSON.parse(metadataContent);
46
+ const metadata = typia.assert<ModMetadata>(jsonData);
47
+
48
+ const hash = sha256(content)
49
+
50
+ mods.push({
51
+ name: metadata.name,
52
+ filename: filename,
53
+ sha256: hash,
54
+ url: `https://NSMP-NSMP-Server.hf.space/files/${filename}`,
55
+ } as Mod);
56
+ }
57
+
58
+ return mods;
59
+ }
60
+ };
src/utils/sha256.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import { createHash } from "node:crypto";
2
+
3
+ export function sha256(input: string | Buffer): string {
4
+ return createHash("sha256").update(input).digest("hex");
5
+ }