victor HF Staff commited on
Commit
90ae269
·
1 Parent(s): 46dea76

Remove unused dependencies and add mime-types

Browse files

Removed several unused dependencies including @gradio/client and fs-extra, and added mime-types to the project. Also updated import in groups/misc.ts to use mime-types and adjusted vite.config.ts accordingly.

package-lock.json CHANGED
@@ -9,7 +9,6 @@
9
  "version": "0.20.0",
10
  "dependencies": {
11
  "@elysiajs/swagger": "^1.3.0",
12
- "@gradio/client": "^1.8.0",
13
  "@huggingface/hub": "^2.2.0",
14
  "@huggingface/inference": "^3.12.1",
15
  "@iconify-json/bi": "^1.1.21",
@@ -27,6 +26,7 @@
27
  "katex": "^0.16.21",
28
  "lint-staged": "^15.2.7",
29
  "marked": "^12.0.1",
 
30
  "mongodb": "^5.8.0",
31
  "nanoid": "^5.0.9",
32
  "openai": "^4.44.0",
@@ -70,7 +70,6 @@
70
  "eslint": "^8.28.0",
71
  "eslint-config-prettier": "^8.5.0",
72
  "eslint-plugin-svelte": "^2.45.1",
73
- "fs-extra": "^11.3.1",
74
  "js-yaml": "^4.1.0",
75
  "minimist": "^1.2.8",
76
  "mongodb-memory-server": "^10.1.2",
@@ -278,43 +277,6 @@
278
  "node": ">=6.9.0"
279
  }
280
  },
281
- "node_modules/@bundled-es-modules/cookie": {
282
- "version": "2.0.1",
283
- "resolved": "https://registry.npmjs.org/@bundled-es-modules/cookie/-/cookie-2.0.1.tgz",
284
- "integrity": "sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw==",
285
- "license": "ISC",
286
- "dependencies": {
287
- "cookie": "^0.7.2"
288
- }
289
- },
290
- "node_modules/@bundled-es-modules/cookie/node_modules/cookie": {
291
- "version": "0.7.2",
292
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
293
- "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
294
- "license": "MIT",
295
- "engines": {
296
- "node": ">= 0.6"
297
- }
298
- },
299
- "node_modules/@bundled-es-modules/statuses": {
300
- "version": "1.0.1",
301
- "resolved": "https://registry.npmjs.org/@bundled-es-modules/statuses/-/statuses-1.0.1.tgz",
302
- "integrity": "sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg==",
303
- "license": "ISC",
304
- "dependencies": {
305
- "statuses": "^2.0.1"
306
- }
307
- },
308
- "node_modules/@bundled-es-modules/tough-cookie": {
309
- "version": "0.1.6",
310
- "resolved": "https://registry.npmjs.org/@bundled-es-modules/tough-cookie/-/tough-cookie-0.1.6.tgz",
311
- "integrity": "sha512-dvMHbL464C0zI+Yqxbz6kZ5TOEp7GLW+pry/RWndAR8MJQAXZ2rPmIs8tziTZjeIyhSNZgZbCePtfSbdWqStJw==",
312
- "license": "ISC",
313
- "dependencies": {
314
- "@types/tough-cookie": "^4.0.5",
315
- "tough-cookie": "^4.1.4"
316
- }
317
- },
318
  "node_modules/@csstools/color-helpers": {
319
  "version": "5.1.0",
320
  "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.1.0.tgz",
@@ -964,26 +926,6 @@
964
  "npm": ">=6.14.13"
965
  }
966
  },
967
- "node_modules/@gradio/client": {
968
- "version": "1.15.1",
969
- "resolved": "https://registry.npmjs.org/@gradio/client/-/client-1.15.1.tgz",
970
- "integrity": "sha512-9WcemR708HYsyJgeP0l07jzGw8wPLVOUofaa9/ZeHSkeVnOXAIOfURxWHlP3rgpX3/1YDVZP5hs6NxyXhkV/gQ==",
971
- "license": "ISC",
972
- "dependencies": {
973
- "@types/eventsource": "^1.1.15",
974
- "bufferutil": "^4.0.7",
975
- "eventsource": "^2.0.2",
976
- "fetch-event-stream": "^0.1.5",
977
- "msw": "^2.2.1",
978
- "semiver": "^1.1.0",
979
- "textlinestream": "^1.1.1",
980
- "typescript": "^5.0.0",
981
- "ws": "^8.13.0"
982
- },
983
- "engines": {
984
- "node": ">=18.0.0"
985
- }
986
- },
987
  "node_modules/@huggingface/hub": {
988
  "version": "2.2.0",
989
  "resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-2.2.0.tgz",
@@ -1590,150 +1532,6 @@
1590
  "url": "https://opencollective.com/libvips"
1591
  }
1592
  },
