|
|
@ -10,7 +10,9 @@ |
|
|
|
"dependencies": { |
|
|
|
"dependencies": { |
|
|
|
"cors": "^2.8.5", |
|
|
|
"cors": "^2.8.5", |
|
|
|
"express": "^4.18.2", |
|
|
|
"express": "^4.18.2", |
|
|
|
"multer": "^1.4.4" |
|
|
|
"multer": "^1.4.4", |
|
|
|
|
|
|
|
"passport": "^0.6.0", |
|
|
|
|
|
|
|
"passport-local": "^1.0.0" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"devDependencies": { |
|
|
|
"@babel/core": "^7.17.8", |
|
|
|
"@babel/core": "^7.17.8", |
|
|
@ -20,6 +22,8 @@ |
|
|
|
"@types/express": "^4.17.13", |
|
|
|
"@types/express": "^4.17.13", |
|
|
|
"@types/multer": "^1.4.7", |
|
|
|
"@types/multer": "^1.4.7", |
|
|
|
"@types/node": "^17.0.22", |
|
|
|
"@types/node": "^17.0.22", |
|
|
|
|
|
|
|
"@types/passport": "^1.0.12", |
|
|
|
|
|
|
|
"@types/passport-local": "^1.0.35", |
|
|
|
"@typescript-eslint/eslint-plugin": "^5.16.0", |
|
|
|
"@typescript-eslint/eslint-plugin": "^5.16.0", |
|
|
|
"@typescript-eslint/parser": "^5.16.0", |
|
|
|
"@typescript-eslint/parser": "^5.16.0", |
|
|
|
"babel-loader": "^8.2.3", |
|
|
|
"babel-loader": "^8.2.3", |
|
|
@ -2445,6 +2449,36 @@ |
|
|
|
"integrity": "sha512-8FwbVoG4fy+ykY86XCAclKZDORttqE5/s7dyWZKLXTdv3vRy5HozBEinG5IqhvPXXzIZEcTVbuHlQEI6iuwcmw==", |
|
|
|
"integrity": "sha512-8FwbVoG4fy+ykY86XCAclKZDORttqE5/s7dyWZKLXTdv3vRy5HozBEinG5IqhvPXXzIZEcTVbuHlQEI6iuwcmw==", |
|
|
|
"dev": true |
|
|
|
"dev": true |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/@types/passport": { |
|
|
|
|
|
|
|
"version": "1.0.12", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/passport/-/passport-1.0.12.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-QFdJ2TiAEoXfEQSNDISJR1Tm51I78CymqcBa8imbjo6dNNu+l2huDxxbDEIoFIwOSKMkOfHEikyDuZ38WwWsmw==", |
|
|
|
|
|
|
|
"dev": true, |
|
|
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
|
|
"@types/express": "*" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/@types/passport-local": { |
|
|
|
|
|
|
|
"version": "1.0.35", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/passport-local/-/passport-local-1.0.35.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-K4eLTJ8R0yYW8TvCqkjB0pTKoqfUSdl5PfZdidTjV2ETV3604fQxtY6BHKjQWAx50WUS0lqzBvKv3LoI1ZBPeA==", |
|
|
|
|
|
|
|
"dev": true, |
|
|
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
|
|
"@types/express": "*", |
|
|
|
|
|
|
|
"@types/passport": "*", |
|
|
|
|
|
|
|
"@types/passport-strategy": "*" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/@types/passport-strategy": { |
|
|
|
|
|
|
|
"version": "0.2.35", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/passport-strategy/-/passport-strategy-0.2.35.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-o5D19Jy2XPFoX2rKApykY15et3Apgax00RRLf0RUotPDUsYrQa7x4howLYr9El2mlUApHmCMv5CZ1IXqKFQ2+g==", |
|
|
|
|
|
|
|
"dev": true, |
|
|
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
|
|
"@types/express": "*", |
|
|
|
|
|
|
|
"@types/passport": "*" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
"node_modules/@types/qs": { |
|
|
|
"node_modules/@types/qs": { |
|
|
|
"version": "6.9.7", |
|
|
|
"version": "6.9.7", |
|
|
|
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", |
|
|
@ -5582,6 +5616,42 @@ |
|
|
|
"node": ">= 0.8" |
|
|
|
"node": ">= 0.8" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/passport": { |
|
|
|
|
|
|
|
"version": "0.6.0", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/passport/-/passport-0.6.0.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-0fe+p3ZnrWRW74fe8+SvCyf4a3Pb2/h7gFkQ8yTJpAO50gDzlfjZUZTO1k5Eg9kUct22OxHLqDZoKUWRHOh9ug==", |
|
|
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
|
|
"passport-strategy": "1.x.x", |
|
|
|
|
|
|
|
"pause": "0.0.1", |
|
|
|
|
|
|
|
"utils-merge": "^1.0.1" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"engines": { |
|
|
|
|
|
|
|
"node": ">= 0.4.0" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"funding": { |
|
|
|
|
|
|
|
"type": "github", |
|
|
|
|
|
|
|
"url": "https://github.com/sponsors/jaredhanson" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/passport-local": { |
|
|
|
|
|
|
|
"version": "1.0.0", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/passport-local/-/passport-local-1.0.0.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-9wCE6qKznvf9mQYYbgJ3sVOHmCWoUNMVFoZzNoznmISbhnNNPhN9xfY3sLmScHMetEJeoY7CXwfhCe7argfQow==", |
|
|
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
|
|
"passport-strategy": "1.x.x" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"engines": { |
|
|
|
|
|
|
|
"node": ">= 0.4.0" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/passport-strategy": { |
|
|
|
|
|
|
|
"version": "1.0.0", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-CB97UUvDKJde2V0KDWWB3lyf6PC3FaZP7YxZ2G8OAtn9p4HI9j9JLP9qjOGZFvyl8uwNT8qM+hGnz/n16NI7oA==", |
|
|
|
|
|
|
|
"engines": { |
|
|
|
|
|
|
|
"node": ">= 0.4.0" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
"node_modules/path-exists": { |
|
|
|
"node_modules/path-exists": { |
|
|
|
"version": "4.0.0", |
|
|
|
"version": "4.0.0", |
|
|
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", |
|
|
@ -5629,6 +5699,11 @@ |
|
|
|
"node": ">=8" |
|
|
|
"node": ">=8" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"node_modules/pause": { |
|
|
|
|
|
|
|
"version": "0.0.1", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-KG8UEiEVkR3wGEb4m5yZkVCzigAD+cVEJck2CzYZO37ZGJfctvVptVO192MwrtPhzONn6go8ylnOdMhKqi4nfg==" |
|
|
|
|
|
|
|
}, |
|
|
|
"node_modules/picocolors": { |
|
|
|
"node_modules/picocolors": { |
|
|
|
"version": "1.0.0", |
|
|
|
"version": "1.0.0", |
|
|
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", |
|
|
@ -8540,6 +8615,36 @@ |
|
|
|
"integrity": "sha512-8FwbVoG4fy+ykY86XCAclKZDORttqE5/s7dyWZKLXTdv3vRy5HozBEinG5IqhvPXXzIZEcTVbuHlQEI6iuwcmw==", |
|
|
|
"integrity": "sha512-8FwbVoG4fy+ykY86XCAclKZDORttqE5/s7dyWZKLXTdv3vRy5HozBEinG5IqhvPXXzIZEcTVbuHlQEI6iuwcmw==", |
|
|
|
"dev": true |
|
|
|
"dev": true |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"@types/passport": { |
|
|
|
|
|
|
|
"version": "1.0.12", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/passport/-/passport-1.0.12.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-QFdJ2TiAEoXfEQSNDISJR1Tm51I78CymqcBa8imbjo6dNNu+l2huDxxbDEIoFIwOSKMkOfHEikyDuZ38WwWsmw==", |
|
|
|
|
|
|
|
"dev": true, |
|
|
|
|
|
|
|
"requires": { |
|
|
|
|
|
|
|
"@types/express": "*" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"@types/passport-local": { |
|
|
|
|
|
|
|
"version": "1.0.35", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/passport-local/-/passport-local-1.0.35.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-K4eLTJ8R0yYW8TvCqkjB0pTKoqfUSdl5PfZdidTjV2ETV3604fQxtY6BHKjQWAx50WUS0lqzBvKv3LoI1ZBPeA==", |
|
|
|
|
|
|
|
"dev": true, |
|
|
|
|
|
|
|
"requires": { |
|
|
|
|
|
|
|
"@types/express": "*", |
|
|
|
|
|
|
|
"@types/passport": "*", |
|
|
|
|
|
|
|
"@types/passport-strategy": "*" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"@types/passport-strategy": { |
|
|
|
|
|
|
|
"version": "0.2.35", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/@types/passport-strategy/-/passport-strategy-0.2.35.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-o5D19Jy2XPFoX2rKApykY15et3Apgax00RRLf0RUotPDUsYrQa7x4howLYr9El2mlUApHmCMv5CZ1IXqKFQ2+g==", |
|
|
|
|
|
|
|
"dev": true, |
|
|
|
|
|
|
|
"requires": { |
|
|
|
|
|
|
|
"@types/express": "*", |
|
|
|
|
|
|
|
"@types/passport": "*" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
"@types/qs": { |
|
|
|
"@types/qs": { |
|
|
|
"version": "6.9.7", |
|
|
|
"version": "6.9.7", |
|
|
|
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", |
|
|
@ -10878,6 +10983,29 @@ |
|
|
|
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", |
|
|
|
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" |
|
|
|
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"passport": { |
|
|
|
|
|
|
|
"version": "0.6.0", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/passport/-/passport-0.6.0.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-0fe+p3ZnrWRW74fe8+SvCyf4a3Pb2/h7gFkQ8yTJpAO50gDzlfjZUZTO1k5Eg9kUct22OxHLqDZoKUWRHOh9ug==", |
|
|
|
|
|
|
|
"requires": { |
|
|
|
|
|
|
|
"passport-strategy": "1.x.x", |
|
|
|
|
|
|
|
"pause": "0.0.1", |
|
|
|
|
|
|
|
"utils-merge": "^1.0.1" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"passport-local": { |
|
|
|
|
|
|
|
"version": "1.0.0", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/passport-local/-/passport-local-1.0.0.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-9wCE6qKznvf9mQYYbgJ3sVOHmCWoUNMVFoZzNoznmISbhnNNPhN9xfY3sLmScHMetEJeoY7CXwfhCe7argfQow==", |
|
|
|
|
|
|
|
"requires": { |
|
|
|
|
|
|
|
"passport-strategy": "1.x.x" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"passport-strategy": { |
|
|
|
|
|
|
|
"version": "1.0.0", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-CB97UUvDKJde2V0KDWWB3lyf6PC3FaZP7YxZ2G8OAtn9p4HI9j9JLP9qjOGZFvyl8uwNT8qM+hGnz/n16NI7oA==" |
|
|
|
|
|
|
|
}, |
|
|
|
"path-exists": { |
|
|
|
"path-exists": { |
|
|
|
"version": "4.0.0", |
|
|
|
"version": "4.0.0", |
|
|
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", |
|
|
@ -10913,6 +11041,11 @@ |
|
|
|
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", |
|
|
|
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", |
|
|
|
"dev": true |
|
|
|
"dev": true |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"pause": { |
|
|
|
|
|
|
|
"version": "0.0.1", |
|
|
|
|
|
|
|
"resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", |
|
|
|
|
|
|
|
"integrity": "sha512-KG8UEiEVkR3wGEb4m5yZkVCzigAD+cVEJck2CzYZO37ZGJfctvVptVO192MwrtPhzONn6go8ylnOdMhKqi4nfg==" |
|
|
|
|
|
|
|
}, |
|
|
|
"picocolors": { |
|
|
|
"picocolors": { |
|
|
|
"version": "1.0.0", |
|
|
|
"version": "1.0.0", |
|
|
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", |
|
|
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", |
|
|
|