diff --git a/apps/api/package.json b/apps/api/package.json index cbef171..b61d0c0 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -10,7 +10,7 @@ "lint": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@fastify/cors": "^10.0.1", + "@fastify/cors": "^11.3.0", "@fastify/jwt": "^9.0.1", "@fastify/multipart": "^9.0.3", "@fastify/static": "10.1.2", diff --git a/package-lock.json b/package-lock.json index 7674591..992d3a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,30 +8,21 @@ "name": "blockpilot-panel", "version": "1.0.4", "hasInstallScript": true, + "license": "Apache-2.0", "workspaces": [ "apps/*" ], - "devDependencies": {}, "engines": { "node": ">=22 <27", "npm": ">=10" - }, - "license": "Apache-2.0", - "description": "Self-hosted Minecraft Java Edition server management panel for Windows and Linux", - "keywords": [ - "minecraft", - "server-panel", - "self-hosted", - "fastify", - "react", - "sqlite" - ] + } }, "apps/api": { "name": "@blockpilot/api", "version": "1.0.4", + "license": "Apache-2.0", "dependencies": { - "@fastify/cors": "^10.0.1", + "@fastify/cors": "11.3.0", "@fastify/jwt": "^9.0.1", "@fastify/multipart": "^9.0.3", "@fastify/static": "10.1.2", @@ -40,21 +31,21 @@ "better-sqlite3": "13.0.2", "dotenv": "^16.4.7", "fastify": "^5.2.1", + "iconv-lite": "0.7.3", "tar": "^7.4.3", - "zod": "^3.24.2", - "iconv-lite": "0.7.3" + "zod": "^3.24.2" }, "devDependencies": { "@types/better-sqlite3": "^7.6.12", "@types/node": "^22.10.7", "tsx": "^4.19.2", "typescript": "^5.7.3" - }, - "license": "Apache-2.0" + } }, "apps/web": { "name": "@blockpilot/web", "version": "1.0.4", + "license": "Apache-2.0", "dependencies": { "@vitejs/plugin-react": "^4.3.4", "lucide-react": "^0.468.0", @@ -66,8 +57,7 @@ "devDependencies": { "@types/react": "^19.0.3", "@types/react-dom": "^19.0.2" - }, - "license": "Apache-2.0" + } }, "node_modules/@babel/code-frame": { "version": "7.29.7", @@ -352,7 +342,6 @@ "os": [ "aix" ], - "peer": true, "engines": { "node": ">=18" } @@ -369,7 +358,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">=18" } @@ -386,7 +374,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">=18" } @@ -403,7 +390,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">=18" } @@ -420,7 +406,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">=18" } @@ -437,7 +422,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">=18" } @@ -454,7 +438,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -471,7 +454,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -488,7 +470,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -505,7 +486,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -522,7 +502,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -539,7 +518,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -556,7 +534,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -573,7 +550,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -590,7 +566,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -607,7 +582,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -624,7 +598,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -641,7 +614,6 @@ "os": [ "netbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -658,7 +630,6 @@ "os": [ "netbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -675,7 +646,6 @@ "os": [ "openbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -692,7 +662,6 @@ "os": [ "openbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -709,7 +678,6 @@ "os": [ "openharmony" ], - "peer": true, "engines": { "node": ">=18" } @@ -726,7 +694,6 @@ "os": [ "sunos" ], - "peer": true, "engines": { "node": ">=18" } @@ -743,7 +710,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">=18" } @@ -760,7 +726,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">=18" } @@ -777,7 +742,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">=18" } @@ -826,9 +790,9 @@ "license": "MIT" }, "node_modules/@fastify/cors": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@fastify/cors/-/cors-10.1.0.tgz", - "integrity": "sha512-MZyBCBJtII60CU9Xme/iE4aEy8G7QpzGR8zkdXZkDFt7ElEMachbE61tfhAG/bvSaULlqlf0huMT12T7iqEmdQ==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@fastify/cors/-/cors-11.3.0.tgz", + "integrity": "sha512-ggQGua+xHv1MvePbPr0v//xLYEsCXbWspquXCJS9Ot5YoRXq8J8ZWzHnxDBVnbtXosvistXo6LtNzOJswf64Fw==", "funding": [ { "type": "github", @@ -841,10 +805,26 @@ ], "license": "MIT", "dependencies": { - "fastify-plugin": "^5.0.0", - "mnemonist": "0.40.0" + "fastify-plugin": "^6.0.0", + "toad-cache": "^3.7.0" } }, + "node_modules/@fastify/cors/node_modules/fastify-plugin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-6.0.0.tgz", + "integrity": "sha512-fZOty7z3O7vOliF6d8bHE3wiEh1KcNnKEQensSgTk9C1DvN6nRLS++XVd86v33Hw/8u9Un8A1zDrQ8ujcQDHEg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "MIT" + }, "node_modules/@fastify/deepmerge": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/@fastify/deepmerge/-/deepmerge-3.2.1.tgz", @@ -1045,6 +1025,22 @@ "glob": "^13.0.0" } }, + "node_modules/@fastify/static/node_modules/fastify-plugin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-6.0.0.tgz", + "integrity": "sha512-fZOty7z3O7vOliF6d8bHE3wiEh1KcNnKEQensSgTk9C1DvN6nRLS++XVd86v33Hw/8u9Un8A1zDrQ8ujcQDHEg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "MIT" + }, "node_modules/@fastify/websocket": { "version": "11.3.0", "resolved": "https://registry.npmjs.org/@fastify/websocket/-/websocket-11.3.0.tgz", @@ -1082,15 +1078,6 @@ ], "license": "MIT" }, - "node_modules/@isaacs/cliui": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz", - "integrity": "sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, "node_modules/@isaacs/fs-minipass": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", @@ -1828,20 +1815,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/csstype": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", @@ -2277,6 +2250,18 @@ "url": "https://opencollective.com/express" } }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -2292,12 +2277,6 @@ "node": ">= 10" } }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "license": "ISC" - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -2537,15 +2516,6 @@ "wrappy": "1" } }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/path-scurry": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", @@ -2858,18 +2828,6 @@ "node": ">=10" } }, - "node_modules/iconv-lite": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", - "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -2919,39 +2877,6 @@ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "license": "ISC" }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/sonic-boom": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-4.2.1.tgz", @@ -3699,21 +3624,6 @@ "@esbuild/win32-x64": "0.25.12" } }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -3764,22 +3674,6 @@ "funding": { "url": "https://github.com/sponsors/colinhacks" } - }, - "node_modules/@fastify/static/node_modules/fastify-plugin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-6.0.0.tgz", - "integrity": "sha512-fZOty7z3O7vOliF6d8bHE3wiEh1KcNnKEQensSgTk9C1DvN6nRLS++XVd86v33Hw/8u9Un8A1zDrQ8ujcQDHEg==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "MIT" } } }