1593
- "node_modules/@inquirer/confirm": {
1594
- "version": "5.1.12",
1595
- "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.12.tgz",
1596
- "integrity": "sha512-dpq+ielV9/bqgXRUbNH//KsY6WEw9DrGPmipkpmgC1Y46cwuBTNx7PXFWTjc3MQ+urcc0QxoVHcMI0FW4Ok0hg==",
1597
- "license": "MIT",
1598
- "dependencies": {
1599
- "@inquirer/core": "^10.1.13",
1600
- "@inquirer/type": "^3.0.7"
1601
- },
1602
- "engines": {
1603
- "node": ">=18"
1604
- },
1605
- "peerDependencies": {
1606
- "@types/node": ">=18"
1607
- },
1608
- "peerDependenciesMeta": {
1609
- "@types/node": {
1610
- "optional": true
1611
- }
1612
- }
1613
- },
1614
- "node_modules/@inquirer/core": {
1615
- "version": "10.1.13",
1616
- "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.13.tgz",
1617
- "integrity": "sha512-1viSxebkYN2nJULlzCxES6G9/stgHSepZ9LqqfdIGPHj5OHhiBUXVS0a6R0bEC2A+VL4D9w6QB66ebCr6HGllA==",
1618
- "license": "MIT",
1619
- "dependencies": {
1620
- "@inquirer/figures": "^1.0.12",
1621
- "@inquirer/type": "^3.0.7",
1622
- "ansi-escapes": "^4.3.2",
1623
- "cli-width": "^4.1.0",
1624
- "mute-stream": "^2.0.0",
1625
- "signal-exit": "^4.1.0",
1626
- "wrap-ansi": "^6.2.0",
1627
- "yoctocolors-cjs": "^2.1.2"
1628
- },
1629
- "engines": {
1630
- "node": ">=18"
1631
- },
1632
- "peerDependencies": {
1633
- "@types/node": ">=18"
1634
- },
1635
- "peerDependenciesMeta": {
1636
- "@types/node": {
1637
- "optional": true
1638
- }
1639
- }
1640
- },
1641
- "node_modules/@inquirer/core/node_modules/ansi-escapes": {
1642
- "version": "4.3.2",
1643
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
1644
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
1645
- "license": "MIT",
1646
- "dependencies": {
1647
- "type-fest": "^0.21.3"
1648
- },
1649
- "engines": {
1650
- "node": ">=8"
1651
- },
1652
- "funding": {
1653
- "url": "https://github.com/sponsors/sindresorhus"
1654
- }
1655
- },
1656
- "node_modules/@inquirer/core/node_modules/emoji-regex": {
1657
- "version": "8.0.0",
1658
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
1659
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
1660
- "license": "MIT"
1661
- },
1662
- "node_modules/@inquirer/core/node_modules/is-fullwidth-code-point": {
1663
- "version": "3.0.0",
1664
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
1665
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
1666
- "license": "MIT",
1667
- "engines": {
1668
- "node": ">=8"
1669
- }
1670
- },
1671
- "node_modules/@inquirer/core/node_modules/string-width": {
1672
- "version": "4.2.3",
1673
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
1674
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
1675
- "license": "MIT",
1676
- "dependencies": {
1677
- "emoji-regex": "^8.0.0",
1678
- "is-fullwidth-code-point": "^3.0.0",
1679
- "strip-ansi": "^6.0.1"
1680
- },
1681
- "engines": {
1682
- "node": ">=8"
1683
- }
1684
- },
1685
- "node_modules/@inquirer/core/node_modules/type-fest": {
1686
- "version": "0.21.3",
1687
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
1688
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
1689
- "license": "(MIT OR CC0-1.0)",
1690
- "engines": {
1691
- "node": ">=10"
1692
- },
1693
- "funding": {
1694
- "url": "https://github.com/sponsors/sindresorhus"
1695
- }
1696
- },
1697
- "node_modules/@inquirer/core/node_modules/wrap-ansi": {
1698
- "version": "6.2.0",
1699
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
1700
- "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
1701
- "license": "MIT",
1702
- "dependencies": {
1703
- "ansi-styles": "^4.0.0",
1704
- "string-width": "^4.1.0",
1705
- "strip-ansi": "^6.0.0"
1706
- },
1707
- "engines": {
1708
- "node": ">=8"
1709
- }
1710
- },
1711
- "node_modules/@inquirer/figures": {
1712
- "version": "1.0.12",
1713
- "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.12.tgz",
1714
- "integrity": "sha512-MJttijd8rMFcKJC8NYmprWr6hD3r9Gd9qUC0XwPNwoEPWSMVJwA2MlXxF+nhZZNMY+HXsWa+o7KY2emWYIn0jQ==",
1715
- "license": "MIT",
1716
- "engines": {
1717
- "node": ">=18"
1718
- }
1719
- },
1720
- "node_modules/@inquirer/type": {
1721
- "version": "3.0.7",
1722
- "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.7.tgz",
1723
- "integrity": "sha512-PfunHQcjwnju84L+ycmcMKB/pTPIngjUJvfnRhKY6FKPuYXlM4aQCb/nIdTFR6BEhMjFvngzvng/vBAJMZpLSA==",
1724
- "license": "MIT",
1725
- "engines": {
1726
- "node": ">=18"
1727
- },
1728
- "peerDependencies": {
1729
- "@types/node": ">=18"
1730
- },
1731
- "peerDependenciesMeta": {
1732
- "@types/node": {
1733
- "optional": true
1734
- }
1735
- }
1736
- },
1737
  "node_modules/@isaacs/cliui": {
1738
  "version": "8.0.2",
1739
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -1888,23 +1686,6 @@
1888
  "sparse-bitfield": "^3.0.3"
1889
  }
1890
  },
1891
- "node_modules/@mswjs/interceptors": {
1892
- "version": "0.38.7",
1893
- "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.38.7.tgz",
1894
- "integrity": "sha512-Jkb27iSn7JPdkqlTqKfhncFfnEZsIJVYxsFbUSWEkxdIPdsyngrhoDBk0/BGD2FQcRH99vlRrkHpNTyKqI+0/w==",
1895
- "license": "MIT",
1896
- "dependencies": {
1897
- "@open-draft/deferred-promise": "^2.2.0",
1898
- "@open-draft/logger": "^0.3.0",
1899
- "@open-draft/until": "^2.0.0",
1900
- "is-node-process": "^1.2.0",
1901
- "outvariant": "^1.4.3",
1902
- "strict-event-emitter": "^0.5.1"
1903
- },
1904
- "engines": {
1905
- "node": ">=18"
1906
- }
1907
- },
1908
  "node_modules/@nodelib/fs.scandir": {
1909
  "version": "2.1.5",
1910
  "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -1940,28 +1721,6 @@
1940
  "node": ">= 8"
1941
  }
1942
  },
