diff --git a/package-lock.json b/package-lock.json index bdf68bd..237ae81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,8 +15,10 @@ "bcrypt": "^6.0.0", "bcryptjs": "^3.0.3", "better-auth": "^1.5.6", + "glicko2": "^1.2.1", "jose": "^6.2.2", "next": "^16.2.1", + "openskill": "^4.1.1", "papaparse": "^5.5.3", "pg": "^8.20.0", "prisma": "^7.6.0", @@ -2910,6 +2912,12 @@ "devOptional": true, "license": "MIT" }, + "node_modules/@types/gaussian": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/gaussian/-/gaussian-1.2.2.tgz", + "integrity": "sha512-FLlJb9oGcoq0xVaAmn5ytZWeEO4M7nfudewzqL6FxUUYLR5FB+hEzSYAsuhX7H7M6Mw/Z0rLbIVbQkMqHlRS7g==", + "license": "MIT" + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -2954,6 +2962,15 @@ "pg-types": "^2.2.0" } }, + "node_modules/@types/ramda": { + "version": "0.31.1", + "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.31.1.tgz", + "integrity": "sha512-Vt6sFXnuRpzaEj+yeutA0q3bcAsK7wdPuASIzR9LXqL4gJPyFw8im9qchlbp4ltuf3kDEIRmPJTD/Fkg60dn7g==", + "license": "MIT", + "dependencies": { + "types-ramda": "^0.31.0" + } + }, "node_modules/@types/react": { "version": "19.2.14", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", @@ -5768,6 +5785,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/gaussian": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/gaussian/-/gaussian-1.3.0.tgz", + "integrity": "sha512-rYQ0ESfB+z0t7G95nHH80Zh7Pgg9A0FUYoZqV0yPec5WJZWKIHV2MPYpiJNy8oZAeVqyKwC10WXKSCnUQ5iDVg==", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/generate-function": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", @@ -5890,6 +5916,12 @@ "giget": "dist/cli.mjs" } }, + "node_modules/glicko2": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/glicko2/-/glicko2-1.2.1.tgz", + "integrity": "sha512-llKC0G0hRybX9fmDnx2u2tA9TZSg0OWM2q+AKApN4ofO8QTxFVESxvkLVulpo29fBd7yOBekgey2zkFOMMo6ng==", + "license": "MIT" + }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -7614,6 +7646,22 @@ "integrity": "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==", "license": "MIT" }, + "node_modules/openskill": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/openskill/-/openskill-4.1.1.tgz", + "integrity": "sha512-sVEeVr9oktZv7VRShjOLpZopn1Wdq5NxIVA33BZJKcJCdHAOEc+ZFBxYvkKSijiRJ8bTQTahkOhqcQxM5WloJw==", + "license": "MIT", + "dependencies": { + "@types/gaussian": "1.2.2", + "@types/ramda": "0.31.1", + "gaussian": "1.3.0", + "ramda": "0.32.0", + "sort-unwind": "3.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", @@ -8161,6 +8209,16 @@ ], "license": "MIT" }, + "node_modules/ramda": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.32.0.tgz", + "integrity": "sha512-GQWAHhxhxWBWA8oIBr1XahFVjQ9Fic6MK9ikijfd4TZHfE2+urfk+irVlR5VOn48uwMgM+loRRBJd6Yjsbc0zQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ramda" + } + }, "node_modules/rc9": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/rc9/-/rc9-2.1.2.tgz", @@ -8739,6 +8797,15 @@ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "license": "MIT" }, + "node_modules/sort-unwind": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/sort-unwind/-/sort-unwind-3.1.0.tgz", + "integrity": "sha512-9NJPZtqwIHNXBqY3SWZrwd/VU+lFo2i1Q79cuaRpMMkZFuf+Y54XVAADyy/w6r8t409KkNwo6cKaEKM56XaSNQ==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/source-map-js": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", @@ -9116,6 +9183,12 @@ "typescript": ">=4.8.4" } }, + "node_modules/ts-toolbelt": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz", + "integrity": "sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==", + "license": "Apache-2.0" + }, "node_modules/tsconfig-paths": { "version": "3.15.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", @@ -9226,6 +9299,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/types-ramda": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/types-ramda/-/types-ramda-0.31.0.tgz", + "integrity": "sha512-vaoC35CRC3xvL8Z6HkshDbi6KWM1ezK0LHN0YyxXWUn9HKzBNg/T3xSGlJZjCYspnOD3jE7bcizsp0bUXZDxnQ==", + "license": "MIT", + "dependencies": { + "ts-toolbelt": "^9.6.0" + } + }, "node_modules/typescript": { "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", diff --git a/package.json b/package.json index b704908..841345d 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,10 @@ "bcrypt": "^6.0.0", "bcryptjs": "^3.0.3", "better-auth": "^1.5.6", + "glicko2": "^1.2.1", "jose": "^6.2.2", "next": "^16.2.1", + "openskill": "^4.1.1", "papaparse": "^5.5.3", "pg": "^8.20.0", "prisma": "^7.6.0",