diff --git a/package-lock.json b/package-lock.json index 917d4166..32349847 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "husky": "^9.1.7", "jest": "^29.7.0", "koa-convert": "^2.0.0", - "koa-session": "^6.4.0", + "koa-session": "^7.0.2", "lint-staged": "^15.4.3", "multer": "^2.0.2", "mustache-express": "^1.3.2", @@ -3311,13 +3311,6 @@ "license": "MIT", "optional": true }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true, - "license": "MIT" - }, "node_modules/cors": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", @@ -5105,13 +5098,6 @@ "node": ">=8" } }, - "node_modules/is-class-hotfix": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/is-class-hotfix/-/is-class-hotfix-0.0.6.tgz", - "integrity": "sha512-0n+pzCC6ICtVr/WXnN2f03TK/3BfXY7me4cjCAqT8TYXEl0+JBRoqBo94JJHXcyDSLUeWbNX8Fvy5g5RJdAstQ==", - "dev": true, - "license": "MIT" - }, "node_modules/is-core-module": { "version": "2.16.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", @@ -5198,16 +5184,11 @@ } }, "node_modules/is-type-of": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/is-type-of/-/is-type-of-1.4.0.tgz", - "integrity": "sha512-EddYllaovi5ysMLMEN7yzHEKh8A850cZ7pykrY1aNRQGn/CDjRDE9qEWbIdt7xGEVJmjBXzU/fNnC4ABTm8tEQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-type-of/-/is-type-of-2.2.0.tgz", + "integrity": "sha512-72axShMJMnMy5HSU/jLGNOonZD5rWM0MwJSCYpKCTQCbggQZBJO/CLMMVP5HgS8kPSYFBkTysJexsD6NMvGKDQ==", "dev": true, - "license": "MIT", - "dependencies": { - "core-util-is": "^1.0.2", - "is-class-hotfix": "~0.0.6", - "isstream": "~0.1.2" - } + "license": "MIT" }, "node_modules/is-typedarray": { "version": "1.0.0", @@ -6171,19 +6152,18 @@ } }, "node_modules/koa-session": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/koa-session/-/koa-session-6.4.0.tgz", - "integrity": "sha512-h/dxmSOvNEXpHQPRs4TV03TZVFyZIjmYQiTAW5JBFTYBOZ0VdpZ8QEE6Dud75g8z9JNGXi3m++VqRmqToB+c2A==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/koa-session/-/koa-session-7.0.2.tgz", + "integrity": "sha512-nMWJndLmIuKQMTYPr5NokGQOGD2Aqal5GVi1xAhrQjrrzKq1ASy1WTFVkZ/xhwhtC4KpWi5KdqNYewZo7KJb4w==", "dev": true, "license": "MIT", "dependencies": { "crc": "^3.8.0", - "debug": "^4.3.3", - "is-type-of": "^1.2.1", - "uuid": "^8.3.2" + "is-type-of": "^2.2.0", + "zod": "^3.24.1" }, "engines": { - "node": ">=8.0.0" + "node": ">= 18.19.0" } }, "node_modules/koa/node_modules/media-typer": { @@ -9054,16 +9034,6 @@ "node": ">= 0.4.0" } }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", @@ -9441,6 +9411,16 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/zod": { + "version": "3.25.76", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", + "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } } } diff --git a/package.json b/package.json index feb5ee24..15d76c72 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "husky": "^9.1.7", "jest": "^29.7.0", "koa-convert": "^2.0.0", - "koa-session": "^6.4.0", + "koa-session": "^7.0.2", "lint-staged": "^15.4.3", "multer": "^2.0.2", "mustache-express": "^1.3.2",