1943
- "node_modules/@open-draft/deferred-promise": {
1944
- "version": "2.2.0",
1945
- "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz",
1946
- "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==",
1947
- "license": "MIT"
1948
- },
1949
- "node_modules/@open-draft/logger": {
1950
- "version": "0.3.0",
1951
- "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz",
1952
- "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==",
1953
- "license": "MIT",
1954
- "dependencies": {
1955
- "is-node-process": "^1.2.0",
1956
- "outvariant": "^1.4.0"
1957
- }
1958
- },
1959
- "node_modules/@open-draft/until": {
1960
- "version": "2.1.0",
1961
- "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz",
1962
- "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==",
1963
- "license": "MIT"
1964
- },
1965
  "node_modules/@pkgjs/parseargs": {
1966
  "version": "0.11.0",
1967
  "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
@@ -2843,6 +2602,7 @@
2843
  "version": "0.6.0",
2844
  "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz",
2845
  "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==",
 
2846
  "license": "MIT"
2847
  },
2848
  "node_modules/@types/deep-eql": {
@@ -2867,12 +2627,6 @@
2867
  "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
2868
  "license": "MIT"
2869
  },
2870
- "node_modules/@types/eventsource": {
2871
- "version": "1.1.15",
2872
- "resolved": "https://registry.npmjs.org/@types/eventsource/-/eventsource-1.1.15.tgz",
2873
- "integrity": "sha512-XQmGcbnxUNa06HR3VBVkc9+A2Vpi9ZyLJcdS5dwaQQ/4ZMWFO+5c90FnMUpbtMZwB/FChoYHwuVg8TvkECacTA==",
2874
- "license": "MIT"
2875
- },
2876
  "node_modules/@types/js-yaml": {
2877
  "version": "4.0.9",
2878
  "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
@@ -2961,18 +2715,6 @@
2961
  "dev": true,
2962
  "license": "MIT"
2963
  },
2964
- "node_modules/@types/statuses": {
2965
- "version": "2.0.5",
2966
- "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.5.tgz",
2967
- "integrity": "sha512-jmIUGWrAiwu3dZpxntxieC+1n/5c3mjrImkmOSQ2NC5uP6cYO4aAZDdSmRcI5C1oiTmqlZGHC+/NmJrKogbP5A==",
2968
- "license": "MIT"
2969
- },
2970
- "node_modules/@types/tough-cookie": {
2971
- "version": "4.0.5",
2972
- "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
2973
- "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
2974
- "license": "MIT"
2975
- },
2976
  "node_modules/@types/trusted-types": {
2977
  "version": "2.0.7",
2978
  "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
@@ -3822,19 +3564,6 @@
3822
  "node": "*"
3823
  }
3824
  },
3825
- "node_modules/bufferutil": {
3826
- "version": "4.0.9",
3827
- "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.9.tgz",
3828
- "integrity": "sha512-WDtdLmJvAuNNPzByAYpRo2rF1Mmradw6gvWsQKf63476DDXmomT9zUiGypLcG4ibIM67vhAj8jJRdbmEws2Aqw==",
3829
- "hasInstallScript": true,
3830
- "license": "MIT",
3831
- "dependencies": {
3832
- "node-gyp-build": "^4.3.0"
3833
- },
3834
- "engines": {
3835
- "node": ">=6.14.2"
3836
- }
3837
- },
3838
  "node_modules/cac": {
3839
  "version": "6.7.14",
3840
  "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
@@ -4006,75 +3735,6 @@
4006
  "url": "https://github.com/sponsors/sindresorhus"
4007
  }
4008
  },
4009
- "node_modules/cli-width": {
4010
- "version": "4.1.0",
4011
- "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz",
4012
- "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==",
4013
- "license": "ISC",
4014
- "engines": {
4015
- "node": ">= 12"
4016
- }
4017
- },
4018
- "node_modules/cliui": {
4019
- "version": "8.0.1",
4020
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
4021
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
4022
- "license": "ISC",
4023
- "dependencies": {
4024
- "string-width": "^4.2.0",
4025
- "strip-ansi": "^6.0.1",
4026
- "wrap-ansi": "^7.0.0"
4027
- },
4028
- "engines": {
4029
- "node": ">=12"
4030
- }
4031
- },
4032
- "node_modules/cliui/node_modules/emoji-regex": {
4033
- "version": "8.0.0",
4034
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
4035
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
4036
- "license": "MIT"
4037
- },
4038
- "node_modules/cliui/node_modules/is-fullwidth-code-point": {
4039
- "version": "3.0.0",
4040
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
4041
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
4042
- "license": "MIT",
4043
- "engines": {
4044
- "node": ">=8"
4045
- }
4046
- },
4047
- "node_modules/cliui/node_modules/string-width": {
4048
- "version": "4.2.3",
4049
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
4050
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
4051
- "license": "MIT",
4052
- "dependencies": {
4053
- "emoji-regex": "^8.0.0",
4054
- "is-fullwidth-code-point": "^3.0.0",
4055
- "strip-ansi": "^6.0.1"
4056
- },
4057
- "engines": {
4058
- "node": ">=8"
4059
- }
4060
- },
4061
- "node_modules/cliui/node_modules/wrap-ansi": {
4062
- "version": "7.0.0",
4063
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
4064
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
4065
- "license": "MIT",
4066
- "dependencies": {
4067
- "ansi-styles": "^4.0.0",
4068
- "string-width": "^4.1.0",
4069
- "strip-ansi": "^6.0.0"
4070
- },
4071
- "engines": {
4072
- "node": ">=10"
4073
- },
4074
- "funding": {
4075
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
4076
- }
4077
- },
4078
  "node_modules/clsx": {
4079
  "version": "2.1.1",
4080
  "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
@@ -4946,15 +4606,6 @@
4946
  "node": ">=0.8.x"
4947
  }
4948
  },
4949
- "node_modules/eventsource": {
4950
- "version": "2.0.2",
4951
- "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz",
4952
- "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==",
4953
- "license": "MIT",
4954
- "engines": {
4955
- "node": ">=12.0.0"
4956
- }
4957
- },
4958
  "node_modules/exact-mirror": {
4959
  "version": "0.1.2",
4960
  "resolved": "https://registry.npmjs.org/exact-mirror/-/exact-mirror-0.1.2.tgz",
@@ -5126,12 +4777,6 @@
5126
  }
