|
|
|
@ -10,6 +10,7 @@ |
|
|
|
|
"dependencies": { |
|
|
|
|
"cors": "^2.8.5", |
|
|
|
|
"express": "^4.18.2", |
|
|
|
|
"express-session": "^1.17.3", |
|
|
|
|
"multer": "^1.4.4", |
|
|
|
|
"passport": "^0.6.0", |
|
|
|
|
"passport-local": "^1.0.0" |
|
|
|
@ -20,6 +21,7 @@ |
|
|
|
|
"@babel/preset-typescript": "^7.16.7", |
|
|
|
|
"@types/cors": "^2.8.12", |
|
|
|
|
"@types/express": "^4.17.13", |
|
|
|
|
"@types/express-session": "^1.17.7", |
|
|
|
|
"@types/multer": "^1.4.7", |
|
|
|
|
"@types/node": "^17.0.22", |
|
|
|
|
"@types/passport": "^1.0.12", |
|
|
|
@ -2416,6 +2418,15 @@ |
|
|
|
|
"@types/range-parser": "*" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/@types/express-session": { |
|
|
|
|
"version": "1.17.7", |
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/express-session/-/express-session-1.17.7.tgz", |
|
|
|
|
"integrity": "sha512-L25080PBYoRLu472HY/HNCxaXY8AaGgqGC8/p/8+BYMhG0RDOLQ1wpXOpAzr4Gi5TGozTKyJv5BVODM5UNyVMw==", |
|
|
|
|
"dev": true, |
|
|
|
|
"dependencies": { |
|
|
|
|
"@types/express": "*" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/@types/json-schema": { |
|
|
|
|
"version": "7.0.10", |
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.10.tgz", |
|
|
|
@ -4306,6 +4317,51 @@ |
|
|
|
|
"node": ">= 0.10.0" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/express-session": { |
|
|
|
|
"version": "1.17.3", |
|
|
|
|
"resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.3.tgz", |
|
|
|
|
"integrity": "sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw==", |
|
|
|
|
"dependencies": { |
|
|
|
|
"cookie": "0.4.2", |
|
|
|
|
"cookie-signature": "1.0.6", |
|
|
|
|
"debug": "2.6.9", |
|
|
|
|
"depd": "~2.0.0", |
|
|
|
|
"on-headers": "~1.0.2", |
|
|
|
|
"parseurl": "~1.3.3", |
|
|
|
|
"safe-buffer": "5.2.1", |
|
|
|
|
"uid-safe": "~2.1.5" |
|
|
|
|
}, |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">= 0.8.0" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/express-session/node_modules/cookie": { |
|
|
|
|
"version": "0.4.2", |
|
|
|
|
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", |
|
|
|
|
"integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">= 0.6" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/express-session/node_modules/safe-buffer": { |
|
|
|
|
"version": "5.2.1", |
|
|
|
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
|
|
|
|
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", |
|
|
|
|
"funding": [ |
|
|
|
|
{ |
|
|
|
|
"type": "github", |
|
|
|
|
"url": "https://github.com/sponsors/feross" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"type": "patreon", |
|
|
|
|
"url": "https://www.patreon.com/feross" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"type": "consulting", |
|
|
|
|
"url": "https://feross.org/support" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
"node_modules/express/node_modules/safe-buffer": { |
|
|
|
|
"version": "5.2.1", |
|
|
|
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
|
|
|
@ -5519,6 +5575,14 @@ |
|
|
|
|
"node": ">= 0.8" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/on-headers": { |
|
|
|
|
"version": "1.0.2", |
|
|
|
|
"resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", |
|
|
|
|
"integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">= 0.8" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/once": { |
|
|
|
|
"version": "1.4.0", |
|
|
|
|
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", |
|
|
|
@ -5815,6 +5879,14 @@ |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
"node_modules/random-bytes": { |
|
|
|
|
"version": "1.0.0", |
|
|
|
|
"resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", |
|
|
|
|
"integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==", |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">= 0.8" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/randombytes": { |
|
|
|
|
"version": "2.1.0", |
|
|
|
|
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
|
|
|
@ -6521,6 +6593,17 @@ |
|
|
|
|
"node": ">=4.2.0" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/uid-safe": { |
|
|
|
|
"version": "2.1.5", |
|
|
|
|
"resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", |
|
|
|
|
"integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", |
|
|
|
|
"dependencies": { |
|
|
|
|
"random-bytes": "~1.0.0" |
|
|
|
|
}, |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">= 0.8" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"node_modules/unbox-primitive": { |
|
|
|
|
"version": "1.0.1", |
|
|
|
|
"resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", |
|
|
|
@ -8582,6 +8665,15 @@ |
|
|
|
|
"@types/range-parser": "*" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"@types/express-session": { |
|
|
|
|
"version": "1.17.7", |
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/express-session/-/express-session-1.17.7.tgz", |
|
|
|
|
"integrity": "sha512-L25080PBYoRLu472HY/HNCxaXY8AaGgqGC8/p/8+BYMhG0RDOLQ1wpXOpAzr4Gi5TGozTKyJv5BVODM5UNyVMw==", |
|
|
|
|
"dev": true, |
|
|
|
|
"requires": { |
|
|
|
|
"@types/express": "*" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"@types/json-schema": { |
|
|
|
|
"version": "7.0.10", |
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.10.tgz", |
|
|
|
@ -10042,6 +10134,33 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"express-session": { |
|
|
|
|
"version": "1.17.3", |
|
|
|
|
"resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.3.tgz", |
|
|
|
|
"integrity": "sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw==", |
|
|
|
|
"requires": { |
|
|
|
|
"cookie": "0.4.2", |
|
|
|
|
"cookie-signature": "1.0.6", |
|
|
|
|
"debug": "2.6.9", |
|
|
|
|
"depd": "~2.0.0", |
|
|
|
|
"on-headers": "~1.0.2", |
|
|
|
|
"parseurl": "~1.3.3", |
|
|
|
|
"safe-buffer": "5.2.1", |
|
|
|
|
"uid-safe": "~2.1.5" |
|
|
|
|
}, |
|
|
|
|
"dependencies": { |
|
|
|
|
"cookie": { |
|
|
|
|
"version": "0.4.2", |
|
|
|
|
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", |
|
|
|
|
"integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==" |
|
|
|
|
}, |
|
|
|
|
"safe-buffer": { |
|
|
|
|
"version": "5.2.1", |
|
|
|
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
|
|
|
|
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"fast-deep-equal": { |
|
|
|
|
"version": "3.1.3", |
|
|
|
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", |
|
|
|
@ -10913,6 +11032,11 @@ |
|
|
|
|
"ee-first": "1.1.1" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"on-headers": { |
|
|
|
|
"version": "1.0.2", |
|
|
|
|
"resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", |
|
|
|
|
"integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" |
|
|
|
|
}, |
|
|
|
|
"once": { |
|
|
|
|
"version": "1.4.0", |
|
|
|
|
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", |
|
|
|
@ -11113,6 +11237,11 @@ |
|
|
|
|
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", |
|
|
|
|
"dev": true |
|
|
|
|
}, |
|
|
|
|
"random-bytes": { |
|
|
|
|
"version": "1.0.0", |
|
|
|
|
"resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", |
|
|
|
|
"integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==" |
|
|
|
|
}, |
|
|
|
|
"randombytes": { |
|
|
|
|
"version": "2.1.0", |
|
|
|
|
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
|
|
|
@ -11631,6 +11760,14 @@ |
|
|
|
|
"integrity": "sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==", |
|
|
|
|
"dev": true |
|
|
|
|
}, |
|
|
|
|
"uid-safe": { |
|
|
|
|
"version": "2.1.5", |
|
|
|
|
"resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", |
|
|
|
|
"integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", |
|
|
|
|
"requires": { |
|
|
|
|
"random-bytes": "~1.0.0" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"unbox-primitive": { |
|
|
|
|
"version": "1.0.1", |
|
|
|
|
"resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", |
|
|
|
|