update dependencies
This commit is contained in:
parent
becd1e16f4
commit
91f4a60960
15
package.json
15
package.json
@ -37,14 +37,14 @@
|
||||
"bcrypt": "^5.0.0",
|
||||
"class-transformer": "^0.3.1",
|
||||
"class-validator": "^0.12.2",
|
||||
"commander": "^5.1.0",
|
||||
"commander": "^6.1.0",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.2",
|
||||
"dayjs": "^1.8.34",
|
||||
"graphql": "15.3.0",
|
||||
"graphql-redis-subscriptions": "^2.2.2",
|
||||
"graphql-subscriptions": "^1.1.0",
|
||||
"graphql-tools": "^5.0.0",
|
||||
"graphql-tools": "^6.2.0",
|
||||
"handlebars": "^4.7.6",
|
||||
"html-to-text": "^5.1.1",
|
||||
"inquirer": "^7.3.3",
|
||||
@ -70,27 +70,28 @@
|
||||
"@nestjs/testing": "^7.4.4",
|
||||
"@types/bcrypt": "^3.0.0",
|
||||
"@types/express": "^4.17.8",
|
||||
"@types/express-serve-static-core": "^4.17.12",
|
||||
"@types/handlebars": "^4.1.0",
|
||||
"@types/inquirer": "^6.5.0",
|
||||
"@types/inquirer": "^7.3.1",
|
||||
"@types/jest": "26.0.12",
|
||||
"@types/mongoose": "^5.7.36",
|
||||
"@types/node": "^13.9.1",
|
||||
"@types/node": "^14.6.2",
|
||||
"@types/passport-jwt": "^3.0.3",
|
||||
"@types/passport-local": "^1.0.33",
|
||||
"@types/supertest": "^2.0.10",
|
||||
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
||||
"@typescript-eslint/parser": "^4.0.1",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint": "^7.8.1",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"jest": "^25.1.0",
|
||||
"jest": "^26.4.2",
|
||||
"prettier": "^2.1.1",
|
||||
"supertest": "^4.0.2",
|
||||
"ts-jest": "26.3.0",
|
||||
"ts-loader": "^8.0.3",
|
||||
"ts-node": "^9.0.0",
|
||||
"tsconfig-paths": "^3.9.0",
|
||||
"typescript": "^3.7.4"
|
||||
"typescript": "^4.0.2"
|
||||
},
|
||||
"jest": {
|
||||
"moduleFileExtensions": [
|
||||
|
||||
@ -7,17 +7,14 @@ export interface FieldOptionDocument extends Document {
|
||||
}
|
||||
|
||||
export const FieldOption: SchemaDefinition = {
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
option_id: {
|
||||
alias: 'key',
|
||||
type: String,
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
option_title: {
|
||||
alias: 'title',
|
||||
type: String,
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
option_value: {
|
||||
alias: 'value',
|
||||
type: String,
|
||||
|
||||
@ -112,7 +112,6 @@ export const FormSchema = new Schema({
|
||||
type: [VisitorDataSchema],
|
||||
},
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
form_fields: {
|
||||
alias: 'fields',
|
||||
type: [FormFieldSchema],
|
||||
|
||||
@ -28,7 +28,6 @@ export class InstallationMetricsService implements OnApplicationBootstrap {
|
||||
this.logger.info('try to add startup metric')
|
||||
tracker.track({
|
||||
url: `http://localhost/version/${process.env.npm_package_version}`,
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
action_name: 'startup',
|
||||
ua: process.arch
|
||||
})
|
||||
@ -37,7 +36,6 @@ export class InstallationMetricsService implements OnApplicationBootstrap {
|
||||
this.logger.info('try to add running metric')
|
||||
tracker.track({
|
||||
url: `http://localhost/version/${process.env.npm_package_version}`,
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
action_name: 'running',
|
||||
ua: process.arch
|
||||
})
|
||||
|
||||
@ -28,7 +28,7 @@ export class MailService {
|
||||
|
||||
const html = mjml2html(
|
||||
handlebars.compile(
|
||||
fs.readFileSync(path).toString('UTF-8')
|
||||
fs.readFileSync(path).toString('utf-8')
|
||||
)(context),
|
||||
{
|
||||
minify: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user