5127
  }
5128
  },
5129
- "node_modules/fetch-event-stream": {
5130
- "version": "0.1.5",
5131
- "resolved": "https://registry.npmjs.org/fetch-event-stream/-/fetch-event-stream-0.1.5.tgz",
5132
- "integrity": "sha512-V1PWovkspxQfssq/NnxoEyQo1DV+MRK/laPuPblIZmSjMN8P5u46OhlFQznSr9p/t0Sp8Uc6SbM3yCMfr0KU8g==",
5133
- "license": "MIT"
5134
- },
5135
  "node_modules/fflate": {
5136
  "version": "0.8.2",
5137
  "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
@@ -5323,21 +4968,6 @@
5323
  "url": "https://github.com/sponsors/rawify"
5324
  }
5325
  },
5326
- "node_modules/fs-extra": {
5327
- "version": "11.3.1",
5328
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz",
5329
- "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==",
5330
- "dev": true,
5331
- "license": "MIT",
5332
- "dependencies": {
5333
- "graceful-fs": "^4.2.0",
5334
- "jsonfile": "^6.0.1",
5335
- "universalify": "^2.0.0"
5336
- },
5337
- "engines": {
5338
- "node": ">=14.14"
5339
- }
5340
- },
5341
  "node_modules/fs.realpath": {
5342
  "version": "1.0.0",
5343
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -5368,15 +4998,6 @@
5368
  "url": "https://github.com/sponsors/ljharb"
5369
  }
5370
  },
5371
- "node_modules/get-caller-file": {
5372
- "version": "2.0.5",
5373
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
5374
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
5375
- "license": "ISC",
5376
- "engines": {
5377
- "node": "6.* || 8.* || >= 10.*"
5378
- }
5379
- },
5380
  "node_modules/get-east-asian-width": {
5381
  "version": "1.3.0",
5382
  "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz",
@@ -5545,13 +5166,6 @@
5545
  "url": "https://github.com/sponsors/ljharb"
5546
  }
5547
  },
5548
- "node_modules/graceful-fs": {
5549
- "version": "4.2.11",
5550
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
5551
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
5552
- "dev": true,
5553
- "license": "ISC"
5554
- },
5555
  "node_modules/graphemer": {
5556
  "version": "1.4.0",
5557
  "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
@@ -5559,15 +5173,6 @@
5559
  "dev": true,
5560
  "license": "MIT"
5561
  },
5562
- "node_modules/graphql": {
5563
- "version": "16.11.0",
5564
- "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz",
5565
- "integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==",
5566
- "license": "MIT",
5567
- "engines": {
5568
- "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
5569
- }
5570
- },
5571
  "node_modules/handlebars": {
5572
  "version": "4.7.8",
5573
  "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz",
@@ -5637,12 +5242,6 @@
5637
  "node": ">= 0.4"
5638
  }
5639
  },
5640
- "node_modules/headers-polyfill": {
5641
- "version": "4.0.3",
5642
- "resolved": "https://registry.npmjs.org/headers-polyfill/-/headers-polyfill-4.0.3.tgz",
5643
- "integrity": "sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==",
5644
- "license": "MIT"
5645
- },
5646
  "node_modules/help-me": {
5647
  "version": "5.0.0",
5648
  "resolved": "https://registry.npmjs.org/help-me/-/help-me-5.0.0.tgz",
@@ -5927,12 +5526,6 @@
5927
  "dev": true,
5928
  "license": "MIT"
5929
  },
5930
- "node_modules/is-node-process": {
5931
- "version": "1.2.0",
5932
- "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz",
5933
- "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==",
5934
- "license": "MIT"
5935
- },
5936
  "node_modules/is-number": {
5937
  "version": "7.0.0",
5938
  "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
@@ -6244,19 +5837,6 @@
6244
  "node": ">=6"
6245
  }
6246
  },
6247
- "node_modules/jsonfile": {
6248
- "version": "6.2.0",
6249
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
6250
- "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
6251
- "dev": true,
6252
- "license": "MIT",
6253
- "dependencies": {
6254
- "universalify": "^2.0.0"
6255
- },
6256
- "optionalDependencies": {
6257
- "graceful-fs": "^4.1.6"
6258
- }
6259
- },
6260
  "node_modules/katex": {
6261
  "version": "0.16.22",
6262
  "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz",
@@ -7054,77 +6634,6 @@
7054
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
7055
  "license": "MIT"
7056
  },
