update dependencies

This commit is contained in:
Michael Schramm 2020-09-02 10:35:41 +02:00
parent becd1e16f4
commit 91f4a60960
6 changed files with 3135 additions and 2120 deletions

View File

@ -37,14 +37,14 @@
"bcrypt": "^5.0.0", "bcrypt": "^5.0.0",
"class-transformer": "^0.3.1", "class-transformer": "^0.3.1",
"class-validator": "^0.12.2", "class-validator": "^0.12.2",
"commander": "^5.1.0", "commander": "^6.1.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"cross-env": "^7.0.2", "cross-env": "^7.0.2",
"dayjs": "^1.8.34", "dayjs": "^1.8.34",
"graphql": "15.3.0", "graphql": "15.3.0",
"graphql-redis-subscriptions": "^2.2.2", "graphql-redis-subscriptions": "^2.2.2",
"graphql-subscriptions": "^1.1.0", "graphql-subscriptions": "^1.1.0",
"graphql-tools": "^5.0.0", "graphql-tools": "^6.2.0",
"handlebars": "^4.7.6", "handlebars": "^4.7.6",
"html-to-text": "^5.1.1", "html-to-text": "^5.1.1",
"inquirer": "^7.3.3", "inquirer": "^7.3.3",
@ -70,27 +70,28 @@
"@nestjs/testing": "^7.4.4", "@nestjs/testing": "^7.4.4",
"@types/bcrypt": "^3.0.0", "@types/bcrypt": "^3.0.0",
"@types/express": "^4.17.8", "@types/express": "^4.17.8",
"@types/express-serve-static-core": "^4.17.12",
"@types/handlebars": "^4.1.0", "@types/handlebars": "^4.1.0",
"@types/inquirer": "^6.5.0", "@types/inquirer": "^7.3.1",
"@types/jest": "26.0.12", "@types/jest": "26.0.12",
"@types/mongoose": "^5.7.36", "@types/mongoose": "^5.7.36",
"@types/node": "^13.9.1", "@types/node": "^14.6.2",
"@types/passport-jwt": "^3.0.3", "@types/passport-jwt": "^3.0.3",
"@types/passport-local": "^1.0.33", "@types/passport-local": "^1.0.33",
"@types/supertest": "^2.0.10", "@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.0.1", "@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1", "@typescript-eslint/parser": "^4.0.1",
"eslint": "^6.8.0", "eslint": "^7.8.1",
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.0",
"jest": "^25.1.0", "jest": "^26.4.2",
"prettier": "^2.1.1", "prettier": "^2.1.1",
"supertest": "^4.0.2", "supertest": "^4.0.2",
"ts-jest": "26.3.0", "ts-jest": "26.3.0",
"ts-loader": "^8.0.3", "ts-loader": "^8.0.3",
"ts-node": "^9.0.0", "ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0", "tsconfig-paths": "^3.9.0",
"typescript": "^3.7.4" "typescript": "^4.0.2"
}, },
"jest": { "jest": {
"moduleFileExtensions": [ "moduleFileExtensions": [

View File

@ -7,17 +7,14 @@ export interface FieldOptionDocument extends Document {
} }
export const FieldOption: SchemaDefinition = { export const FieldOption: SchemaDefinition = {
// eslint-disable-next-line @typescript-eslint/camelcase
option_id: { option_id: {
alias: 'key', alias: 'key',
type: String, type: String,
}, },
// eslint-disable-next-line @typescript-eslint/camelcase
option_title: { option_title: {
alias: 'title', alias: 'title',
type: String, type: String,
}, },
// eslint-disable-next-line @typescript-eslint/camelcase
option_value: { option_value: {
alias: 'value', alias: 'value',
type: String, type: String,

View File

@ -112,7 +112,6 @@ export const FormSchema = new Schema({
type: [VisitorDataSchema], type: [VisitorDataSchema],
}, },
}, },
// eslint-disable-next-line @typescript-eslint/camelcase
form_fields: { form_fields: {
alias: 'fields', alias: 'fields',
type: [FormFieldSchema], type: [FormFieldSchema],

View File

@ -28,7 +28,6 @@ export class InstallationMetricsService implements OnApplicationBootstrap {
this.logger.info('try to add startup metric') this.logger.info('try to add startup metric')
tracker.track({ tracker.track({
url: `http://localhost/version/${process.env.npm_package_version}`, url: `http://localhost/version/${process.env.npm_package_version}`,
// eslint-disable-next-line @typescript-eslint/camelcase
action_name: 'startup', action_name: 'startup',
ua: process.arch ua: process.arch
}) })
@ -37,7 +36,6 @@ export class InstallationMetricsService implements OnApplicationBootstrap {
this.logger.info('try to add running metric') this.logger.info('try to add running metric')
tracker.track({ tracker.track({
url: `http://localhost/version/${process.env.npm_package_version}`, url: `http://localhost/version/${process.env.npm_package_version}`,
// eslint-disable-next-line @typescript-eslint/camelcase
action_name: 'running', action_name: 'running',
ua: process.arch ua: process.arch
}) })

View File

@ -28,7 +28,7 @@ export class MailService {
const html = mjml2html( const html = mjml2html(
handlebars.compile( handlebars.compile(
fs.readFileSync(path).toString('UTF-8') fs.readFileSync(path).toString('utf-8')
)(context), )(context),
{ {
minify: true minify: true

5232
yarn.lock

File diff suppressed because it is too large Load Diff