upgrade sequelize

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 11:58:35 +08:00
parent 5128815543
commit a10263b13e
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
3 changed files with 17 additions and 10 deletions

View File

@ -1,6 +1,6 @@
import {Router} from "express";
import * as passport from "passport";
import * as validator from "validator";
import validator from "validator";
import {Strategy as LocalStrategy} from 'passport-local';
import * as config from '../../config';

20
package-lock.json generated
View File

@ -1562,6 +1562,12 @@
"@types/node": "*"
}
},
"@types/validator": {
"version": "13.1.4",
"resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.1.4.tgz",
"integrity": "sha512-19C02B8mr53HufY7S+HO/EHBD7a/R22IwEwyqiHaR19iwL37dN3o0M8RianVInfSSqP7InVSg/o0mUATM4JWsQ==",
"dev": true
},
"@typescript-eslint/eslint-plugin": {
"version": "4.26.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.26.1.tgz",
@ -15203,9 +15209,9 @@
"integrity": "sha1-1WgS4cAXpuTnw+Ojeh2m143TyT4="
},
"sequelize": {
"version": "5.21.3",
"resolved": "https://registry.npmjs.org/sequelize/-/sequelize-5.21.3.tgz",
"integrity": "sha512-ptdeAxwTY0zbj7AK8m+SH3z52uHVrt/qmOTSIGo/kyfnSp3h5HeKlywkJf5GEk09kuRrPHfWARVSXH1W3IGU7g==",
"version": "5.22.4",
"resolved": "https://registry.npmjs.org/sequelize/-/sequelize-5.22.4.tgz",
"integrity": "sha512-xFQQ38HPg7EyDRDA+NdzMSRWbo9m6Z/RxpjnkBl3ggyQG+jRrup48x0jaw4Ox42h56wFnXOBC2NZOkTJfZeWCw==",
"requires": {
"bluebird": "^3.5.0",
"cls-bluebird": "^2.1.0",
@ -15225,11 +15231,11 @@
},
"dependencies": {
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
"integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"requires": {
"ms": "^2.1.1"
"ms": "2.1.2"
}
},
"semver": {

View File

@ -95,8 +95,8 @@
"readline-sync": "~1.4.7",
"request": "~2.88.0",
"scrypt-kdf": "^2.0.1",
"sequelize": "5.21.3",
"sequelize-cli": "~5.5.1",
"sequelize": "5.22.4",
"sequelize-cli": "5.5.1",
"shortid": "~2.2.14",
"socket.io": "~2.2.0",
"toobusy-js": "~0.5.1",
@ -118,6 +118,7 @@
"@types/node": "~12.20.15",
"@types/passport-google-oauth20": "^2.0.8",
"@types/qs": "^6.9.6",
"@types/validator": "^13.1.4",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"acorn": "~6.1.1",