7057
- "node_modules/msw": {
7058
- "version": "2.9.0",
7059
- "resolved": "https://registry.npmjs.org/msw/-/msw-2.9.0.tgz",
7060
- "integrity": "sha512-fNyrJ11YNbe2zl64EwtxM5OFkInFPAw5vipOljMsf9lY2ep9B2BslqQrS8EC9pB9961K61FqTUi0wsdqk6hwow==",
7061
- "hasInstallScript": true,
7062
- "license": "MIT",
7063
- "dependencies": {
7064
- "@bundled-es-modules/cookie": "^2.0.1",
7065
- "@bundled-es-modules/statuses": "^1.0.1",
7066
- "@bundled-es-modules/tough-cookie": "^0.1.6",
7067
- "@inquirer/confirm": "^5.0.0",
7068
- "@mswjs/interceptors": "^0.38.7",
7069
- "@open-draft/deferred-promise": "^2.2.0",
7070
- "@open-draft/until": "^2.1.0",
7071
- "@types/cookie": "^0.6.0",
7072
- "@types/statuses": "^2.0.4",
7073
- "graphql": "^16.8.1",
7074
- "headers-polyfill": "^4.0.2",
7075
- "is-node-process": "^1.2.0",
7076
- "outvariant": "^1.4.3",
7077
- "path-to-regexp": "^6.3.0",
7078
- "picocolors": "^1.1.1",
7079
- "strict-event-emitter": "^0.5.1",
7080
- "type-fest": "^4.26.1",
7081
- "yargs": "^17.7.2"
7082
- },
7083
- "bin": {
7084
- "msw": "cli/index.js"
7085
- },
7086
- "engines": {
7087
- "node": ">=18"
7088
- },
7089
- "funding": {
7090
- "url": "https://github.com/sponsors/mswjs"
7091
- },
7092
- "peerDependencies": {
7093
- "typescript": ">= 4.8.x"
7094
- },
7095
- "peerDependenciesMeta": {
7096
- "typescript": {
7097
- "optional": true
7098
- }
7099
- }
7100
- },
7101
- "node_modules/msw/node_modules/path-to-regexp": {
7102
- "version": "6.3.0",
7103
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
7104
- "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
7105
- "license": "MIT"
7106
- },
7107
- "node_modules/msw/node_modules/type-fest": {
7108
- "version": "4.41.0",
7109
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
7110
- "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
7111
- "license": "(MIT OR CC0-1.0)",
7112
- "engines": {
7113
- "node": ">=16"
7114
- },
7115
- "funding": {
7116
- "url": "https://github.com/sponsors/sindresorhus"
7117
- }
7118
- },
7119
- "node_modules/mute-stream": {
7120
- "version": "2.0.0",
7121
- "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz",
7122
- "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==",
7123
- "license": "ISC",
7124
- "engines": {
7125
- "node": "^18.17.0 || >=20.5.0"
7126
- }
7127
- },
7128
  "node_modules/mz": {
7129
  "version": "2.7.0",
7130
  "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
@@ -7242,17 +6751,6 @@
7242
  "webidl-conversions": "^3.0.0"
7243
  }
7244
  },
7245
- "node_modules/node-gyp-build": {
7246
- "version": "4.8.4",
7247
- "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz",
7248
- "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==",
7249
- "license": "MIT",
7250
- "bin": {
7251
- "node-gyp-build": "bin.js",
7252
- "node-gyp-build-optional": "optional.js",
7253
- "node-gyp-build-test": "build-test.js"
7254
- }
7255
- },
7256
  "node_modules/node-int64": {
7257
  "version": "0.4.0",
7258
  "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
@@ -7477,12 +6975,6 @@
7477
  "node": ">= 0.8.0"
7478
  }
7479
  },
7480
- "node_modules/outvariant": {
7481
- "version": "1.4.3",
7482
- "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz",
7483
- "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==",
7484
- "license": "MIT"
7485
- },
7486
  "node_modules/p-limit": {
7487
  "version": "3.1.0",
7488
  "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
@@ -8344,18 +7836,6 @@
8344
  ],
8345
  "license": "MIT"
8346
  },
8347
- "node_modules/psl": {
8348
- "version": "1.15.0",
8349
- "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz",
8350
- "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==",
8351
- "license": "MIT",
8352
- "dependencies": {
8353
- "punycode": "^2.3.1"
8354
- },
8355
- "funding": {
8356
- "url": "https://github.com/sponsors/lupomontero"
8357
- }
8358
- },
8359
  "node_modules/pump": {
8360
  "version": "3.0.2",
8361
  "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
@@ -8403,12 +7883,6 @@
8403
  ],
8404
  "license": "MIT"
8405
  },
8406
- "node_modules/querystringify": {
8407
- "version": "2.2.0",
8408
- "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
8409
- "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
8410
- "license": "MIT"
8411
- },
8412
  "node_modules/queue-microtask": {
8413
  "version": "1.2.3",
8414
  "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@@ -8490,21 +7964,6 @@
8490
  "node": ">= 12.13.0"
8491
  }
8492
  },
8493
- "node_modules/require-directory": {
8494
- "version": "2.1.1",
8495
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
8496
- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
8497
- "license": "MIT",
8498
- "engines": {
8499
- "node": ">=0.10.0"
8500
- }
8501
- },
8502
- "node_modules/requires-port": {
8503
- "version": "1.0.0",
8504
- "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
8505
- "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
8506
- "license": "MIT"
8507
- },
8508
  "node_modules/resolve": {
8509
  "version": "1.22.10",
8510
  "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
@@ -8769,15 +8228,6 @@
8769
  "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==",
8770
  "license": "BSD-3-Clause"
8771
  },
8772
- "node_modules/semiver": {
8773
- "version": "1.1.0",
8774
- "resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz",
8775
- "integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==",
8776
- "license": "MIT",
8777
- "engines": {
8778
- "node": ">=6"
8779
- }
8780
- },
8781
  "node_modules/semver": {
8782
  "version": "7.7.2",
8783
  "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
@@ -9024,15 +8474,6 @@
9024
  "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
9025
  "license": "MIT"
9026
  },
9027
- "node_modules/statuses": {
9028
- "version": "2.0.1",
9029
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
9030
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
9031
- "license": "MIT",
9032
- "engines": {
9033
- "node": ">= 0.8"
9034
- }
9035
- },
9036
  "node_modules/std-env": {
9037
  "version": "3.9.0",
9038
  "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz",
@@ -9053,12 +8494,6 @@
9053
  "bare-events": "^2.2.0"
9054
  }
9055
  },
9056
- "node_modules/strict-event-emitter": {
9057
- "version": "0.5.1",
9058
- "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz",
9059
- "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==",
9060
- "license": "MIT"
9061
- },
9062
  "node_modules/string_decoder": {
9063
  "version": "1.3.0",
9064
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
@@ -9638,12 +9073,6 @@
9638
  "dev": true,
9639
  "license": "MIT"
9640
  },
