upgrade packages

This commit is contained in:
rubikscraft 2022-03-31 22:58:31 +02:00
parent 36e9789070
commit 79100e779a
No known key found for this signature in database
GPG key ID: 1463EBE9200A5CD4
5 changed files with 559 additions and 751 deletions

View file

@ -20,12 +20,12 @@
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
},
"dependencies": {
"@nestjs/common": "^8.4.1",
"@nestjs/common": "^8.4.3",
"@nestjs/config": "^2.0.0",
"@nestjs/core": "^8.4.1",
"@nestjs/core": "^8.4.3",
"@nestjs/jwt": "^8.0.0",
"@nestjs/passport": "^8.2.1",
"@nestjs/platform-fastify": "^8.4.1",
"@nestjs/platform-fastify": "^8.4.3",
"@nestjs/serve-static": "^2.2.2",
"@nestjs/typeorm": "^8.0.3",
"bcrypt": "^5.0.1",
@ -44,30 +44,30 @@
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.5",
"typeorm": "0.2.45"
"typeorm": "0.3.4"
},
"devDependencies": {
"@nestjs/cli": "^8.2.3",
"@nestjs/cli": "^8.2.4",
"@nestjs/schematics": "^8.0.8",
"@nestjs/testing": "^8.4.1",
"@nestjs/testing": "^8.4.3",
"@types/bcrypt": "^5.0.0",
"@types/multer": "^1.4.7",
"@types/node": "^17.0.21",
"@types/node": "^17.0.23",
"@types/passport-jwt": "^3.0.6",
"@types/passport-local": "^1.0.34",
"@types/passport-strategy": "^0.2.35",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.11.0",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.6.0",
"prettier": "^2.6.1",
"source-map-support": "^0.5.21",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.14.0",
"typescript": "4.5.5",
"tsconfig-paths": "^3.14.1",
"typescript": "4.6.3",
"webpack": "^5.70.0"
}
}

View file

@ -67,12 +67,12 @@ export class SysPreferenceService {
if (HasFailed(validatedKey)) return validatedKey;
// Fetch
let foundSysPreference: ESysPreferenceBackend | undefined;
let foundSysPreference: ESysPreferenceBackend | null;
try {
foundSysPreference = await this.sysPreferenceRepository.findOne(
{ key: validatedKey },
{ cache: 60000 }, // Enable cache for 1 minute
);
foundSysPreference = await this.sysPreferenceRepository.findOne({
where: { key: validatedKey },
cache: 60000,
});
} catch (e: any) {
this.logger.warn(e);
return Fail('Could not get preference');

View file

@ -13,22 +13,22 @@
"watch": "ng build --watch --configuration development"
},
"dependencies": {
"@angular/animations": "^14.0.0-next.7",
"@angular/cdk": "^14.0.0-next.7",
"@angular/common": "^14.0.0-next.7",
"@angular/compiler": "^14.0.0-next.7",
"@angular/core": "^14.0.0-next.7",
"@angular/forms": "^14.0.0-next.7",
"@angular/material": "^14.0.0-next.7",
"@angular/platform-browser": "^14.0.0-next.7",
"@angular/platform-browser-dynamic": "^14.0.0-next.7",
"@angular/router": "^14.0.0-next.7",
"@angular/animations": "^14.0.0-next.10",
"@angular/cdk": "^14.0.0-next.9",
"@angular/common": "^14.0.0-next.10",
"@angular/compiler": "^14.0.0-next.10",
"@angular/core": "^14.0.0-next.10",
"@angular/forms": "^14.0.0-next.10",
"@angular/material": "^14.0.0-next.9",
"@angular/platform-browser": "^14.0.0-next.10",
"@angular/platform-browser-dynamic": "^14.0.0-next.10",
"@angular/router": "^14.0.0-next.10",
"bootstrap": "^5.1.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"fuse.js": "^6.5.3",
"jwt-decode": "^3.1.2",
"ngx-auto-unsubscribe-decorator": "^1.0.0",
"ngx-auto-unsubscribe-decorator": "^0.1.0",
"ngx-dropzone": "^3.1.0",
"picsur-shared": "*",
"reflect-metadata": "^0.1.13",
@ -37,21 +37,21 @@
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.0.0-next.4",
"@angular/cli": "^14.0.0-next.6",
"@angular/compiler-cli": "^14.0.0-next.7",
"@angular-devkit/build-angular": "14.0.0-next.7",
"@angular/cli": "^14.0.0-next.7",
"@angular/compiler-cli": "^14.0.0-next.10",
"@fontsource/material-icons": "^4.5.4",
"@fontsource/material-icons-outlined": "^4.5.4",
"@fontsource/roboto": "^4.5.5",
"@types/jasmine": "~4.0.0",
"@types/node": "^17.0.22",
"@types/validator": "^13.7.1",
"@types/jasmine": "~4.0.1",
"@types/node": "^17.0.23",
"@types/validator": "^13.7.2",
"jasmine-core": "~4.0.1",
"karma": "~6.3.17",
"karma-chrome-launcher": "~3.1.1",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~4.0.1",
"karma-jasmine": "~4.0.2",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "4.5.5"
"typescript": "4.6.3"
}
}

View file

@ -14,8 +14,8 @@
"tsc-watch": "^4.6.2"
},
"devDependencies": {
"@types/node": "^17.0.21",
"typescript": "4.5.5"
"@types/node": "^17.0.23",
"typescript": "4.6.3"
},
"scripts": {
"clean": "rm -rf ./dist",

1230
yarn.lock

File diff suppressed because it is too large Load diff