diff --git a/biome.json b/biome.json index 1127945..612fdaa 100644 --- a/biome.json +++ b/biome.json @@ -24,103 +24,29 @@ "rules": { "recommended": true, "complexity": { - "noBannedTypes": "error", - "noExtraBooleanCast": "error", - "noMultipleSpacesInRegularExpressionLiterals": "error", "noStaticOnlyClass": "off", - "noThisInStatic": "off", - "noUselessCatch": "error", - "noUselessLoneBlockStatements": "error", - "noUselessThisAlias": "error", - "noUselessTypeConstraint": "error", - "noWith": "error", - "useArrowFunction": "error", - "useLiteralKeys": "error", - "useOptionalChain": "error" + "noThisInStatic": "off" }, "correctness": { - "noConstAssign": "error", - "noConstantCondition": "error", - "noEmptyCharacterClassInRegex": "error", - "noEmptyPattern": "error", - "noGlobalObjectCalls": "error", - "noInvalidConstructorSuper": "error", - "noInvalidNewBuiltin": "error", "noNewSymbol": "error", - "noNonoctalDecimalEscape": "error", - "noPrecisionLoss": "error", - "noSelfAssign": "error", - "noSetterReturn": "error", - "noSwitchDeclarations": "error", "noUndeclaredVariables": "error", - "noUnreachable": "error", - "noUnreachableSuper": "error", - "noUnsafeFinally": "error", - "noUnsafeOptionalChaining": "error", - "noUnusedLabels": "error", "noUnusedPrivateClassMembers": "error", - "noUnusedVariables": "error", - "useIsNan": "error", - "useValidForDirection": "error", - "useYield": "error" + "noUnusedVariables": "error" }, "style": { - "noArguments": "error", - "noCommaOperator": "error", - "noInferrableTypes": "error", - "noNamespace": "error", "noNegationElse": "error", "noRestrictedGlobals": { "level": "error", "options": { "deniedGlobals": ["Buffer", "process", "__dirname", "__filename"] } }, - "noUselessElse": "error", - "noVar": "error", - "useAsConstAssertion": "error", "useBlockStatements": "error", "useConsistentArrayType": "error", - "useConst": "error", - "useEnumInitializers": "off", "useForOf": "error", - "useNumericLiterals": "error", - "useShorthandAssign": "error", - "useShorthandFunctionType": "error", - "useSingleVarDeclarator": "error", - "useTemplate": "error" + "useShorthandAssign": "error" }, "suspicious": { - "noAssignInExpressions": "error", - "noAsyncPromiseExecutor": "error", - "noCatchAssign": "error", - "noClassAssign": "error", - "noCompareNegZero": "error", - "noConfusingLabels": "error", - "noControlCharactersInRegex": "error", - "noDebugger": "error", - "noDoubleEquals": "error", - "noDuplicateCase": "error", - "noDuplicateClassMembers": "error", - "noDuplicateObjectKeys": "error", - "noDuplicateParameters": "error", "noEmptyBlockStatements": "error", - "noEmptyInterface": "error", - "noExplicitAny": "error", - "noExtraNonNullAssertion": "error", - "noFallthroughSwitchClause": "error", - "noFunctionAssign": "error", - "noGlobalAssign": "error", - "noImportAssign": "error", - "noMisleadingCharacterClass": "error", - "noMisleadingInstantiator": "error", - "noPrototypeBuiltins": "error", - "noShadowRestrictedNames": "error", - "noUnsafeDeclarationMerging": "error", - "noUnsafeNegation": "error", - "useAwait": "error", - "useDefaultSwitchClauseLast": "error", - "useGetterReturn": "error", - "useNamespaceKeyword": "error", - "useValidTypeof": "error" + "useAwait": "error" } } }, diff --git a/package.json b/package.json index dc98bd7..a5f9ffd 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "author": "Aytch Software", "license": "GPL-2.0-or-later", "dependencies": { - "@prisma/client": "^5.11.0", + "@prisma/client": "^5.12.1", "bufferutil": "^4.0.8", "dedent": "^1.5.1", "discord.js": "^14.14.1", @@ -43,10 +43,10 @@ }, "devDependencies": { "@biomejs/biome": "^1.6.4", - "@dotenvx/dotenvx": "^0.27.2", + "@dotenvx/dotenvx": "^0.30.0", "conventional-changelog-cli": "^4.1.0", "cross-env": "^7.0.3", - "prisma": "^5.11.0", + "prisma": "^5.12.1", "tsx": "^4.7.2", "typescript": "^5.4.4" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cff446d..5280fbd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,8 +6,8 @@ settings: dependencies: '@prisma/client': - specifier: ^5.11.0 - version: 5.11.0(prisma@5.11.0) + specifier: ^5.12.1 + version: 5.12.1(prisma@5.12.1) bufferutil: specifier: ^4.0.8 version: 4.0.8 @@ -38,8 +38,8 @@ devDependencies: specifier: ^1.6.4 version: 1.6.4 '@dotenvx/dotenvx': - specifier: ^0.27.2 - version: 0.27.2 + specifier: ^0.30.0 + version: 0.30.0 conventional-changelog-cli: specifier: ^4.1.0 version: 4.1.0 @@ -47,8 +47,8 @@ devDependencies: specifier: ^7.0.3 version: 7.0.3 prisma: - specifier: ^5.11.0 - version: 5.11.0 + specifier: ^5.12.1 + version: 5.12.1 tsx: specifier: ^4.7.2 version: 4.7.2 @@ -188,7 +188,7 @@ packages: dependencies: '@discordjs/formatters': 0.3.3 '@discordjs/util': 1.0.2 - '@sapphire/shapeshift': 3.9.6 + '@sapphire/shapeshift': 3.9.7 discord-api-types: 0.37.61 fast-deep-equal: 3.1.3 ts-mixer: 6.0.4 @@ -250,8 +250,8 @@ packages: - utf-8-validate dev: false - /@dotenvx/dotenvx@0.27.2: - resolution: {integrity: sha512-5GnLopFQVB/K3L3mm6qmyHDDeBi5/RJLGNQr8rIgMLl3ZP8UeOLYxkZ2GnI/dzGU9JL9eGs1nfQ1MhGl+Vdlsw==} + /@dotenvx/dotenvx@0.30.0: + resolution: {integrity: sha512-On5r/njwbsEsHC500L8PQR+gihWbXYosm4sL7a+P9jXDPrP1qNuSrGS+mZ8CRoUOjxVUSiyjZE+h4PKjI/0HvQ==} hasBin: true dependencies: '@inquirer/confirm': 2.0.17 @@ -262,14 +262,14 @@ packages: dotenv: 16.4.5 dotenv-expand: 11.0.6 execa: 5.1.1 - glob: 10.3.10 + glob: 10.3.12 ignore: 5.3.1 is-wsl: 2.2.0 object-treeify: 1.1.33 open: 8.4.2 ora: 5.4.1 semver: 7.6.0 - undici: 5.28.3 + undici: 5.28.4 which: 4.0.0 winston: 3.13.0 xxhashjs: 0.2.2 @@ -506,7 +506,7 @@ packages: dependencies: '@inquirer/type': 1.2.1 '@types/mute-stream': 0.0.4 - '@types/node': 20.11.30 + '@types/node': 20.12.5 '@types/wrap-ansi': 3.0.0 ansi-escapes: 4.3.2 chalk: 4.1.2 @@ -548,8 +548,8 @@ packages: dev: true optional: true - /@prisma/client@5.11.0(prisma@5.11.0): - resolution: {integrity: sha512-SWshvS5FDXvgJKM/a0y9nDC1rqd7KG0Q6ZVzd+U7ZXK5soe73DJxJJgbNBt2GNXOa+ysWB4suTpdK5zfFPhwiw==} + /@prisma/client@5.12.1(prisma@5.12.1): + resolution: {integrity: sha512-6/JnizEdlSBxDIdiLbrBdMW5NqDxOmhXAJaNXiPpgzAPr/nLZResT6MMpbOHLo5yAbQ1Vv5UU8PTPRzb0WIxdA==} engines: {node: '>=16.13'} requiresBuild: true peerDependencies: @@ -558,44 +558,44 @@ packages: prisma: optional: true dependencies: - prisma: 5.11.0 + prisma: 5.12.1 dev: false - /@prisma/debug@5.11.0: - resolution: {integrity: sha512-N6yYr3AbQqaiUg+OgjkdPp3KPW1vMTAgtKX6+BiB/qB2i1TjLYCrweKcUjzOoRM5BriA4idrkTej9A9QqTfl3A==} + /@prisma/debug@5.12.1: + resolution: {integrity: sha512-kd/wNsR0klrv79o1ITsbWxYyh4QWuBidvxsXSParPsYSu0ircUmNk3q4ojsgNc3/81b0ozg76iastOG43tbf8A==} - /@prisma/engines-version@5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102: - resolution: {integrity: sha512-WXCuyoymvrS4zLz4wQagSsc3/nE6CHy8znyiMv8RKazKymOMd5o9FP5RGwGHAtgoxd+aB/BWqxuP/Ckfu7/3MA==} + /@prisma/engines-version@5.12.0-21.473ed3124229e22d881cb7addf559799debae1ab: + resolution: {integrity: sha512-6yvO8s80Tym61aB4QNtYZfWVmE3pwqe807jEtzm8C5VDe7nw8O1FGX3TXUaXmWV0fQTIAfRbeL2Gwrndabp/0g==} - /@prisma/engines@5.11.0: - resolution: {integrity: sha512-gbrpQoBTYWXDRqD+iTYMirDlF9MMlQdxskQXbhARhG6A/uFQjB7DZMYocMQLoiZXO/IskfDOZpPoZE8TBQKtEw==} + /@prisma/engines@5.12.1: + resolution: {integrity: sha512-HQDdglLw2bZR/TXD2Y+YfDMvi5Q8H+acbswqOsWyq9pPjBLYJ6gzM+ptlTU/AV6tl0XSZLU1/7F4qaWa8bqpJA==} requiresBuild: true dependencies: - '@prisma/debug': 5.11.0 - '@prisma/engines-version': 5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102 - '@prisma/fetch-engine': 5.11.0 - '@prisma/get-platform': 5.11.0 + '@prisma/debug': 5.12.1 + '@prisma/engines-version': 5.12.0-21.473ed3124229e22d881cb7addf559799debae1ab + '@prisma/fetch-engine': 5.12.1 + '@prisma/get-platform': 5.12.1 - /@prisma/fetch-engine@5.11.0: - resolution: {integrity: sha512-994viazmHTJ1ymzvWugXod7dZ42T2ROeFuH6zHPcUfp/69+6cl5r9u3NFb6bW8lLdNjwLYEVPeu3hWzxpZeC0w==} + /@prisma/fetch-engine@5.12.1: + resolution: {integrity: sha512-qSs3KcX1HKcea1A+hlJVK/ljj0PNIUHDxAayGMvgJBqmaN32P9tCidlKz1EGv6WoRFICYnk3Dd/YFLBwnFIozA==} dependencies: - '@prisma/debug': 5.11.0 - '@prisma/engines-version': 5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102 - '@prisma/get-platform': 5.11.0 + '@prisma/debug': 5.12.1 + '@prisma/engines-version': 5.12.0-21.473ed3124229e22d881cb7addf559799debae1ab + '@prisma/get-platform': 5.12.1 - /@prisma/get-platform@5.11.0: - resolution: {integrity: sha512-rxtHpMLxNTHxqWuGOLzR2QOyQi79rK1u1XYAVLZxDGTLz/A+uoDnjz9veBFlicrpWjwuieM4N6jcnjj/DDoidw==} + /@prisma/get-platform@5.12.1: + resolution: {integrity: sha512-pgIR+pSvhYHiUcqXVEZS31NrFOTENC9yFUdEAcx7cdQBoZPmHVjtjN4Ss6NzVDMYPrKJJ51U14EhEoeuBlMioQ==} dependencies: - '@prisma/debug': 5.11.0 + '@prisma/debug': 5.12.1 /@sapphire/async-queue@1.5.2: resolution: {integrity: sha512-7X7FFAA4DngXUl95+hYbUF19bp1LGiffjJtu7ygrZrbdCSsdDDBaSjB7Akw0ZbOu6k0xpXyljnJ6/RZUvLfRdg==} engines: {node: '>=v14.0.0', npm: '>=7.0.0'} dev: false - /@sapphire/shapeshift@3.9.6: - resolution: {integrity: sha512-4+Na/fxu2SEepZRb9z0dbsVh59QtwPuBg/UVaDib3av7ZY14b14+z09z6QVn0P6Dv6eOU2NDTsjIi0mbtgP56g==} - engines: {node: '>=v18'} + /@sapphire/shapeshift@3.9.7: + resolution: {integrity: sha512-4It2mxPSr4OGn4HSQWGmhFMsNFGfFVhWeRPCRwbH972Ek2pzfGRZtb0pJ4Ze6oIzcyh2jw7nUDa6qGlWofgd9g==} + engines: {node: '>=v16'} dependencies: fast-deep-equal: 3.1.3 lodash: 4.17.21 @@ -610,17 +610,17 @@ packages: resolution: {integrity: sha512-qWWYDKAwJHaKaA/5EyLYMzfR76MwCbmKVMSXTPMd9FZFPHuLWJHO+m7Q8dWpWtcnunHa6evRAwlB3p83cht7Ww==} dependencies: raw-body: 2.5.2 - undici: 5.28.3 + undici: 5.28.4 dev: false /@types/mute-stream@0.0.4: resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} dependencies: - '@types/node': 20.11.30 + '@types/node': 20.12.5 dev: true - /@types/node@20.11.30: - resolution: {integrity: sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==} + /@types/node@20.12.5: + resolution: {integrity: sha512-BD+BjQ9LS/D8ST9p5uqBxghlN+S42iuNxjsUGjeZobe/ciXzk2qb1B6IXc6AnRLS+yFJRpN2IPEHMzwspfDJNw==} dependencies: undici-types: 5.26.5 @@ -639,7 +639,7 @@ packages: /@types/ws@8.5.9: resolution: {integrity: sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg==} dependencies: - '@types/node': 20.11.30 + '@types/node': 20.12.5 dev: false /@vladfrangu/async_event_emitter@2.2.4: @@ -1289,8 +1289,8 @@ packages: semver: 7.6.0 dev: true - /glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + /glob@10.3.12: + resolution: {integrity: sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: @@ -1298,7 +1298,7 @@ packages: jackspeak: 2.3.6 minimatch: 9.0.4 minipass: 7.0.4 - path-scurry: 1.10.1 + path-scurry: 1.10.2 dev: true /handlebars@4.7.8: @@ -1724,8 +1724,8 @@ packages: engines: {node: '>=8'} dev: true - /path-scurry@1.10.1: - resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + /path-scurry@1.10.2: + resolution: {integrity: sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==} engines: {node: '>=16 || 14 >=14.17'} dependencies: lru-cache: 10.2.0 @@ -1743,13 +1743,13 @@ packages: find-up: 3.0.0 dev: true - /prisma@5.11.0: - resolution: {integrity: sha512-KCLiug2cs0Je7kGkQBN9jDWoZ90ogE/kvZTUTgz2h94FEo8pczCkPH7fPNXkD1sGU7Yh65risGGD1HQ5DF3r3g==} + /prisma@5.12.1: + resolution: {integrity: sha512-SkMnb6wyIxTv9ACqiHBI2u9gD6y98qXRoCoLEnZsF6yee5Qg828G+ARrESN+lQHdw4maSZFFSBPPDpvSiVTo0Q==} engines: {node: '>=16.13'} hasBin: true requiresBuild: true dependencies: - '@prisma/engines': 5.11.0 + '@prisma/engines': 5.12.1 /punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} @@ -1772,7 +1772,7 @@ packages: dependencies: find-up: 6.3.0 read-pkg: 8.1.0 - type-fest: 4.14.0 + type-fest: 4.15.0 dev: true /read-pkg@8.1.0: @@ -1782,7 +1782,7 @@ packages: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.0 parse-json: 7.1.1 - type-fest: 4.14.0 + type-fest: 4.15.0 dev: true /readable-stream@3.6.2: @@ -2037,8 +2037,8 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@4.14.0: - resolution: {integrity: sha512-on5/Cw89wwqGZQu+yWO0gGMGu8VNxsaW9SB2HE8yJjllEk7IDTwnSN1dUVldYILhYPN5HzD7WAaw2cc/jBfn0Q==} + /type-fest@4.15.0: + resolution: {integrity: sha512-tB9lu0pQpX5KJq54g+oHOLumOx+pMep4RaM6liXh2PKmVRFF+/vAtUP0ZaJ0kOySfVNjF6doBWPHhBhISKdlIA==} engines: {node: '>=16'} dev: true @@ -2066,8 +2066,8 @@ packages: '@fastify/busboy': 2.1.1 dev: false - /undici@5.28.3: - resolution: {integrity: sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==} + /undici@5.28.4: + resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} engines: {node: '>=14.0'} dependencies: '@fastify/busboy': 2.1.1