9641
- "node_modules/textlinestream": {
9642
- "version": "1.1.1",
9643
- "resolved": "https://registry.npmjs.org/textlinestream/-/textlinestream-1.1.1.tgz",
9644
- "integrity": "sha512-iBHbi7BQxrFmwZUQJsT0SjNzlLLsXhvW/kg7EyOMVMBIrlnj/qYofwo1LVLZi+3GbUEo96Iu2eqToI2+lZoAEQ==",
9645
- "license": "MIT"
9646
- },
9647
  "node_modules/thenify": {
9648
  "version": "3.3.1",
9649
  "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
@@ -9787,30 +9216,6 @@
9787
  "node": ">=6"
9788
  }
9789
  },
9790
- "node_modules/tough-cookie": {
9791
- "version": "4.1.4",
9792
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
9793
- "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
9794
- "license": "BSD-3-Clause",
9795
- "dependencies": {
9796
- "psl": "^1.1.33",
9797
- "punycode": "^2.1.1",
9798
- "universalify": "^0.2.0",
9799
- "url-parse": "^1.5.3"
9800
- },
9801
- "engines": {
9802
- "node": ">=6"
9803
- }
9804
- },
9805
- "node_modules/tough-cookie/node_modules/universalify": {
9806
- "version": "0.2.0",
9807
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
9808
- "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
9809
- "license": "MIT",
9810
- "engines": {
9811
- "node": ">= 4.0.0"
9812
- }
9813
- },
9814
  "node_modules/ts-api-utils": {
9815
  "version": "1.4.3",
9816
  "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz",
@@ -9930,16 +9335,6 @@
9930
  "tiny-inflate": "^1.0.0"
9931
  }
9932
  },
9933
- "node_modules/universalify": {
9934
- "version": "2.0.1",
9935
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
9936
- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
9937
- "dev": true,
9938
- "license": "MIT",
9939
- "engines": {
9940
- "node": ">= 10.0.0"
9941
- }
9942
- },
9943
  "node_modules/unplugin": {
9944
  "version": "1.16.1",
9945
  "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.16.1.tgz",
@@ -10037,16 +9432,6 @@
10037
  "punycode": "^2.1.0"
10038
  }
10039
  },
10040
- "node_modules/url-parse": {
10041
- "version": "1.5.10",
10042
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
10043
- "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
10044
- "license": "MIT",
10045
- "dependencies": {
10046
- "querystringify": "^2.1.1",
10047
- "requires-port": "^1.0.0"
10048
- }
10049
- },
10050
  "node_modules/util-deprecate": {
10051
  "version": "1.0.2",
10052
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -10552,15 +9937,6 @@
10552
  "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
10553
  "license": "MIT"
10554
  },
10555
- "node_modules/y18n": {
10556
- "version": "5.0.8",
10557
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
10558
- "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
10559
- "license": "ISC",
10560
- "engines": {
10561
- "node": ">=10"
10562
- }
10563
- },
10564
  "node_modules/yallist": {
10565
  "version": "4.0.0",
10566
  "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
@@ -10579,62 +9955,6 @@
10579
  "node": ">= 14.6"
10580
  }
10581
  },
10582
- "node_modules/yargs": {
10583
- "version": "17.7.2",
10584
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
10585
- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
10586
- "license": "MIT",
10587
- "dependencies": {
10588
- "cliui": "^8.0.1",
10589
- "escalade": "^3.1.1",
10590
- "get-caller-file": "^2.0.5",
10591
- "require-directory": "^2.1.1",
10592
- "string-width": "^4.2.3",
10593
- "y18n": "^5.0.5",
10594
- "yargs-parser": "^21.1.1"
10595
- },
10596
- "engines": {
10597
- "node": ">=12"
10598
- }
10599
- },
10600
- "node_modules/yargs/node_modules/emoji-regex": {
10601
- "version": "8.0.0",
10602
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
10603
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
10604
- "license": "MIT"
10605
- },
10606
- "node_modules/yargs/node_modules/is-fullwidth-code-point": {
10607
- "version": "3.0.0",
10608
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
10609
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
10610
- "license": "MIT",
10611
- "engines": {
10612
- "node": ">=8"
10613
- }
10614
- },
10615
- "node_modules/yargs/node_modules/string-width": {
10616
- "version": "4.2.3",
10617
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
10618
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
10619
- "license": "MIT",
10620
- "dependencies": {
10621
- "emoji-regex": "^8.0.0",
10622
- "is-fullwidth-code-point": "^3.0.0",
10623
- "strip-ansi": "^6.0.1"
10624
- },
10625
- "engines": {
10626
- "node": ">=8"
10627
- }
10628
- },
10629
- "node_modules/yargs/node_modules/yargs-parser": {
10630
- "version": "21.1.1",
10631
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
10632
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
10633
- "license": "ISC",
10634
- "engines": {
10635
- "node": ">=12"
10636
- }
10637
- },
10638
  "node_modules/yauzl": {
10639
  "version": "3.2.0",
10640
  "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.2.0.tgz",
@@ -10682,18 +10002,6 @@
10682
  "url": "https://github.com/sponsors/sindresorhus"
10683
  }
10684
  },
