mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-02 10:15:47 +01:00
update dependencies
This commit is contained in:
@@ -20,15 +20,16 @@
|
|||||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nestjs/common": "^8.4.3",
|
"@nestjs/common": "^8.4.4",
|
||||||
"@nestjs/config": "^2.0.0",
|
"@nestjs/config": "^2.0.0",
|
||||||
"@nestjs/core": "^8.4.3",
|
"@nestjs/core": "^8.4.4",
|
||||||
"@nestjs/jwt": "^8.0.0",
|
"@nestjs/jwt": "^8.0.0",
|
||||||
"@nestjs/passport": "^8.2.1",
|
"@nestjs/passport": "^8.2.1",
|
||||||
"@nestjs/platform-fastify": "^8.4.3",
|
"@nestjs/platform-fastify": "^8.4.4",
|
||||||
"@nestjs/serve-static": "^2.2.2",
|
"@nestjs/serve-static": "^2.2.2",
|
||||||
"@nestjs/typeorm": "^8.0.3",
|
"@nestjs/typeorm": "^8.0.3",
|
||||||
"bcrypt": "^5.0.1",
|
"bcrypt": "^5.0.1",
|
||||||
|
"cors": "^2.8.5",
|
||||||
"fastify-helmet": "^7.0.1",
|
"fastify-helmet": "^7.0.1",
|
||||||
"fastify-multipart": "^5.3.1",
|
"fastify-multipart": "^5.3.1",
|
||||||
"fastify-static": "^4.6.1",
|
"fastify-static": "^4.6.1",
|
||||||
@@ -44,32 +45,33 @@
|
|||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"rxjs": "^7.5.5",
|
"rxjs": "^7.5.5",
|
||||||
"sharp": "^0.30.3",
|
"sharp": "^0.30.3",
|
||||||
"typeorm": "0.3.4",
|
"typeorm": "0.3.6",
|
||||||
"zod": "^3.14.3"
|
"zod": "^3.14.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nestjs/cli": "^8.2.4",
|
"@nestjs/cli": "^8.2.5",
|
||||||
"@nestjs/schematics": "^8.0.8",
|
"@nestjs/schematics": "^8.0.10",
|
||||||
"@nestjs/testing": "^8.4.3",
|
"@nestjs/testing": "^8.4.4",
|
||||||
"@types/bcrypt": "^5.0.0",
|
"@types/bcrypt": "^5.0.0",
|
||||||
|
"@types/cors": "^2.8.12",
|
||||||
"@types/multer": "^1.4.7",
|
"@types/multer": "^1.4.7",
|
||||||
"@types/node": "^17.0.23",
|
"@types/node": "^17.0.24",
|
||||||
"@types/passport-jwt": "^3.0.6",
|
"@types/passport-jwt": "^3.0.6",
|
||||||
"@types/passport-local": "^1.0.34",
|
"@types/passport-local": "^1.0.34",
|
||||||
"@types/passport-strategy": "^0.2.35",
|
"@types/passport-strategy": "^0.2.35",
|
||||||
"@types/sharp": "^0.30.2",
|
"@types/sharp": "^0.30.2",
|
||||||
"@types/supertest": "^2.0.12",
|
"@types/supertest": "^2.0.12",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
||||||
"@typescript-eslint/parser": "^5.17.0",
|
"@typescript-eslint/parser": "^5.19.0",
|
||||||
"eslint": "^8.12.0",
|
"eslint": "^8.13.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"prettier": "^2.6.1",
|
"prettier": "^2.6.2",
|
||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"ts-loader": "^9.2.8",
|
"ts-loader": "^9.2.8",
|
||||||
"ts-node": "^10.7.0",
|
"ts-node": "^10.7.0",
|
||||||
"tsconfig-paths": "^3.14.1",
|
"tsconfig-paths": "^3.14.1",
|
||||||
"typescript": "4.6.3",
|
"typescript": "4.6.3",
|
||||||
"webpack": "^5.70.0"
|
"webpack": "^5.72.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,44 +13,37 @@
|
|||||||
"watch": "ng build --watch --configuration development"
|
"watch": "ng build --watch --configuration development"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^14.0.0-next.10",
|
"@angular/animations": "^14.0.0-next.13",
|
||||||
"@angular/cdk": "^14.0.0-next.9",
|
"@angular/cdk": "^14.0.0-next.10",
|
||||||
"@angular/common": "^14.0.0-next.10",
|
"@angular/common": "^14.0.0-next.13",
|
||||||
"@angular/compiler": "^14.0.0-next.10",
|
"@angular/compiler": "^14.0.0-next.13",
|
||||||
"@angular/core": "^14.0.0-next.10",
|
"@angular/core": "^14.0.0-next.13",
|
||||||
"@angular/forms": "^14.0.0-next.10",
|
"@angular/forms": "^14.0.0-next.13",
|
||||||
"@angular/material": "^14.0.0-next.9",
|
"@angular/material": "^14.0.0-next.10",
|
||||||
"@angular/platform-browser": "^14.0.0-next.10",
|
"@angular/platform-browser": "^14.0.0-next.13",
|
||||||
"@angular/platform-browser-dynamic": "^14.0.0-next.10",
|
"@angular/platform-browser-dynamic": "^14.0.0-next.13",
|
||||||
"@angular/router": "^14.0.0-next.10",
|
"@angular/router": "^14.0.0-next.13",
|
||||||
"bootstrap": "^5.1.3",
|
"bootstrap": "^5.1.3",
|
||||||
"fuse.js": "^6.5.3",
|
"fuse.js": "^6.5.3",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^3.1.2",
|
||||||
"ngx-auto-unsubscribe-decorator": "^0.1.0",
|
"ngx-auto-unsubscribe-decorator": "^1.1.0",
|
||||||
"ngx-dropzone": "^3.1.0",
|
"ngx-dropzone": "^3.1.0",
|
||||||
"picsur-shared": "*",
|
"picsur-shared": "*",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rxjs": "~7.5.5",
|
"rxjs": "~7.5.5",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"zod": "^3.14.3",
|
"zod": "^3.14.4",
|
||||||
"zone.js": "~0.11.5"
|
"zone.js": "~0.11.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "14.0.0-next.7",
|
"@angular-devkit/build-angular": "14.0.0-next.9",
|
||||||
"@angular/cli": "^14.0.0-next.7",
|
"@angular/cli": "^14.0.0-next.9",
|
||||||
"@angular/compiler-cli": "^14.0.0-next.10",
|
"@angular/compiler-cli": "^14.0.0-next.13",
|
||||||
"@fontsource/material-icons": "^4.5.4",
|
"@fontsource/material-icons": "^4.5.4",
|
||||||
"@fontsource/material-icons-outlined": "^4.5.4",
|
"@fontsource/material-icons-outlined": "^4.5.4",
|
||||||
"@fontsource/roboto": "^4.5.5",
|
"@fontsource/roboto": "^4.5.5",
|
||||||
"@types/jasmine": "~4.0.1",
|
"@types/node": "^17.0.24",
|
||||||
"@types/node": "^17.0.23",
|
|
||||||
"@types/validator": "^13.7.2",
|
"@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.2",
|
|
||||||
"karma-jasmine-html-reporter": "~1.7.0",
|
|
||||||
"typescript": "4.6.3"
|
"typescript": "4.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ export class LoginControl {
|
|||||||
|
|
||||||
public getRawData(): UserPassModel {
|
public getRawData(): UserPassModel {
|
||||||
return {
|
return {
|
||||||
username: this.username.value,
|
username: this.username.value ?? '',
|
||||||
password: this.password.value,
|
password: this.password.value ?? '',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ export class RegisterControl {
|
|||||||
|
|
||||||
public getRawData(): UserPassModel {
|
public getRawData(): UserPassModel {
|
||||||
return {
|
return {
|
||||||
username: this.username.value,
|
username: this.username.value ?? '',
|
||||||
password: this.password.value,
|
password: this.password.value ?? '',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { CreateUsernameError } from '../validators/user.validator';
|
|||||||
|
|
||||||
export class UpdateRoleControl {
|
export class UpdateRoleControl {
|
||||||
public rolename = new FormControl('', RoleNameValidators);
|
public rolename = new FormControl('', RoleNameValidators);
|
||||||
public permissions = new FormControl([]);
|
public permissions = new FormControl<string[]>([]);
|
||||||
|
|
||||||
public get rolenameValue() {
|
public get rolenameValue() {
|
||||||
return this.rolename.value;
|
return this.rolename.value;
|
||||||
@@ -31,8 +31,8 @@ export class UpdateRoleControl {
|
|||||||
|
|
||||||
public getData(): RoleModel {
|
public getData(): RoleModel {
|
||||||
return {
|
return {
|
||||||
name: this.rolenameValue,
|
name: this.rolenameValue ?? '',
|
||||||
permissions: this.selectedPermissions,
|
permissions: this.selectedPermissions ?? [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export class UpdateUserControl {
|
|||||||
private id: string = '';
|
private id: string = '';
|
||||||
public username = new FormControl('', UsernameValidators);
|
public username = new FormControl('', UsernameValidators);
|
||||||
public password = new FormControl('', PasswordValidators);
|
public password = new FormControl('', PasswordValidators);
|
||||||
public roles = new FormControl([]);
|
public roles = new FormControl<string[]>([]);
|
||||||
|
|
||||||
public get usernameValue() {
|
public get usernameValue() {
|
||||||
return this.username.value;
|
return this.username.value;
|
||||||
@@ -26,7 +26,7 @@ export class UpdateUserControl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public get selectedRoles(): string[] {
|
public get selectedRoles(): string[] {
|
||||||
return this.roles.value;
|
return this.roles.value ?? [];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Data interaction
|
// Data interaction
|
||||||
@@ -45,8 +45,8 @@ export class UpdateUserControl {
|
|||||||
|
|
||||||
public getDataCreate(): UserCreateRequest {
|
public getDataCreate(): UserCreateRequest {
|
||||||
return {
|
return {
|
||||||
username: this.username.value,
|
username: this.username.value ?? '',
|
||||||
password: this.password.value,
|
password: this.password.value ?? '',
|
||||||
roles: this.selectedRoles,
|
roles: this.selectedRoles,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,11 +9,11 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tsc-watch": "^4.6.2",
|
"tsc-watch": "^5.0.3",
|
||||||
"zod": "^3.14.3"
|
"zod": "^3.14.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^17.0.23",
|
"@types/node": "^17.0.24",
|
||||||
"typescript": "4.6.3"
|
"typescript": "4.6.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user