10685
- "node_modules/yoctocolors-cjs": {
10686
- "version": "2.1.2",
10687
- "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz",
10688
- "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==",
10689
- "license": "MIT",
10690
- "engines": {
10691
- "node": ">=18"
10692
- },
10693
- "funding": {
10694
- "url": "https://github.com/sponsors/sindresorhus"
10695
- }
10696
- },
10697
  "node_modules/yoga-wasm-web": {
10698
  "version": "0.3.3",
10699
  "resolved": "https://registry.npmjs.org/yoga-wasm-web/-/yoga-wasm-web-0.3.3.tgz",
 
9
  "version": "0.20.0",
10
  "dependencies": {
11
  "@elysiajs/swagger": "^1.3.0",
 
12
  "@huggingface/hub": "^2.2.0",
13
  "@huggingface/inference": "^3.12.1",
14
  "@iconify-json/bi": "^1.1.21",
 
26
  "katex": "^0.16.21",
27
  "lint-staged": "^15.2.7",
28
  "marked": "^12.0.1",
29
+ "mime-types": "^2.1.35",
30
  "mongodb": "^5.8.0",
31
  "nanoid": "^5.0.9",
32
  "openai": "^4.44.0",
 
70
  "eslint": "^8.28.0",
71
  "eslint-config-prettier": "^8.5.0",
72
  "eslint-plugin-svelte": "^2.45.1",
 
73
  "js-yaml": "^4.1.0",
74
  "minimist": "^1.2.8",
75
  "mongodb-memory-server": "^10.1.2",
 
277
  "node": ">=6.9.0"
278
  }
279
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  "node_modules/@csstools/color-helpers": {
281
  "version": "5.1.0",
282
  "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.1.0.tgz",
 
926
  "npm": ">=6.14.13"
927
  }
928
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
929
  "node_modules/@huggingface/hub": {
930
  "version": "2.2.0",
931
  "resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-2.2.0.tgz",
 
1532
  "url": "https://opencollective.com/libvips"
1533
  }
1534
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1535
  "node_modules/@isaacs/cliui": {
1536
  "version": "8.0.2",
1537
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
 
1686
  "sparse-bitfield": "^3.0.3"
1687
  }
1688
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1689
  "node_modules/@nodelib/fs.scandir": {
1690
  "version": "2.1.5",
1691
  "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
 
1721
  "node": ">= 8"
1722
  }
1723
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1724
  "node_modules/@pkgjs/parseargs": {
1725
  "version": "0.11.0",
1726
  "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
 
2602
  "version": "0.6.0",
2603
  "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz",
2604
  "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==",
2605
+ "dev": true,
2606
  "license": "MIT"
2607
  },
2608
  "node_modules/@types/deep-eql": {
 
2627
  "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
2628
  "license": "MIT"
2629
  },
 
 
 
 
 
 
2630
  "node_modules/@types/js-yaml": {
2631
  "version": "4.0.9",
2632
  "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
 
2715
  "dev": true,
2716
  "license": "MIT"
2717
  },
 
 
 
 
 
 
 
 
 
 
 
 
2718
  "node_modules/@types/trusted-types": {
2719
  "version": "2.0.7",
2720
  "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
 
3564
  "node": "*"
3565
  }
3566
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
3567
  "node_modules/cac": {
3568
  "version": "6.7.14",
3569
  "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
 
3735
  "url": "https://github.com/sponsors/sindresorhus"
3736
  }
3737
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3738
  "node_modules/clsx": {
3739
  "version": "2.1.1",
3740
  "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
 
4606
  "node": ">=0.8.x"
4607
  }
4608
  },
 
 
 
 
 
 
 
 
 
4609
  "node_modules/exact-mirror": {
4610
  "version": "0.1.2",
4611
  "resolved": "https://registry.npmjs.org/exact-mirror/-/exact-mirror-0.1.2.tgz",
 
4777
  }
4778
  }
4779
  },
 
 
 
 
 
 
4780
  "node_modules/fflate": {
4781
  "version": "0.8.2",
4782
  "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
 
4968
  "url": "https://github.com/sponsors/rawify"
4969
  }
4970
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4971
  "node_modules/fs.realpath": {
4972
  "version": "1.0.0",
4973
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
 
4998
  "url": "https://github.com/sponsors/ljharb"
4999
  }
5000
  },
 
 
 
 
 
 
 
 
 
5001
  "node_modules/get-east-asian-width": {
5002
  "version": "1.3.0",
5003
  "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz",
 
5166
  "url": "https://github.com/sponsors/ljharb"
5167
  }
5168
  },
 
 
 
 
 
 
 
5169
  "node_modules/graphemer": {
5170
  "version": "1.4.0",
5171
  "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
 
5173
  "dev": true,
5174
  "license": "MIT"
5175
  },
 
 
 
 
 
 
 
 
 
5176
  "node_modules/handlebars": {
5177
  "version": "4.7.8",
5178
  "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz",
 
5242
  "node": ">= 0.4"
5243
  }
5244
  },
 
 
 
 
 
 
5245
  "node_modules/help-me": {
5246
  "version": "5.0.0",
5247
  "resolved": "https://registry.npmjs.org/help-me/-/help-me-5.0.0.tgz",
 
5526
  "dev": true,
5527
  "license": "MIT"
5528
  },
 
 
 
 
 
 
5529
  "node_modules/is-number": {
5530
  "version": "7.0.0",
5531
  "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
 
5837
  "node": ">=6"
5838
  }
5839
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
5840
  "node_modules/katex": {
5841
  "version": "0.16.22",
5842
  "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz",
 
6634
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
6635
  "license": "MIT"
6636
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6637
  "node_modules/mz": {
6638
  "version": "2.7.0",
6639
  "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
 
6751
  "webidl-conversions": "^3.0.0"
6752
  }
6753
  },
 
 
 
 
 
 
 
 
 
 
 
6754
  "node_modules/node-int64": {
6755
  "version": "0.4.0",
6756
  "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
 
6975
  "node": ">= 0.8.0"
6976
  }
6977
  },
 
 
 
 
 
 
6978
  "node_modules/p-limit": {
6979
  "version": "3.1.0",
6980
  "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
 
7836
  ],
7837
  "license": "MIT"
7838
  },
 
 
 
 
 
 
 
 
 
 
 
 
7839
  "node_modules/pump": {
7840
  "version": "3.0.2",
7841
  "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
 
7883
  ],
7884
  "license": "MIT"
7885
  },
 
 
 
 
 
 
7886
  "node_modules/queue-microtask": {
7887
  "version": "1.2.3",
7888
  "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
 
7964
  "node": ">= 12.13.0"
7965
  }
7966
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7967
  "node_modules/resolve": {
7968
  "version": "1.22.10",
7969
  "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
 
8228
  "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==",
8229
  "license": "BSD-3-Clause"
8230
  },
 
 
 
 
 
 
 
 
 
8231
  "node_modules/semver": {
8232
  "version": "7.7.2",
8233
  "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
 
8474
  "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
8475
  "license": "MIT"
8476
  },
 
 
 
 
 
 
 
 
 
8477
  "node_modules/std-env": {
8478
  "version": "3.9.0",
8479
  "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz",
 
8494
  "bare-events": "^2.2.0"
8495
  }
8496
  },
 
 
 
 
 
 
8497
  "node_modules/string_decoder": {
8498
  "version": "1.3.0",
8499
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
 
9073
  "dev": true,
9074
  "license": "MIT"
9075
  },
 
 
 
 
 
 
9076
  "node_modules/thenify": {
9077
  "version": "3.3.1",
9078
  "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
 
9216
  "node": ">=6"
9217
  }
9218
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9219
  "node_modules/ts-api-utils": {
9220
  "version": "1.4.3",
9221
  "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz",
 
9335
  "tiny-inflate": "^1.0.0"
9336
  }
9337
  },
 
 
 
 
 
 
 
 
 
 
9338
  "node_modules/unplugin": {
9339
  "version": "1.16.1",
9340
  "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.16.1.tgz",
 
9432
  "punycode": "^2.1.0"
9433
  }
9434
  },
 
 
 
 
 
 
 
 
 
 
9435
  "node_modules/util-deprecate": {
9436
  "version": "1.0.2",
9437
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
 
9937
  "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
9938
  "license": "MIT"
9939
  },
 
 
 
 
 
 
 
 
 
9940
  "node_modules/yallist": {
9941
  "version": "4.0.0",
9942
  "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
 
9955
  "node": ">= 14.6"
9956
  }
9957
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9958
  "node_modules/yauzl": {
9959
  "version": "3.2.0",
9960
  "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.2.0.tgz",
 
10002
  "url": "https://github.com/sponsors/sindresorhus"
10003
  }
10004
  },
 
 
 
 
 
 
 
 
 
 
 
 
10005
  "node_modules/yoga-wasm-web": {
10006
  "version": "0.3.3",
10007
  "resolved": "https://registry.npmjs.org/yoga-wasm-web/-/yoga-wasm-web-0.3.3.tgz",
package.json CHANGED
@@ -43,7 +43,6 @@
43
  "eslint": "^8.28.0",
44
  "eslint-config-prettier": "^8.5.0",
45
  "eslint-plugin-svelte": "^2.45.1",
46
- "fs-extra": "^11.3.1",
47
  "js-yaml": "^4.1.0",
48
  "minimist": "^1.2.8",
49
  "mongodb-memory-server": "^10.1.2",
@@ -67,7 +66,6 @@
67
  "type": "module",
68
  "dependencies": {
69
  "@elysiajs/swagger": "^1.3.0",
70
- "@gradio/client": "^1.8.0",
71
  "@huggingface/hub": "^2.2.0",
72
  "@huggingface/inference": "^3.12.1",
73
  "@iconify-json/bi": "^1.1.21",
@@ -85,6 +83,7 @@
85
  "katex": "^0.16.21",
86
  "lint-staged": "^15.2.7",
87
  "marked": "^12.0.1",
 
88
  "mongodb": "^5.8.0",
89
  "nanoid": "^5.0.9",
90
  "openai": "^4.44.0",
 
43
  "eslint": "^8.28.0",
44
  "eslint-config-prettier": "^8.5.0",
45
  "eslint-plugin-svelte": "^2.45.1",
 
46
  "js-yaml": "^4.1.0",
47
  "minimist": "^1.2.8",
48
  "mongodb-memory-server": "^10.1.2",
 
66
  "type": "module",
67
  "dependencies": {
68
  "@elysiajs/swagger": "^1.3.0",
 
69
  "@huggingface/hub": "^2.2.0",
70
  "@huggingface/inference": "^3.12.1",
71
  "@iconify-json/bi": "^1.1.21",
 
83
  "katex": "^0.16.21",
84
  "lint-staged": "^15.2.7",
85
  "marked": "^12.0.1",
86
+ "mime-types": "^2.1.35",
87
  "mongodb": "^5.8.0",
88
  "nanoid": "^5.0.9",
89
  "openai": "^4.44.0",
src/lib/server/api/routes/groups/misc.ts CHANGED
@@ -4,7 +4,6 @@ import { requiresUser } from "$lib/server/auth";
4
  import { collections } from "$lib/server/database";
5
  import { authCondition } from "$lib/server/auth";
6
  import { config } from "$lib/server/config";
7
- import { Client } from "@gradio/client";
8
  import yazl from "yazl";
9
  import { downloadFile } from "$lib/server/files/downloadFile";
10
  import mimeTypes from "mime-types";
@@ -18,8 +17,6 @@ export interface FeatureFlags {
18
  isAdmin: boolean;
19
  }
20
 
21
- export type ApiReturnType = Awaited<ReturnType<typeof Client.prototype.view_api>>;
22
-
23
  export const misc = new Elysia()
24
  .use(authPlugin)
25
  .get("/public-config", async () => config.getPublicConfig())
 
4
  import { collections } from "$lib/server/database";
5
  import { authCondition } from "$lib/server/auth";
6
  import { config } from "$lib/server/config";
 
7
  import yazl from "yazl";
8
  import { downloadFile } from "$lib/server/files/downloadFile";
9
  import mimeTypes from "mime-types";
 
17
  isAdmin: boolean;
18
  }
19
 
 
 
20
  export const misc = new Elysia()
21
  .use(authPlugin)
22
  .get("/public-config", async () => config.getPublicConfig())
vite.config.ts CHANGED
@@ -41,7 +41,7 @@ export default defineConfig({
41
  },
42
  },
43
  optimizeDeps: {
44
- include: ["uuid", "sharp", "@gradio/client", "clsx"],
45
  },
46
  test: {
47
  workspace: [
 
41
  },
42
  },
43
  optimizeDeps: {
44
+ include: ["uuid", "sharp", "clsx"],
45
  },
46
  test: {
47
  workspace: [