Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
feat: mfa
johaven431a988c6d0b
diff --git a/backend/package.json b/backend/package.jsonindex 02658694..f63e726e 100755--- a/backend/package.json+++ b/backend/package.json@@ -73,9 +73,11 @@"passport-local": "^1.0.0","pdfjs-dist": "^5.2.133","pino-pretty": "^13.0.0",+ "qrcode-generator": "^2.0.4","sax": "^1.4.1","socket.io": "^4.8.1","tar": "^7.4.3",+ "time2fa": "^1.4.2","yauzl": "^3.2.0"},"optionalDependencies": {@@ -107,6 +109,7 @@"@types/passport-local": "^1.0.38","@types/passport-strategy": "^0.2.38","@types/pdfjs-dist": "^2.10.377",+ "@types/qrcode": "^1.5.5","@types/sax": "^1.2.7","@types/supertest": "^6.0.2","@types/tar": "^6.1.13",diff --git a/backend/src/app.bootstrap.ts b/backend/src/app.bootstrap.tsindex 4a899a59..cdb02a7b 100644--- a/backend/src/app.bootstrap.ts+++ b/backend/src/app.bootstrap.ts@@ -80,7 +80,7 @@ export async function appBootstrap(): Promise<NestFastifyApplication> {secret: configuration.auth.token.csrf.secret,parseOptions: {secure: 'auto',- sameSite: configuration.auth.sameSite,+ sameSite: configuration.auth.cookieSameSite,httpOnly: true}})diff --git a/backend/src/applications/files/services/files-only-office-manager.service.ts b/backend/src/applications/files/services/files-only-office-manager.service.tsindex dace0923..ca9d7069 100644--- a/backend/src/applications/files/services/files-only-office-manager.service.ts+++ b/backend/src/applications/files/services/files-only-office-manager.service.ts@@ -285,7 +285,7 @@ export class FilesOnlyOfficeManager {if (existingDocKey) {return existingDocKey}- const docKey = generateShortUUID(16)+ const docKey = generateShortUUID(64)await this.cache.set(cacheKey, docKey, this.expiration)this.logger.debug(`${this.getDocumentKey.name} - ${cacheKey} (${docKey}) created`)return docKeydiff --git a/backend/src/applications/links/links.controller.ts b/backend/src/applications/links/links.controller.tsindex 77bc8e15..feb5e213 100644--- a/backend/src/applications/links/links.controller.ts+++ b/backend/src/applications/links/links.controller.ts@@ -9,7 +9,7 @@ import { FastifyReply, FastifyRequest } from 'fastify'import { AuthTokenOptional } from '../../authentication/decorators/auth-token-optional.decorator'import { LoginResponseDto } from '../../authentication/dto/login-response.dto'import { GetUser } from '../users/decorators/user.decorator'-import { UserPasswordDto } from '../users/dto/user-password.dto'+import { UserPasswordDto } from '../users/dto/user-properties.dto'import { UserModel } from '../users/models/user.model'import { PUBLIC_LINKS_ROUTE } from './constants/routes'import { SpaceLink } from './interfaces/link-space.interface'diff --git a/backend/src/applications/links/services/links-manager.service.ts b/backend/src/applications/links/services/links-manager.service.tsindex cf02beca..16a0c8a4 100644--- a/backend/src/applications/links/services/links-manager.service.ts+++ b/backend/src/applications/links/services/links-manager.service.ts@@ -14,7 +14,7 @@ import { SendFile } from '../../files/utils/send-file'import { SPACE_REPOSITORY } from '../../spaces/constants/spaces'import { SpaceEnv } from '../../spaces/models/space-env.model'import { SpacesManager } from '../../spaces/services/spaces-manager.service'-import { UserPasswordDto } from '../../users/dto/user-password.dto'+import { UserPasswordDto } from '../../users/dto/user-properties.dto'import { UserModel } from '../../users/models/user.model'import { UsersManager } from '../../users/services/users-manager.service'import { LINK_ERROR } from '../constants/links'diff --git a/backend/src/applications/shares/services/shares-manager.service.ts b/backend/src/applications/shares/services/shares-manager.service.tsindex 3d81a75a..8fbad5f0 100644--- a/backend/src/applications/shares/services/shares-manager.service.ts+++ b/backend/src/applications/shares/services/shares-manager.service.ts@@ -677,7 +677,7 @@ export class SharesManager {language?: string,isActive: boolean = true): Promise<Partial<User>> {- const random = generateShortUUID(32)+ const random = generateShortUUID(64)const guestLink = {login: random,email: `${random}@sync-in`,@@ -685,7 +685,7 @@ export class SharesManager {lastName: 'Link',language: language || null,permissions: permission,- password: await hashPassword(password || generateShortUUID(12)),+ password: await hashPassword(password || generateShortUUID(24)),role: USER_ROLE.LINK,isActive: isActive} satisfies CreateUserDtodiff --git a/backend/src/applications/users/admin-users.controller.ts b/backend/src/applications/users/admin-users.controller.tsindex 321ff672..5da60216 100644--- a/backend/src/applications/users/admin-users.controller.ts+++ b/backend/src/applications/users/admin-users.controller.ts@@ -7,6 +7,7 @@import { Body, Controller, Delete, Get, Param, ParseIntPipe, Patch, Post, Put, Res, Search, UseGuards } from '@nestjs/common'import { FastifyReply } from 'fastify'import { LoginResponseDto } from '../../authentication/dto/login-response.dto'+import { AuthTwoFaGuard } from '../../authentication/guards/auth-two-fa-guard'import { GROUP_TYPE } from './constants/group'import { ADMIN_USERS_ROUTE } from './constants/routes'import { USER_ROLE } from './constants/user'@@ -16,7 +17,7 @@ import { CreateOrUpdateGroupDto } from './dto/create-or-update-group.dto'import { CreateUserDto, UpdateUserDto, UpdateUserFromGroupDto } from './dto/create-or-update-user.dto'import { AdminDeleteUserDto } from './dto/delete-user.dto'import { SearchMembersDto } from './dto/search-members.dto'-import { UserPasswordDto } from './dto/user-password.dto'+import { UserPasswordDto } from './dto/user-properties.dto'import { UserRolesGuard } from './guards/roles.guard'import { AdminGroup } from './interfaces/admin-group.interface'import { AdminUser } from './interfaces/admin-user.interface'@@ -30,21 +31,21 @@ import { AdminUsersManager } from './services/admin-users-manager.service'@UserHaveRole(USER_ROLE.ADMINISTRATOR)@UseGuards(UserRolesGuard)export class AdminUsersController {- constructor(private readonly usersAdminManager: AdminUsersManager) {}+ constructor(private readonly adminUsersManager: AdminUsersManager) {}@Get(`${ADMIN_USERS_ROUTE.USERS}/${ADMIN_USERS_ROUTE.LIST}`)listUsers(): Promise<AdminUser[]> {- return this.usersAdminManager.listUsers()+ return this.adminUsersManager.listUsers()}@Get(`${ADMIN_USERS_ROUTE.USERS}/:id`)getUser(@Param('id', ParseIntPipe) userId: number): Promise<AdminUser> {- return this.usersAdminManager.getUser(userId)+ return this.adminUsersManager.getUser(userId)}@Post(ADMIN_USERS_ROUTE.USERS)createUser(@Body() createUserDto: CreateUserDto): Promise<AdminUser> {- return this.usersAdminManager.createUserOrGuest(+ return this.adminUsersManager.createUserOrGuest(createUserDto,typeof createUserDto?.role !== 'undefined' ? createUserDto.role : USER_ROLE.USER,true@@ -53,82 +54,83 @@ export class AdminUsersController {@Put(`${ADMIN_USERS_ROUTE.USERS}/:id`)updateUser(@Param('id', ParseIntPipe) userId: number, @Body() updateUserDto: UpdateUserDto): Promise<AdminUser> {- return this.usersAdminManager.updateUserOrGuest(userId, updateUserDto)+ return this.adminUsersManager.updateUserOrGuest(userId, updateUserDto)}@Delete(`${ADMIN_USERS_ROUTE.USERS}/:id`)+ @UseGuards(AuthTwoFaGuard)deleteUser(@GetUser() admin: UserModel, @Param('id', ParseIntPipe) userId: number, @Body() adminDeleteUserDto: AdminDeleteUserDto): Promise<void> {- return this.usersAdminManager.deleteUserFromAdmin(admin, userId, adminDeleteUserDto)+ return this.adminUsersManager.deleteUserFromAdmin(admin, userId, adminDeleteUserDto)}@Get(`${ADMIN_USERS_ROUTE.GUESTS}/${ADMIN_USERS_ROUTE.LIST}`)listGuests(): Promise<AdminUser[]> {- return this.usersAdminManager.listGuests()+ return this.adminUsersManager.listGuests()}@Get(`${ADMIN_USERS_ROUTE.GUESTS}/:id`)getGuest(@Param('id', ParseIntPipe) guestId: number): Promise<AdminUser> {- return this.usersAdminManager.getGuest(guestId)+ return this.adminUsersManager.getGuest(guestId)}@Post(ADMIN_USERS_ROUTE.GUESTS)createGuest(@GetUser() user: UserModel, @Body() createGuestDto: CreateUserDto): Promise<GuestUser> {- return this.usersAdminManager.createGuest(user, createGuestDto)+ return this.adminUsersManager.createGuest(user, createGuestDto)}@Put(`${ADMIN_USERS_ROUTE.GUESTS}/:id`)updateGuest(@Param('id', ParseIntPipe) guestId: number, @Body() updateGuestDto: UpdateUserDto): Promise<GuestUser> {- return this.usersAdminManager.updateGuest(guestId, updateGuestDto)+ return this.adminUsersManager.updateGuest(guestId, updateGuestDto)}@Delete(`${ADMIN_USERS_ROUTE.GUESTS}/:id`)deleteGuest(@Param('id', ParseIntPipe) guestId: number): Promise<void> {- return this.usersAdminManager.deleteGuest(guestId)+ return this.adminUsersManager.deleteGuest(guestId)}@Search(ADMIN_USERS_ROUTE.MEMBERS)searchMembers(@Body() searchMembersDto: SearchMembersDto): Promise<Member[]> {- return this.usersAdminManager.searchMembers(searchMembersDto)+ return this.adminUsersManager.searchMembers(searchMembersDto)}@Get(`${ADMIN_USERS_ROUTE.GROUPS}/${ADMIN_USERS_ROUTE.BROWSE}/:name?`)browseGroups(@Param('name') name?: string): Promise<GroupBrowse> {- return this.usersAdminManager.browseGroups(name)+ return this.adminUsersManager.browseGroups(name)}@Get(`${ADMIN_USERS_ROUTE.PGROUPS}/${ADMIN_USERS_ROUTE.BROWSE}/:name?`)browsePersonalGroups(@Param('name') name?: string): Promise<GroupBrowse> {- return this.usersAdminManager.browseGroups(name, GROUP_TYPE.PERSONAL)+ return this.adminUsersManager.browseGroups(name, GROUP_TYPE.PERSONAL)}@Get(`${ADMIN_USERS_ROUTE.GROUPS}/:id`)getGroup(@Param('id', ParseIntPipe) groupId: number): Promise<AdminGroup> {- return this.usersAdminManager.getGroup(groupId)+ return this.adminUsersManager.getGroup(groupId)}@Post(`${ADMIN_USERS_ROUTE.GROUPS}`)createGroup(@Body() createGroupDto: CreateOrUpdateGroupDto): Promise<AdminGroup> {- return this.usersAdminManager.createGroup(createGroupDto)+ return this.adminUsersManager.createGroup(createGroupDto)}@Put(`${ADMIN_USERS_ROUTE.GROUPS}/:id`)updateGroup(@Param('id', ParseIntPipe) groupId: number, @Body() updateGroupDto: CreateOrUpdateGroupDto): Promise<AdminGroup> {- return this.usersAdminManager.updateGroup(groupId, updateGroupDto)+ return this.adminUsersManager.updateGroup(groupId, updateGroupDto)}@Delete(`${ADMIN_USERS_ROUTE.GROUPS}/:id`)deleteGroup(@Param('id', ParseIntPipe) groupId: number): Promise<void> {- return this.usersAdminManager.deleteGroup(groupId)+ return this.adminUsersManager.deleteGroup(groupId)}@Patch(`${ADMIN_USERS_ROUTE.GROUPS}/:groupId/${ADMIN_USERS_ROUTE.USERS}`)addUsersToGroup(@Param('groupId', ParseIntPipe) groupId: number, @Body() userIds: number[]): Promise<void> {- return this.usersAdminManager.addUsersToGroup(groupId, userIds)+ return this.adminUsersManager.addUsersToGroup(groupId, userIds)}@Delete(`${ADMIN_USERS_ROUTE.GROUPS}/:groupId/${ADMIN_USERS_ROUTE.USERS}/:userId`)removeUserFromGroup(@Param('groupId', ParseIntPipe) groupId: number, @Param('userId', ParseIntPipe) userId: number): Promise<void> {- return this.usersAdminManager.removeUserFromGroup(groupId, userId)+ return this.adminUsersManager.removeUserFromGroup(groupId, userId)}@Patch(`${ADMIN_USERS_ROUTE.GROUPS}/:groupId/${ADMIN_USERS_ROUTE.USERS}/:userId`)@@ -137,22 +139,23 @@ export class AdminUsersController {@Param('userId', ParseIntPipe) userId: number,@Body() updateUserFromGroupDto: UpdateUserFromGroupDto): Promise<void> {- return this.usersAdminManager.updateUserFromGroup(groupId, userId, updateUserFromGroupDto)+ return this.adminUsersManager.updateUserFromGroup(groupId, userId, updateUserFromGroupDto)}@Post(`${ADMIN_USERS_ROUTE.IMPERSONATE}/:id`)+ @UseGuards(AuthTwoFaGuard)impersonateUser(@GetUser() admin: UserModel,@Param('id', ParseIntPipe) userId: number,@Body() adminPasswordDto: UserPasswordDto,@Res({ passthrough: true }) res: FastifyReply): Promise<LoginResponseDto> {- return this.usersAdminManager.impersonateUser(admin, userId, adminPasswordDto, res)+ return this.adminUsersManager.impersonateUser(admin, userId, adminPasswordDto, res)}@Post(`${ADMIN_USERS_ROUTE.IMPERSONATE}/${ADMIN_USERS_ROUTE.LOGOUT}`)@UserHaveRole(USER_ROLE.GUEST)logOutImpersonateUser(@GetUser() user: UserModel, @Res({ passthrough: true }) res: FastifyReply): Promise<LoginResponseDto> {- return this.usersAdminManager.logoutImpersonateUser(user, res)+ return this.adminUsersManager.logoutImpersonateUser(user, res)}}diff --git a/backend/src/applications/users/constants/user.ts b/backend/src/applications/users/constants/user.tsindex 2e7b5d6b..fbd8d1b0 100644--- a/backend/src/applications/users/constants/user.ts+++ b/backend/src/applications/users/constants/user.ts@@ -64,3 +64,9 @@ export const USER_NOTIFICATION_TEXT = {APPLICATION: 'application',APPLICATION_EMAIL: 'application & email'} as const++export const USER_SECRET = {+ TWO_FA_SECRET: 'twoFaSecret',+ RECOVERY_CODES: 'recoveryCodes',+ WEBDAV_PASSWORD: 'webdavPassword'+} as constdiff --git a/backend/src/applications/users/dto/user-password.dto.ts b/backend/src/applications/users/dto/user-password.dto.tsdeleted file mode 100644index 862b7573..00000000--- a/backend/src/applications/users/dto/user-password.dto.ts+++ /dev/null@@ -1,15 +0,0 @@-/*- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>- * This file is part of Sync-in | The open source file sync and share solution- * See the LICENSE file for licensing details- */--import { IsNotEmpty, IsString, MinLength } from 'class-validator'-import { USER_PASSWORD_MIN_LENGTH } from '../constants/user'--export class UserPasswordDto {- @IsNotEmpty()- @IsString()- @MinLength(USER_PASSWORD_MIN_LENGTH)- password: string-}diff --git a/backend/src/applications/users/dto/user-properties.dto.ts b/backend/src/applications/users/dto/user-properties.dto.tsindex 775eddb0..34ad45f3 100644--- a/backend/src/applications/users/dto/user-properties.dto.ts+++ b/backend/src/applications/users/dto/user-properties.dto.ts@@ -18,7 +18,7 @@ export class UserNotificationDto {notification: number}-export class UserPasswordDto {+export class UserUpdatePasswordDto {@IsNotEmpty()@IsString()oldPassword: string@@ -28,3 +28,10 @@ export class UserPasswordDto {@MinLength(USER_PASSWORD_MIN_LENGTH)newPassword: string}++export class UserPasswordDto {+ @IsNotEmpty()+ @IsString()+ @MinLength(USER_PASSWORD_MIN_LENGTH)+ password: string+}diff --git a/backend/src/applications/users/interfaces/admin-user.interface.ts b/backend/src/applications/users/interfaces/admin-user.interface.tsindex 8cd7f7a3..5e3cf7de 100644--- a/backend/src/applications/users/interfaces/admin-user.interface.ts+++ b/backend/src/applications/users/interfaces/admin-user.interface.ts@@ -7,4 +7,4 @@import type { User } from '../schemas/user.interface'import type { Member } from './member.interface'-export type AdminUser = Partial<User> & { fullName: string; groups?: Member[] }+export type AdminUser = Partial<User> & { fullName: string; groups?: Member[]; twoFaEnabled?: boolean }diff --git a/backend/src/applications/users/interfaces/user-secrets.interface.ts b/backend/src/applications/users/interfaces/user-secrets.interface.tsnew file mode 100644index 00000000..9e5242bf--- /dev/null+++ b/backend/src/applications/users/interfaces/user-secrets.interface.ts@@ -0,0 +1,13 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { USER_SECRET } from '../constants/user'++export interface UserSecrets {+ [USER_SECRET.TWO_FA_SECRET]?: string+ [USER_SECRET.RECOVERY_CODES]?: string[]+ [USER_SECRET.WEBDAV_PASSWORD]?: string+}diff --git a/backend/src/applications/users/models/user.model.ts b/backend/src/applications/users/models/user.model.tsindex 11f219a1..cd18705d 100644--- a/backend/src/applications/users/models/user.model.ts+++ b/backend/src/applications/users/models/user.model.ts@@ -7,10 +7,12 @@import { Exclude, Expose } from 'class-transformer'import fs from 'node:fs/promises'import path from 'node:path'+import { popFromObject } from '../../../common/shared'import { configuration } from '../../../configuration/config.environment'import { SPACE_REPOSITORY } from '../../spaces/constants/spaces'import { GUEST_PERMISSION, USER_PATH, USER_PERMISSION, USER_PERMS_SEP, USER_ROLE } from '../constants/user'import type { Owner } from '../interfaces/owner.interface'+import type { UserSecrets } from '../interfaces/user-secrets.interface'import type { User } from '../schemas/user.interface'export class UserModel implements User {@@ -21,12 +23,12 @@ export class UserModel implements User {lastName: stringrole: numberlanguage: string+ isActive: booleannotification: numberonlineStatus: numberpermissions: stringstorageUsage: numberstorageQuota: number- isActive: booleanpasswordAttempts: numbercurrentIp: stringlastIp: string@@ -37,6 +39,8 @@ export class UserModel implements User {@Exclude()password: string@Exclude()+ secrets: UserSecrets+ @Exclude()// only used on backendimpersonatedFromId?: numberimpersonatedClientId?: string@@ -49,16 +53,12 @@ export class UserModel implements User {avatarBase64?: string// permissions as a listapplications: string[] = []- private _homePath: string- private _filesPath: string- private _trashPath: string- private _tmpPath: string- private _tasksPath: string-@Exclude({ toPlainOnly: true })exp?: number // refresh token expiration needed to refresh- constructor(props: Partial<User> & { exp?: number }, removePassword = true) {+ constructor(props: Partial<User> & { exp?: number; twoFaEnabled?: boolean }, removePassword = true) {+ // User model can be instantiated with data from the database or from a token payload+ this.initSecrets(props)Object.assign(this, props)if (removePassword) {// always remove the password field from model for obvious security reasons@@ -70,18 +70,37 @@ export class UserModel implements User {this.setProfile()}- toString(): string {- return `*User <${this.login}> (${this.id})*`+ private _homePath: string++ get homePath(): string {+ if (this.isLink || this.isGuest) {+ return (this._homePath ||= path.join(configuration.applications.files.tmpPath, this.isGuest ? 'guests' : 'links', this.login))+ }+ return (this._homePath ||= path.join(configuration.applications.files.usersPath, this.login))}- removePassword() {- delete this.password+ private _filesPath: string++ get filesPath(): string {+ return (this._filesPath ||= path.join(this.homePath, SPACE_REPOSITORY.FILES))}- setFullName() {- if (!this.fullName) {- this.fullName = `${this.firstName || ''} ${this.lastName || ''}`.trim()- }+ private _trashPath: string++ get trashPath(): string {+ return (this._trashPath ||= path.join(this.homePath, SPACE_REPOSITORY.TRASH))+ }++ private _tmpPath: string++ get tmpPath(): string {+ return (this._tmpPath ||= path.join(this.homePath, USER_PATH.TMP))+ }++ private _tasksPath: string++ get tasksPath(): string {+ return (this._tasksPath ||= path.join(this.tmpPath, USER_PATH.TASKS))}@Expose()@@ -109,27 +128,47 @@ export class UserModel implements User {return this.storageQuota !== null && this.storageUsage >= this.storageQuota}- get homePath(): string {- if (this.isLink || this.isGuest) {- return (this._homePath ||= path.join(configuration.applications.files.tmpPath, this.isGuest ? 'guests' : 'links', this.login))+ @Expose()+ get twoFaEnabled(): boolean {+ return !!this.secrets?.twoFaSecret+ }++ static getHomePath(userLogin: string, isGuest = false, isLink = false): string {+ if (isGuest || isLink) {+ return path.join(configuration.applications.files.tmpPath, isGuest ? 'guests' : 'links', userLogin)}- return (this._homePath ||= path.join(configuration.applications.files.usersPath, this.login))+ return path.join(configuration.applications.files.usersPath, userLogin)}- get filesPath(): string {- return (this._filesPath ||= path.join(this.homePath, SPACE_REPOSITORY.FILES))+ static getFilesPath(userLogin: string): string {+ return path.join(UserModel.getHomePath(userLogin), SPACE_REPOSITORY.FILES)}- get trashPath(): string {- return (this._trashPath ||= path.join(this.homePath, SPACE_REPOSITORY.TRASH))+ static getTrashPath(userLogin: string): string {+ return path.join(UserModel.getHomePath(userLogin), SPACE_REPOSITORY.TRASH)}- get tmpPath(): string {- return (this._tmpPath ||= path.join(this.homePath, USER_PATH.TMP))+ static getTasksPath(userLogin: string, isGuest = false, isLink = false): string {+ return path.join(UserModel.getHomePath(userLogin, isGuest, isLink), USER_PATH.TMP, USER_PATH.TASKS)}- get tasksPath(): string {- return (this._tasksPath ||= path.join(this.tmpPath, USER_PATH.TASKS))+ static getRepositoryPath(userLogin: string, inTrash = false): string {+ if (inTrash) return UserModel.getTrashPath(userLogin)+ return UserModel.getFilesPath(userLogin)+ }++ toString(): string {+ return `*User <${this.login}> (${this.id})*`+ }++ removePassword() {+ delete this.password+ }++ setFullName() {+ if (!this.fullName) {+ this.fullName = `${this.firstName || ''} ${this.lastName || ''}`.trim()+ }}async makePaths(): Promise<void> {@@ -159,23 +198,6 @@ export class UserModel implements User {return `${initials.f.toUpperCase()}${initials.l.toLowerCase()}`}- private setProfile() {- if (this.isLink) {- this.login = `Link (${this.id})`- this.email = 'guest-link@sync-in'- }- }-- private setApplications() {- if (this.isGuest) {- // dynamically set the permissions- this.applications = Object.values(GUEST_PERMISSION)- } else if (this.permissions) {- this.applications = this.permissions.split(USER_PERMS_SEP)- }- delete this.permissions- }-havePermission(permission: string): boolean {if (this.isAdmin) {return true@@ -190,27 +212,29 @@ export class UserModel implements User {return this.role <= role}- static getHomePath(userLogin: string, isGuest = false, isLink = false): string {- if (isGuest || isLink) {- return path.join(configuration.applications.files.tmpPath, isGuest ? 'guests' : 'links', userLogin)+ private initSecrets(props: Partial<UserModel>) {+ // Remove the `twoFaEnabled` property to avoid conflicts with the current getter when using `plainToClass` with `class-validator`+ if ('twoFaEnabled' in props) {+ // Only used when the User model is instantiated from a token payload+ // Set a `twoFaSecret` property (boolean) on the `secrets` property so that the `twoFaEnabled` getter returns `true`+ this.secrets = { twoFaSecret: popFromObject('twoFaEnabled', props) }}- return path.join(configuration.applications.files.usersPath, userLogin)}- static getFilesPath(userLogin: string): string {- return path.join(UserModel.getHomePath(userLogin), SPACE_REPOSITORY.FILES)- }-- static getTrashPath(userLogin: string): string {- return path.join(UserModel.getHomePath(userLogin), SPACE_REPOSITORY.TRASH)- }-- static getTasksPath(userLogin: string, isGuest = false, isLink = false): string {- return path.join(UserModel.getHomePath(userLogin, isGuest, isLink), USER_PATH.TMP, USER_PATH.TASKS)+ private setProfile() {+ if (this.isLink) {+ this.login = `Link (${this.id})`+ this.email = 'guest-link@sync-in'+ }}- static getRepositoryPath(userLogin: string, inTrash = false): string {- if (inTrash) return UserModel.getTrashPath(userLogin)- return UserModel.getFilesPath(userLogin)+ private setApplications() {+ if (this.isGuest) {+ // dynamically set the permissions+ this.applications = Object.values(GUEST_PERMISSION)+ } else if (this.permissions) {+ this.applications = this.permissions.split(USER_PERMS_SEP)+ }+ delete this.permissions}}diff --git a/backend/src/applications/users/schemas/user.interface.ts b/backend/src/applications/users/schemas/user.interface.tsindex 2cab94b2..b3b6cdfa 100644--- a/backend/src/applications/users/schemas/user.interface.ts+++ b/backend/src/applications/users/schemas/user.interface.ts@@ -4,6 +4,7 @@* See the LICENSE file for licensing details*/+import type { UserSecrets } from '../interfaces/user-secrets.interface'import type { users } from './users.schema'type UserSchema = typeof users.$inferSelect@@ -17,6 +18,7 @@ export class User implements UserSchema {password: stringrole: numberisActive: boolean+ secrets: UserSecretslanguage: stringpermissions: stringstorageUsage: numberdiff --git a/backend/src/applications/users/schemas/users.schema.ts b/backend/src/applications/users/schemas/users.schema.tsindex e98f47cd..b83a14c2 100644--- a/backend/src/applications/users/schemas/users.schema.ts+++ b/backend/src/applications/users/schemas/users.schema.ts@@ -6,6 +6,8 @@import { SQL, sql } from 'drizzle-orm'import { bigint, boolean, char, datetime, index, mysqlTable, tinyint, uniqueIndex, varchar } from 'drizzle-orm/mysql-core'+import { jsonColumn } from '../../../infrastructure/database/columns'+import { UserSecrets } from '../interfaces/user-secrets.interface'/*role:@@ -39,6 +41,7 @@ export const users = mysqlTable(passwordAttempts: tinyint('passwordAttempts', { unsigned: true }).default(0).notNull(),role: tinyint('role', { unsigned: true }).default(1).notNull(),isActive: boolean('isActive').default(true).notNull(),+ secrets: jsonColumn<UserSecrets>()('secrets'),language: char('language', { length: 2 }),permissions: varchar('permissions', { length: 255 }).default('').notNull(),storageUsage: bigint('storageUsage', { mode: 'number', unsigned: true }).default(0),diff --git a/backend/src/applications/users/services/admin-users-manager.service.spec.ts b/backend/src/applications/users/services/admin-users-manager.service.spec.tsindex 03f069ef..5686f279 100644--- a/backend/src/applications/users/services/admin-users-manager.service.spec.ts+++ b/backend/src/applications/users/services/admin-users-manager.service.spec.ts@@ -13,7 +13,7 @@ import type { CreateOrUpdateGroupDto } from '../dto/create-or-update-group.dto'import { CreateUserDto, UpdateUserDto, UpdateUserFromGroupDto } from '../dto/create-or-update-user.dto'import type { AdminDeleteUserDto } from '../dto/delete-user.dto'import type { SearchMembersDto } from '../dto/search-members.dto'-import type { UserPasswordDto } from '../dto/user-password.dto'+import type { UserPasswordDto } from '../dto/user-properties.dto'import { UserModel } from '../models/user.model'import { AdminUsersManager } from './admin-users-manager.service'import { AdminUsersQueries } from './admin-users-queries.service'diff --git a/backend/src/applications/users/services/admin-users-manager.service.ts b/backend/src/applications/users/services/admin-users-manager.service.tsindex 0390e528..c3239b0e 100644--- a/backend/src/applications/users/services/admin-users-manager.service.ts+++ b/backend/src/applications/users/services/admin-users-manager.service.ts@@ -16,7 +16,7 @@ import type { CreateOrUpdateGroupDto } from '../dto/create-or-update-group.dto'import { CreateUserDto, UpdateUserDto, UpdateUserFromGroupDto } from '../dto/create-or-update-user.dto'import type { AdminDeleteUserDto, DeleteUserDto } from '../dto/delete-user.dto'import type { SearchMembersDto } from '../dto/search-members.dto'-import type { UserPasswordDto } from '../dto/user-password.dto'+import type { UserPasswordDto } from '../dto/user-properties.dto'import type { AdminGroup } from '../interfaces/admin-group.interface'import type { AdminUser } from '../interfaces/admin-user.interface'import type { GroupBrowse } from '../interfaces/group-browse.interface'diff --git a/backend/src/applications/users/services/admin-users-queries.service.ts b/backend/src/applications/users/services/admin-users-queries.service.tsindex a80d4f95..fea15b82 100644--- a/backend/src/applications/users/services/admin-users-queries.service.ts+++ b/backend/src/applications/users/services/admin-users-queries.service.ts@@ -12,7 +12,7 @@ import { DBSchema } from '../../../infrastructure/database/interfaces/database.iimport { concatDistinctObjectsInArray, dateTimeUTC, dbCheckAffectedRows, dbGetInsertedId } from '../../../infrastructure/database/utils'import { GROUP_TYPE } from '../constants/group'import { MEMBER_TYPE } from '../constants/member'-import { USER_GROUP_ROLE, USER_ROLE } from '../constants/user'+import { USER_GROUP_ROLE, USER_ROLE, USER_SECRET } from '../constants/user'import { CreateOrUpdateGroupDto } from '../dto/create-or-update-group.dto'import type { AdminGroup } from '../interfaces/admin-group.interface'import type { AdminUser } from '../interfaces/admin-user.interface'@@ -51,6 +51,8 @@ export class AdminUsersQueries {lastName: users.lastName,notification: users.notification,permissions: users.permissions,+ twoFaEnabled:+ sql<boolean>`JSON_UNQUOTE(JSON_EXTRACT(${users.secrets}, ${sql.raw(`'$.${USER_SECRET.TWO_FA_SECRET}'`)})) IS NOT NULL`.mapWith(Boolean),groups: concatDistinctObjectsInArray(groups.id, {id: groups.id,name: groups.name,diff --git a/backend/src/applications/users/services/users-manager.service.ts b/backend/src/applications/users/services/users-manager.service.tsindex 04e71daf..aa7a04b1 100755--- a/backend/src/applications/users/services/users-manager.service.ts+++ b/backend/src/applications/users/services/users-manager.service.ts@@ -12,22 +12,25 @@ import { WriteStream } from 'fs'import { createWriteStream } from 'node:fs'import path from 'node:path'import { pipeline } from 'node:stream/promises'+import { LoginResponseDto } from '../../../authentication/dto/login-response.dto'import { FastifyAuthenticatedRequest } from '../../../authentication/interfaces/auth-request.interface'import { JwtIdentityPayload } from '../../../authentication/interfaces/jwt-payload.interface'import { comparePassword } from '../../../common/functions'import { convertImageToBase64, generateAvatar, pngMimeType, svgMimeType } from '../../../common/image'import { STATIC_ASSETS_PATH } from '../../../configuration/config.constants'+import { configuration, serverConfig } from '../../../configuration/config.environment'import { isPathExists, moveFiles } from '../../files/utils/files'import { MEMBER_TYPE } from '../constants/member'import { USER_GROUP_ROLE, USER_MAX_PASSWORD_ATTEMPTS, USER_ONLINE_STATUS, USER_ROLE } from '../constants/user'import { UserCreateOrUpdateGroupDto } from '../dto/create-or-update-group.dto'import { CreateUserDto, UpdateUserDto, UpdateUserFromGroupDto } from '../dto/create-or-update-user.dto'import { SearchMembersDto } from '../dto/search-members.dto'-import { UserLanguageDto, UserNotificationDto, UserPasswordDto } from '../dto/user-properties.dto'+import type { UserLanguageDto, UserNotificationDto, UserUpdatePasswordDto } from '../dto/user-properties.dto'import type { GroupBrowse } from '../interfaces/group-browse.interface'import type { GroupMember, GroupWithMembers } from '../interfaces/group-member'import type { GuestUser } from '../interfaces/guest-user.interface'import type { Member } from '../interfaces/member.interface'+import type { UserSecrets } from '../interfaces/user-secrets.interface'import type { UserOnline } from '../interfaces/websocket.interface'import { UserModel } from '../models/user.model'import type { Group } from '../schemas/group.interface'@@ -44,7 +47,7 @@ export class UsersManager {private readonly logger = new Logger(UsersManager.name)constructor(- private readonly usersQueries: UsersQueries,+ public readonly usersQueries: UsersQueries,private readonly adminUsersManager: AdminUsersManager) {}@@ -61,6 +64,18 @@ export class UsersManager {}async logUser(user: UserModel, password: string, ip: string): Promise<UserModel> {+ this.validateUserAccess(user, ip)+ const authSuccess: boolean = await comparePassword(password, user.password)+ this.updateAccesses(user, ip, authSuccess).catch((e: Error) => this.logger.error(`${this.logUser.name} - ${e}`))+ if (authSuccess) {+ await user.makePaths()+ return user+ }+ this.logger.warn(`${this.logUser.name} - bad password for *${user.login}*`)+ return null+ }++ validateUserAccess(user: UserModel, ip: string) {if (user.role === USER_ROLE.LINK) {this.logger.error(`${this.logUser.name} - guest link account ${user} is not authorized to login`)throw new HttpException('Account is not allowed', HttpStatus.FORBIDDEN)@@ -70,24 +85,17 @@ export class UsersManager {this.logger.error(`${this.logUser.name} - user account *${user.login}* is locked`)throw new HttpException('Account locked', HttpStatus.FORBIDDEN)}- const authSuccess: boolean = await comparePassword(password, user.password)- this.updateAccesses(user, ip, authSuccess).catch((e: Error) => this.logger.error(`${this.logUser.name} - ${e}`))- if (authSuccess) {- await user.makePaths()- return user- }- this.logger.warn(`${this.logUser.name} - bad password for *${user.login}*`)- return null}- async me(authUser: UserModel): Promise<{ user: Omit<UserModel, 'password'> }> {+ async me(authUser: UserModel): Promise<Omit<LoginResponseDto, 'token'>> {const user = await this.fromUserId(authUser.id)if (!user) {- throw new HttpException(`User *${authUser.login} (${authUser.id}) not found`, HttpStatus.NOT_FOUND)+ this.logger.warn(`User *${authUser.login} (${authUser.id}) not found`)+ throw new HttpException(`User not found`, HttpStatus.NOT_FOUND)}user.impersonated = !!authUser.impersonatedFromIduser.clientId = authUser.clientId- return { user: user }+ return { user: user, server: serverConfig }}async compareUserPassword(userId: number, password: string): Promise<boolean> {@@ -101,7 +109,7 @@ export class UsersManager {}}- async updatePassword(user: UserModel, userPasswordDto: UserPasswordDto) {+ async updatePassword(user: UserModel, userPasswordDto: UserUpdatePasswordDto) {const r = await this.usersQueries.selectUserProperties(user.id, ['password'])if (!r) {throw new HttpException('Unable to check password', HttpStatus.NOT_FOUND)@@ -145,8 +153,22 @@ export class UsersManager {}}- async updateAccesses(user: UserModel, ip: string, success: boolean) {- const passwordAttempts = success ? 0 : Math.min(user.passwordAttempts + 1, USER_MAX_PASSWORD_ATTEMPTS)+ async updateSecrets(userId: number, secrets: UserSecrets) {+ const userProps = (await this.usersQueries.selectUserProperties(userId, ['secrets'])) as { secrets: UserSecrets }+ const updatedSecrets = userProps['secrets'] ? { ...userProps['secrets'], ...secrets } : secrets+ if (!(await this.usersQueries.updateUserOrGuest(userId, { secrets: updatedSecrets }))) {+ throw new HttpException('Unable to update secrets', HttpStatus.INTERNAL_SERVER_ERROR)+ }+ }++ async updateAccesses(user: UserModel, ip: string, success: boolean, isAuthTwoFa = false) {+ let passwordAttempts: number+ if (!isAuthTwoFa && configuration.auth.mfa.totp.enabled && user.twoFaEnabled) {+ // Do not reset password attempts if the login still requires 2FA validation+ passwordAttempts = user.passwordAttempts+ } else {+ passwordAttempts = success ? 0 : Math.min(user.passwordAttempts + 1, USER_MAX_PASSWORD_ATTEMPTS)+ }await this.usersQueries.updateUserOrGuest(user.id, {lastAccess: user.currentAccess,currentAccess: new Date(),diff --git a/backend/src/applications/users/services/users-queries.service.ts b/backend/src/applications/users/services/users-queries.service.tsindex 9d5e3efd..dbe94e5e 100644--- a/backend/src/applications/users/services/users-queries.service.ts+++ b/backend/src/applications/users/services/users-queries.service.ts@@ -140,7 +140,7 @@ export class UsersQueries {.where(and(...where))}- async selectUserProperties(userId: number, fields: Partial<keyof User>[]): Promise<Record<string, any>> {+ async selectUserProperties(userId: number, fields: Partial<keyof User>[]): Promise<Partial<User>> {const select: Record<keyof User, any> = convertToSelect(users, fields)const [r]: Record<string, any>[] = await this.db.select(select).from(users).where(eq(users.id, userId)).limit(1)return r@@ -456,75 +456,6 @@ export class UsersQueries {return guest}- private async searchGroups(- searchMembersDto: SearchMembersDto,- userId?: number,- limit = 3- ): Promise<Pick<Group, 'id' | 'name' | 'description' | 'type' | 'permissions'>[]> {- /* Search for groups */- const where: SQL[] = [like(groups.name, `%${searchMembersDto.search}%`)]- if (userId) {- let idsWhitelist: number[] = await this.groupsWhitelist(userId)- if (searchMembersDto.ignoreGroupIds?.length) {- idsWhitelist = idsWhitelist.filter((id) => searchMembersDto.ignoreGroupIds.indexOf(id) === -1)- }- where.unshift(inArray(groups.id, idsWhitelist))- } else if (searchMembersDto.ignoreGroupIds?.length) {- where.unshift(notInArray(groups.id, searchMembersDto.ignoreGroupIds))- }- if (searchMembersDto.excludePersonalGroups) {- where.unshift(eq(groups.type, GROUP_TYPE.USER))- }- return this.db- .select({ id: groups.id, name: groups.name, description: groups.description, type: groups.type, permissions: groups.permissions })- .from(groups)- .where(and(...where))- .limit(limit)- }-- private async searchUsers(- searchMembersDto: SearchMembersDto,- userId?: number,- limit = 3- ): Promise<Pick<UserModel, 'id' | 'login' | 'email' | 'fullName' | 'role' | 'permissions'>[]> {- /* Search for users */- const where: SQL[] = [- ne(users.role, USER_ROLE.LINK),- or(like(sql`CONCAT_WS('-', ${users.login}, ${users.email}, ${users.firstName}, ${users.lastName})`, `%${searchMembersDto.search}%`))- ]- if (userId) {- let idsWhitelist: number[] = await this.usersWhitelist(userId)- if (searchMembersDto.ignoreUserIds?.length) {- idsWhitelist = idsWhitelist.filter((id) => searchMembersDto.ignoreUserIds.indexOf(id) === -1)- }- where.unshift(inArray(users.id, idsWhitelist))- } else {- if (searchMembersDto.ignoreUserIds?.length) {- where.unshift(notInArray(users.id, searchMembersDto.ignoreUserIds))- }- }- if (typeof searchMembersDto.usersRole !== 'undefined') {- if (searchMembersDto.usersRole === USER_ROLE.USER) {- // allow admin users- where.unshift(lte(users.role, searchMembersDto.usersRole))- } else {- where.unshift(eq(users.role, searchMembersDto.usersRole))- }- }- return this.db- .select({- id: users.id,- login: users.login,- email: users.email,- fullName: userFullNameSQL(users),- role: users.role,- permissions: users.permissions- })- .from(users)- .where(and(...where))- .limit(limit)- }-@CacheDecorator(900)async usersWhitelist(userId: number, lowerOrEqualUserRole: USER_ROLE = USER_ROLE.GUEST): Promise<number[]> {/* Get the list of user ids allowed to the current user@@ -636,4 +567,73 @@ export class UsersQueries {const [r]: { userId: number }[][] = (await this.db.execute(withChildren)) as MySqlQueryResultreturn r.length ? r.map((r) => r.userId) : []}++ private async searchGroups(+ searchMembersDto: SearchMembersDto,+ userId?: number,+ limit = 3+ ): Promise<Pick<Group, 'id' | 'name' | 'description' | 'type' | 'permissions'>[]> {+ /* Search for groups */+ const where: SQL[] = [like(groups.name, `%${searchMembersDto.search}%`)]+ if (userId) {+ let idsWhitelist: number[] = await this.groupsWhitelist(userId)+ if (searchMembersDto.ignoreGroupIds?.length) {+ idsWhitelist = idsWhitelist.filter((id) => searchMembersDto.ignoreGroupIds.indexOf(id) === -1)+ }+ where.unshift(inArray(groups.id, idsWhitelist))+ } else if (searchMembersDto.ignoreGroupIds?.length) {+ where.unshift(notInArray(groups.id, searchMembersDto.ignoreGroupIds))+ }+ if (searchMembersDto.excludePersonalGroups) {+ where.unshift(eq(groups.type, GROUP_TYPE.USER))+ }+ return this.db+ .select({ id: groups.id, name: groups.name, description: groups.description, type: groups.type, permissions: groups.permissions })+ .from(groups)+ .where(and(...where))+ .limit(limit)+ }++ private async searchUsers(+ searchMembersDto: SearchMembersDto,+ userId?: number,+ limit = 3+ ): Promise<Pick<UserModel, 'id' | 'login' | 'email' | 'fullName' | 'role' | 'permissions'>[]> {+ /* Search for users */+ const where: SQL[] = [+ ne(users.role, USER_ROLE.LINK),+ or(like(sql`CONCAT_WS('-', ${users.login}, ${users.email}, ${users.firstName}, ${users.lastName})`, `%${searchMembersDto.search}%`))+ ]+ if (userId) {+ let idsWhitelist: number[] = await this.usersWhitelist(userId)+ if (searchMembersDto.ignoreUserIds?.length) {+ idsWhitelist = idsWhitelist.filter((id) => searchMembersDto.ignoreUserIds.indexOf(id) === -1)+ }+ where.unshift(inArray(users.id, idsWhitelist))+ } else {+ if (searchMembersDto.ignoreUserIds?.length) {+ where.unshift(notInArray(users.id, searchMembersDto.ignoreUserIds))+ }+ }+ if (typeof searchMembersDto.usersRole !== 'undefined') {+ if (searchMembersDto.usersRole === USER_ROLE.USER) {+ // allow admin users+ where.unshift(lte(users.role, searchMembersDto.usersRole))+ } else {+ where.unshift(eq(users.role, searchMembersDto.usersRole))+ }+ }+ return this.db+ .select({+ id: users.id,+ login: users.login,+ email: users.email,+ fullName: userFullNameSQL(users),+ role: users.role,+ permissions: users.permissions+ })+ .from(users)+ .where(and(...where))+ .limit(limit)+ }}diff --git a/backend/src/applications/users/users.controller.ts b/backend/src/applications/users/users.controller.tsindex 9958f6eb..4bd13975 100755--- a/backend/src/applications/users/users.controller.ts+++ b/backend/src/applications/users/users.controller.ts@@ -6,6 +6,8 @@import { Body, Controller, Delete, Get, Header, Param, ParseIntPipe, Patch, Post, Put, Req, Search, StreamableFile, UseGuards } from '@nestjs/common'import { createReadStream } from 'fs'+import { LoginResponseDto } from '../../authentication/dto/login-response.dto'+import { AuthTwoFaGuard } from '../../authentication/guards/auth-two-fa-guard'import { FastifyAuthenticatedRequest } from '../../authentication/interfaces/auth-request.interface'import { USERS_ROUTE } from './constants/routes'import { USER_PERMISSION, USER_ROLE } from './constants/user'@@ -15,7 +17,7 @@ import { GetUser } from './decorators/user.decorator'import { UserCreateOrUpdateGroupDto } from './dto/create-or-update-group.dto'import { CreateUserDto, UpdateUserDto, UpdateUserFromGroupDto } from './dto/create-or-update-user.dto'import { SearchMembersDto } from './dto/search-members.dto'-import { UserLanguageDto, UserNotificationDto, UserPasswordDto } from './dto/user-properties.dto'+import { UserLanguageDto, UserNotificationDto, UserUpdatePasswordDto } from './dto/user-properties.dto'import { UserPermissionsGuard } from './guards/permissions.guard'import { UserRolesGuard } from './guards/roles.guard'import { GroupBrowse } from './interfaces/group-browse.interface'@@ -33,7 +35,7 @@ export class UsersController {@Get(USERS_ROUTE.ME)@UserHaveRole(USER_ROLE.LINK)- me(@GetUser() user: UserModel): Promise<{ user: Omit<UserModel, 'password'> }> {+ me(@GetUser() user: UserModel): Promise<Omit<LoginResponseDto, 'token'>> {return this.usersManager.me(user)}@@ -44,7 +46,8 @@ export class UsersController {}@Put(`${USERS_ROUTE.ME}/${USERS_ROUTE.PASSWORD}`)- updatePassword(@GetUser() user: UserModel, @Body() userPasswordDto: UserPasswordDto) {+ @UseGuards(AuthTwoFaGuard)+ updatePassword(@GetUser() user: UserModel, @Body() userPasswordDto: UserUpdatePasswordDto) {return this.usersManager.updatePassword(user, userPasswordDto)}diff --git a/backend/src/authentication/auth.config.ts b/backend/src/authentication/auth.config.tsindex 1d81c647..7059b487 100644--- a/backend/src/authentication/auth.config.ts+++ b/backend/src/authentication/auth.config.ts@@ -4,10 +4,11 @@* See the LICENSE file for licensing details*/-import { Transform, Type } from 'class-transformer'+import { Exclude, Transform, Type } from 'class-transformer'import {ArrayNotEmpty,IsArray,+ IsBoolean,IsDefined,IsIn,IsNotEmpty,@@ -18,12 +19,30 @@ import {ValidateIf,ValidateNested} from 'class-validator'-import { CSRF_KEY, WS_KEY } from './constants/auth'+import { SERVER_NAME } from '../app.constants'+import { ACCESS_KEY, CSRF_KEY, REFRESH_KEY, WS_KEY } from './constants/auth'++export class AuthMfaTotpConfig {+ @IsBoolean()+ enabled = false-export class AuthTokenAccessConfig {@IsString()- @IsNotEmpty()- name = 'sync-in-access'+ issuer = SERVER_NAME+}++export class AuthMfaConfig {+ @IsDefined()+ @IsNotEmptyObject()+ @IsObject()+ @ValidateNested()+ @Type(() => AuthMfaTotpConfig)+ totp: AuthMfaTotpConfig = new AuthMfaTotpConfig()+}++export class AuthTokenAccessConfig {+ @Exclude({ toClassOnly: true })+ // force default name+ name = ACCESS_KEY@IsString()@IsNotEmpty()@@ -32,16 +51,12 @@ export class AuthTokenAccessConfig {@IsString()@IsNotEmpty()expiration = '30m'-- @IsNotEmpty()- @IsString()- cookieMaxAge = '30m'}export class AuthTokenRefreshConfig {- @IsString()- @IsNotEmpty()- name = 'sync-in-refresh'+ @Exclude({ toClassOnly: true })+ // force default name+ name = REFRESH_KEY@IsString()@IsNotEmpty()@@ -50,10 +65,6 @@ export class AuthTokenRefreshConfig {@IsString()@IsNotEmpty()expiration = '4h'-- @IsNotEmpty()- @IsString()- cookieMaxAge = '4h'}export class AuthTokenCsrfConfig extends AuthTokenRefreshConfig {@@ -124,9 +135,20 @@ export class AuthConfig {@IsIn(['mysql', 'ldap'])method: 'mysql' | 'ldap' = 'mysql'+ @IsOptional()+ @IsString()+ encryptionKey: string++ @IsDefined()+ @IsNotEmptyObject()+ @IsObject()+ @ValidateNested()+ @Type(() => AuthMfaConfig)+ mfa: AuthMfaConfig = new AuthMfaConfig()+@IsString()@IsIn(['lax', 'strict'])- sameSite: 'lax' | 'strict' = 'strict'+ cookieSameSite: 'lax' | 'strict' = 'strict'@IsDefined()@IsNotEmptyObject()diff --git a/backend/src/authentication/auth.controller.ts b/backend/src/authentication/auth.controller.tsindex c5a3ba08..bd99f843 100755--- a/backend/src/authentication/auth.controller.ts+++ b/backend/src/authentication/auth.controller.ts@@ -4,49 +4,127 @@* See the LICENSE file for licensing details*/-import { Controller, Post, Res, UseGuards } from '@nestjs/common'+import { Body, Controller, Get, Param, ParseIntPipe, Post, Req, Res, UseGuards } from '@nestjs/common'import { FastifyReply } from 'fastify'+import { USER_ROLE } from '../applications/users/constants/user'+import { UserHaveRole } from '../applications/users/decorators/roles.decorator'import { GetUser } from '../applications/users/decorators/user.decorator'++import { UserPasswordDto } from '../applications/users/dto/user-properties.dto'+import { UserRolesGuard } from '../applications/users/guards/roles.guard'import { UserModel } from '../applications/users/models/user.model'+import { ACCESS_KEY, TOKEN_PATHS } from './constants/auth'import { AUTH_ROUTE } from './constants/routes'import { AuthTokenSkip } from './decorators/auth-token-skip.decorator'-import { LoginResponseDto } from './dto/login-response.dto'+import { LoginResponseDto, LoginVerify2FaDto, TwoFaResponseDto } from './dto/login-response.dto'import { TokenResponseDto } from './dto/token-response.dto'+import { TwoFaVerifyDto } from './dto/two-fa-verify.dto'import { AuthLocalGuard } from './guards/auth-local.guard'import { AuthTokenRefreshGuard } from './guards/auth-token-refresh.guard'+import { AuthTwoFaGuard } from './guards/auth-two-fa-guard'+import { FastifyAuthenticatedRequest } from './interfaces/auth-request.interface'+import { TOKEN_TYPE } from './interfaces/token.interface'+import { TwoFaSetup, TwoFaVerifyResult } from './interfaces/two-fa-setup.interface'import { AuthManager } from './services/auth-manager.service'+import { AuthMethod2FA } from './services/auth-methods/auth-method-two-fa.service'@Controller(AUTH_ROUTE.BASE)-@AuthTokenSkip()export class AuthController {- constructor(private readonly auth: AuthManager) {}+ constructor(+ private readonly authManager: AuthManager,+ private readonly authMethod2FA: AuthMethod2FA+ ) {}@Post(AUTH_ROUTE.LOGIN)+ @AuthTokenSkip()@UseGuards(AuthLocalGuard)- login(@GetUser() user: UserModel, @Res({ passthrough: true }) res: FastifyReply): Promise<LoginResponseDto> {- return this.auth.setCookies(user, res)+ login(@GetUser() user: UserModel, @Res({ passthrough: true }) res: FastifyReply): Promise<LoginResponseDto | LoginVerify2FaDto> {+ return this.authManager.setCookies(user, res, true)}@Post(AUTH_ROUTE.LOGOUT)+ @AuthTokenSkip()logout(@Res({ passthrough: true }) res: FastifyReply) {- return this.auth.clearCookies(res)+ return this.authManager.clearCookies(res)}@Post(AUTH_ROUTE.REFRESH)+ @AuthTokenSkip()@UseGuards(AuthTokenRefreshGuard)refreshCookies(@GetUser() user: UserModel, @Res({ passthrough: true }) res: FastifyReply): Promise<TokenResponseDto> {- return this.auth.refreshCookies(user, res)+ return this.authManager.refreshCookies(user, res)}@Post(AUTH_ROUTE.TOKEN)+ @AuthTokenSkip()@UseGuards(AuthLocalGuard)token(@GetUser() user: UserModel): Promise<TokenResponseDto> {- return this.auth.getTokens(user)+ return this.authManager.getTokens(user)}@Post(AUTH_ROUTE.TOKEN_REFRESH)+ @AuthTokenSkip()@UseGuards(AuthTokenRefreshGuard)refreshToken(@GetUser() user: UserModel): Promise<TokenResponseDto> {- return this.auth.getTokens(user, true)+ return this.authManager.getTokens(user, true)+ }++ /* TWO-FA Part */++ @Get(`${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_ENABLE}`)+ @UseGuards(UserRolesGuard)+ @UserHaveRole(USER_ROLE.USER)+ twoFaInit(@GetUser() user: UserModel): Promise<TwoFaSetup> {+ return this.authMethod2FA.initTwoFactor(user)+ }++ @Post(`${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_ENABLE}`)+ @UseGuards(UserRolesGuard)+ @UserHaveRole(USER_ROLE.USER)+ twoFaEnable(@Body() body: TwoFaVerifyDto, @Req() req: FastifyAuthenticatedRequest): Promise<TwoFaVerifyResult> {+ return this.authMethod2FA.enableTwoFactor(body, req)+ }++ @Post(`${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_DISABLE}`)+ @UseGuards(UserRolesGuard)+ @UserHaveRole(USER_ROLE.USER)+ twoFaDisable(@Body() body: TwoFaVerifyDto, @Req() req: FastifyAuthenticatedRequest): Promise<TwoFaVerifyResult> {+ return this.authMethod2FA.disableTwoFactor(body, req)+ }++ @Post(`${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_LOGIN_VERIFY}`)+ @UseGuards(UserRolesGuard)+ @UserHaveRole(USER_ROLE.USER)+ async twoFaLogin(+ @Body() body: TwoFaVerifyDto,+ @Req() req: FastifyAuthenticatedRequest,+ @Res({ passthrough: true }) res: FastifyReply+ ): Promise<TwoFaResponseDto | TwoFaVerifyResult> {+ const [authStatus, user] = await this.authMethod2FA.verify(body, req, true)+ if (authStatus.success) {+ const loginResponseDto = await this.authManager.setCookies(user, res)+ // clear the temporary 2FA cookie+ res.clearCookie(ACCESS_KEY, { path: TOKEN_PATHS[TOKEN_TYPE.ACCESS_2FA], httpOnly: true })+ return { ...loginResponseDto, ...authStatus } satisfies TwoFaResponseDto+ }+ return authStatus+ }++ @Post(`${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_VERIFY}`)+ @UseGuards(UserRolesGuard)+ @UserHaveRole(USER_ROLE.USER)+ twoFaVerify(@Body() body: TwoFaVerifyDto, @Req() req: FastifyAuthenticatedRequest): Promise<TwoFaVerifyResult> {+ return this.authMethod2FA.verify(body, req)+ }++ @Post(`${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_ADMIN_RESET_USER}/:id`)+ @UseGuards(UserRolesGuard, AuthTwoFaGuard)+ @UserHaveRole(USER_ROLE.ADMINISTRATOR)+ twoFaReset(+ @GetUser() admin: UserModel,+ @Param('id', ParseIntPipe) userId: number,+ @Body() adminPassword: UserPasswordDto+ ): Promise<TwoFaVerifyResult> {+ return this.authMethod2FA.adminResetUserTwoFa(admin.id, userId, adminPassword)}}diff --git a/backend/src/authentication/auth.e2e-spec.ts b/backend/src/authentication/auth.e2e-spec.tsindex 61bb5d22..72eb01b2 100644--- a/backend/src/authentication/auth.e2e-spec.ts+++ b/backend/src/authentication/auth.e2e-spec.ts@@ -308,13 +308,13 @@ describe('Auth (e2e)', () => {expect(cookie.content).toContain('HttpOnly')}expect(cookie.content).not.toContain('Secure')- expect(cookie.content[cookie.content.length - 1].split('=')[1].toLowerCase()).toBe(authConfig.sameSite)+ expect(cookie.content[cookie.content.length - 1].split('=')[1].toLowerCase()).toBe(authConfig.cookieSameSite)if (clear) {expect(cookie.content[0].split('=')[1]).toBe('')expect(cookie.content[1].split('=')[1]).toBe('0')expect(cookie.content[3].split('=')[1]).toBe('Thu, 01 Jan 1970 00:00:00 GMT')} else {- expect(parseInt(cookie.content[1].split('=')[1])).toBeCloseTo(convertHumanTimeToSeconds(authConfig.token[cookie.type].cookieMaxAge), -1)+ expect(parseInt(cookie.content[1].split('=')[1])).toBeCloseTo(convertHumanTimeToSeconds(authConfig.token[cookie.type].expiration), -1)expect(cookie.content[0].split('=')[1]).not.toBe('')}}diff --git a/backend/src/authentication/auth.module.ts b/backend/src/authentication/auth.module.tsindex 02202e7f..25adae1f 100755--- a/backend/src/authentication/auth.module.ts+++ b/backend/src/authentication/auth.module.ts@@ -21,10 +21,12 @@ import { AuthTokenAccessGuard } from './guards/auth-token-access.guard'import { AuthTokenAccessStrategy } from './guards/auth-token-access.strategy'import { AuthTokenRefreshGuard } from './guards/auth-token-refresh.guard'import { AuthTokenRefreshStrategy } from './guards/auth-token-refresh.strategy'+import { AuthTwoFaGuard } from './guards/auth-two-fa-guard'import { AuthMethod } from './models/auth-method'import { AuthManager } from './services/auth-manager.service'import { AuthMethodDatabase } from './services/auth-methods/auth-method-database.service'import { AuthMethodLdapService } from './services/auth-methods/auth-method-ldap.service'+import { AuthMethod2FA } from './services/auth-methods/auth-method-two-fa.service'@Global()@Module({@@ -45,8 +47,10 @@ import { AuthMethodLdapService } from './services/auth-methods/auth-method-ldap.AuthBasicStrategy,AuthAnonymousStrategy,AuthManager,+ AuthMethod2FA,+ AuthTwoFaGuard,{ provide: AuthMethod, useClass: configuration.auth.method === 'ldap' ? AuthMethodLdapService : AuthMethodDatabase }],- exports: [AuthManager, AuthMethod]+ exports: [AuthManager, AuthMethod, AuthMethod2FA, AuthTwoFaGuard]})export class AuthModule {}diff --git a/backend/src/authentication/constants/auth.ts b/backend/src/authentication/constants/auth.tsindex 38f08add..a3d3f189 100644--- a/backend/src/authentication/constants/auth.ts+++ b/backend/src/authentication/constants/auth.ts@@ -5,13 +5,29 @@*/import { TOKEN_TYPE } from '../interfaces/token.interface'-import { API_AUTH_REFRESH, API_AUTH_WS } from './routes'+import { API_AUTH_REFRESH, API_AUTH_WS, API_TWO_FA_LOGIN_VERIFY } from './routes'+export const ACCESS_KEY = 'sync-in-access'+export const REFRESH_KEY = 'sync-in-refresh'export const CSRF_KEY = 'sync-in-csrf'export const WS_KEY = 'sync-in-ws'-export const TOKEN_PATHS = { access: '/', refresh: API_AUTH_REFRESH, ws: API_AUTH_WS, csrf: '/' } as const+export const TWO_FA_CODE_LENGTH = 6+export const TWO_FA_VERIFY_EXPIRATION = '5m'++export const TWO_FA_HEADER = 'sync-in-two-fa-code'++export const TOKEN_PATHS = {+ [TOKEN_TYPE.ACCESS]: '/',+ [TOKEN_TYPE.REFRESH]: API_AUTH_REFRESH,+ [TOKEN_TYPE.WS]: API_AUTH_WS,+ [TOKEN_TYPE.CSRF]: '/',+ [TOKEN_TYPE.ACCESS_2FA]: API_TWO_FA_LOGIN_VERIFY,+ [TOKEN_TYPE.CSRF_2FA]: '/'+} as const+export const TOKEN_TYPES: TOKEN_TYPE[] = [TOKEN_TYPE.REFRESH, TOKEN_TYPE.ACCESS, TOKEN_TYPE.WS, TOKEN_TYPE.CSRF] as const+export const TOKEN_2FA_TYPES: TOKEN_TYPE[] = [TOKEN_TYPE.ACCESS_2FA, TOKEN_TYPE.CSRF_2FA] as constexport const CSRF_ERROR = {MISSING_JWT: 'Missing CSRF in JWT',diff --git a/backend/src/authentication/constants/routes.ts b/backend/src/authentication/constants/routes.tsindex 5b80432a..7ad24e6a 100644--- a/backend/src/authentication/constants/routes.ts+++ b/backend/src/authentication/constants/routes.ts@@ -11,7 +11,13 @@ export enum AUTH_ROUTE {REFRESH = 'refresh',TOKEN = 'token',TOKEN_REFRESH = `${AUTH_ROUTE.TOKEN}/refresh`,- WS = 'socket.io'+ WS = 'socket.io',+ TWO_FA_BASE = '2fa',+ TWO_FA_ENABLE = 'enable',+ TWO_FA_DISABLE = 'disable',+ TWO_FA_VERIFY = 'verify',+ TWO_FA_LOGIN_VERIFY = 'login/verify',+ TWO_FA_ADMIN_RESET_USER = 'reset/user'}export const API_AUTH_LOGIN = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.LOGIN}`@@ -20,3 +26,8 @@ export const API_AUTH_REFRESH = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.REFRESH}`export const API_AUTH_TOKEN = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TOKEN}`export const API_AUTH_TOKEN_REFRESH = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TOKEN_REFRESH}`export const API_AUTH_WS = `/${AUTH_ROUTE.WS}`+export const API_TWO_FA_ENABLE = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_ENABLE}`+export const API_TWO_FA_DISABLE = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_DISABLE}`+export const API_TWO_FA_VERIFY = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_VERIFY}`+export const API_TWO_FA_LOGIN_VERIFY = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_LOGIN_VERIFY}`+export const API_TWO_FA_ADMIN_RESET_USER = `${AUTH_ROUTE.BASE}/${AUTH_ROUTE.TWO_FA_BASE}/${AUTH_ROUTE.TWO_FA_ADMIN_RESET_USER}`diff --git a/backend/src/authentication/dto/login-response.dto.ts b/backend/src/authentication/dto/login-response.dto.tsindex 4dc9e546..631baa9d 100644--- a/backend/src/authentication/dto/login-response.dto.ts+++ b/backend/src/authentication/dto/login-response.dto.ts@@ -5,14 +5,33 @@*/import { UserModel } from '../../applications/users/models/user.model'+import { ServerConfig } from '../../configuration/config.interfaces'import { TokenResponseDto } from './token-response.dto'export class LoginResponseDto {+ server: ServerConfiguser: UserModeltoken: TokenResponseDto- constructor(user: UserModel) {+ constructor(user: UserModel, serverConfig: ServerConfig) {+ this.server = serverConfigthis.user = userthis.token = new TokenResponseDto()}}++export class LoginVerify2FaDto {+ server: ServerConfig+ user = { twoFaEnabled: true }+ token: TokenResponseDto++ constructor(serverConfig: ServerConfig) {+ this.server = serverConfig+ this.token = new TokenResponseDto()+ }+}++export class TwoFaResponseDto extends LoginResponseDto {+ success: boolean+ message: string+}diff --git a/backend/src/authentication/dto/token-response.dto.ts b/backend/src/authentication/dto/token-response.dto.tsindex 2324a67b..a2a89093 100644--- a/backend/src/authentication/dto/token-response.dto.ts+++ b/backend/src/authentication/dto/token-response.dto.ts@@ -4,7 +4,7 @@* See the LICENSE file for licensing details*/-import { IsInt, IsString } from 'class-validator'+import { IsInt, IsOptional, IsString } from 'class-validator'export class TokenResponseDto {@IsString()@@ -18,4 +18,8 @@ export class TokenResponseDto {@IsInt()refresh_expiration: number++ @IsOptional()+ @IsInt()+ access_2fa_expiration?: number}diff --git a/backend/src/authentication/dto/two-fa-verify.dto.ts b/backend/src/authentication/dto/two-fa-verify.dto.tsnew file mode 100644index 00000000..86e585c3--- /dev/null+++ b/backend/src/authentication/dto/two-fa-verify.dto.ts@@ -0,0 +1,17 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { IsBoolean, IsDefined, IsOptional, IsString } from 'class-validator'++export class TwoFaVerifyDto {+ @IsDefined()+ @IsString()+ code!: string++ @IsOptional()+ @IsBoolean()+ isRecoveryCode?: boolean+}diff --git a/backend/src/authentication/guards/auth-token-access.strategy.ts b/backend/src/authentication/guards/auth-token-access.strategy.tsindex b039eb36..2fc5b3a3 100755--- a/backend/src/authentication/guards/auth-token-access.strategy.ts+++ b/backend/src/authentication/guards/auth-token-access.strategy.ts@@ -10,6 +10,7 @@ import { FastifyRequest } from 'fastify'import { PinoLogger } from 'nestjs-pino'import { ExtractJwt, Strategy } from 'passport-jwt'import { UserModel } from '../../applications/users/models/user.model'+import { configuration } from '../../configuration/config.environment'import { JwtPayload } from '../interfaces/jwt-payload.interface'import { TOKEN_TYPE } from '../interfaces/token.interface'import { AuthManager } from '../services/auth-manager.service'@@ -24,11 +25,11 @@ export class AuthTokenAccessStrategy extends PassportStrategy(Strategy, 'tokenAc) {super({jwtFromRequest: ExtractJwt.fromExtractors([AuthTokenAccessStrategy.extractJWTFromCookie, ExtractJwt.fromAuthHeaderAsBearerToken()]),- secretOrKey: authManager.authConfig.token.access.secret,+ secretOrKey: configuration.auth.token.access.secret,ignoreExpiration: false,passReqToCallback: true})- AuthTokenAccessStrategy.accessCookieName = authManager.authConfig.token.access.name+ AuthTokenAccessStrategy.accessCookieName = configuration.auth.token.access.name}validate(req: FastifyRequest, jwtPayload: JwtPayload): UserModel {diff --git a/backend/src/authentication/guards/auth-token-refresh.strategy.ts b/backend/src/authentication/guards/auth-token-refresh.strategy.tsindex 16a2c8d9..ad2a291e 100755--- a/backend/src/authentication/guards/auth-token-refresh.strategy.ts+++ b/backend/src/authentication/guards/auth-token-refresh.strategy.ts@@ -10,6 +10,7 @@ import { FastifyRequest } from 'fastify'import { PinoLogger } from 'nestjs-pino'import { ExtractJwt, Strategy } from 'passport-jwt'import { UserModel } from '../../applications/users/models/user.model'+import { configuration } from '../../configuration/config.environment'import { JwtPayload } from '../interfaces/jwt-payload.interface'import { TOKEN_TYPE } from '../interfaces/token.interface'import { AuthManager } from '../services/auth-manager.service'@@ -24,11 +25,11 @@ export class AuthTokenRefreshStrategy extends PassportStrategy(Strategy, 'tokenR) {super({jwtFromRequest: ExtractJwt.fromExtractors([AuthTokenRefreshStrategy.extractJWTFromCookie, ExtractJwt.fromAuthHeaderAsBearerToken()]),- secretOrKey: authManager.authConfig.token.refresh.secret,+ secretOrKey: configuration.auth.token.refresh.secret,ignoreExpiration: false,passReqToCallback: true})- AuthTokenRefreshStrategy.refreshCookieName = authManager.authConfig.token.refresh.name+ AuthTokenRefreshStrategy.refreshCookieName = configuration.auth.token.refresh.name}validate(req: FastifyRequest, jwtPayload: JwtPayload): UserModel {diff --git a/backend/src/authentication/guards/auth-two-fa-guard.ts b/backend/src/authentication/guards/auth-two-fa-guard.tsnew file mode 100644index 00000000..9e38f92a--- /dev/null+++ b/backend/src/authentication/guards/auth-two-fa-guard.ts@@ -0,0 +1,34 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { CanActivate, ExecutionContext, HttpException, HttpStatus, Injectable } from '@nestjs/common'+import { configuration } from '../../configuration/config.environment'+import { TWO_FA_HEADER } from '../constants/auth'+import { FastifyAuthenticatedRequest } from '../interfaces/auth-request.interface'+import { AuthMethod2FA } from '../services/auth-methods/auth-method-two-fa.service'++@Injectable()+export class AuthTwoFaGuard implements CanActivate {+ constructor(private readonly authMethod2FA: AuthMethod2FA) {}++ async canActivate(ctx: ExecutionContext): Promise<boolean> {+ if (!configuration.auth.mfa.totp.enabled) {+ return true+ }+ const req: FastifyAuthenticatedRequest = ctx.switchToHttp().getRequest()+ if (!req.user.twoFaEnabled) {+ return true+ }+ if (!req.headers[TWO_FA_HEADER]) {+ throw new HttpException('Missing TWO-FA in headers', HttpStatus.FORBIDDEN)+ }+ const auth = await this.authMethod2FA.verify({ code: req.headers[TWO_FA_HEADER] as string }, req)+ if (!auth.success) {+ throw new HttpException(auth.message, HttpStatus.FORBIDDEN)+ }+ return auth.success+ }+}diff --git a/backend/src/authentication/interfaces/jwt-payload.interface.ts b/backend/src/authentication/interfaces/jwt-payload.interface.tsindex 58d08800..81bf8bb7 100644--- a/backend/src/authentication/interfaces/jwt-payload.interface.ts+++ b/backend/src/authentication/interfaces/jwt-payload.interface.ts@@ -14,6 +14,14 @@ export class JwtIdentityPayload {impersonatedFromId?: numberimpersonatedClientId?: stringclientId?: string+ twoFaEnabled?: boolean+}++export class JwtIdentity2FaPayload {+ id: number+ login: string+ role: number+ twoFaEnabled: true}export class JwtPayload {diff --git a/backend/src/authentication/interfaces/token.interface.ts b/backend/src/authentication/interfaces/token.interface.tsindex b232d1f9..b1c363ea 100644--- a/backend/src/authentication/interfaces/token.interface.ts+++ b/backend/src/authentication/interfaces/token.interface.ts@@ -6,7 +6,9 @@export enum TOKEN_TYPE {ACCESS = 'access',+ ACCESS_2FA = 'access_2fa',REFRESH = 'refresh',WS = 'ws',- CSRF = 'csrf'+ CSRF = 'csrf',+ CSRF_2FA = 'csrf_2fa'}diff --git a/backend/src/authentication/interfaces/two-fa-setup.interface.ts b/backend/src/authentication/interfaces/two-fa-setup.interface.tsnew file mode 100644index 00000000..e2a3961d--- /dev/null+++ b/backend/src/authentication/interfaces/two-fa-setup.interface.ts@@ -0,0 +1,19 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++export interface TwoFaSetup {+ secret: string+ qrDataUrl: string+}++export interface TwoFaVerifyResult {+ success: boolean+ message: string+}++export interface TwoFaEnableResult extends TwoFaVerifyResult {+ recoveryCodes: string[]+}diff --git a/backend/src/authentication/services/auth-manager.service.ts b/backend/src/authentication/services/auth-manager.service.tsindex 5610ab03..d7e4b834 100755--- a/backend/src/authentication/services/auth-manager.service.ts+++ b/backend/src/authentication/services/auth-manager.service.ts@@ -5,7 +5,6 @@*/import { unsign, UnsignResult } from '@fastify/cookie'import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'-import { ConfigService } from '@nestjs/config'import { JwtService } from '@nestjs/jwt'import { FastifyReply, FastifyRequest } from 'fastify'import crypto from 'node:crypto'@@ -13,24 +12,18 @@ import { HTTP_CSRF_IGNORED_METHODS } from '../../applications/applications.constimport { UserModel } from '../../applications/users/models/user.model'import { convertHumanTimeToSeconds } from '../../common/functions'import { currentTimeStamp } from '../../common/shared'-import { AuthConfig } from '../auth.config'-import { CSRF_ERROR, CSRF_KEY, TOKEN_PATHS, TOKEN_TYPES } from '../constants/auth'-import { LoginResponseDto } from '../dto/login-response.dto'+import { configuration, serverConfig } from '../../configuration/config.environment'+import { CSRF_ERROR, CSRF_KEY, TOKEN_2FA_TYPES, TOKEN_PATHS, TOKEN_TYPES } from '../constants/auth'+import { LoginResponseDto, LoginVerify2FaDto } from '../dto/login-response.dto'import { TokenResponseDto } from '../dto/token-response.dto'-import { JwtIdentityPayload, JwtPayload } from '../interfaces/jwt-payload.interface'+import { JwtIdentity2FaPayload, JwtIdentityPayload, JwtPayload } from '../interfaces/jwt-payload.interface'import { TOKEN_TYPE } from '../interfaces/token.interface'@Injectable()export class AuthManager {private readonly logger = new Logger(AuthManager.name)- public readonly authConfig: AuthConfig- constructor(- private readonly jwt: JwtService,- private readonly config: ConfigService- ) {- this.authConfig = this.config.get<AuthConfig>('auth')- }+ constructor(private readonly jwt: JwtService) {}async getTokens(user: UserModel, refresh = false): Promise<TokenResponseDto> {const currentTime = currentTimeStamp()@@ -38,8 +31,8 @@ export class AuthManager {this.logger.error(`${this.getTokens.name} - token refresh has incorrect expiration : *${user.login}*`)throw new HttpException('Token has expired', HttpStatus.FORBIDDEN)}- const accessExpiration = convertHumanTimeToSeconds(this.authConfig.token.access.expiration)- const refreshExpiration = refresh ? user.exp - currentTime : convertHumanTimeToSeconds(this.authConfig.token.refresh.expiration)+ const accessExpiration = convertHumanTimeToSeconds(configuration.auth.token.access.expiration)+ const refreshExpiration = refresh ? user.exp - currentTime : convertHumanTimeToSeconds(configuration.auth.token.refresh.expiration)return {[TOKEN_TYPE.ACCESS]: await this.jwtSign(user, TOKEN_TYPE.ACCESS, accessExpiration),[TOKEN_TYPE.REFRESH]: await this.jwtSign(user, TOKEN_TYPE.REFRESH, refreshExpiration),@@ -48,20 +41,33 @@ export class AuthManager {}}- async setCookies(user: UserModel, res: FastifyReply): Promise<LoginResponseDto> {- const response = new LoginResponseDto(user)+ async setCookies(user: UserModel, res: FastifyReply, init2FaVerify: true): Promise<LoginVerify2FaDto>+ async setCookies(user: UserModel, res: FastifyReply, init2FaVerify?: false): Promise<LoginResponseDto>+ async setCookies(user: UserModel, res: FastifyReply, init2FaVerify = false): Promise<LoginResponseDto | LoginVerify2FaDto> {+ // If `verify2Fa` is true, it sets the cookies and response required for valid 2FA authentication.+ const verify2Fa = init2FaVerify && configuration.auth.mfa.totp.enabled && user.twoFaEnabled+ const response = verify2Fa ? new LoginVerify2FaDto(serverConfig) : new LoginResponseDto(user, serverConfig)const currentTime = currentTimeStamp()const csrfToken: string = crypto.randomUUID()- for (const type of TOKEN_TYPES) {- const tokenExpiration = convertHumanTimeToSeconds(this.authConfig.token[type].expiration)- const cookieValue: string = type === TOKEN_TYPE.CSRF ? csrfToken : await this.jwtSign(user, type, tokenExpiration, csrfToken)- res.setCookie(this.authConfig.token[type].name, cookieValue, {- signed: type === TOKEN_TYPE.CSRF,+ const tokenTypes: TOKEN_TYPE[] = verify2Fa ? TOKEN_2FA_TYPES : TOKEN_TYPES+ for (const type of tokenTypes) {+ const isCSRFToken = type === TOKEN_TYPE.CSRF || type === TOKEN_TYPE.CSRF_2FA+ const tokenExpiration = convertHumanTimeToSeconds(configuration.auth.token[type].expiration)+ let cookieValue: string+ if (isCSRFToken) {+ cookieValue = csrfToken+ } else if (verify2Fa) {+ cookieValue = await this.jwtSign2Fa(user, type, tokenExpiration, csrfToken)+ } else {+ cookieValue = await this.jwtSign(user, type, tokenExpiration, csrfToken)+ }+ res.setCookie(configuration.auth.token[type].name, cookieValue, {+ signed: isCSRFToken,path: TOKEN_PATHS[type],- maxAge: convertHumanTimeToSeconds(this.authConfig.token[type].cookieMaxAge),- httpOnly: type !== TOKEN_TYPE.CSRF+ maxAge: tokenExpiration,+ httpOnly: !isCSRFToken})- if (type === TOKEN_TYPE.ACCESS || type === TOKEN_TYPE.REFRESH) {+ if (type === TOKEN_TYPE.ACCESS || type === TOKEN_TYPE.REFRESH || type === TOKEN_TYPE.ACCESS_2FA) {response.token[`${type}_expiration`] = tokenExpiration + currentTime}}@@ -72,25 +78,23 @@ export class AuthManager {const response = {} as TokenResponseDtoconst currentTime = currentTimeStamp()let refreshTokenExpiration: number- let refreshMaxAge: number// refresh cookie must have the `exp` attribute// reuse token expiration to make it finalif (user.exp && user.exp > currentTime) {refreshTokenExpiration = user.exp - currentTime- refreshMaxAge = refreshTokenExpiration} else {this.logger.error(`${this.refreshCookies.name} - token ${TOKEN_TYPE.REFRESH} has incorrect expiration : *${user.login}*`)throw new HttpException('Token has expired', HttpStatus.FORBIDDEN)}const csrfToken: string = crypto.randomUUID()for (const type of TOKEN_TYPES) {- const tokenExpiration = type === TOKEN_TYPE.REFRESH ? refreshTokenExpiration : convertHumanTimeToSeconds(this.authConfig.token[type].expiration)- const maxAge = type === TOKEN_TYPE.REFRESH ? refreshMaxAge : convertHumanTimeToSeconds(this.authConfig.token[type].cookieMaxAge)+ const tokenExpiration =+ type === TOKEN_TYPE.ACCESS ? convertHumanTimeToSeconds(configuration.auth.token[TOKEN_TYPE.ACCESS].expiration) : refreshTokenExpirationconst cookieValue: string = type === TOKEN_TYPE.CSRF ? csrfToken : await this.jwtSign(user, type, tokenExpiration, csrfToken)- res.setCookie(this.authConfig.token[type].name, cookieValue, {+ res.setCookie(configuration.auth.token[type].name, cookieValue, {signed: type === TOKEN_TYPE.CSRF,path: TOKEN_PATHS[type],- maxAge: maxAge,+ maxAge: tokenExpiration,httpOnly: type !== TOKEN_TYPE.CSRF})if (type === TOKEN_TYPE.ACCESS || type === TOKEN_TYPE.REFRESH) {@@ -102,41 +106,18 @@ export class AuthManager {async clearCookies(res: FastifyReply) {for (const [type, path] of Object.entries(TOKEN_PATHS)) {- res.clearCookie(this.authConfig.token[type].name, { path: path, httpOnly: type !== TOKEN_TYPE.CSRF })+ res.clearCookie(configuration.auth.token[type].name, { path: path, httpOnly: type !== TOKEN_TYPE.CSRF })}}- private jwtSign(user: UserModel, type: TOKEN_TYPE, expiration: number, csrfToken?: string): Promise<string> {- return this.jwt.signAsync(- {- identity: {- id: user.id,- login: user.login,- email: user.email,- fullName: user.fullName,- role: user.role,- applications: user.applications,- impersonatedFromId: user.impersonatedFromId || undefined,- impersonatedClientId: user.impersonatedClientId || undefined,- clientId: user.clientId || undefined- } satisfies JwtIdentityPayload,- ...((type === TOKEN_TYPE.ACCESS || type === TOKEN_TYPE.REFRESH) && { csrf: csrfToken })- },- {- secret: this.authConfig.token[type].secret,- expiresIn: expiration- }- )- }-csrfValidation(req: FastifyRequest, jwtPayload: JwtPayload, type: TOKEN_TYPE.ACCESS | TOKEN_TYPE.REFRESH): void {// ignore safe methodsif (HTTP_CSRF_IGNORED_METHODS.has(req.method)) {return}- // check csrf only for access & refresh cookies- if (typeof req.cookies !== 'object' || req.cookies[this.authConfig.token[type].name] === undefined) {+ // check csrf only for access and refresh cookies+ if (typeof req.cookies !== 'object' || req.cookies[configuration.auth.token[type].name] === undefined) {return}@@ -150,10 +131,53 @@ export class AuthManager {throw new HttpException(CSRF_ERROR.MISSING_HEADERS, HttpStatus.FORBIDDEN)}- const csrfHeader: UnsignResult = unsign(req.headers[CSRF_KEY] as string, this.authConfig.token.csrf.secret)+ const csrfHeader: UnsignResult = unsign(req.headers[CSRF_KEY] as string, configuration.auth.token.csrf.secret)if (jwtPayload.csrf !== csrfHeader.value) {this.logger.warn(`${this.csrfValidation.name} - ${CSRF_ERROR.MISMATCH}`)throw new HttpException(CSRF_ERROR.MISMATCH, HttpStatus.FORBIDDEN)}}++ private jwtSign(user: UserModel, type: TOKEN_TYPE, expiration: number, csrfToken?: string): Promise<string> {+ return this.jwt.signAsync(+ {+ identity: {+ id: user.id,+ login: user.login,+ email: user.email,+ fullName: user.fullName,+ role: user.role,+ applications: user.applications,+ impersonatedFromId: user.impersonatedFromId || undefined,+ impersonatedClientId: user.impersonatedClientId || undefined,+ clientId: user.clientId || undefined,+ twoFaEnabled: user.twoFaEnabled || undefined+ } satisfies JwtIdentityPayload,+ ...((type === TOKEN_TYPE.ACCESS || type === TOKEN_TYPE.REFRESH) && { csrf: csrfToken })+ },+ {+ secret: configuration.auth.token[type].secret,+ expiresIn: expiration+ }+ )+ }++ private jwtSign2Fa(user: UserModel, type: TOKEN_TYPE, expiration: number, csrfToken: string): Promise<string> {+ // Restrict the temporary token to the minimum required information+ return this.jwt.signAsync(+ {+ identity: {+ id: user.id,+ login: user.login,+ role: user.role,+ twoFaEnabled: true+ } satisfies JwtIdentity2FaPayload,+ csrf: csrfToken+ },+ {+ secret: configuration.auth.token[type].secret,+ expiresIn: expiration+ }+ )+ }}diff --git a/backend/src/authentication/services/auth-methods/auth-method-two-fa.service.spec.ts b/backend/src/authentication/services/auth-methods/auth-method-two-fa.service.spec.tsnew file mode 100644index 00000000..955f3d62--- /dev/null+++ b/backend/src/authentication/services/auth-methods/auth-method-two-fa.service.spec.ts@@ -0,0 +1,24 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { Test, TestingModule } from '@nestjs/testing'+import { AuthMethod2FA } from './auth-method-two-fa.service'++describe(AuthMethod2FA.name, () => {+ let service: AuthMethod2FA++ beforeEach(async () => {+ const module: TestingModule = await Test.createTestingModule({+ providers: [AuthMethod2FA]+ }).compile()++ service = module.get<AuthMethod2FA>(AuthMethod2FA)+ })++ it('should be defined', () => {+ expect(service).toBeDefined()+ })+})diff --git a/backend/src/authentication/services/auth-methods/auth-method-two-fa.service.ts b/backend/src/authentication/services/auth-methods/auth-method-two-fa.service.tsnew file mode 100644index 00000000..4a6eeb36--- /dev/null+++ b/backend/src/authentication/services/auth-methods/auth-method-two-fa.service.ts@@ -0,0 +1,172 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'+import { configuration } from 'src/configuration/config.environment'+import { Totp } from 'time2fa'+import { UserPasswordDto } from '../../../applications/users/dto/user-properties.dto'+import { UserModel } from '../../../applications/users/models/user.model'+import { UsersManager } from '../../../applications/users/services/users-manager.service'+import { generateShortUUID } from '../../../common/functions'+import { qrcodeToDataURL } from '../../../common/qrcode'+import { Cache } from '../../../infrastructure/cache/services/cache.service'+import { TWO_FA_CODE_LENGTH } from '../../constants/auth'+import { TwoFaVerifyDto } from '../../dto/two-fa-verify.dto'+import { FastifyAuthenticatedRequest } from '../../interfaces/auth-request.interface'+import { TwoFaEnableResult, TwoFaSetup, TwoFaVerifyResult } from '../../interfaces/two-fa-setup.interface'+import { decryptSecret, encryptSecret } from '../../utils/crypt-secret'++@Injectable()+export class AuthMethod2FA {+ private readonly logger = new Logger(AuthMethod2FA.name)+ private readonly cacheKeyPrefix = 'auth-2fa-pending-user-'++ constructor(+ private readonly cache: Cache,+ private readonly usersManager: UsersManager+ ) {}++ async initTwoFactor(user: UserModel): Promise<TwoFaSetup> {+ const { secret, qrDataUrl } = this.generateSecretAndQr(user.email)+ // store encrypted secret in cache for 5mn+ await this.cache.set(this.getCacheKey(user.id), this.encryptSecret(secret), 300)+ return { secret, qrDataUrl }+ }++ async enableTwoFactor(body: TwoFaVerifyDto, req: FastifyAuthenticatedRequest): Promise<TwoFaEnableResult> {+ // retrieve encrypted secret from cache+ const secret: string = await this.cache.get(this.getCacheKey(req.user.id))+ if (!secret) {+ throw new HttpException('The secret has expired', HttpStatus.BAD_REQUEST)+ }+ // verify code with secret+ const auth = this.validateTwoFactorCode(body.code, secret)+ if (!auth.success) {+ throw new HttpException(auth.message, HttpStatus.BAD_REQUEST)+ }+ // generate recovery codes+ const recoveryCodes = this.generateRecoveryCodes()+ // store and enable TwoFA & recovery codes+ await this.usersManager.updateSecrets(req.user.id, {+ twoFaSecret: secret,+ recoveryCodes: recoveryCodes.map((code) => this.encryptSecret(code))+ })+ return { ...auth, recoveryCodes: recoveryCodes }+ }++ async disableTwoFactor(body: TwoFaVerifyDto, req: FastifyAuthenticatedRequest): Promise<TwoFaVerifyResult> {+ const auth = await this.verify(body, req)+ if (!auth.success) {+ throw new HttpException(auth.message, HttpStatus.FORBIDDEN)+ }+ // store and disable TwoFA & recovery codes+ await this.usersManager.updateSecrets(req.user.id, { twoFaSecret: undefined, recoveryCodes: undefined })+ return auth+ }++ async verify(body: TwoFaVerifyDto, req: FastifyAuthenticatedRequest, fromLogin?: false): Promise<TwoFaVerifyResult>+ async verify(body: TwoFaVerifyDto, req: FastifyAuthenticatedRequest, fromLogin: true): Promise<[TwoFaVerifyResult, UserModel]>+ async verify(+ verifyDto: TwoFaVerifyDto,+ req: FastifyAuthenticatedRequest,+ fromLogin = false+ ): Promise<TwoFaVerifyResult | [TwoFaVerifyResult, UserModel]> {+ const code = verifyDto.code+ const user = await this.usersManager.fromUserId(req.user.id)+ if (!user) {+ this.logger.warn(`User *${user.login}* (${user.id}) not found`)+ throw new HttpException(`User not found`, HttpStatus.NOT_FOUND)+ }+ this.usersManager.validateUserAccess(user, req.ip)+ const auth = verifyDto.isRecoveryCode+ ? await this.validateRecoveryCode(req.user.id, code, user.secrets.recoveryCodes)+ : this.validateTwoFactorCode(code, user.secrets.twoFaSecret)+ this.usersManager.updateAccesses(user, req.ip, auth.success, true).catch((e: Error) => this.logger.error(`${this.verify.name} - ${e}`))+ return fromLogin ? [auth, user] : auth+ }++ async adminResetUserTwoFa(adminId: number, userId: number, adminPassword: UserPasswordDto) {+ // check admin password+ const auth: TwoFaVerifyResult = { success: false, message: '' }+ if (!(await this.usersManager.usersQueries.compareUserPassword(adminId, adminPassword.password))) {+ auth.message = 'Bad password'+ return auth+ }+ await this.usersManager.updateSecrets(userId, { twoFaSecret: undefined, recoveryCodes: undefined })+ auth.success = true+ return auth+ }++ private validateTwoFactorCode(code: string, encryptedSecret: string): TwoFaVerifyResult {+ const auth: TwoFaVerifyResult = { success: false, message: '' }+ try {+ auth.success = Totp.validate({ passcode: code, secret: this.decryptSecret(encryptedSecret), drift: 1 })+ if (!auth.success) auth.message = 'Invalid code'+ } catch (e) {+ this.logger.error(`${this.validateTwoFactorCode.name} - ${e}`)+ auth.message = e.message+ }+ return auth+ }++ private async validateRecoveryCode(userId: number, code: string, encryptedCodes: string[]): Promise<TwoFaVerifyResult> {+ const auth: TwoFaVerifyResult = { success: false, message: '' }+ if (!encryptedCodes || encryptedCodes.length === 0) {+ auth.message = 'Invalid code'+ } else {+ try {+ for (const encCode of encryptedCodes) {+ if (code === this.decryptSecret(encCode)) {+ auth.success = true+ // removed used code+ encryptedCodes.splice(encryptedCodes.indexOf(encCode), 1)+ break+ }+ }+ if (auth.success) {+ // update recovery codes+ await this.usersManager.updateSecrets(userId, { recoveryCodes: encryptedCodes })+ } else {+ auth.message = 'Invalid code'+ }+ } catch (e) {+ this.logger.error(`${this.validateRecoveryCode.name} - ${e}`)+ auth.message = e.message+ }+ }+ return auth+ }++ private generateSecretAndQr(userEmail: string): TwoFaSetup {+ // Generate secret + otpauth URL + QR (DataURL)+ // Totp.generateKey returns { issuer, user, config, secret, url }+ const key = Totp.generateKey({ issuer: configuration.auth.mfa.totp.issuer, user: userEmail }, { digits: TWO_FA_CODE_LENGTH })+ const qrDataUrl = qrcodeToDataURL(key.url)+ return { secret: key.secret, qrDataUrl: qrDataUrl }+ }++ private getCacheKey(userId: number): string {+ return `${this.cacheKeyPrefix}${userId}`+ }++ private encryptSecret(secret: string): string {+ if (configuration.auth.encryptionKey) {+ return encryptSecret(secret, configuration.auth.encryptionKey)+ }+ return secret+ }++ private decryptSecret(secret: string): string {+ if (configuration.auth.encryptionKey) {+ return decryptSecret(secret, configuration.auth.encryptionKey)+ }+ return secret+ }++ private generateRecoveryCodes(count = 5): string[] {+ return Array.from({ length: count }, () => generateShortUUID())+ }+}diff --git a/backend/src/authentication/utils/crypt-secret.ts b/backend/src/authentication/utils/crypt-secret.tsnew file mode 100644index 00000000..81479c2f--- /dev/null+++ b/backend/src/authentication/utils/crypt-secret.ts@@ -0,0 +1,41 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import crypto from 'crypto'++// Encrypt a plaintext string with a passphrase. Returns a compact string.+export function encryptSecret(plaintext: string, passphrase: string) {+ const salt = crypto.randomBytes(16) // for key derivation (scrypt)+ const iv = crypto.randomBytes(12) // recommended IV length for GCM+ const key = crypto.scryptSync(passphrase, salt, 32)++ const cipher = crypto.createCipheriv('aes-256-gcm', key, iv)+ const ciphertext = Buffer.concat([cipher.update(plaintext, 'utf8'), cipher.final()])+ const tag = cipher.getAuthTag()++ // Encode everything in base64 and concatenate: salt.iv.tag.cipher+ return [salt.toString('base64'), iv.toString('base64'), tag.toString('base64'), ciphertext.toString('base64')].join('.')+}++// Decrypt the string generated by encryptSecret with the same passphrase.+export function decryptSecret(payload: string, passphrase: string) {+ const [saltB64, ivB64, tagB64, ctB64] = payload.split('.')+ if (!saltB64 || !ivB64 || !tagB64 || !ctB64) {+ throw new Error('Invalid payload format')+ }++ const salt = Buffer.from(saltB64, 'base64')+ const iv = Buffer.from(ivB64, 'base64')+ const tag = Buffer.from(tagB64, 'base64')+ const ct = Buffer.from(ctB64, 'base64')++ const key = crypto.scryptSync(passphrase, salt, 32)+ const decipher = crypto.createDecipheriv('aes-256-gcm', key, iv)+ decipher.setAuthTag(tag)++ const plaintext = Buffer.concat([decipher.update(ct), decipher.final()])+ return plaintext.toString('utf8')+}diff --git a/backend/src/common/functions.ts b/backend/src/common/functions.tsindex a7c700e6..63c349f0 100755--- a/backend/src/common/functions.ts+++ b/backend/src/common/functions.ts@@ -73,12 +73,13 @@ export async function comparePassword(password: string, hash: string): Promise<breturn await bcrypt.compare(password, hash)}-export function generateShortUUID(length: number = 16): string {- return crypto.randomBytes(length).toString('base64url')+export function generateShortUUID(length: number = 32, encoding: BufferEncoding = 'base64url'): string {+ const bytes = Math.ceil((length * 3) / 4) // adapt to real length+ return crypto.randomBytes(bytes).toString(encoding)}-export function anonymizePassword(obj: { password?: string }) {- return { ...obj, ...(obj?.password && { password: '********' }) }+export function anonymizePassword(obj: { password?: string; secrets?: string }) {+ return { ...obj, ...(obj?.password && { password: '********' }), ...(obj?.secrets && { secrets: '********' }) }}export function splitFullName(fullName: string): { firstName: string; lastName: string } {diff --git a/backend/src/common/qrcode.ts b/backend/src/common/qrcode.tsnew file mode 100644index 00000000..c8828fb5--- /dev/null+++ b/backend/src/common/qrcode.ts@@ -0,0 +1,18 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import qrcode from 'qrcode-generator'++export function qrcodeToDataURL(text: string) {+ const qr = qrcode(0, 'M') // version auto, correction M+ qr.addData(text)+ qr.make()++ const svg = qr.createSvgTag({ margin: 2, scalable: true })++ const base64 = Buffer.from(svg).toString('base64')+ return `data:image/svg+xml;base64,${base64}`+}diff --git a/backend/src/configuration/config.environment.ts b/backend/src/configuration/config.environment.tsindex 1c4fadc8..45d02551 100755--- a/backend/src/configuration/config.environment.ts+++ b/backend/src/configuration/config.environment.ts@@ -5,20 +5,33 @@*/import { join } from 'node:path'-import { CSRF_KEY, WS_KEY } from '../authentication/constants/auth'+import { AuthTokenAccessConfig, AuthTokenRefreshConfig } from '../authentication/auth.config'+import { ACCESS_KEY, CSRF_KEY, TWO_FA_VERIFY_EXPIRATION, WS_KEY } from '../authentication/constants/auth'+import { TOKEN_TYPE } from '../authentication/interfaces/token.interface'import { transformAndValidate } from '../common/functions'+import { ServerConfig } from './config.interfaces'import { configLoader } from './config.loader'-import { Configuration } from './config.validation'+import { GlobalConfig } from './config.validation'-export const configuration: Configuration = loadConfiguration()-export const exportConfiguration: (reload?: boolean) => Configuration = (reload = false) => (reload ? loadConfiguration() : configuration)+export const configuration: GlobalConfig = loadConfiguration()+export const serverConfig: ServerConfig = { twoFaEnabled: configuration.auth.mfa.totp.enabled, mailServerEnabled: !!configuration.mail?.host }+export const exportConfiguration: (reload?: boolean) => GlobalConfig = (reload = false) => (reload ? loadConfiguration() : configuration)-function loadConfiguration(): Configuration {- const config: Configuration = configLoader()+function loadConfiguration(): GlobalConfig {+ const config: GlobalConfig = configLoader()// AUTHENTICATION- // CSRF & WS settings- config.auth.token.csrf = { ...config.auth.token.refresh, name: CSRF_KEY }- config.auth.token.ws = { ...config.auth.token.refresh, name: WS_KEY }+ // CSRF & WS & 2FA settings+ config.auth.token[TOKEN_TYPE.CSRF] = { ...config.auth.token[TOKEN_TYPE.REFRESH], name: CSRF_KEY } satisfies AuthTokenRefreshConfig+ config.auth.token[TOKEN_TYPE.WS] = { ...config.auth.token[TOKEN_TYPE.REFRESH], name: WS_KEY } satisfies AuthTokenRefreshConfig+ config.auth.token[TOKEN_TYPE.ACCESS_2FA] = {+ ...config.auth.token[TOKEN_TYPE.ACCESS],+ name: ACCESS_KEY,+ expiration: TWO_FA_VERIFY_EXPIRATION+ } satisfies AuthTokenAccessConfig+ config.auth.token[TOKEN_TYPE.CSRF_2FA] = {+ ...config.auth.token[TOKEN_TYPE.CSRF],+ expiration: TWO_FA_VERIFY_EXPIRATION+ } satisfies AuthTokenAccessConfig// APPLICATIONS CONFIGURATION// SPACES & FILESif (!config.applications.files.dataPath) {@@ -27,5 +40,5 @@ function loadConfiguration(): Configuration {config.applications.files.usersPath = join(config.applications.files.dataPath, 'users')config.applications.files.spacesPath = join(config.applications.files.dataPath, 'spaces')config.applications.files.tmpPath = join(config.applications.files.dataPath, 'tmp')- return transformAndValidate(Configuration, config, { exposeDefaultValues: true }, { skipMissingProperties: false })+ return transformAndValidate(GlobalConfig, config, { exposeDefaultValues: true }, { skipMissingProperties: false })}diff --git a/backend/src/configuration/config.interfaces.ts b/backend/src/configuration/config.interfaces.tsnew file mode 100644index 00000000..f918d378--- /dev/null+++ b/backend/src/configuration/config.interfaces.ts@@ -0,0 +1,10 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++export interface ServerConfig {+ twoFaEnabled: boolean+ mailServerEnabled: boolean+}diff --git a/backend/src/configuration/config.loader.ts b/backend/src/configuration/config.loader.tsindex 671dd333..e46ba535 100644--- a/backend/src/configuration/config.loader.ts+++ b/backend/src/configuration/config.loader.ts@@ -16,10 +16,10 @@ import {ENVIRONMENT_PATH,ENVIRONMENT_PREFIX} from './config.constants'-import type { Configuration } from './config.validation'+import type { GlobalConfig } from './config.validation'export function configLoader(): any {- let config: Partial<Configuration> = loadEnvFile(ENVIRONMENT_PATH, ENVIRONMENT_FILE_NAME)+ let config: Partial<GlobalConfig> = loadEnvFile(ENVIRONMENT_PATH, ENVIRONMENT_FILE_NAME)if (hasEnvConfig()) {// If any environment vars are found, parse the config model and apply those settingsdiff --git a/backend/src/configuration/config.validation.ts b/backend/src/configuration/config.validation.tsindex 5c855153..628cb7cb 100644--- a/backend/src/configuration/config.validation.ts+++ b/backend/src/configuration/config.validation.ts@@ -54,7 +54,7 @@ export class LoggerConfig {filePath: string = DEFAULT_LOG_FILE_PATH}-export class Configuration {+export class GlobalConfig {@IsDefined()@IsObject()@IsNotEmptyObject()diff --git a/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts b/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.tsindex 5c5c5ae1..8d755da0 100644--- a/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts+++ b/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts@@ -20,7 +20,7 @@ import { Cache } from '../services/cache.service'@Injectable()export class MysqlCacheAdapter implements Cache {- /* Useful sql commands to stats the scheduler+ /* Useful SQL commands to stats the schedulerSHOW VARIABLES LIKE 'event_scheduler';SHOW EVENTS;*/diff --git a/backend/src/infrastructure/cache/services/cache.service.ts b/backend/src/infrastructure/cache/services/cache.service.tsindex 81f64da6..01e903b6 100644--- a/backend/src/infrastructure/cache/services/cache.service.ts+++ b/backend/src/infrastructure/cache/services/cache.service.ts@@ -20,6 +20,10 @@ export abstract class Cache {abstract mget(keys: string[]): Promise<any[]>+ /* ttl (seconds):+ - 0: infinite expiration+ - undefined: default ttl+ */abstract set(key: string, data: any, ttl?: number): Promise<boolean>abstract del(key: string): Promise<boolean>diff --git a/backend/src/infrastructure/database/columns.ts b/backend/src/infrastructure/database/columns.tsnew file mode 100644index 00000000..24142a2b--- /dev/null+++ b/backend/src/infrastructure/database/columns.ts@@ -0,0 +1,31 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { customType } from 'drizzle-orm/mysql-core'++export const jsonColumn = <T>() =>+ customType<{ data: T; driverData: string | null }>({+ dataType() {+ // MariaDB will store in LONGTEXT with JSON constraint, but "json" remains correct on the DDL side+ return 'json'+ },+ toDriver(value) {+ return value == null ? null : JSON.stringify(value)+ },+ fromDriver(value) {+ if (value == null) return null as unknown as T+ if (typeof value === 'string') {+ try {+ return JSON.parse(value) as T+ } catch {+ // Corrupt or non-JSON value: returns null (or throws if you prefer)+ return null as unknown as T+ }+ }+ // In the (rare) case where the driver already returns an object+ return value as unknown as T+ }+ })diff --git a/environment/environment.dist.yaml b/environment/environment.dist.yamlindex e3781fc3..6200f0e7 100755--- a/environment/environment.dist.yaml+++ b/environment/environment.dist.yaml@@ -1,97 +1,141 @@server:- # default host : 0.0.0.0+ # default host : `0.0.0.0`host: 0.0.0.0- # default port : 8080+ # default port : `8080`port: 8080- # workers: auto (use all cpus) | number+ # workers: `auto` (use all cpus) | number# regardless of the value, starts with at least 2 workers, 1 worker is dedicated to scheduled tasksworkers: 4- # trust proxy: true | false | 127.0.0.1,192.168.1.1/24+ # trust proxy: `true` | `false` | `127.0.0.1,192.168.1.1/24`trustProxy: false- # restartOnFailure : automatically restart workers if they are killed or die+ # restartOnFailure: automatically restart workers if they are killed or die+ # default: `true`restartOnFailure: truelogger:- # level: trace | debug | info | warn | error | fatal+ # level: `trace` | `debug` | `info` | `warn` | `error` | `fatal`+ # default: `info`level: info- # stdout : if false logs are written to the run directory (default: true)+ # stdout: if false logs are written to the run directory+ # default: `true`stdout: true# colorize output+ # default: `true`colorize: true# path to the log file used when stdout is set to falsefilePath:mysql:+ # requiredurl: mysql://user:MySQLRootPassword@localhost:3306/database+ # default: `false`logQueries: falsecache:- # adapter: mysql (default) | redis (requires optional dependency: redis)+ # adapter: `mysql` | `redis`+ # default: `mysql`adapter: mysql- # default ttl in seconds+ # ttl in seconds+ # default: `60`ttl: 60# redis adapter url+ # default: `redis://127.0.0.1:6379`redis: redis://127.0.0.1:6379websocket:- # adapter: cluster (Node.js Workers: default) | redis (requires optional dependency: @socket.io/redis-adapter)+ # adapter: `cluster` (Node.js Workers: default) | `redis`+ # default: `cluster`adapter: cluster# cors origin allowed+ # default: `*`corsOrigin: '*'# redis adapter url+ # default: `redis://127.0.0.1:6379`redis: redis://127.0.0.1:6379mail:host: smtp.server.com- port: 587+ # default: `25`+ port: 25+ # default: `Sync-in<[email protected]>`sender: 'Sync-in<[email protected]>'+ # optionalauth:user: userpass: password# secure: defines if the connection should use SSL (if true) or not (if false)+ # default: `false`secure: false# enable logger+ # default: `false`logger: false# set log level to debug+ # default: `false`debug: falseauth:- # adapter : mysql (default) | ldap+ # adapter : `mysql` | `ldap`+ # default: `mysql`method: mysql- # sameSite (cookie settings) : lax | strict- sameSite: strict+ # key used to encrypt user secret keys in the database+ # optional, but strongly recommended+ encryptionKey: changeEncryptionKeyWithStrongKey+ # multifactor authentication+ mfa:+ # totp configuration+ totp:+ # enable TOTP authentication+ # default: false+ enabled: false+ # name displayed in the authentication app (FreeOTP, Proton Authenticator, Aegis Authenticator etc.)+ # default: Sync-in+ issuer: Sync-in+ # cookie sameSite setting: `lax` | `strict`+ # default: `strict`+ cookieSameSite: stricttoken:access:- name: sync-in-access- # used for token & cookie signatures+ # used for token and cookie signatures+ # requiredsecret: changeAccessWithStrongSecret+ # token expiration = cookie maxAge+ # default: `30m`expiration: 30m- cookieMaxAge: 30mrefresh:- name: sync-in-refresh- # used for token & cookie signatures+ # used for token and cookie signatures+ # requiredsecret: changeRefreshWithStrongSecret+ # token expiration = cookie maxAge+ # default: `4h`expiration: 4h- cookieMaxAge: 4hldap:# e.g: [ldap://localhost:389, ldaps://localhost:636] (array required)servers: []- # baseDN: distinguished name, e.g: (ou=people,dc=ldap,dc=sync-in,dc=com)+ # baseDN: distinguished name, e.g. (ou=people,dc=ldap,dc=sync-in,dc=com)baseDN:# filter, e.g: (acl=admin)filter:- # login attribute: uid (default) or mail+ # login attribute: `uid` or `mail`+ # default: uidloginAttribute:applications:files:+ # requireddataPath: /home/sync-in- # Default to 5 GB if not specified+ # default: `5368709120` (5 GB)maxUploadSize: 5368709120- # Show files starting with a dot in the file explorer (default: false)+ # Show files starting with a dot in the file explorer+ # default: falseshowHiddenFiles: falseonlyoffice:+ # enable onlyoffice integration+ # default: falseenabled: false- # for an external server (e.g: https://onlyoffice.domain.com), remember the url must be accessible from browser !+ # for an external server (e.g., https://onlyoffice.domain.com), remember the url must be accessible from browser !# if externalServer is empty (case of official docker compose), we use the local instance+ # default: `null`externalServer:# secret used for jwt tokens, it must be the same on the onlyoffice server+ # requiredsecret: onlyOfficeSecret- # if you use https, set to true+ # if you use https, set to `true`+ # default: `false`verifySSL: falseappStore:- # repository: public (default) | local+ # repository: `public` | `local`+ # default: `public`repository: publicdiff --git a/frontend/src/app/applications/admin/admin.service.ts b/frontend/src/app/applications/admin/admin.service.tsindex d368895f..b57429df 100644--- a/frontend/src/app/applications/admin/admin.service.ts+++ b/frontend/src/app/applications/admin/admin.service.ts@@ -4,7 +4,7 @@* See the LICENSE file for licensing details*/-import { HttpClient } from '@angular/common/http'+import { HttpClient, HttpHeaders } from '@angular/common/http'import { inject, Injectable } from '@angular/core'import { Router } from '@angular/router'import {@@ -27,12 +27,13 @@ import type {} from '@sync-in-server/backend/src/applications/users/dto/create-or-update-user.dto'import type { AdminDeleteUserDto } from '@sync-in-server/backend/src/applications/users/dto/delete-user.dto'import type { SearchMembersDto } from '@sync-in-server/backend/src/applications/users/dto/search-members.dto'-import type { UserPasswordDto } from '@sync-in-server/backend/src/applications/users/dto/user-password.dto'+import type { UserPasswordDto } from '@sync-in-server/backend/src/applications/users/dto/user-properties.dto'import type { AdminGroup } from '@sync-in-server/backend/src/applications/users/interfaces/admin-group.interface'import type { AdminUser } from '@sync-in-server/backend/src/applications/users/interfaces/admin-user.interface'import type { GroupBrowse } from '@sync-in-server/backend/src/applications/users/interfaces/group-browse.interface'import type { GuestUser } from '@sync-in-server/backend/src/applications/users/interfaces/guest-user.interface'import type { Member } from '@sync-in-server/backend/src/applications/users/interfaces/member.interface'+import { TWO_FA_HEADER } from '@sync-in-server/backend/src/authentication/constants/auth'import type { LoginResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'import { catchError, map, Observable } from 'rxjs'import { AuthService } from '../../auth/auth.service'@@ -81,11 +82,14 @@ export class AdminService {.pipe(map((u) => (isGuest ? new GuestUserModel(u) : new AdminUserModel(u))))}- deleteUser(userId: number, adminDeleteUserDto?: AdminDeleteUserDto, isGuest = false): Observable<void> {+ deleteUser(userId: number, adminDeleteUserDto?: AdminDeleteUserDto, isGuest = false, totpCode?: string): Observable<void> {if (isGuest) {return this.http.delete<void>(`${API_ADMIN_GUESTS}/${userId}`)} else {- return this.http.request<void>('delete', `${API_ADMIN_USERS}/${userId}`, { body: adminDeleteUserDto })+ return this.http.request<void>('delete', `${API_ADMIN_USERS}/${userId}`, {+ headers: totpCode ? new HttpHeaders({ [TWO_FA_HEADER]: totpCode }) : undefined,+ body: adminDeleteUserDto+ })}}@@ -137,8 +141,10 @@ export class AdminService {)}- impersonateUser(userId: number, passwordDto: UserPasswordDto): Observable<LoginResponseDto> {- return this.http.post<LoginResponseDto>(`${API_ADMIN_IMPERSONATE}/${userId}`, passwordDto)+ impersonateUser(userId: number, adminPasswordDto: UserPasswordDto, totpCode?: string): Observable<LoginResponseDto> {+ return this.http.post<LoginResponseDto>(`${API_ADMIN_IMPERSONATE}/${userId}`, adminPasswordDto, {+ headers: totpCode ? { [TWO_FA_HEADER]: totpCode } : {}+ })}initImpersonateUser(r: LoginResponseDto) {diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.htmlindex 5d18ac14..6818fbd7 100644--- a/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.html+++ b/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.html@@ -19,7 +19,10 @@<div class="modal-body" [formGroup]="impersonateUserForm"><div class="d-flex align-items-center avatar mb-3"><img class="avatar-img" [src]="user.avatarUrl" alt="">- <span class="fw-bold mx-2">{{ user.login | capitalize }}</span>+ <div class="d-flex flex-column">+ <span class="mx-2"><b>{{ user.login | capitalize }}</b></span>+ <span class="mx-2">{{ user.email }}</span>+ </div></div><app-input-password id="password"[password]="impersonateUserForm.value.password"@@ -27,11 +30,18 @@[passwordMinLength]="passwordMinLength"[isRequired]="true"[focus]="true"+ (keyup.enter)="!impersonateUserForm.invalid && !submitted && onSubmit()"placeholder="Enter your password to confirm"></app-input-password></div><div class="modal-footer">- <button (click)="layout.closeDialog()" class="btn btn-sm btn-secondary ms-auto" data-dismiss="modal" type="button" l10nTranslate>Cancel</button>+ <button (click)="layout.closeDialog()"+ class="btn btn-sm btn-secondary ms-auto"+ data-dismiss="modal"+ type="button"+ l10nTranslate>+ Cancel+ </button><button (click)="onSubmit()"[disabled]="impersonateUserForm.invalid || submitted" class="btn btn-sm btn-primary"type="button"diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.tsindex 0799ea76..274df0a5 100644--- a/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.ts+++ b/frontend/src/app/applications/admin/components/dialogs/admin-impersonate-user-dialog.component.ts@@ -10,12 +10,12 @@ import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angulaimport { FaIconComponent } from '@fortawesome/angular-fontawesome'import { faUserSecret } from '@fortawesome/free-solid-svg-icons'import { USER_PASSWORD_MIN_LENGTH } from '@sync-in-server/backend/src/applications/users/constants/user'-import { UserPasswordDto } from '@sync-in-server/backend/src/applications/users/dto/user-password.dto'-import { LoginResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'+import type { LoginResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'import { L10N_LOCALE, L10nLocale, L10nTranslateDirective } from 'angular-l10n'import { InputPasswordComponent } from '../../../../common/components/input-password.component'import { CapitalizePipe } from '../../../../common/pipes/capitalize.pipe'import { LayoutService } from '../../../../layout/layout.service'+import { UserService } from '../../../users/user.service'import { AdminService } from '../../admin.service'import { AdminUserModel } from '../../models/admin-user.model'@@ -34,11 +34,18 @@ export class AdminImpersonateUserDialogComponent {protected impersonateUserForm = new FormGroup<{password: FormControl<string>}>({ password: new FormControl('', Validators.required) })+ private readonly userService = inject(UserService)private readonly adminService = inject(AdminService)- onSubmit() {+ async onSubmit() {this.submitted = true- this.adminService.impersonateUser(this.user.id, { password: this.impersonateUserForm.value.password } satisfies UserPasswordDto).subscribe({+ const auth2Fa = await this.userService.auth2FaVerifyDialog()+ if (auth2Fa === false) {+ this.layout.closeDialog()+ return+ }+ const totpCode = typeof auth2Fa === 'string' ? auth2Fa : undefined+ this.adminService.impersonateUser(this.user.id, { password: this.impersonateUserForm.value.password }, totpCode).subscribe({next: (r: LoginResponseDto) => {this.layout.closeDialog()setTimeout(() => this.adminService.initImpersonateUser(r), 500)diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-reset-user-two-fa-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-reset-user-two-fa-dialog.component.htmlnew file mode 100644index 00000000..cc76fe0b--- /dev/null+++ b/frontend/src/app/applications/admin/components/dialogs/admin-reset-user-two-fa-dialog.component.html@@ -0,0 +1,51 @@+<!--+ ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ ~ This file is part of Sync-in | The open source file sync and share solution+ ~ See the LICENSE file for licensing details+ -->++<div class="modal-header align-items-center">+ <h4 class="modal-title">+ <fa-icon [icon]="icons.faLockOpen" class="me-2"></fa-icon>+ <span>{{ user.fullName }}</span>+ </h4>+ @if (user) {+ <h4 class="modal-title ms-auto">+ <span l10nTranslate>Reset Two-Factor Authentication</span>+ </h4>+ }+ <button (click)="layout.closeDialog()" aria-label="Close" class="btn-close btn-close-white {{user ? 'ms-2' : 'ms-auto'}} ms-2" type="button"></button>+</div>+<div class="modal-body" [formGroup]="adminForm">+ <div class="d-flex align-items-center avatar mb-3">+ <img class="avatar-img" [src]="user.avatarUrl" alt="">+ <div class="d-flex flex-column">+ <span class="mx-2"><b>{{ user.login | capitalize }}</b></span>+ <span class="mx-2">{{ user.email }}</span>+ </div>+ </div>+ <app-input-password id="password"+ [password]="adminForm.value.password"+ (passwordChange)="adminForm.controls.password.setValue($event)"+ [passwordMinLength]="passwordMinLength"+ [isRequired]="true"+ [focus]="true"+ (keyup.enter)="!adminForm.invalid && !submitted && onSubmit()"+ placeholder="Enter your password to confirm">+ </app-input-password>+</div>+<div class="modal-footer">+ <button (click)="layout.closeDialog()"+ class="btn btn-sm btn-secondary ms-auto"+ data-dismiss="modal"+ type="button"+ l10nTranslate>+ Cancel+ </button>+ <button (click)="onSubmit()"+ [disabled]="adminForm.invalid || submitted" class="btn btn-sm btn-primary"+ type="button"+ l10nTranslate>+ Confirm+ </button>+</div>\ No newline at end of filediff --git a/frontend/src/app/applications/admin/components/dialogs/admin-reset-user-two-fa-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-reset-user-two-fa-dialog.component.tsnew file mode 100644index 00000000..7117517f--- /dev/null+++ b/frontend/src/app/applications/admin/components/dialogs/admin-reset-user-two-fa-dialog.component.ts@@ -0,0 +1,63 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { HttpErrorResponse } from '@angular/common/http'+import { Component, EventEmitter, inject, Input, Output } from '@angular/core'+import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms'+import { FaIconComponent } from '@fortawesome/angular-fontawesome'+import { faLockOpen } from '@fortawesome/free-solid-svg-icons'+import { USER_PASSWORD_MIN_LENGTH } from '@sync-in-server/backend/src/applications/users/constants/user'+import type { TwoFaVerifyResult } from '@sync-in-server/backend/src/authentication/interfaces/two-fa-setup.interface'+import { L10N_LOCALE, L10nLocale, L10nTranslateDirective } from 'angular-l10n'+import { InputPasswordComponent } from '../../../../common/components/input-password.component'+import { CapitalizePipe } from '../../../../common/pipes/capitalize.pipe'+import { LayoutService } from '../../../../layout/layout.service'+import { UserService } from '../../../users/user.service'+import { AdminUserModel } from '../../models/admin-user.model'++@Component({+ selector: 'app-admin-reset-user-two-fa-dialog',+ imports: [FaIconComponent, L10nTranslateDirective, ReactiveFormsModule, CapitalizePipe, InputPasswordComponent],+ templateUrl: 'admin-reset-user-two-fa-dialog.component.html'+})+export class AdminResetUserTwoFaDialogComponent {+ @Input({ required: true }) user: AdminUserModel+ @Output() wasReset = new EventEmitter<boolean>()+ protected readonly locale = inject<L10nLocale>(L10N_LOCALE)+ protected readonly layout = inject(LayoutService)+ protected readonly icons = { faLockOpen }+ protected readonly passwordMinLength = USER_PASSWORD_MIN_LENGTH+ protected adminForm = new FormGroup<{+ password: FormControl<string>+ }>({ password: new FormControl('', Validators.required) })+ protected submitted = false+ private readonly userService = inject(UserService)++ async onSubmit() {+ this.submitted = true+ const auth2Fa = await this.userService.auth2FaVerifyDialog()+ if (auth2Fa === false) {+ this.layout.closeDialog()+ return+ }+ const totpCode = typeof auth2Fa === 'string' ? auth2Fa : undefined+ this.userService.adminResetUser2Fa(this.user.id, { password: this.adminForm.value.password }, totpCode).subscribe({+ next: (verify: TwoFaVerifyResult) => {+ this.wasReset.emit(verify.success)+ if (verify.success) {+ this.layout.closeDialog()+ } else {+ this.submitted = false+ this.layout.sendNotification('error', 'Reset Two-Factor Authentication', verify.message)+ }+ },+ error: (e: HttpErrorResponse) => {+ this.submitted = false+ this.layout.sendNotification('error', 'Reset Two-Factor Authentication', this.user.login, e)+ }+ })+ }+}diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.htmlindex 39b6a209..b1d452b5 100644--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html@@ -19,14 +19,17 @@<div class="modal-body" [formGroup]="deleteUserForm"><div class="d-flex align-items-center avatar mb-3"><img class="avatar-img" [src]="user.avatarUrl" alt="">- <span class="fw-bold mx-2">{{ user.login | capitalize }}</span>- <span l10nTranslate>will be permanently removed</span>+ <div class="d-flex flex-column">+ <span class="mx-2"><b>{{ user.login | capitalize }}</b></span>+ <span class="mx-2">{{ user.email }}</span>+ </div></div><app-input-password id="password"[password]="deleteUserForm.value.adminPassword"(passwordChange)="deleteUserForm.controls.adminPassword.setValue($event)"[isRequired]="true"[focus]="true"+ (keyup.enter)="!deleteUserForm.invalid && !submitted && onSubmit()"placeholder="Enter your password to confirm"></app-input-password><div class="form-check form-check-inline mt-3">@@ -39,7 +42,13 @@</div></div><div class="modal-footer">- <button (click)="onClose()" class="btn btn-sm btn-secondary ms-auto" data-dismiss="modal" type="button" l10nTranslate>Cancel</button>+ <button (click)="onClose()"+ class="btn btn-sm btn-secondary ms-auto"+ data-dismiss="modal"+ type="button"+ l10nTranslate>+ Cancel+ </button><button (click)="onSubmit()"[disabled]="deleteUserForm.invalid || submitted" class="btn btn-sm btn-primary"type="button"diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.tsindex 7f0bf9ee..065b1322 100644--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts@@ -14,6 +14,7 @@ import { L10N_LOCALE, L10nLocale, L10nTranslateDirective } from 'angular-l10n'import { InputPasswordComponent } from '../../../../common/components/input-password.component'import { CapitalizePipe } from '../../../../common/pipes/capitalize.pipe'import { LayoutService } from '../../../../layout/layout.service'+import { UserService } from '../../../users/user.service'import { AdminService } from '../../admin.service'import { AdminUserModel } from '../../models/admin-user.model'@@ -34,19 +35,31 @@ export class AdminUserDeleteDialogComponent {}>({ adminPassword: new FormControl('', Validators.required), deleteSpace: new FormControl(false) })private readonly layout = inject(LayoutService)private readonly adminService = inject(AdminService)+ private readonly userService = inject(UserService)onClose() {this.wasDeleted.emit(false)this.layout.closeDialog()}- onSubmit() {+ async onSubmit() {this.submitted = true+ const auth2Fa = await this.userService.auth2FaVerifyDialog()+ if (auth2Fa === false) {+ this.onClose()+ return+ }+ const totpCode = typeof auth2Fa === 'string' ? auth2Fa : undefinedthis.adminService- .deleteUser(this.user.id, {- adminPassword: this.deleteUserForm.value.adminPassword,- deleteSpace: this.deleteUserForm.value.deleteSpace- } satisfies AdminDeleteUserDto)+ .deleteUser(+ this.user.id,+ {+ adminPassword: this.deleteUserForm.value.adminPassword,+ deleteSpace: this.deleteUserForm.value.deleteSpace+ } satisfies AdminDeleteUserDto,+ false,+ totpCode+ ).subscribe({next: () => {this.wasDeleted.emit(true)diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.htmlindex 081e57b9..89e6ee86 100644--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html@@ -124,6 +124,21 @@<app-storage-usage id="storage" [item]="user"></app-storage-usage></div><div class="flex-fill col-6 ps-4">+ <div class="d-flex flex-column">+ <label for="twoFa" l10nTranslate>Two-Factor Authentication</label>+ <div id="twoFa" class="pt-1">+ <span>+ <fa-icon [icon]="user.twoFaEnabled ? icons.faLock : icons.faLockOpen"></fa-icon>+ {{ (user.twoFaEnabled ? 'enabled' : 'disabled') | translate:locale.language | titlecase }}+ </span>+ @if (user.twoFaEnabled) {+ <span (click)="reset2Fa()" class="ms-3 link-danger" role="button">+ <fa-icon [icon]="icons.faTrash"></fa-icon>+ <span class="ms-1" l10nTranslate>Reset</span>+ </span>+ }+ </div>+ </div></div></div>}@@ -160,8 +175,8 @@<label class="form-check-label" for="isActive"><input class="form-check-input" formControlName="isActive" id="isActive" type="checkbox"><span [class.text-danger]="!userForm.value.isActive">- {{ (userForm.value.isActive ? 'active' : 'suspended') | translate:locale.language | titlecase }}- </span>+ {{ (userForm.value.isActive ? 'active' : 'suspended') | translate:locale.language | titlecase }}+ </span></label></div><div class="d-flex">diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.tsindex 94103372..3925813c 100644--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts@@ -9,7 +9,17 @@ import { HttpErrorResponse } from '@angular/common/http'import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms'import { FaIconComponent } from '@fortawesome/angular-fontawesome'-import { faAddressCard, faShieldHalved, faSpinner, faUserPen, faUserPlus, faUsers } from '@fortawesome/free-solid-svg-icons'+import {+ faAddressCard,+ faLock,+ faLockOpen,+ faShieldHalved,+ faSpinner,+ faTrash,+ faUserPen,+ faUserPlus,+ faUsers+} from '@fortawesome/free-solid-svg-icons'import {USER_LOGIN_VALIDATION,USER_NOTIFICATION_TEXT,@@ -39,6 +49,7 @@ import { USER_ICON, USER_LANGUAGE_AUTO, USER_PASSWORD_CHANGE_TEXT } from '../../import { AdminService } from '../../admin.service'import { AdminUserModel } from '../../models/admin-user.model'import { AdminPermissionsComponent } from '../utils/admin-permissions.component'+import { AdminResetUserTwoFaDialogComponent } from './admin-reset-user-two-fa-dialog.component'import { AdminUserDeleteDialogComponent } from './admin-user-delete-dialog.component'@Component({@@ -74,7 +85,18 @@ export class AdminUserDialogComponent implements OnInit {protected loading = falseprotected confirmDeletion = falseprotected tabView: undefined | 'permissions' | 'groups'- protected readonly icons = { GROUPS: USER_ICON.GROUPS, faUserPlus, faUserPen, faSpinner, faAddressCard, faUsers, faShieldHalved }+ protected readonly icons = {+ GROUPS: USER_ICON.GROUPS,+ faUserPlus,+ faUserPen,+ faSpinner,+ faAddressCard,+ faUsers,+ faShieldHalved,+ faTrash,+ faLock,+ faLockOpen+ }protected readonly allNotifications = Object.values(USER_NOTIFICATION_TEXT)protected readonly defaultPassword: string = this.layout.translateString(USER_PASSWORD_CHANGE_TEXT)protected readonly languages: string[] = this.layout.getLanguages(true)@@ -152,6 +174,15 @@ export class AdminUserDialogComponent implements OnInit {}}+ reset2Fa() {+ const modalRef: BsModalRef<AdminResetUserTwoFaDialogComponent> = this.layout.openDialog(AdminResetUserTwoFaDialogComponent, 'sm', {+ initialState: { user: this.user } as AdminResetUserTwoFaDialogComponent+ })+ modalRef.content.wasReset.pipe(take(1)).subscribe((wasReset: boolean) => {+ this.user.twoFaEnabled = wasReset+ })+ }+onSubmit() {this.submitted = trueif (this.confirmDeletion) {diff --git a/frontend/src/app/applications/admin/models/admin-user.model.ts b/frontend/src/app/applications/admin/models/admin-user.model.tsindex ef5807cf..715997ca 100644--- a/frontend/src/app/applications/admin/models/admin-user.model.ts+++ b/frontend/src/app/applications/admin/models/admin-user.model.ts@@ -37,6 +37,7 @@ export class AdminUserModel implements AdminUser {// extra propertiesisAdmin = false+ twoFaEnabled?: booleanuserRoleText: stringuserIsActiveText: stringavatarUrl?: stringdiff --git a/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html b/frontend/src/app/applications/links/components/dialogs/link-dialog.component.htmlindex 24da31ff..084d6d84 100644--- a/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html+++ b/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html@@ -21,7 +21,7 @@@if (share || link) {<div class="d-flex flex-fill align-items-center"><fa-icon [icon]="icons.links" class="circle-primary-icon me-2"></fa-icon>- <div class="d-flex flex-column">+ <div class="d-flex flex-column overflow-wrap-and-whitespace me-2"><span>{{ linkForm.value.name || linkForm.value.shareName }}</span><span class="fs-xxxs">{{ linkForm.value.email }}</span></div>diff --git a/frontend/src/app/applications/links/services/links.service.ts b/frontend/src/app/applications/links/services/links.service.tsindex d5c077b5..88b4ac58 100644--- a/frontend/src/app/applications/links/services/links.service.ts+++ b/frontend/src/app/applications/links/services/links.service.ts@@ -24,7 +24,7 @@ import {} from '@sync-in-server/backend/src/applications/shares/constants/routes'import { SPACE_OPERATION, SPACE_ROLE } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'import { MEMBER_TYPE } from '@sync-in-server/backend/src/applications/users/constants/member'-import type { UserPasswordDto } from '@sync-in-server/backend/src/applications/users/dto/user-password.dto'+import type { UserPasswordDto } from '@sync-in-server/backend/src/applications/users/dto/user-properties.dto'import type { LoginResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'import { BsModalRef } from 'ngx-bootstrap/modal'import { ClipboardService } from 'ngx-clipboard'diff --git a/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts b/frontend/src/app/applications/shares/components/utils/share-file-name.component.tsindex f181530f..25cc09cd 100644--- a/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts+++ b/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts@@ -13,12 +13,10 @@ import { ShareModel } from '../../models/share.model'@Component({selector: 'app-share-file-name',imports: [],- template: ` <div class="d-flex align-items-center text-truncate">+ template: ` <div class="d-flex align-items-center"><img [src]="share.mimeUrl" draggable="false" height="30" width="30" alt="" (error)="share.fallBackMimeUrl()" />- <div class="d-flex flex-column text-truncate ms-2">- <div class="text-truncate">- {{ fileName }}- </div>+ <div class="d-flex flex-column overflow-wrap-and-whitespace ms-2">+ {{ fileName }}</div></div>`})diff --git a/frontend/src/app/applications/shares/components/utils/share-repository.component.ts b/frontend/src/app/applications/shares/components/utils/share-repository.component.tsindex 31980d9c..06b437ed 100644--- a/frontend/src/app/applications/shares/components/utils/share-repository.component.ts+++ b/frontend/src/app/applications/shares/components/utils/share-repository.component.ts@@ -36,7 +36,7 @@ interface ShareRepository {[style.font-size.px]="galleryMode.faSize / 1.8"></fa-icon>} @else {- <div class="d-flex align-items-center">+ <div class="d-flex align-items-center overflow-wrap-and-whitespace">@if (showIcon) {<fa-icon [icon]="repository.icon" [class]="repository.class" class="me-2"></fa-icon>}diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html b/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.htmlindex fb1e750a..6e4faaf2 100644--- a/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html+++ b/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html@@ -27,7 +27,7 @@</div><div class="mb-3"><label for="files" l10nTranslate>Files</label>- <app-space-manage-roots id="files" [space]="space" [user]="user" [showUsers]="false"></app-space-manage-roots>+ <app-space-manage-roots id="files" [space]="space" [user]="user" [showInfos]="false" [showUsers]="false"></app-space-manage-roots></div></div><div class="modal-footer">diff --git a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.htmlindex 245e5870..87b32c80 100644--- a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html+++ b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html@@ -37,10 +37,12 @@}</div></div>- <div class="d-flex flex-column fs-xxxs text-muted d-none d-lg-block ms-3">- <div class="d-flex justify-content-end">{{ r.alias }}</div>- <div class="d-flex justify-content-end">{{ r.createdAt | amTimeAgo }}</div>- </div>+ @if (showInfos) {+ <div class="d-flex flex-column fs-xxxs text-muted d-none d-lg-block ms-3">+ <div class="d-flex justify-content-end">{{ r.alias }}</div>+ <div class="d-flex justify-content-end">{{ r.createdAt | amTimeAgo }}</div>+ </div>+ }<div class="d-flex no-select"><div class="vr mx-2"></div>@for (perm of r.hPerms| keyvalue: originalOrderKeyValue; track perm.key) {diff --git a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.tsindex 0977cf28..2bba8762 100644--- a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts+++ b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts@@ -47,6 +47,7 @@ export class SpaceManageRootsComponent implements OnInit, OnDestroy {@ViewChild('InputRename') inputRename: ElementRef@Input({ required: true }) space: Partial<SpaceModel>@Input({ required: true }) user: UserType+ @Input() showInfos = true@Input() showUsers = true@Input() addRootFile: Subject<FileTreeEvent | ExternalFilePathEvent> = nullprotected locale = inject<L10nLocale>(L10N_LOCALE)diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.htmlnew file mode 100644index 00000000..3d68d518--- /dev/null+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.html@@ -0,0 +1,72 @@+<!--+ ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ ~ This file is part of Sync-in | The open source file sync and share solution+ ~ See the LICENSE file for licensing details+ -->+<div class="modal-header align-items-center justify-content-center">+ <h4 class="modal-title">+ <fa-icon [icon]="icons.faLock" class="me-2"></fa-icon>+ <span l10nTranslate>Two-Factor Authentication</span>+ </h4>+</div>+<div class="modal-body modal-auth-verify-2fa">+ @if (wasEnabled) {+ <p class="text-align-center" l10nTranslate>+ Keep these codes in a safe place. They will allow you to access your account if you lose access to your two-factor authentication.+ </p>+ <p class="text-align-center font-italic text-warning" l10nTranslate>+ These recovery codes are for one-time use only and will only be displayed here once.+ </p>+ <ul class="list-group text-align-center my-3">+ @for (code of recoveryCodes; track $index) {+ <li class="list-group-item font-monospace">{{ code }}</li>+ }+ </ul>+ <div class="d-grid gap-2">+ <button type="button" (click)="downloadRecoveryCodes()" class="btn btn-primary" l10nTranslate>Download</button>+ <button type="button" (click)="clipBoardRecoveryCodes()" class="btn btn-success" l10nTranslate>Copy</button>+ <button type="button" (click)="onClose(true)" class="btn btn-secondary" l10nTranslate>Close</button>+ </div>+ } @else {+ <div class="d-flex flex-column text-align-center justify-content-center align-items-center fs-xs mt-2 mb-4" style="height: 45px">+ @if (hasError) {+ <div class="text-danger" l10nTranslate>{{ hasError }}</div>+ } @else {+ <span l10nTranslate>Scan this QR code using your authenticator app.</span>+ <small class="text-muted"> <i l10nTranslate>(Such as FreeOTP, Proton Authenticator etc.)</i></small>+ }+ </div>+ <div class="text-center my-3">+ <img [src]="qrDataUrl" alt="QR Code" class="img-fluid border p-2 rounded" style="max-width: 150px;">+ </div>+ <div class="text-muted small text-center mb-3">+ <div class="mb-2" l10nTranslate>Or enter this secret manually</div>+ <div>+ <fa-icon [icon]="icons.faCopy"></fa-icon>+ <strong (click)="clipBoardSecret()" role="button" class="ms-1 font-monospace link-primary">{{ secret }}</strong>+ </div>+ </div>+ <hr>+ <div class="text-align-center mb-3" l10nTranslate>Confirm activation with your TOTP code</div>+ <form (ngSubmit)="onSubmit()" [formGroup]="twoFaForm">+ <div class="mb-3">+ <input+ appAutofocus+ type="text"+ [maxlength]=twoFaCodelength+ class="form-control text-center fs-4"+ formControlName="totpCode"+ placeholder="••••••"+ inputmode="numeric"+ autocomplete="one-time-code"+ name="totp"+ />+ </div>+ <div class="d-grid gap-2">+ <button type="submit" [disabled]="twoFaForm.invalid || submitted" class="btn btn-primary" l10nTranslate>Confirm</button>+ <button type="button" (click)="onClose()" class="btn btn-secondary" l10nTranslate>Cancel</button>+ </div>+ </form>+ }+</div>+diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.tsnew file mode 100644index 00000000..a021279e--- /dev/null+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.ts@@ -0,0 +1,88 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { Component, EventEmitter, inject, Input, Output } from '@angular/core'+import { FormGroup, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'+import { FaIconComponent } from '@fortawesome/angular-fontawesome'+import { faCopy, faKey, faLock } from '@fortawesome/free-solid-svg-icons'+import { TWO_FA_CODE_LENGTH } from '@sync-in-server/backend/src/authentication/constants/auth'+import { TwoFaEnableResult } from '@sync-in-server/backend/src/authentication/interfaces/two-fa-setup.interface'+import { L10N_LOCALE, L10nLocale, L10nTranslateDirective } from 'angular-l10n'+import { ClipboardService } from 'ngx-clipboard'+import { AutofocusDirective } from '../../../../common/directives/auto-focus.directive'+import { downloadWithAnchor } from '../../../../common/utils/functions'+import { LayoutService } from '../../../../layout/layout.service'+import { UserService } from '../../user.service'++@Component({+ selector: 'app-user-auth-2fa-enable-dialog',+ imports: [FaIconComponent, L10nTranslateDirective, AutofocusDirective, ReactiveFormsModule],+ templateUrl: 'user-auth-2fa-enable-dialog.component.html'+})+export class UserAuth2faEnableDialogComponent {+ @Input({ required: true }) qrDataUrl!: string+ @Input({ required: true }) secret!: string+ @Output() isValid = new EventEmitter<boolean>()+ protected wasEnabled = false+ protected submitted = false+ protected hasError: any = null+ protected recoveryCodes: string[]+ protected readonly icons = { faKey, faLock, faCopy }+ protected readonly twoFaCodelength = TWO_FA_CODE_LENGTH+ protected readonly locale = inject<L10nLocale>(L10N_LOCALE)+ private readonly layout = inject(LayoutService)+ private readonly userService = inject(UserService)+ private readonly clipBoardService = inject(ClipboardService)+ private readonly fb = inject(UntypedFormBuilder)+ protected twoFaForm: FormGroup = this.fb.group({+ totpCode: this.fb.control('', [Validators.required, Validators.pattern(new RegExp(`^\\d{${TWO_FA_CODE_LENGTH}}$`))])+ })++ onClose(state = false) {+ this.layout.closeDialog()+ this.isValid.emit(state)+ }++ onSubmit() {+ this.submitted = true+ this.userService.enable2Fa({ code: this.twoFaForm.value.totpCode }).subscribe({+ next: (res: TwoFaEnableResult) => {+ if (res.success) {+ this.wasEnabled = true+ this.recoveryCodes = res.recoveryCodes+ this.isValid.emit(true)+ } else {+ this.hasError = 'Invalid code'+ }+ setTimeout(() => (this.submitted = false), 1000)+ },+ error: (e) => {+ this.hasError = e.error ? e.error.message : e+ setTimeout(() => (this.submitted = false), 1000)+ }+ })+ }++ clipBoardSecret() {+ this.clipBoardService.copyFromContent(this.secret)+ this.layout.sendNotification('info', 'Two-factor authentication', 'Secret copied')+ }++ clipBoardRecoveryCodes() {+ this.clipBoardService.copyFromContent(this.recoveryCodes.join('\n'))+ this.layout.sendNotification('info', 'Two-factor authentication', 'Recovery codes copied')+ }++ downloadRecoveryCodes() {+ const text = this.recoveryCodes.join('\n') // un code par ligne+ const blob = new Blob([text], { type: 'text/plain;charset=utf-8' })+ // create a temporary link+ const url = URL.createObjectURL(blob)+ downloadWithAnchor(url, 'sync-in.recovery-codes.txt')+ // free the memory+ URL.revokeObjectURL(url)+ }+}diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.htmlnew file mode 100644index 00000000..3cd2a893--- /dev/null+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.html@@ -0,0 +1,44 @@+<!--+ ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ ~ This file is part of Sync-in | The open source file sync and share solution+ ~ See the LICENSE file for licensing details+ -->+<div class="modal-header align-items-center justify-content-center">+ <h4 class="modal-title">+ <fa-icon [icon]="icons.faLock" class="me-2"></fa-icon>+ <span l10nTranslate>TOTP Verification</span>+ </h4>+</div>+<div class="modal-body modal-auth-verify-2fa">+ <div class="card shadow-sm">+ <div class="card-body">+ @if (hasError) {+ <p class="text-danger d-flex justify-content-center align-items-center mb-3" style="height: 36px" l10nTranslate>{{ hasError }}</p>+ } @else {+ <p class="text-muted d-flex justify-content-center align-items-center mb-3" style="height: 36px" l10nTranslate>+ Enter the 6-digit code generated by your authenticator app.+ </p>+ }+ <form (ngSubmit)="onSubmit()" [formGroup]="twoFaForm">+ <div class="mb-3">+ <input+ appAutofocus+ type="text"+ [maxlength]=twoFaCodelength+ class="form-control text-center fs-4"+ formControlName="totpCode"+ placeholder="••••••"+ inputmode="numeric"+ autocomplete="one-time-code"+ name="totp"+ />+ </div>+ <div class="d-grid gap-2">+ <button type="submit" [disabled]="twoFaForm.invalid || submitted" class="btn btn-primary" l10nTranslate>Confirm</button>+ <button type="button" (click)="onClose()" class="btn btn-secondary" l10nTranslate>Cancel</button>+ </div>+ </form>+ </div>+ </div>+</div>+diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.tsnew file mode 100644index 00000000..5f84b932--- /dev/null+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.ts@@ -0,0 +1,59 @@+/*+ * Copyright (C) 2012-2025 Johan Legrand <[email protected]>+ * This file is part of Sync-in | The open source file sync and share solution+ * See the LICENSE file for licensing details+ */++import { Component, inject } from '@angular/core'+import { FormGroup, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'+import { FaIconComponent } from '@fortawesome/angular-fontawesome'+import { faKey, faLock } from '@fortawesome/free-solid-svg-icons'+import { TWO_FA_CODE_LENGTH } from '@sync-in-server/backend/src/authentication/constants/auth'+import { TwoFaVerifyResult } from '@sync-in-server/backend/src/authentication/interfaces/two-fa-setup.interface'+import { L10N_LOCALE, L10nLocale, L10nTranslateDirective } from 'angular-l10n'+import { AutofocusDirective } from '../../../../common/directives/auto-focus.directive'+import { LayoutService } from '../../../../layout/layout.service'+import { UserService } from '../../user.service'++@Component({+ selector: 'app-user-auth-2fa-verify-dialog',+ imports: [FaIconComponent, L10nTranslateDirective, AutofocusDirective, ReactiveFormsModule],+ templateUrl: 'user-auth-2fa-verify-dialog.component.html'+})+export class UserAuth2FaVerifyDialogComponent {+ isValid!: (result: false | string) => void // injected callback+ protected submitted = false+ protected hasError: any = null+ protected readonly icons = { faKey, faLock }+ protected readonly twoFaCodelength = TWO_FA_CODE_LENGTH+ protected readonly locale = inject<L10nLocale>(L10N_LOCALE)+ private readonly userService = inject(UserService)+ private readonly fb = inject(UntypedFormBuilder)+ protected twoFaForm: FormGroup = this.fb.group({+ totpCode: this.fb.control('', [Validators.required, Validators.pattern(new RegExp(`^\\d{${TWO_FA_CODE_LENGTH}}$`))])+ })+ private readonly layout = inject(LayoutService)++ onClose(state: false | string = false) {+ this.isValid(state)+ this.layout.closeDialog()+ }++ onSubmit() {+ this.submitted = true+ this.userService.verify2Fa({ code: this.twoFaForm.value.totpCode }).subscribe({+ next: (res: TwoFaVerifyResult) => {+ if (res.success) {+ this.onClose(this.twoFaForm.value.totpCode)+ } else {+ this.hasError = 'Invalid code'+ }+ setTimeout(() => (this.submitted = false), 1000)+ },+ error: (e) => {+ this.hasError = e.error ? e.error.message : e+ setTimeout(() => (this.submitted = false), 1000)+ }+ })+ }+}diff --git a/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.tsindex bc784731..e722cb08 100644--- a/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts+++ b/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts@@ -16,7 +16,7 @@ import { USER_ICON } from '../../user.constants'import { UserService } from '../../user.service'@Component({- selector: 'app-admin-group-delete-dialog',+ selector: 'app-user-personal-group-leave-dialog',imports: [FaIconComponent, L10nTranslateDirective],templateUrl: 'user-personal-group-leave-dialog.component.html'})diff --git a/frontend/src/app/applications/users/components/user-account.component.html b/frontend/src/app/applications/users/components/user-account.component.htmlindex 54ce1890..3a26c0c3 100755--- a/frontend/src/app/applications/users/components/user-account.component.html+++ b/frontend/src/app/applications/users/components/user-account.component.html@@ -142,7 +142,40 @@placeholder="new password"></app-input-password></div>- <button (click)="submitPassword()" class="d-flex btn btn-xs btn-primary text-nowrap" type="button" l10nTranslate>Update</button>+ <button [disabled]="!newPassword || !oldPassword || newPassword.length < passwordMinLength"+ (click)="submitPassword()"+ class="d-flex btn btn-xs btn-primary text-nowrap"+ type="button" l10nTranslate>Update+ </button>+ </div>+ </div>+ <div class="row mb-3">+ <span class="col-3 align-self-start text-nowrap" l10nTranslate>Security</span>+ <div class="col-auto">+ <div class="fw-500 mb-2" l10nTranslate>Two-Factor Authentication</div>+ @if (user.twoFaEnabled) {+ <button (click)="enable2Fa()"+ [disabled]="!store.server().twoFaEnabled"+ class="btn btn-xs btn-warning me-2"+ type="button" l10nTranslate>+ Reset+ </button>+ <button (click)="disable2Fa()"+ [disabled]="!store.server().twoFaEnabled"+ class="btn btn-xs btn-danger"+ type="button" l10nTranslate>+ Disable+ </button>+ } @else {+ <div class="mb-1">+ <button (click)="enable2Fa()"+ [disabled]="!store.server().twoFaEnabled"+ class="btn btn-xs btn-primary me-1"+ type="button" l10nTranslate>+ Enable+ </button>+ </div>+ }</div></div>}diff --git a/frontend/src/app/applications/users/components/user-account.component.ts b/frontend/src/app/applications/users/components/user-account.component.tsindex 3d4078fc..a6daa6ed 100644--- a/frontend/src/app/applications/users/components/user-account.component.ts+++ b/frontend/src/app/applications/users/components/user-account.component.ts@@ -4,6 +4,7 @@* See the LICENSE file for licensing details*/+import { HttpErrorResponse } from '@angular/common/http'import { Component, inject, OnDestroy } from '@angular/core'import { FormsModule } from '@angular/forms'import { FaIconComponent } from '@fortawesome/angular-fontawesome'@@ -14,10 +15,13 @@ import {USER_PASSWORD_MIN_LENGTH} from '@sync-in-server/backend/src/applications/users/constants/user'import { WEBDAV_BASE_PATH } from '@sync-in-server/backend/src/applications/webdav/constants/routes'+import { TwoFaSetup } from '@sync-in-server/backend/src/authentication/interfaces/two-fa-setup.interface'import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'+import { BsModalRef } from 'ngx-bootstrap/modal'import { ProgressbarModule } from 'ngx-bootstrap/progressbar'import { ClipboardService } from 'ngx-clipboard'import { Subscription } from 'rxjs'+import { filter, take } from 'rxjs/operators'import { InputPasswordComponent } from '../../../common/components/input-password.component'import { PasswordStrengthBarComponent } from '../../../common/components/password-strength-bar.component'import { StorageUsageComponent } from '../../../common/components/storage-usage.component'@@ -30,6 +34,7 @@ import { StoreService } from '../../../store/store.service'import { UserType } from '../interfaces/user.interface'import { USER_ICON, USER_LANGUAGE_AUTO, USER_PATH, USER_TITLE } from '../user.constants'import { UserService } from '../user.service'+import { UserAuth2faEnableDialogComponent } from './dialogs/user-auth-2fa-enable-dialog.component'@Component({selector: 'app-user-account',@@ -61,7 +66,7 @@ export class UserAccountComponent implements OnDestroy {// passwordprotected oldPassword: stringprotected newPassword: string- private readonly store = inject(StoreService)+ protected readonly store = inject(StoreService)private readonly layout = inject(LayoutService)protected languages = this.layout.getLanguages(true)private readonly userService = inject(UserService)@@ -108,7 +113,7 @@ export class UserAccountComponent implements OnDestroy {this.userService.uploadAvatar(ev.target.files[0])}- submitPassword() {+ async submitPassword() {if (!this.oldPassword) {this.layout.sendNotification('error', 'Configuration', 'Current password missing !')return@@ -121,9 +126,27 @@ export class UserAccountComponent implements OnDestroy {this.layout.sendNotification('warning', 'Configuration', 'New password must have 8 characters minimum')return}- this.userService.changePassword({ oldPassword: this.oldPassword, newPassword: this.newPassword }).subscribe({- next: () => this.goodCurrentPassword(),- error: () => this.badCurrentPassword()+ const auth2Fa = await this.userService.auth2FaVerifyDialog()+ if (auth2Fa === false) {+ this.oldPassword = ''+ this.newPassword = ''+ return+ }+ const totpCode = typeof auth2Fa === 'string' ? auth2Fa : undefined+ this.userService.changePassword({ oldPassword: this.oldPassword, newPassword: this.newPassword }, totpCode).subscribe({+ next: () => {+ this.oldPassword = ''+ this.newPassword = ''+ this.layout.sendNotification('info', 'Configuration', 'Password has been updated')+ },+ error: (e: HttpErrorResponse) => {+ this.oldPassword = ''+ if (e.status === 403) {+ this.layout.sendNotification('error', 'Configuration', 'Unable to update password', e)+ } else {+ this.layout.sendNotification('warning', 'Configuration', 'Current password does not match')+ }+ }})}@@ -142,20 +165,49 @@ export class UserAccountComponent implements OnDestroy {this.layout.sendNotification('info', 'Link copied', this.webdavUrl)}- private updateLanguage(language: string) {- this.user.language = language- this.layout.setLanguage(language)- this.layout.sendNotification('info', 'Configuration', 'Language updated')+ async enable2Fa() {+ this.userService.init2Fa().subscribe({+ next: (init: TwoFaSetup) => {+ const modalRef: BsModalRef<UserAuth2faEnableDialogComponent> = this.layout.openDialog(+ UserAuth2faEnableDialogComponent,+ 'xs',+ { initialState: { qrDataUrl: init.qrDataUrl, secret: init.secret } as UserAuth2faEnableDialogComponent },+ { keyboard: false }+ )+ modalRef.content.isValid+ .pipe(+ filter((isValid: boolean) => isValid),+ take(1)+ )+ .subscribe(() => {+ this.layout.sendNotification('success', 'Configuration', 'Two-Factor Authentication is enabled')+ this.store.user.next({ ...this.store.user.getValue(), twoFaEnabled: true })+ })+ },+ error: (e: HttpErrorResponse) => this.layout.sendNotification('error', 'Configuration', 'Two-Factor Authentication has failed', e)+ })}- private badCurrentPassword() {- this.oldPassword = ''- this.layout.sendNotification('warning', 'Configuration', 'Current password does not match')+ async disable2Fa() {+ const auth2Fa = await this.userService.auth2FaVerifyDialog()+ if (auth2Fa === false) {+ return+ }+ const totpCode = typeof auth2Fa === 'string' ? auth2Fa : undefined+ this.userService.disable2Fa({ code: totpCode }).subscribe({+ next: () => {+ this.layout.sendNotification('success', 'Configuration', 'Two-Factor Authentication is disabled')+ this.store.user.next({ ...this.store.user.getValue(), twoFaEnabled: false })+ },+ error: (e: HttpErrorResponse) => {+ this.layout.sendNotification('error', 'Configuration', 'Two-Factor Authentication has failed', e)+ }+ })}- private goodCurrentPassword() {- this.oldPassword = ''- this.newPassword = ''- this.layout.sendNotification('info', 'Configuration', 'Password has been updated')+ private updateLanguage(language: string) {+ this.user.language = language+ this.layout.setLanguage(language)+ this.layout.sendNotification('info', 'Configuration', 'Language updated')}}diff --git a/frontend/src/app/applications/users/user.service.ts b/frontend/src/app/applications/users/user.service.tsindex 772a0335..6ea76c2e 100644--- a/frontend/src/app/applications/users/user.service.ts+++ b/frontend/src/app/applications/users/user.service.ts@@ -30,16 +30,31 @@ import type {UpdateUserFromGroupDto} from '@sync-in-server/backend/src/applications/users/dto/create-or-update-user.dto'import type { SearchMembersDto } from '@sync-in-server/backend/src/applications/users/dto/search-members.dto'-import type { UserLanguageDto, UserNotificationDto, UserPasswordDto } from '@sync-in-server/backend/src/applications/users/dto/user-properties.dto'+import type {+ UserLanguageDto,+ UserNotificationDto,+ UserPasswordDto,+ UserUpdatePasswordDto+} from '@sync-in-server/backend/src/applications/users/dto/user-properties.dto'import type { GroupBrowse } from '@sync-in-server/backend/src/applications/users/interfaces/group-browse.interface'import type { GroupMember } from '@sync-in-server/backend/src/applications/users/interfaces/group-member'import type { GuestUser } from '@sync-in-server/backend/src/applications/users/interfaces/guest-user.interface'import type { Member } from '@sync-in-server/backend/src/applications/users/interfaces/member.interface'-import {+import type {EventChangeOnlineStatus,EventUpdateOnlineStatus,- type UserOnline+ UserOnline} from '@sync-in-server/backend/src/applications/users/interfaces/websocket.interface'+import { TWO_FA_HEADER } from '@sync-in-server/backend/src/authentication/constants/auth'+import {+ API_TWO_FA_ADMIN_RESET_USER,+ API_TWO_FA_DISABLE,+ API_TWO_FA_ENABLE,+ API_TWO_FA_VERIFY+} from '@sync-in-server/backend/src/authentication/constants/routes'+import type { TwoFaVerifyDto } from '@sync-in-server/backend/src/authentication/dto/two-fa-verify.dto'+import type { TwoFaEnableResult, TwoFaSetup, TwoFaVerifyResult } from '@sync-in-server/backend/src/authentication/interfaces/two-fa-setup.interface'+import { BsModalRef } from 'ngx-bootstrap/modal'import { Socket } from 'ngx-socket-io'import { catchError, map, Observable } from 'rxjs'import { AppMenu } from '../../layout/layout.interfaces'@@ -47,6 +62,7 @@ import { LayoutService } from '../../layout/layout.service'import { StoreService } from '../../store/store.service'import { NotificationsService } from '../notifications/notifications.service'import { SPACES_TITLE } from '../spaces/spaces.constants'+import { UserAuth2FaVerifyDialogComponent } from './components/dialogs/user-auth-2fa-verify-dialog.component'import { UserType } from './interfaces/user.interface'import { GroupBrowseModel } from './models/group-browse.model'import { GuestUserModel } from './models/guest.model'@@ -192,8 +208,10 @@ export class UserService {})}- changePassword(userPasswordDto: UserPasswordDto): Observable<any> {- return this.http.put(API_USERS_MY_PASSWORD, userPasswordDto)+ changePassword(userPasswordDto: UserUpdatePasswordDto, totpCode?: string): Observable<any> {+ return this.http.put(API_USERS_MY_PASSWORD, userPasswordDto, {+ headers: totpCode ? { [TWO_FA_HEADER]: totpCode } : {}+ })}changeLanguage(userLanguageDto: UserLanguageDto): Observable<any> {@@ -267,6 +285,46 @@ export class UserService {})}+ init2Fa(): Observable<TwoFaSetup> {+ return this.http.get<TwoFaSetup>(API_TWO_FA_ENABLE)+ }++ enable2Fa(twoFaVerifyDto: TwoFaVerifyDto): Observable<TwoFaEnableResult> {+ return this.http.post<TwoFaEnableResult>(API_TWO_FA_ENABLE, twoFaVerifyDto)+ }++ disable2Fa(twoFaVerifyDto: TwoFaVerifyDto): Observable<TwoFaVerifyResult> {+ return this.http.post<TwoFaVerifyResult>(API_TWO_FA_DISABLE, twoFaVerifyDto)+ }++ verify2Fa(twoFaVerifyDto: TwoFaVerifyDto): Observable<TwoFaVerifyResult> {+ return this.http.post<TwoFaVerifyResult>(API_TWO_FA_VERIFY, twoFaVerifyDto)+ }++ adminResetUser2Fa(userId: number, adminPasswordDto: UserPasswordDto, totpCode?: string): Observable<TwoFaVerifyResult> {+ return this.http.post<TwoFaVerifyResult>(`${API_TWO_FA_ADMIN_RESET_USER}/${userId}`, adminPasswordDto, {+ headers: totpCode ? { [TWO_FA_HEADER]: totpCode } : {}+ })+ }++ async auth2FaVerifyDialog(): Promise<boolean | string> {+ // returns: true (no check), false (check failed), string (totpCode)+ if (this.store.server().twoFaEnabled && this.user.twoFaEnabled) {+ return new Promise((resolve) => {+ const modalRef: BsModalRef<UserAuth2FaVerifyDialogComponent> = this.layout.openDialog(+ UserAuth2FaVerifyDialogComponent,+ 'xs',+ {},+ { keyboard: false }+ )+ modalRef.content.isValid = (result: false | string) => {+ resolve(result)+ }+ })+ }+ return true+ }+private checkQuota(user: UserType) {if (user.isGuest || user.isLink) returnif (user.storageQuota) {diff --git a/frontend/src/app/auth/auth.component.html b/frontend/src/app/auth/auth.component.htmlindex 606e1ee5..4eb59b8c 100644--- a/frontend/src/app/auth/auth.component.html+++ b/frontend/src/app/auth/auth.component.html@@ -11,24 +11,70 @@<img alt="" height="65" width="240" [ngSrc]="logoUrl" [priority]="true"></div><div class="body">- <form (ngSubmit)="onSubmit()" [formGroup]="loginForm">- <p class="fs-sm mb-0 {{hasError ? 'text-danger' : 'text-white-50'}}" l10nTranslate>{{ hasError || 'Sign-in to your account' }}</p>- <div class="input-group my-2">+ @if (twoFaVerify) {+ <p class="fs-sm mb-3 {{hasError ? 'text-danger' : 'text-white-50'}}" l10nTranslate>{{ hasError || 'Two-factor authentication' }}</p>+ <form (ngSubmit)="onSubmit2Fa()" [formGroup]="twoFaForm">+ <div class="input-group mt-2 mb-4">+ @if (twoFaForm.value.isRecoveryCode) {+ <span class="input-group-text">+ <fa-icon [icon]="icons.faKey"></fa-icon>+ </span>+ <input appAutofocus+ [placeholder]="'Recovery code' | translate:locale.language"+ type="text"+ class="form-control"+ formControlName="recoveryCode" />+ } @else {+ <span class="input-group-text">+ <fa-icon [icon]="icons.faQrcode"></fa-icon>+ </span>+ <input appAutofocus+ [placeholder]="'TOTP code' | translate:locale.language"+ type="text"+ class="form-control"+ formControlName="totpCode"+ inputmode="numeric"+ autocomplete="one-time-code"+ [maxlength]=twoFaCodelength />+ }+ </div>+ <div class="d-flex text-white-50 fs-xs">+ <div class="form-check form-switch form-check-inline">+ <label class="form-check-label" for="useRecovery">+ <input class="form-check-input" formControlName="isRecoveryCode" id="useRecovery" type="checkbox">+ <span l10nTranslate>Use a recovery code</span>+ </label>+ </div>+ </div>+ <div class="d-flex mt-4">+ <button type="submit"+ [disabled]="twoFaForm.value.isRecoveryCode ? twoFaForm.controls.recoveryCode.invalid : twoFaForm.controls.totpCode.invalid || submitted"+ class="btn btn-primary px-4 w-50 me-2" l10nTranslate>+ Confirm+ </button>+ <button type="button" (click)="onCancel2Fa()" class="btn btn-secondary px-4 w-50" l10nTranslate>Cancel</button>+ </div>+ </form>+ } @else {+ <form (ngSubmit)="onSubmit()" [formGroup]="loginForm">+ <p class="fs-sm mb-3 {{hasError ? 'text-danger' : 'text-white-50'}}" l10nTranslate>{{ hasError || 'Sign-in to your account' }}</p>+ <div class="input-group my-2"><span class="input-group-text"><fa-icon [icon]="icons.faUserAlt"></fa-icon></span>- <input appAutofocus class="form-control" formControlName="username" [placeholder]="'Login or Email' | translate:locale.language" type="text" />- </div>- <div class="input-group mb-4">+ <input appAutofocus class="form-control" formControlName="username" [placeholder]="'Login or Email' | translate:locale.language" type="text" />+ </div>+ <div class="input-group mb-4"><span class="input-group-text"><fa-icon [icon]="icons.faLock"></fa-icon></span>- <input class="form-control" formControlName="password" [placeholder]="'Password' | translate:locale.language" type="password" />- </div>- <div class="d-flex">- <button [disabled]="loginForm.invalid || submitted" class="btn btn-primary px-4 w-100" type="submit" l10nTranslate>Sign in</button>- </div>- </form>+ <input class="form-control" formControlName="password" [placeholder]="'Password' | translate:locale.language" type="password" />+ </div>+ <div class="d-flex">+ <button type="submit" [disabled]="loginForm.invalid || submitted" class="btn btn-primary px-4 w-100" l10nTranslate>Sign in</button>+ </div>+ </form>+ }</div></div></div>diff --git a/frontend/src/app/auth/auth.component.ts b/frontend/src/app/auth/auth.component.tsindex fad10939..fca7b3d6 100644--- a/frontend/src/app/auth/auth.component.ts+++ b/frontend/src/app/auth/auth.component.ts@@ -9,7 +9,10 @@ import { Component, inject } from '@angular/core'import { FormGroup, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'import { Router } from '@angular/router'import { FaIconComponent } from '@fortawesome/angular-fontawesome'-import { faLock, faUserAlt } from '@fortawesome/free-solid-svg-icons'+import { faKey, faLock, faQrcode, faUserAlt } from '@fortawesome/free-solid-svg-icons'+import { TWO_FA_CODE_LENGTH } from '@sync-in-server/backend/src/authentication/constants/auth'+import { TwoFaResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'+import { TwoFaVerifyDto } from '@sync-in-server/backend/src/authentication/dto/two-fa-verify.dto'import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'import { finalize } from 'rxjs/operators'import { logoDarkUrl } from '../applications/files/files.constants'@@ -24,38 +27,74 @@ import { AuthService } from './auth.service'})export class AuthComponent {protected readonly locale = inject<L10nLocale>(L10N_LOCALE)- protected readonly icons = { faLock, faUserAlt }+ protected readonly icons = { faLock, faUserAlt, faKey, faQrcode }+ protected twoFaCodelength = TWO_FA_CODE_LENGTHprotected logoUrl = logoDarkUrl- protected loginForm: FormGroupprotected hasError: any = nullprotected submitted = false+ protected twoFaVerify = falseprivate readonly fb = inject(UntypedFormBuilder)+ protected loginForm: FormGroup = this.fb.group({+ username: this.fb.control('', [Validators.required]),+ password: this.fb.control('', [Validators.required])+ })+ protected twoFaForm: FormGroup = this.fb.group({+ totpCode: this.fb.control('', [Validators.required, Validators.pattern(new RegExp(`^\\d{${TWO_FA_CODE_LENGTH}}$`))]),+ recoveryCode: this.fb.control('', [Validators.required, Validators.minLength(8)]),+ isRecoveryCode: this.fb.control(false)+ })private readonly router = inject(Router)private readonly auth = inject(AuthService)- constructor() {- const fb = this.fb-- this.loginForm = fb.group({- username: this.fb.control('', [Validators.required]),- password: this.fb.control('', [Validators.required])- })- }-onSubmit() {this.submitted = truethis.auth.login(this.loginForm.value.username, this.loginForm.value.password).pipe(finalize(() => setTimeout(() => (this.submitted = false), 1500))).subscribe({- next: (res) => this.isLogged(res.success, res.message),- error: (e) => this.isLogged(false, e.error ? e.error.message : e)+ next: (res: { success: boolean; message: any; twoFaEnabled?: boolean }) => this.isLogged(res),+ error: (e) => this.isLogged({ success: false, message: e.error ? e.error.message : e })})}- isLogged(success: boolean, errorMsg: string = null) {- if (success) {- if (this.auth.returnUrl) {+ onSubmit2Fa() {+ this.submitted = true+ const verifyCode: TwoFaVerifyDto = {+ code: this.twoFaForm.value.isRecoveryCode ? this.twoFaForm.value.recoveryCode : this.twoFaForm.value.totpCode,+ isRecoveryCode: this.twoFaForm.value.isRecoveryCode+ }+ this.auth.loginWith2Fa(verifyCode).subscribe({+ next: (res: TwoFaResponseDto) => this.is2FaVerified(res),+ error: (e) => this.is2FaVerified({ success: false, message: e.error ? e.error.message : e } as TwoFaResponseDto)+ })+ }++ onCancel2Fa() {+ this.auth.logout()+ this.twoFaForm.patchValue({ totpCode: '', recoveryCode: '' })+ this.twoFaVerify = false+ this.submitted = false+ this.hasError = null+ }++ is2FaVerified(res: TwoFaResponseDto) {+ if (res.success) {+ // In this case, the user and tokens are provided+ this.auth.initUserFromResponse(res)+ this.isLogged({ success: true, message: res.message })+ } else {+ this.hasError = res.message || 'Unable to verify code'+ this.submitted = false+ }+ this.twoFaForm.patchValue({ totpCode: '', recoveryCode: '' })+ }++ isLogged(res: { success: boolean; message: any; twoFaEnabled?: boolean }) {+ if (res.success) {+ this.hasError = null+ if (res.twoFaEnabled) {+ this.twoFaVerify = true+ } else if (this.auth.returnUrl) {this.router.navigateByUrl(this.auth.returnUrl).then(() => {this.auth.returnUrl = nullthis.loginForm.reset()@@ -64,7 +103,7 @@ export class AuthComponent {this.router.navigate([RECENTS_PATH.BASE]).then(() => this.loginForm.reset())}} else {- this.hasError = errorMsg || 'Server connection error'+ this.hasError = res.message || 'Server connection error'this.submitted = false}this.loginForm.patchValue({ password: '' })diff --git a/frontend/src/app/auth/auth.service.ts b/frontend/src/app/auth/auth.service.tsindex 2857b2b4..62f543fe 100644--- a/frontend/src/app/auth/auth.service.ts+++ b/frontend/src/app/auth/auth.service.ts@@ -13,10 +13,17 @@ import type { SyncClientAuthDto } from '@sync-in-server/backend/src/applicationsimport type { ClientAuthCookieDto } from '@sync-in-server/backend/src/applications/sync/interfaces/sync-client-auth.interface'import { API_ADMIN_IMPERSONATE_LOGOUT, API_USERS_ME } from '@sync-in-server/backend/src/applications/users/constants/routes'import { CSRF_KEY } from '@sync-in-server/backend/src/authentication/constants/auth'-import { API_AUTH_LOGIN, API_AUTH_LOGOUT, API_AUTH_REFRESH } from '@sync-in-server/backend/src/authentication/constants/routes'-import type { LoginResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'+import {+ API_AUTH_LOGIN,+ API_AUTH_LOGOUT,+ API_AUTH_REFRESH,+ API_TWO_FA_LOGIN_VERIFY+} from '@sync-in-server/backend/src/authentication/constants/routes'+import { LoginResponseDto, TwoFaResponseDto } from '@sync-in-server/backend/src/authentication/dto/login-response.dto'import type { TokenResponseDto } from '@sync-in-server/backend/src/authentication/dto/token-response.dto'+import { TwoFaVerifyDto } from '@sync-in-server/backend/src/authentication/dto/two-fa-verify.dto'import { currentTimeStamp } from '@sync-in-server/backend/src/common/shared'+import { ServerConfig } from '@sync-in-server/backend/src/configuration/config.interfaces'import { catchError, finalize, map, Observable, of, throwError } from 'rxjs'import { switchMap, tap } from 'rxjs/operators'import { USER_PATH } from '../applications/users/user.constants'@@ -64,12 +71,17 @@ export class AuthService {localStorage.setItem('access_expiration', value.toString())}- login(login: string, password: string): Observable<{ success: boolean; message: any }> {+ login(login: string, password: string): Observable<{ success: boolean; message: any; twoFaEnabled?: boolean }> {return this.http.post<LoginResponseDto>(API_AUTH_LOGIN, { login, password }).pipe(map((r: LoginResponseDto) => {- this.accessExpiration = r.token.access_expiration- this.refreshExpiration = r.token.refresh_expiration- this.userService.initUser(r.user)+ if (r.server.twoFaEnabled && r.user.twoFaEnabled) {+ // check 2FA before logging in the user+ this.accessExpiration = r.token.access_2fa_expiration+ this.refreshExpiration = this.accessExpiration+ return { success: true, twoFaEnabled: true, message: null }+ } else {+ this.initUserFromResponse(r)+ }return { success: true, message: null }}),catchError((e) => {@@ -150,6 +162,7 @@ export class AuthService {this.accessExpiration = r.token.access_expirationthis.refreshExpiration = r.token.refresh_expirationthis.userService.initUser(r.user, impersonate)+ this.setServerConfig(r.server)}}@@ -162,7 +175,6 @@ export class AuthService {map((r) => {this.accessExpiration = r.access_expirationthis.refreshExpiration = r.refresh_expiration- console.debug('refresh token done')return true}),catchError((e: HttpErrorResponse) => {@@ -186,8 +198,11 @@ export class AuthService {this.logout()return of(false)} else if (!this.store.user.getValue()) {- return this.http.get<LoginResponseDto>(API_USERS_ME).pipe(- tap((r: LoginResponseDto) => this.userService.initUser(r.user)),+ return this.http.get<Omit<LoginResponseDto, 'token'>>(API_USERS_ME).pipe(+ tap((r: Omit<LoginResponseDto, 'token'>) => {+ this.userService.initUser(r.user)+ this.setServerConfig(r.server)+ }),map(() => true),catchError((e: HttpErrorResponse) => {if (e.status === 401) {@@ -210,6 +225,15 @@ export class AuthService {return request}+ loginWith2Fa(verify: TwoFaVerifyDto): Observable<TwoFaResponseDto> {+ return this.http.post<TwoFaResponseDto>(API_TWO_FA_LOGIN_VERIFY, verify)+ }++ private setServerConfig(serverConfig: ServerConfig) {+ if (!serverConfig) return+ this.store.server.set(serverConfig)+ }+private refreshTokenHasExpired(): boolean {return this.refreshExpiration === 0 || currentTimeStamp() >= this.refreshExpiration}diff --git a/frontend/src/app/common/components/filter.component.ts b/frontend/src/app/common/components/filter.component.tsindex 987b65f6..c1f1b087 100644--- a/frontend/src/app/common/components/filter.component.ts+++ b/frontend/src/app/common/components/filter.component.ts@@ -23,7 +23,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'class="form-control form-control-sm"style="padding-right: 24px"(keyup.escape)="clear()"- [placeholder]="'Filter' | translate: locale.language"+ [placeholder]="('Filter' | translate: locale.language) + ' (Ctrl/⌘+F)'"[formControl]="searchControl"/>@if (search()) {@@ -62,7 +62,6 @@ export class FilterComponent implements OnDestroy {} else if (ev.keyCode === 27) {// escape keyev.preventDefault()- ev.stopPropagation()}}diff --git a/frontend/src/app/common/utils/functions.ts b/frontend/src/app/common/utils/functions.tsindex d61a02f8..9abad733 100644--- a/frontend/src/app/common/utils/functions.ts+++ b/frontend/src/app/common/utils/functions.ts@@ -174,10 +174,10 @@ export function filterArray(search: string, collection: any[], field?: string) {}}-export function downloadWithAnchor(href: string) {+export function downloadWithAnchor(href: string, downloadName = '') {const anchor = document.createElement('a')anchor.href = href- anchor.download = ''+ anchor.download = downloadNamedocument.body.appendChild(anchor)anchor.click()document.body.removeChild(anchor)diff --git a/frontend/src/app/layout/layout.service.ts b/frontend/src/app/layout/layout.service.tsindex d39a0340..5c85d959 100644--- a/frontend/src/app/layout/layout.service.ts+++ b/frontend/src/app/layout/layout.service.ts@@ -11,7 +11,7 @@ import { IconDefinition } from '@fortawesome/fontawesome-svg-core'import { ContextMenuComponent, ContextMenuService } from '@perfectmemory/ngx-contextmenu'import { getBrowserLanguage, L10nTranslationService } from 'angular-l10n'import { BsLocaleService } from 'ngx-bootstrap/datepicker'-import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal'+import { BsModalRef, BsModalService, ModalOptions } from 'ngx-bootstrap/modal'import { ActiveToast, ToastrService } from 'ngx-toastr'import { BehaviorSubject, fromEvent, mergeWith, Observable, Subject } from 'rxjs'import { map } from 'rxjs/operators'@@ -74,7 +74,7 @@ export class LayoutService {)// Modal sectionprivate modalIDS: (number | string)[] = []- private readonly dialogConfig = { animated: true, keyboard: true, backdrop: true, ignoreBackdropClick: true }+ private readonly dialogConfig: ModalOptions = { animated: true, keyboard: true, backdrop: true, ignoreBackdropClick: true }constructor() {this.title.setTitle(APP_NAME)@@ -121,12 +121,12 @@ export class LayoutService {this.setTheme(this.switchTheme.getValue() === themeLight ? themeDark : themeLight)}- openDialog(dialog: any, size: 'sm' | 'md' | 'lg' | 'xl' | 'full' = 'md', componentStates: any = {}): BsModalRef {- const dialogClass = `modal-${size} modal-primary`+ openDialog(dialog: any, size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full', componentStates: any = {}, override: ModalOptions = {}): BsModalRef {+ const dialogClass = `modal-${size || 'sm'} modal-primary`if (componentStates.id && this.minimizedWindows.getValue().find((w: AppWindow) => w.id === componentStates.id)) {return this.restoreDialog(componentStates.id)}- const modalRef = this.bsModal.show(dialog, Object.assign(componentStates, this.dialogConfig, { class: dialogClass }))+ const modalRef = this.bsModal.show(dialog, Object.assign(componentStates, { ...this.dialogConfig, ...override }, { class: dialogClass }))if (modalRef.id && this.modalIDS.indexOf(modalRef.id) === -1) {this.modalIDS.push(modalRef.id)}diff --git a/frontend/src/app/store/store.service.ts b/frontend/src/app/store/store.service.tsindex 59394452..89de3d21 100644--- a/frontend/src/app/store/store.service.ts+++ b/frontend/src/app/store/store.service.ts@@ -8,6 +8,7 @@ import { computed, Injectable, Signal, signal, WritableSignal } from '@angular/cimport type { SearchFilesDto } from '@sync-in-server/backend/src/applications/files/dto/file-operations.dto'import type { FileTask } from '@sync-in-server/backend/src/applications/files/models/file-task'import { AppStoreManifest } from '@sync-in-server/backend/src/applications/sync/interfaces/store-manifest.interface'+import type { ServerConfig } from '@sync-in-server/backend/src/configuration/config.interfaces'import { BehaviorSubject, Subject } from 'rxjs'import { CommentRecentModel } from '../applications/comments/models/comment-recent.model'import { FileEvent } from '../applications/files/interfaces/file-event.interface'@@ -31,6 +32,7 @@ import { myAvatarUrl } from '../applications/users/user.functions'providedIn: 'root'})export class StoreService {+ public server: WritableSignal<ServerConfig> = signal<ServerConfig>({ twoFaEnabled: false, mailServerEnabled: false })public user = new BehaviorSubject<UserType>(null)public userAvatarUrl = new BehaviorSubject<string>(myAvatarUrl())public userImpersonate: WritableSignal<boolean> = signal<boolean>(false)diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.jsonindex bc078908..1c6ec18f 100644--- a/frontend/src/i18n/fr.json+++ b/frontend/src/i18n/fr.json@@ -178,6 +178,7 @@"New password must have 8 characters minimum": "Nouveau mot de passe doit contenir 8 caractères","Current password does not match": "Mot de passe actuel ne correspond pas","Password has been updated": "Mot de passe mis à jour",+ "Unable to update password": "Impossible de mettre à jour le mot de passe","Bad password": "Mauvais mot de passe","too many login attempts": "trop de tentatives de connexion","Language": "Langue",@@ -316,7 +317,6 @@"Clipboard": "Presse-papiers","Send to Clipboard": "Envoyer au Presse-papiers","will be removed": "sera supprimé",- "will be permanently removed": "sera supprimé définitivement","Refresh": "Rafraîchir","Empty": "Vider","List": "Liste",@@ -601,6 +601,7 @@"fast": "rapide","secure": "sécurisé","enabled": "activé",+ "Enable": "Activer","disabled": "désactivé","Disable": "Désactiver","hours": "heures",@@ -670,5 +671,27 @@"remote": "distant","System requirements": "Configuration requise","Feature not enabled": "Fonctionnalité non activée",- "Check the settings": "Vérifiez les paramètres"+ "Check the settings": "Vérifiez les paramètres",+ "Security": "Sécurité",+ "Two-factor authentication": "Authentification à deux facteurs",+ "Recovery code": "Code de récupération",+ "Use a recovery code": "Utiliser un code de récupération",+ "TOTP code": "Code TOTP",+ "TOTP Verification": "Vérification TOTP",+ "Secret copied": "Secret copié",+ "Recovery codes copied": "Codes de récupération copiés",+ "Invalid code": "Code invalide",+ "Two-Factor Authentication": "Authentification à deux facteurs",+ "Two-Factor Authentication is enabled": "L’authentification à deux facteurs est activée",+ "Two-Factor Authentication is disabled": "L’authentification à deux facteurs est désactivée",+ "Two-Factor Authentication has failed": "L’authentification à deux facteurs a échoué",+ "Reset Two-Factor Authentication": "Réinitialiser l’authentification à deux facteurs",+ "Enter the 6-digit code generated by your authenticator app.": "Entrez le code à 6 chiffres généré par votre application d’authentification.",+ "Scan this QR code using your authenticator app.": " Scannez ce code QR avec votre application d’authentification.",+ "(Such as FreeOTP, Proton Authenticator etc.)": "(Par ex. FreeOTP, Proton Authenticator, etc.)",+ "Or enter this secret manually": "Ou entrez ce secret manuellement",+ "Confirm activation with your TOTP code": "Validez l’activation avec votre code TOTP",+ "The secret has expired": "Le secret a expiré",+ "Keep these codes in a safe place. They will allow you to access your account if you lose access to your two-factor authentication.": "Conservez ces codes en lieu sûr. Ils vous permettront d’accéder à votre compte si vous perdez l’accès à votre authentification à deux facteurs.",+ "These recovery codes are for one-time use only and will only be displayed here once.": "Ces codes de récupération sont à usage unique et ne seront affichés qu’une seule fois ici."}diff --git a/frontend/src/styles/components/_modal.scss b/frontend/src/styles/components/_modal.scssindex cb40e71c..0d5fb658 100644--- a/frontend/src/styles/components/_modal.scss+++ b/frontend/src/styles/components/_modal.scss@@ -36,6 +36,14 @@@extend .no-select-pointer;width: 98% !important;}++}++.modal-xs {+ max-width: $modal-xs;+ --bs-modal-width: $modal-xs;+ margin-right: auto;+ margin-left: auto;}.modal-full {@@ -71,3 +79,8 @@// used by the files viewer--bs-backdrop-zindex: 0 !important;}++.modal-auth-verify-2fa {+ border-bottom-left-radius: var(--bs-modal-inner-border-radius);+ border-bottom-right-radius: var(--bs-modal-inner-border-radius);+}diff --git a/frontend/src/styles/components/_theme_dark.scss b/frontend/src/styles/components/_theme_dark.scssindex 2d284117..25c11f25 100755--- a/frontend/src/styles/components/_theme_dark.scss+++ b/frontend/src/styles/components/_theme_dark.scss@@ -344,12 +344,12 @@}}- .profile-page {- .list-group-item {- background-color: lighten($sidebar-dark-apps-menu-title-bg, 8%);- color: $white;- }+ .list-group-item {+ background-color: lighten($sidebar-dark-apps-menu-title-bg, 8%);+ color: $white;+ }+ .profile-page {select {background-color: transparent;color: $white;@@ -448,6 +448,13 @@border-top-color: $sidebar-dark-apps-menu-title-bg;}+ .modal-auth-verify-2fa {+ .card {+ background-color: $sidebar-dark-icons-menu-bg;+ border-color: $sidebar-dark-icons-menu-border-color;+ }+ }+typeahead-container, .ui-select-choices {&.dropdown-menu {background-color: $sidebar-dark-icons-menu-border-color;diff --git a/frontend/src/styles/components/_theme_light.scss b/frontend/src/styles/components/_theme_light.scssindex aca74672..6785a363 100755--- a/frontend/src/styles/components/_theme_light.scss+++ b/frontend/src/styles/components/_theme_light.scss@@ -344,15 +344,15 @@}}+ .list-group-item {+ background-color: lighten($gray-light, 10%);+ color: $custom-color;+ }+.profile-page {.box {background-color: $gray-lighter;}-- .list-group-item {- background-color: lighten($gray-light, 10%);- color: $custom-color;- }}.user-groups-page {diff --git a/frontend/src/styles/variables.scss b/frontend/src/styles/variables.scssindex 7459698d..d7689e33 100644--- a/frontend/src/styles/variables.scss+++ b/frontend/src/styles/variables.scss@@ -115,8 +115,10 @@ $dropdown-header-color: #8aa4af;$modal-inner-padding: .4rem;$modal-header-padding-x: .8rem;$modal-header-padding-y: .5rem;+$modal-xs: 300px;$modal-sm: 500px;$modal-md: 650px;+$modal-lg: 768px;$modal-xl: 1000px;$modal-content-border-width: .5px;// Progress-bardiff --git a/package-lock.json b/package-lock.jsonindex cd516352..8eef854e 100644--- a/package-lock.json+++ b/package-lock.json@@ -86,9 +86,11 @@"passport-local": "^1.0.0","pdfjs-dist": "^5.2.133","pino-pretty": "^13.0.0",+ "qrcode-generator": "^2.0.4","sax": "^1.4.1","socket.io": "^4.8.1","tar": "^7.4.3",+ "time2fa": "^1.4.2","yauzl": "^3.2.0"},"devDependencies": {@@ -115,6 +117,7 @@"@types/passport-local": "^1.0.38","@types/passport-strategy": "^0.2.38","@types/pdfjs-dist": "^2.10.377",+ "@types/qrcode": "^1.5.5","@types/sax": "^1.2.7","@types/supertest": "^6.0.2","@types/tar": "^6.1.13",@@ -426,13 +429,13 @@}},"node_modules/@angular-devkit/architect": {- "version": "0.2002.2",- "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2002.2.tgz",- "integrity": "sha512-amppp/UqKyj+B8hYFU16j4t6SVN+SS0AEnHivDjKy41NNJgXv+5Sm2Q2jaMHviCT3rclyT0wqwNAi0RDjyLx5Q==",+ "version": "0.2003.1",+ "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2003.1.tgz",+ "integrity": "sha512-PE/yMVv8RZ7nQzGROi0juZo+yMZE2QwyBXc9yFrHIRozuTzTFaMW/9ifCZDVrpicjyHEk3s+7hUVNCcKO/xIIQ==","dev": true,"license": "MIT","dependencies": {- "@angular-devkit/core": "20.2.2",+ "@angular-devkit/core": "20.3.1","rxjs": "7.8.2"},"engines": {@@ -442,9 +445,9 @@}},"node_modules/@angular-devkit/core": {- "version": "20.2.2",- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-20.2.2.tgz",- "integrity": "sha512-SC+f5isSWJBpEgR+R7jP++2Z14WExNWLAdKpIickLWjuL8FlGkj+kaF3dWXhh0KcXo+r6kKb4pWUptSaqer5gA==",+ "version": "20.3.1",+ "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-20.3.1.tgz",+ "integrity": "sha512-TmS69GqBlbTfydn7C4tUKr0mshYSStuCkgruXbvedHFX8+7XBp8wPE+VUzdKnSmKZi6buI4oskDbJ1AdGtNm/g==","dev": true,"license": "MIT","dependencies": {@@ -480,13 +483,13 @@}},"node_modules/@angular-devkit/schematics": {- "version": "20.2.2",- "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-20.2.2.tgz",- "integrity": "sha512-rtL7slZjzdChQoiADKZv/Ra8D3C3tIw/WcVxd2stiLHdK/Oaf9ejx5m/X9o0QMEbNsy2Fy/RKodNqmz1CjzpCg==",+ "version": "20.3.1",+ "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-20.3.1.tgz",+ "integrity": "sha512-uzMqcgOfcCBiYb+cbMJmgJL2C2d3uYFp6hU2ClYS8kRPXiA9sNVnvLmv4JrYJVLGQDejJtjPGIQrcmq11OQNLA==","dev": true,"license": "MIT","dependencies": {- "@angular-devkit/core": "20.2.2",+ "@angular-devkit/core": "20.3.1","jsonc-parser": "3.3.1","magic-string": "0.30.17","ora": "8.2.0",@@ -816,9 +819,9 @@}},"node_modules/@angular-eslint/builder": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-20.2.0.tgz",- "integrity": "sha512-0qej+U/u5MDnvnUhrWAXmXJd7ZliZzYQtkmy50ypq/LaQwkOuZBEFh9EqlZ1k4n8n2DKQou03KJmKSoAqc/I8A==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-20.3.0.tgz",+ "integrity": "sha512-3XpWLdh+/K4+r0ChkKW00SXWyBA7ShMpE+Pt1XUmIu4srJgGRnt8e+kC4Syi+s2t5QS7PjlwRaelB1KfSMXZ5A==","dev": true,"license": "MIT","dependencies": {@@ -831,21 +834,21 @@}},"node_modules/@angular-eslint/bundled-angular-compiler": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-20.2.0.tgz",- "integrity": "sha512-9NhytRavpxWqa0fK+mlQZrif91MhtG3VEV3JCQEwOH9JPueY95XVHYwPgcbODhoSg/z5YaTVby5G254cEXUMew==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-20.3.0.tgz",+ "integrity": "sha512-QwuNnmRNr/uNj89TxknPbGcs5snX1w7RoJJPNAsfb2QGcHzUTQovS8hqm9kaDZdpUJDPP7jt7B6F0+EjrPAXRA==","dev": true,"license": "MIT"},"node_modules/@angular-eslint/eslint-plugin": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-20.2.0.tgz",- "integrity": "sha512-HdujUz7Q1ZW371cCJRkUcp0bjU/iP8Z/ZNTStCzMd4euu+HwVt69dLsTCs6f1i6SMqlIUjaP8TbqNo5nV8Altw==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-20.3.0.tgz",+ "integrity": "sha512-7ghzGTiExrgTetDQ6IPP5uXSa94Xhtzp2VHCIa58EcUb7oMv06HWZ1Uss3xgFmACsLpN+vayKJIdFiboqaGVRA==","dev": true,"license": "MIT","dependencies": {- "@angular-eslint/bundled-angular-compiler": "20.2.0",- "@angular-eslint/utils": "20.2.0",+ "@angular-eslint/bundled-angular-compiler": "20.3.0",+ "@angular-eslint/utils": "20.3.0","ts-api-utils": "^2.1.0"},"peerDependencies": {@@ -855,19 +858,19 @@}},"node_modules/@angular-eslint/eslint-plugin-template": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-20.2.0.tgz",- "integrity": "sha512-pRuROa9QUUIq/ulB5rbXrwOhFA1tcR8HhGq187gFQfPno/bFZfbF9R8x+zukbVipNjl087WHUWj09KNDcJBLlA==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-20.3.0.tgz",+ "integrity": "sha512-WMJDJfybOLCiN4QrOyrLl+Zt5F+A/xoDYMWTdn+LgACheLs2tguVQiwf+oCgHnHGcsTsulPYlRHldKBGZMgs4w==","dev": true,"license": "MIT","dependencies": {- "@angular-eslint/bundled-angular-compiler": "20.2.0",- "@angular-eslint/utils": "20.2.0",+ "@angular-eslint/bundled-angular-compiler": "20.3.0",+ "@angular-eslint/utils": "20.3.0","aria-query": "5.3.2","axobject-query": "4.1.0"},"peerDependencies": {- "@angular-eslint/template-parser": "20.2.0",+ "@angular-eslint/template-parser": "20.3.0","@typescript-eslint/types": "^7.11.0 || ^8.0.0","@typescript-eslint/utils": "^7.11.0 || ^8.0.0","eslint": "^8.57.0 || ^9.0.0",@@ -875,29 +878,29 @@}},"node_modules/@angular-eslint/schematics": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-20.2.0.tgz",- "integrity": "sha512-vAslYgJ2Rs2xY80ckwbuv/YWpEO9d/lFMq8CGrm37PI0IB5uRuGVWxaVboBLP6WUj9iMS/ufZUcCu0fdQ05V8Q==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-20.3.0.tgz",+ "integrity": "sha512-4n92tHKIJm1PP+FjhnmO7AMpvKdRIoF+YgF38oUU7aMJqfZ3RXIhazMMxw2u3VU1MisKH766KSll++c4LgarVA==","dev": true,"license": "MIT","dependencies": {"@angular-devkit/core": ">= 20.0.0 < 21.0.0","@angular-devkit/schematics": ">= 20.0.0 < 21.0.0",- "@angular-eslint/eslint-plugin": "20.2.0",- "@angular-eslint/eslint-plugin-template": "20.2.0",+ "@angular-eslint/eslint-plugin": "20.3.0",+ "@angular-eslint/eslint-plugin-template": "20.3.0","ignore": "7.0.5","semver": "7.7.2","strip-json-comments": "3.1.1"}},"node_modules/@angular-eslint/template-parser": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-20.2.0.tgz",- "integrity": "sha512-72hskYThlVhktpRCwSwAohY/SxUoMv0hhS71zjlJcHFTzTAWCI8Zy2U4OJuhUO7+XWL6iAu13NKzJKRzUhGdSw==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-20.3.0.tgz",+ "integrity": "sha512-gB564h/kZ7siWvgHDETU++sk5e25qFfVaizLaa6KoBEYFP6dOCiedz15LTcA0TsXp0rGu6Z6zkl291iSM1qzDA==","dev": true,"license": "MIT","dependencies": {- "@angular-eslint/bundled-angular-compiler": "20.2.0",+ "@angular-eslint/bundled-angular-compiler": "20.3.0","eslint-scope": "^8.0.2"},"peerDependencies": {@@ -906,13 +909,13 @@}},"node_modules/@angular-eslint/utils": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-20.2.0.tgz",- "integrity": "sha512-GnEa8BU9xBLUq4JQ8UgXecUXPCmju9P5KIobql17LV1t3vnJ33Zr7acO1jWOzluypllKSVrtARdRTI+TQGCqrA==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-20.3.0.tgz",+ "integrity": "sha512-7XOQeNXgyhznDwoP1TwPrCMq/uXKJHQgCVPFREkJGKbNf/jzNldB7iV1eqpBzUQIPEQFgfcDG67dexpMAq3N4g==","dev": true,"license": "MIT","dependencies": {- "@angular-eslint/bundled-angular-compiler": "20.2.0"+ "@angular-eslint/bundled-angular-compiler": "20.3.0"},"peerDependencies": {"@typescript-eslint/utils": "^7.11.0 || ^8.0.0",@@ -921,9 +924,9 @@}},"node_modules/@angular/animations": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.2.4.tgz",- "integrity": "sha512-mXiTlXZgAF4uYonOt7l2w7uvLLTJEk6jqs3H291bYuoDRM8R166UjN7ygAeBmPiJ4TLMyKGkwMQy3b1Vvw4RQA==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.3.0.tgz",+ "integrity": "sha512-rCojVsJHaReDfSB4lwcWYJAfbkFXQmcdivdN5m1NavuSlKpWoLw4fLkxkcuOXDjUEwNSb45hRI4ixcwrcuQtmw==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -932,18 +935,18 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/core": "20.2.4"+ "@angular/core": "20.3.0"}},"node_modules/@angular/build": {- "version": "20.2.2",- "resolved": "https://registry.npmjs.org/@angular/build/-/build-20.2.2.tgz",- "integrity": "sha512-rvlKMt3OmeenHOwejRpI4OLcyERQn6Hl4ODRWlYfNX70Ki1zu6eAD0pWULzcD+HSQd0a26Xzt3gcpEy2vOEAzg==",+ "version": "20.3.1",+ "resolved": "https://registry.npmjs.org/@angular/build/-/build-20.3.1.tgz",+ "integrity": "sha512-z5n8WnisyPrRvS1WctdDB3Svas0Wql1Eplnwh4O7waZHeJTOcd8zZeFxPbPGp12ybGf3HEEjTeWOigm1kRgW9g==","dev": true,"license": "MIT","dependencies": {"@ampproject/remapping": "2.3.0",- "@angular-devkit/architect": "0.2002.2",+ "@angular-devkit/architect": "0.2003.1","@babel/core": "7.28.3","@babel/helper-annotate-as-pure": "7.27.3","@babel/helper-split-export-declaration": "7.24.7",@@ -966,7 +969,7 @@"semver": "7.7.2","source-map-support": "0.5.21","tinyglobby": "0.2.14",- "vite": "7.1.2",+ "vite": "7.1.5","watchpack": "2.4.4"},"engines": {@@ -985,7 +988,7 @@"@angular/platform-browser": "^20.0.0","@angular/platform-server": "^20.0.0","@angular/service-worker": "^20.0.0",- "@angular/ssr": "^20.2.2",+ "@angular/ssr": "^20.3.1","karma": "^6.4.0","less": "^4.2.0","ng-packagr": "^20.0.0",@@ -1035,9 +1038,9 @@}},"node_modules/@angular/cdk": {- "version": "20.2.2",- "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-20.2.2.tgz",- "integrity": "sha512-jLvIMmFI8zoi6vAu1Aszua59GmhqBOtsVfkwLUGg5Hi86DI/inJr9BznNX2EKDtaulYMGZCmDgsltXQXeqP5Lg==",+ "version": "20.2.3",+ "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-20.2.3.tgz",+ "integrity": "sha512-gu1zzxxcwobeiH21VpphM+cPFrQX0dxGwlFx1W8eTcLYLWd9YjlTETucBrEUEWcXmRrVTXf/VcqA0rWsxd50Ow==","license": "MIT","dependencies": {"parse5": "^8.0.0",@@ -1062,19 +1065,19 @@}},"node_modules/@angular/cli": {- "version": "20.2.2",- "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-20.2.2.tgz",- "integrity": "sha512-0K8cmuHzRTpPzy/w0+S5o3s0JPV++9/s2JhK4aw/+OnQRpUbodoqjm1ur5k5DUBQfIHi7aM73ZIW3G43lv4F0g==",+ "version": "20.3.1",+ "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-20.3.1.tgz",+ "integrity": "sha512-TqhuDecbfAQgRDYPfpRQG9ZuTqb1DOeU7oQAYxpz9m/a7A2xqeNFLuCwwz8rqEPZB79/9r5ja0Gs1J4i080U0Q==","dev": true,"license": "MIT","dependencies": {- "@angular-devkit/architect": "0.2002.2",- "@angular-devkit/core": "20.2.2",- "@angular-devkit/schematics": "20.2.2",+ "@angular-devkit/architect": "0.2003.1",+ "@angular-devkit/core": "20.3.1",+ "@angular-devkit/schematics": "20.3.1","@inquirer/prompts": "7.8.2","@listr2/prompt-adapter-inquirer": "3.0.1","@modelcontextprotocol/sdk": "1.17.3",- "@schematics/angular": "20.2.2",+ "@schematics/angular": "20.3.1","@yarnpkg/lockfile": "1.1.0","algoliasearch": "5.35.0","ini": "5.0.0",@@ -1235,9 +1238,9 @@}},"node_modules/@angular/common": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.2.4.tgz",- "integrity": "sha512-mc6Sq1cYjaPJYThnvG6x0f/E27pWksqwaNJxT1RtwhAGc1i2jsc0su6b7e5NnXEgVbdPqu1MZHAEFdXZ5+/MwQ==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.3.0.tgz",+ "integrity": "sha512-Il0HqdRdrmI8ufLXd49EYaa/BPqfiSqe5uuKrDxhkAdbRXwCXWsxbO/n8AwilwWn3CKLOCrEXQYKwbcFW0nYQQ==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1246,14 +1249,14 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/core": "20.2.4",+ "@angular/core": "20.3.0","rxjs": "^6.5.3 || ^7.4.0"}},"node_modules/@angular/compiler": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.2.4.tgz",- "integrity": "sha512-LQzf+Azb/Ms+BavpCFIat+f1C0gUJpby2RW4yebF3JkBFKfJ7M8d49TQpF8rSnGxMRTf49mln7laz4nBYTLDGA==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.3.0.tgz",+ "integrity": "sha512-DvGDusjsDhxIX+nDzihSCGo81Fa8y94KB/bh24eyPwJWV6b0OkawFSvVwzxx8prV0UnNkCN1S/UoZXmtVZGJ4A==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1263,9 +1266,9 @@}},"node_modules/@angular/compiler-cli": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.2.4.tgz",- "integrity": "sha512-II2hEpfbo73dL12D42DoIHYGiTYAiO9cpwh29BIo8VD054ei4cm0oK+jCyryDQH5T3+wyCWlj0OFjcZ/GmO7HQ==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.3.0.tgz",+ "integrity": "sha512-umnZzzKw9RqDVkotYIyupJiKXQpU8knehMUBT1G3QwdeHppC+d/opxISYTkQtY/4IUAsZFLMukWIr82as0DSmw==","dev": true,"license": "MIT","dependencies": {@@ -1286,7 +1289,7 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/compiler": "20.2.4",+ "@angular/compiler": "20.3.0","typescript": ">=5.8 <6.0"},"peerDependenciesMeta": {@@ -1424,9 +1427,9 @@}},"node_modules/@angular/core": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.2.4.tgz",- "integrity": "sha512-8yvfvPDWX8M7o82GBl5P1nlvm1ywQ2XZi5HWj3llKpSJE2XjzhATgPrpKwiNVnpgjZWTOwM11fpoAaRKqQjxTA==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.3.0.tgz",+ "integrity": "sha512-4uH2TAMm1nXqQ9lcZyyNkjcdQ0Fjcf9Hh0HYrhMOEV6GAUHvM2I8Vr2dSQ40p/UKLEfe9+cpZ78EPocqPQCG6A==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1435,7 +1438,7 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/compiler": "20.2.4",+ "@angular/compiler": "20.3.0","rxjs": "^6.5.3 || ^7.4.0","zone.js": "~0.15.0"},@@ -1449,9 +1452,9 @@}},"node_modules/@angular/forms": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.2.4.tgz",- "integrity": "sha512-wbgnW+GALVAmK6hgFegkwlHKw35onvh9Z5A236HCyUySEAOiaD/3CoDg5Hw4iHQAiSU6Fn2NwDiv+W0xki6WDw==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.3.0.tgz",+ "integrity": "sha512-/KGCZUskk8imxz2e47CKe5Ykh3eqEDop0b9YUkZTvJ/dY/cdFK89RAK2xUvOlyUr2mkcByzdzyOhHaM9XEaELg==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1460,16 +1463,16 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/common": "20.2.4",- "@angular/core": "20.2.4",- "@angular/platform-browser": "20.2.4",+ "@angular/common": "20.3.0",+ "@angular/core": "20.3.0",+ "@angular/platform-browser": "20.3.0","rxjs": "^6.5.3 || ^7.4.0"}},"node_modules/@angular/platform-browser": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.2.4.tgz",- "integrity": "sha512-81vzW8xhnJU7AiYJKXLR2MuvawzhRDgwyNkPEep58wty5zNuIUCXdUERJSsXo7m/U2Dg1FUFfqLm4RC2UkqLzA==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.3.0.tgz",+ "integrity": "sha512-/KsgfxDwP7/KXGrLLSyg4+Xd8HxmHi5dVCu+xHfa3QjzVIvvZfWZLxQj7guRlDtg/mz+t0/OSKvSUZzOAfVzGQ==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1478,9 +1481,9 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/animations": "20.2.4",- "@angular/common": "20.2.4",- "@angular/core": "20.2.4"+ "@angular/animations": "20.3.0",+ "@angular/common": "20.3.0",+ "@angular/core": "20.3.0"},"peerDependenciesMeta": {"@angular/animations": {@@ -1489,9 +1492,9 @@}},"node_modules/@angular/platform-browser-dynamic": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.2.4.tgz",- "integrity": "sha512-ktunGTMWuWtnKUicOdXjF8Nc1RInf78YW7TqMV35rF32VXpHwRRKw2M7OKViPk18MlbDE2pc5HCX558BEUla0A==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.3.0.tgz",+ "integrity": "sha512-8zu4naXyP926+UKTadMM7163sl3JaVY9SVL0qegK5TiB1s0l6vVQ125nzT1BI9HadvCLdtl5ZNZF4P87h7nfwg==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1500,16 +1503,16 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/common": "20.2.4",- "@angular/compiler": "20.2.4",- "@angular/core": "20.2.4",- "@angular/platform-browser": "20.2.4"+ "@angular/common": "20.3.0",+ "@angular/compiler": "20.3.0",+ "@angular/core": "20.3.0",+ "@angular/platform-browser": "20.3.0"}},"node_modules/@angular/router": {- "version": "20.2.4",- "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.2.4.tgz",- "integrity": "sha512-KoduI1o+iBfCBGtXMvmy/qncDIwGxd2hNt2hDkkiYZTftmSg/XUJDxJqN84ckm2WLkdJpR9EirrwfHapJBIZOQ==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.3.0.tgz",+ "integrity": "sha512-JshumajvPCMztz1+7r/l5tRxFL3cn2jCpr5szdc5hESkpytY4050hedd09GogL1UoIyZAjhyYLhSlMnvrgjHBA==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -1518,9 +1521,9 @@"node": "^20.19.0 || ^22.12.0 || >=24.0.0"},"peerDependencies": {- "@angular/common": "20.2.4",- "@angular/core": "20.2.4",- "@angular/platform-browser": "20.2.4",+ "@angular/common": "20.3.0",+ "@angular/core": "20.3.0",+ "@angular/platform-browser": "20.3.0","rxjs": "^6.5.3 || ^7.4.0"}},@@ -1681,51 +1684,51 @@}},"node_modules/@aws-sdk/client-sesv2": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-sesv2/-/client-sesv2-3.883.0.tgz",- "integrity": "sha512-3HVaYgOTk0WCGUKN26yb1OGMl7VIP5w+fjm5SKDupbP179KoFaG7UfzDspFrulYadIN+rOjAPIgNY9p128yAKQ==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sesv2/-/client-sesv2-3.890.0.tgz",+ "integrity": "sha512-AM9Lt4QkNet8xKgCwJxfkyqlorwG9S+tvtpSfHYCVq0j2Z6PbkDaUBnvwjGOMBV7Um5IzZ7yhvQXrBg7omZciQ==","dev": true,"license": "Apache-2.0","dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",- "@aws-sdk/core": "3.883.0",- "@aws-sdk/credential-provider-node": "3.883.0",- "@aws-sdk/middleware-host-header": "3.873.0",- "@aws-sdk/middleware-logger": "3.876.0",- "@aws-sdk/middleware-recursion-detection": "3.873.0",- "@aws-sdk/middleware-user-agent": "3.883.0",- "@aws-sdk/region-config-resolver": "3.873.0",- "@aws-sdk/signature-v4-multi-region": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@aws-sdk/util-endpoints": "3.879.0",- "@aws-sdk/util-user-agent-browser": "3.873.0",- "@aws-sdk/util-user-agent-node": "3.883.0",- "@smithy/config-resolver": "^4.1.5",- "@smithy/core": "^3.9.2",- "@smithy/fetch-http-handler": "^5.1.1",- "@smithy/hash-node": "^4.0.5",- "@smithy/invalid-dependency": "^4.0.5",- "@smithy/middleware-content-length": "^4.0.5",- "@smithy/middleware-endpoint": "^4.1.21",- "@smithy/middleware-retry": "^4.1.22",- "@smithy/middleware-serde": "^4.0.9",- "@smithy/middleware-stack": "^4.0.5",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/node-http-handler": "^4.1.1",- "@smithy/protocol-http": "^5.1.3",- "@smithy/smithy-client": "^4.5.2",- "@smithy/types": "^4.3.2",- "@smithy/url-parser": "^4.0.5",- "@smithy/util-base64": "^4.0.0",- "@smithy/util-body-length-browser": "^4.0.0",- "@smithy/util-body-length-node": "^4.0.0",- "@smithy/util-defaults-mode-browser": "^4.0.29",- "@smithy/util-defaults-mode-node": "^4.0.29",- "@smithy/util-endpoints": "^3.0.7",- "@smithy/util-middleware": "^4.0.5",- "@smithy/util-retry": "^4.0.7",- "@smithy/util-utf8": "^4.0.0",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/credential-provider-node": "3.890.0",+ "@aws-sdk/middleware-host-header": "3.887.0",+ "@aws-sdk/middleware-logger": "3.887.0",+ "@aws-sdk/middleware-recursion-detection": "3.887.0",+ "@aws-sdk/middleware-user-agent": "3.890.0",+ "@aws-sdk/region-config-resolver": "3.890.0",+ "@aws-sdk/signature-v4-multi-region": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@aws-sdk/util-endpoints": "3.890.0",+ "@aws-sdk/util-user-agent-browser": "3.887.0",+ "@aws-sdk/util-user-agent-node": "3.890.0",+ "@smithy/config-resolver": "^4.2.2",+ "@smithy/core": "^3.11.0",+ "@smithy/fetch-http-handler": "^5.2.1",+ "@smithy/hash-node": "^4.1.1",+ "@smithy/invalid-dependency": "^4.1.1",+ "@smithy/middleware-content-length": "^4.1.1",+ "@smithy/middleware-endpoint": "^4.2.2",+ "@smithy/middleware-retry": "^4.2.2",+ "@smithy/middleware-serde": "^4.1.1",+ "@smithy/middleware-stack": "^4.1.1",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/node-http-handler": "^4.2.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/url-parser": "^4.1.1",+ "@smithy/util-base64": "^4.1.0",+ "@smithy/util-body-length-browser": "^4.1.0",+ "@smithy/util-body-length-node": "^4.1.0",+ "@smithy/util-defaults-mode-browser": "^4.1.2",+ "@smithy/util-defaults-mode-node": "^4.1.2",+ "@smithy/util-endpoints": "^3.1.2",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-retry": "^4.1.1",+ "@smithy/util-utf8": "^4.1.0","tslib": "^2.6.2"},"engines": {@@ -1733,49 +1736,49 @@}},"node_modules/@aws-sdk/client-sso": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.883.0.tgz",- "integrity": "sha512-Ybjw76yPceEBO7+VLjy5+/Gr0A1UNymSDHda5w8tfsS2iHZt/vuD6wrYpHdLoUx4H5la8ZhwcSfK/+kmE+QLPw==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.890.0.tgz",+ "integrity": "sha512-vefYNwh/K5V5YiJpFJfoMPNqsoiRTqD7ZnkvR0cjJdwhOIwFnSKN1vz0OMjySTQmVMcG4JKGVul82ou7ErtOhQ==","dev": true,"license": "Apache-2.0","dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",- "@aws-sdk/core": "3.883.0",- "@aws-sdk/middleware-host-header": "3.873.0",- "@aws-sdk/middleware-logger": "3.876.0",- "@aws-sdk/middleware-recursion-detection": "3.873.0",- "@aws-sdk/middleware-user-agent": "3.883.0",- "@aws-sdk/region-config-resolver": "3.873.0",- "@aws-sdk/types": "3.862.0",- "@aws-sdk/util-endpoints": "3.879.0",- "@aws-sdk/util-user-agent-browser": "3.873.0",- "@aws-sdk/util-user-agent-node": "3.883.0",- "@smithy/config-resolver": "^4.1.5",- "@smithy/core": "^3.9.2",- "@smithy/fetch-http-handler": "^5.1.1",- "@smithy/hash-node": "^4.0.5",- "@smithy/invalid-dependency": "^4.0.5",- "@smithy/middleware-content-length": "^4.0.5",- "@smithy/middleware-endpoint": "^4.1.21",- "@smithy/middleware-retry": "^4.1.22",- "@smithy/middleware-serde": "^4.0.9",- "@smithy/middleware-stack": "^4.0.5",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/node-http-handler": "^4.1.1",- "@smithy/protocol-http": "^5.1.3",- "@smithy/smithy-client": "^4.5.2",- "@smithy/types": "^4.3.2",- "@smithy/url-parser": "^4.0.5",- "@smithy/util-base64": "^4.0.0",- "@smithy/util-body-length-browser": "^4.0.0",- "@smithy/util-body-length-node": "^4.0.0",- "@smithy/util-defaults-mode-browser": "^4.0.29",- "@smithy/util-defaults-mode-node": "^4.0.29",- "@smithy/util-endpoints": "^3.0.7",- "@smithy/util-middleware": "^4.0.5",- "@smithy/util-retry": "^4.0.7",- "@smithy/util-utf8": "^4.0.0",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/middleware-host-header": "3.887.0",+ "@aws-sdk/middleware-logger": "3.887.0",+ "@aws-sdk/middleware-recursion-detection": "3.887.0",+ "@aws-sdk/middleware-user-agent": "3.890.0",+ "@aws-sdk/region-config-resolver": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@aws-sdk/util-endpoints": "3.890.0",+ "@aws-sdk/util-user-agent-browser": "3.887.0",+ "@aws-sdk/util-user-agent-node": "3.890.0",+ "@smithy/config-resolver": "^4.2.2",+ "@smithy/core": "^3.11.0",+ "@smithy/fetch-http-handler": "^5.2.1",+ "@smithy/hash-node": "^4.1.1",+ "@smithy/invalid-dependency": "^4.1.1",+ "@smithy/middleware-content-length": "^4.1.1",+ "@smithy/middleware-endpoint": "^4.2.2",+ "@smithy/middleware-retry": "^4.2.2",+ "@smithy/middleware-serde": "^4.1.1",+ "@smithy/middleware-stack": "^4.1.1",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/node-http-handler": "^4.2.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/url-parser": "^4.1.1",+ "@smithy/util-base64": "^4.1.0",+ "@smithy/util-body-length-browser": "^4.1.0",+ "@smithy/util-body-length-node": "^4.1.0",+ "@smithy/util-defaults-mode-browser": "^4.1.2",+ "@smithy/util-defaults-mode-node": "^4.1.2",+ "@smithy/util-endpoints": "^3.1.2",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-retry": "^4.1.1",+ "@smithy/util-utf8": "^4.1.0","tslib": "^2.6.2"},"engines": {@@ -1783,25 +1786,25 @@}},"node_modules/@aws-sdk/core": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.883.0.tgz",- "integrity": "sha512-FmkqnqBLkXi4YsBPbF6vzPa0m4XKUuvgKDbamfw4DZX2CzfBZH6UU4IwmjNV3ZM38m0xraHarK8KIbGSadN3wg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.890.0.tgz",+ "integrity": "sha512-CT+yjhytHdyKvV3Nh/fqBjnZ8+UiQZVz4NMm4LrPATgVSOdfygXHqrWxrPTVgiBtuJWkotg06DF7+pTd5ekLBw==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@aws-sdk/xml-builder": "3.873.0",- "@smithy/core": "^3.9.2",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/property-provider": "^4.0.5",- "@smithy/protocol-http": "^5.1.3",- "@smithy/signature-v4": "^5.1.3",- "@smithy/smithy-client": "^4.5.2",- "@smithy/types": "^4.3.2",- "@smithy/util-base64": "^4.0.0",- "@smithy/util-body-length-browser": "^4.0.0",- "@smithy/util-middleware": "^4.0.5",- "@smithy/util-utf8": "^4.0.0",+ "@aws-sdk/types": "3.887.0",+ "@aws-sdk/xml-builder": "3.887.0",+ "@smithy/core": "^3.11.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/signature-v4": "^5.2.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/util-base64": "^4.1.0",+ "@smithy/util-body-length-browser": "^4.1.0",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-utf8": "^4.1.0","fast-xml-parser": "5.2.5","tslib": "^2.6.2"},@@ -1810,16 +1813,16 @@}},"node_modules/@aws-sdk/credential-provider-env": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.883.0.tgz",- "integrity": "sha512-Z6tPBXPCodfhIF1rvQKoeRGMkwL6TK0xdl1UoMIA1x4AfBpPICAF77JkFBExk/pdiFYq1d04Qzddd/IiujSlLg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.890.0.tgz",+ "integrity": "sha512-BtsUa2y0Rs8phmB2ScZ5RuPqZVmxJJXjGfeiXctmLFTxTwoayIK1DdNzOWx6SRMPVc3s2RBGN4vO7T1TwN+ajA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/property-provider": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1827,21 +1830,21 @@}},"node_modules/@aws-sdk/credential-provider-http": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.883.0.tgz",- "integrity": "sha512-P589ug1lMOOEYLTaQJjSP+Gee34za8Kk2LfteNQfO9SpByHFgGj++Sg8VyIe30eZL8Q+i4qTt24WDCz1c+dgYg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.890.0.tgz",+ "integrity": "sha512-0sru3LVwsuGYyzbD90EC/d5HnCZ9PL4O9BA2LYT6b9XceC005Oj86uzE47LXb+mDhTAt3T6ZO0+ZcVQe0DDi8w==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/fetch-http-handler": "^5.1.1",- "@smithy/node-http-handler": "^4.1.1",- "@smithy/property-provider": "^4.0.5",- "@smithy/protocol-http": "^5.1.3",- "@smithy/smithy-client": "^4.5.2",- "@smithy/types": "^4.3.2",- "@smithy/util-stream": "^4.2.4",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/fetch-http-handler": "^5.2.1",+ "@smithy/node-http-handler": "^4.2.1",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/util-stream": "^4.3.1","tslib": "^2.6.2"},"engines": {@@ -1849,24 +1852,24 @@}},"node_modules/@aws-sdk/credential-provider-ini": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.883.0.tgz",- "integrity": "sha512-n6z9HTzuDEdugXvPiE/95VJXbF4/gBffdV/SRHDJKtDHaRuvp/gggbfmfVSTFouGVnlKPb2pQWQsW3Nr/Y3Lrw==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.890.0.tgz",+ "integrity": "sha512-Mxv7ByftHKH7dE6YXu9gQ6ODXwO1iSO32t8tBrZLS3g8K1knWADIqDFv3yErQtJ8hp27IDxbAbVH/1RQdSkmhA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/credential-provider-env": "3.883.0",- "@aws-sdk/credential-provider-http": "3.883.0",- "@aws-sdk/credential-provider-process": "3.883.0",- "@aws-sdk/credential-provider-sso": "3.883.0",- "@aws-sdk/credential-provider-web-identity": "3.883.0",- "@aws-sdk/nested-clients": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/credential-provider-imds": "^4.0.7",- "@smithy/property-provider": "^4.0.5",- "@smithy/shared-ini-file-loader": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/credential-provider-env": "3.890.0",+ "@aws-sdk/credential-provider-http": "3.890.0",+ "@aws-sdk/credential-provider-process": "3.890.0",+ "@aws-sdk/credential-provider-sso": "3.890.0",+ "@aws-sdk/credential-provider-web-identity": "3.890.0",+ "@aws-sdk/nested-clients": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/credential-provider-imds": "^4.1.2",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1874,23 +1877,23 @@}},"node_modules/@aws-sdk/credential-provider-node": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.883.0.tgz",- "integrity": "sha512-QIUhsatsrwfB9ZsKpmi0EySSfexVP61wgN7hr493DOileh2QsKW4XATEfsWNmx0dj9323Vg1Mix7bXtRfl9cGg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.890.0.tgz",+ "integrity": "sha512-zbPz3mUtaBdch0KoH8/LouRDcYSzyT2ecyCOo5OAFVil7AxT1jvsn4vX78FlnSVpZ4mLuHY8pHTVGi235XiyBA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/credential-provider-env": "3.883.0",- "@aws-sdk/credential-provider-http": "3.883.0",- "@aws-sdk/credential-provider-ini": "3.883.0",- "@aws-sdk/credential-provider-process": "3.883.0",- "@aws-sdk/credential-provider-sso": "3.883.0",- "@aws-sdk/credential-provider-web-identity": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/credential-provider-imds": "^4.0.7",- "@smithy/property-provider": "^4.0.5",- "@smithy/shared-ini-file-loader": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/credential-provider-env": "3.890.0",+ "@aws-sdk/credential-provider-http": "3.890.0",+ "@aws-sdk/credential-provider-ini": "3.890.0",+ "@aws-sdk/credential-provider-process": "3.890.0",+ "@aws-sdk/credential-provider-sso": "3.890.0",+ "@aws-sdk/credential-provider-web-identity": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/credential-provider-imds": "^4.1.2",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1898,17 +1901,17 @@}},"node_modules/@aws-sdk/credential-provider-process": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.883.0.tgz",- "integrity": "sha512-m1shbHY/Vppy4EdddG9r8x64TO/9FsCjokp5HbKcZvVoTOTgUJrdT8q2TAQJ89+zYIJDqsKbqfrmfwJ1zOdnGQ==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.890.0.tgz",+ "integrity": "sha512-dWZ54TI1Q+UerF5YOqGiCzY+x2YfHsSQvkyM3T4QDNTJpb/zjiVv327VbSOULOlI7gHKWY/G3tMz0D9nWI7YbA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/property-provider": "^4.0.5",- "@smithy/shared-ini-file-loader": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1916,19 +1919,19 @@}},"node_modules/@aws-sdk/credential-provider-sso": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.883.0.tgz",- "integrity": "sha512-37ve9Tult08HLXrJFHJM/sGB/vO7wzI6v1RUUfeTiShqx8ZQ5fTzCTNY/duO96jCtCexmFNSycpQzh7lDIf0aA==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.890.0.tgz",+ "integrity": "sha512-ajYCZ6f2+98w8zG/IXcQ+NhWYoI5qPUDovw+gMqMWX/jL1cmZ9PFAwj2Vyq9cbjum5RNWwPLArWytTCgJex4AQ==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/client-sso": "3.883.0",- "@aws-sdk/core": "3.883.0",- "@aws-sdk/token-providers": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/property-provider": "^4.0.5",- "@smithy/shared-ini-file-loader": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/client-sso": "3.890.0",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/token-providers": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1936,17 +1939,18 @@}},"node_modules/@aws-sdk/credential-provider-web-identity": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.883.0.tgz",- "integrity": "sha512-SL82K9Jb0vpuTadqTO4Fpdu7SKtebZ3Yo4LZvk/U0UauVMlJj5ZTos0mFx1QSMB9/4TpqifYrSZcdnxgYg8Eqw==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.890.0.tgz",+ "integrity": "sha512-qZ2Mx7BeYR1s0F/H6wePI0MAmkFswmBgrpgMCOt2S4b2IpQPnUa2JbxY3GwW2WqX3nV0KjPW08ctSLMmlq/tKA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/nested-clients": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/property-provider": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/nested-clients": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1954,15 +1958,15 @@}},"node_modules/@aws-sdk/middleware-host-header": {- "version": "3.873.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.873.0.tgz",- "integrity": "sha512-KZ/W1uruWtMOs7D5j3KquOxzCnV79KQW9MjJFZM/M0l6KI8J6V3718MXxFHsTjUE4fpdV6SeCNLV1lwGygsjJA==",+ "version": "3.887.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.887.0.tgz",+ "integrity": "sha512-ulzqXv6NNqdu/kr0sgBYupWmahISHY+azpJidtK6ZwQIC+vBUk9NdZeqQpy7KVhIk2xd4+5Oq9rxapPwPI21CA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@smithy/protocol-http": "^5.1.3",- "@smithy/types": "^4.3.2",+ "@aws-sdk/types": "3.887.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1970,14 +1974,14 @@}},"node_modules/@aws-sdk/middleware-logger": {- "version": "3.876.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.876.0.tgz",- "integrity": "sha512-cpWJhOuMSyz9oV25Z/CMHCBTgafDCbv7fHR80nlRrPdPZ8ETNsahwRgltXP1QJJ8r3X/c1kwpOR7tc+RabVzNA==",+ "version": "3.887.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.887.0.tgz",+ "integrity": "sha512-YbbgLI6jKp2qSoAcHnXrQ5jcuc5EYAmGLVFgMVdk8dfCfJLfGGSaOLxF4CXC7QYhO50s+mPPkhBYejCik02Kug==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@smithy/types": "^4.3.2",+ "@aws-sdk/types": "3.887.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -1985,15 +1989,16 @@}},"node_modules/@aws-sdk/middleware-recursion-detection": {- "version": "3.873.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.873.0.tgz",- "integrity": "sha512-OtgY8EXOzRdEWR//WfPkA/fXl0+WwE8hq0y9iw2caNyKPtca85dzrrZWnPqyBK/cpImosrpR1iKMYr41XshsCg==",+ "version": "3.887.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.887.0.tgz",+ "integrity": "sha512-tjrUXFtQnFLo+qwMveq5faxP5MQakoLArXtqieHphSqZTXm21wDJM73hgT4/PQQGTwgYjDKqnqsE1hvk0hcfDw==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@smithy/protocol-http": "^5.1.3",- "@smithy/types": "^4.3.2",+ "@aws-sdk/types": "3.887.0",+ "@aws/lambda-invoke-store": "^0.0.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -2001,25 +2006,25 @@}},"node_modules/@aws-sdk/middleware-sdk-s3": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.883.0.tgz",- "integrity": "sha512-i4sGOj9xhSN6/LkYj3AJ2SRWENnpN9JySwNqIoRqO1Uon8gfyNLJd1yV+s43vXQsU5wbKWVXK8l9SRo+vNTQwg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.890.0.tgz",+ "integrity": "sha512-58P1lrE606zpp29xH9Keh3j2BWfa2ciGBtygJTpulRMlqPL3U1gFfU2g5nDYJbjKgRtCgNIBqfmtkL4eikCb9w==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/types": "3.862.0",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/types": "3.887.0","@aws-sdk/util-arn-parser": "3.873.0",- "@smithy/core": "^3.9.2",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/protocol-http": "^5.1.3",- "@smithy/signature-v4": "^5.1.3",- "@smithy/smithy-client": "^4.5.2",- "@smithy/types": "^4.3.2",- "@smithy/util-config-provider": "^4.0.0",- "@smithy/util-middleware": "^4.0.5",- "@smithy/util-stream": "^4.2.4",- "@smithy/util-utf8": "^4.0.0",+ "@smithy/core": "^3.11.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/signature-v4": "^5.2.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/util-config-provider": "^4.1.0",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-stream": "^4.3.1",+ "@smithy/util-utf8": "^4.1.0","tslib": "^2.6.2"},"engines": {@@ -2027,18 +2032,18 @@}},"node_modules/@aws-sdk/middleware-user-agent": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.883.0.tgz",- "integrity": "sha512-q58uLYnGLg7hsnWpdj7Cd1Ulsq1/PUJOHvAfgcBuiDE/+Fwh0DZxZZyjrU+Cr+dbeowIdUaOO8BEDDJ0CUenJw==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.890.0.tgz",+ "integrity": "sha512-x4+gLrOFGN7PnfxCaQbs3QEF8bMQE4CVxcOp066UEJqr2Pn4yB12Q3O+YntOtESK5NcTxIh7JlhGss95EHzNng==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@aws-sdk/util-endpoints": "3.879.0",- "@smithy/core": "^3.9.2",- "@smithy/protocol-http": "^5.1.3",- "@smithy/types": "^4.3.2",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@aws-sdk/util-endpoints": "3.890.0",+ "@smithy/core": "^3.11.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -2046,49 +2051,49 @@}},"node_modules/@aws-sdk/nested-clients": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.883.0.tgz",- "integrity": "sha512-IhzDM+v0ga53GOOrZ9jmGNr7JU5OR6h6ZK9NgB7GXaa+gsDbqfUuXRwyKDYXldrTXf1sUR3vy1okWDXA7S2ejQ==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.890.0.tgz",+ "integrity": "sha512-D5qVNd+qlqdL8duJShzffAqPllGRA4tG7n/GEpL13eNfHChPvGkkUFBMrxSgCAETaTna13G6kq+dMO+SAdbm1A==","dev": true,"license": "Apache-2.0","dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",- "@aws-sdk/core": "3.883.0",- "@aws-sdk/middleware-host-header": "3.873.0",- "@aws-sdk/middleware-logger": "3.876.0",- "@aws-sdk/middleware-recursion-detection": "3.873.0",- "@aws-sdk/middleware-user-agent": "3.883.0",- "@aws-sdk/region-config-resolver": "3.873.0",- "@aws-sdk/types": "3.862.0",- "@aws-sdk/util-endpoints": "3.879.0",- "@aws-sdk/util-user-agent-browser": "3.873.0",- "@aws-sdk/util-user-agent-node": "3.883.0",- "@smithy/config-resolver": "^4.1.5",- "@smithy/core": "^3.9.2",- "@smithy/fetch-http-handler": "^5.1.1",- "@smithy/hash-node": "^4.0.5",- "@smithy/invalid-dependency": "^4.0.5",- "@smithy/middleware-content-length": "^4.0.5",- "@smithy/middleware-endpoint": "^4.1.21",- "@smithy/middleware-retry": "^4.1.22",- "@smithy/middleware-serde": "^4.0.9",- "@smithy/middleware-stack": "^4.0.5",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/node-http-handler": "^4.1.1",- "@smithy/protocol-http": "^5.1.3",- "@smithy/smithy-client": "^4.5.2",- "@smithy/types": "^4.3.2",- "@smithy/url-parser": "^4.0.5",- "@smithy/util-base64": "^4.0.0",- "@smithy/util-body-length-browser": "^4.0.0",- "@smithy/util-body-length-node": "^4.0.0",- "@smithy/util-defaults-mode-browser": "^4.0.29",- "@smithy/util-defaults-mode-node": "^4.0.29",- "@smithy/util-endpoints": "^3.0.7",- "@smithy/util-middleware": "^4.0.5",- "@smithy/util-retry": "^4.0.7",- "@smithy/util-utf8": "^4.0.0",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/middleware-host-header": "3.887.0",+ "@aws-sdk/middleware-logger": "3.887.0",+ "@aws-sdk/middleware-recursion-detection": "3.887.0",+ "@aws-sdk/middleware-user-agent": "3.890.0",+ "@aws-sdk/region-config-resolver": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@aws-sdk/util-endpoints": "3.890.0",+ "@aws-sdk/util-user-agent-browser": "3.887.0",+ "@aws-sdk/util-user-agent-node": "3.890.0",+ "@smithy/config-resolver": "^4.2.2",+ "@smithy/core": "^3.11.0",+ "@smithy/fetch-http-handler": "^5.2.1",+ "@smithy/hash-node": "^4.1.1",+ "@smithy/invalid-dependency": "^4.1.1",+ "@smithy/middleware-content-length": "^4.1.1",+ "@smithy/middleware-endpoint": "^4.2.2",+ "@smithy/middleware-retry": "^4.2.2",+ "@smithy/middleware-serde": "^4.1.1",+ "@smithy/middleware-stack": "^4.1.1",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/node-http-handler": "^4.2.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/url-parser": "^4.1.1",+ "@smithy/util-base64": "^4.1.0",+ "@smithy/util-body-length-browser": "^4.1.0",+ "@smithy/util-body-length-node": "^4.1.0",+ "@smithy/util-defaults-mode-browser": "^4.1.2",+ "@smithy/util-defaults-mode-node": "^4.1.2",+ "@smithy/util-endpoints": "^3.1.2",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-retry": "^4.1.1",+ "@smithy/util-utf8": "^4.1.0","tslib": "^2.6.2"},"engines": {@@ -2096,17 +2101,17 @@}},"node_modules/@aws-sdk/region-config-resolver": {- "version": "3.873.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.873.0.tgz",- "integrity": "sha512-q9sPoef+BBG6PJnc4x60vK/bfVwvRWsPgcoQyIra057S/QGjq5VkjvNk6H8xedf6vnKlXNBwq9BaANBXnldUJg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.890.0.tgz",+ "integrity": "sha512-VfdT+tkF9groRYNzKvQCsCGDbOQdeBdzyB1d6hWiq22u13UafMIoskJ1ec0i0H1X29oT6mjTitfnvPq1UiKwzQ==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/types": "^4.3.2",- "@smithy/util-config-provider": "^4.0.0",- "@smithy/util-middleware": "^4.0.5",+ "@aws-sdk/types": "3.887.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/types": "^4.5.0",+ "@smithy/util-config-provider": "^4.1.0",+ "@smithy/util-middleware": "^4.1.1","tslib": "^2.6.2"},"engines": {@@ -2114,17 +2119,17 @@}},"node_modules/@aws-sdk/signature-v4-multi-region": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.883.0.tgz",- "integrity": "sha512-86PO7+xhuQ48cD3xlZgEpRxVP1lBarWAJy23sB6zZLHgZSbnYXYjRFuyxX4PlFzqllM3PDKJvq3WnXeqSXeNsg==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.890.0.tgz",+ "integrity": "sha512-il8kb2/wDLXhemN3p7v4MvbvqoMuo7Ug3ihuIUIhPtSVjcnn+BISJU0S+5YTl8TXf6qxML9VrfxL0pmuhO3BsA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/middleware-sdk-s3": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/protocol-http": "^5.1.3",- "@smithy/signature-v4": "^5.1.3",- "@smithy/types": "^4.3.2",+ "@aws-sdk/middleware-sdk-s3": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/signature-v4": "^5.2.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -2132,18 +2137,18 @@}},"node_modules/@aws-sdk/token-providers": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.883.0.tgz",- "integrity": "sha512-tcj/Z5paGn9esxhmmkEW7gt39uNoIRbXG1UwJrfKu4zcTr89h86PDiIE2nxUO3CMQf1KgncPpr5WouPGzkh/QQ==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.890.0.tgz",+ "integrity": "sha512-+pK/0iQEpPmnztbAw0NNmb+B5pPy8VLu+Ab4SJLgVp41RE9NO13VQtrzUbh61TTAVMrzqWlLQ2qmAl2Fk4VNgw==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "3.883.0",- "@aws-sdk/nested-clients": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/property-provider": "^4.0.5",- "@smithy/shared-ini-file-loader": "^4.0.5",- "@smithy/types": "^4.3.2",+ "@aws-sdk/core": "3.890.0",+ "@aws-sdk/nested-clients": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -2151,13 +2156,13 @@}},"node_modules/@aws-sdk/types": {- "version": "3.862.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.862.0.tgz",- "integrity": "sha512-Bei+RL0cDxxV+lW2UezLbCYYNeJm6Nzee0TpW0FfyTRBhH9C1XQh4+x+IClriXvgBnRquTMMYsmJfvx8iyLKrg==",+ "version": "3.887.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.887.0.tgz",+ "integrity": "sha512-fmTEJpUhsPsovQ12vZSpVTEP/IaRoJAMBGQXlQNjtCpkBp6Iq3KQDa/HDaPINE+3xxo6XvTdtibsNOd5zJLV9A==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.3.2",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -2178,16 +2183,16 @@}},"node_modules/@aws-sdk/util-endpoints": {- "version": "3.879.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.879.0.tgz",- "integrity": "sha512-aVAJwGecYoEmbEFju3127TyJDF9qJsKDUUTRMDuS8tGn+QiWQFnfInmbt+el9GU1gEJupNTXV+E3e74y51fb7A==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.890.0.tgz",+ "integrity": "sha512-nJ8v1x9ZQKzMRK4dS4oefOMIHqb6cguctTcx1RB9iTaFOR5pP7bvq+D4mvNZ6vBxiHg1dQGBUUgl5XJmdR7atQ==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@smithy/types": "^4.3.2",- "@smithy/url-parser": "^4.0.5",- "@smithy/util-endpoints": "^3.0.7",+ "@aws-sdk/types": "3.887.0",+ "@smithy/types": "^4.5.0",+ "@smithy/url-parser": "^4.1.1",+ "@smithy/util-endpoints": "^3.1.2","tslib": "^2.6.2"},"engines": {@@ -2208,29 +2213,29 @@}},"node_modules/@aws-sdk/util-user-agent-browser": {- "version": "3.873.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.873.0.tgz",- "integrity": "sha512-AcRdbK6o19yehEcywI43blIBhOCSo6UgyWcuOJX5CFF8k39xm1ILCjQlRRjchLAxWrm0lU0Q7XV90RiMMFMZtA==",+ "version": "3.887.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.887.0.tgz",+ "integrity": "sha512-X71UmVsYc6ZTH4KU6hA5urOzYowSXc3qvroagJNLJYU1ilgZ529lP4J9XOYfEvTXkLR1hPFSRxa43SrwgelMjA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "3.862.0",- "@smithy/types": "^4.3.2",+ "@aws-sdk/types": "3.887.0",+ "@smithy/types": "^4.5.0","bowser": "^2.11.0","tslib": "^2.6.2"}},"node_modules/@aws-sdk/util-user-agent-node": {- "version": "3.883.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.883.0.tgz",- "integrity": "sha512-28cQZqC+wsKUHGpTBr+afoIdjS6IoEJkMqcZsmo2Ag8LzmTa6BUWQenFYB0/9BmDy4PZFPUn+uX+rJgWKB+jzA==",+ "version": "3.890.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.890.0.tgz",+ "integrity": "sha512-s85NkCxKoAlUvx7UP7OelxLqwTi27Tps9/Q+4N+9rEUjThxEnDsqJSStJ1XiYhddz1xc/vxMvPjYN0qX6EKPtA==","dev": true,"license": "Apache-2.0","dependencies": {- "@aws-sdk/middleware-user-agent": "3.883.0",- "@aws-sdk/types": "3.862.0",- "@smithy/node-config-provider": "^4.1.4",- "@smithy/types": "^4.3.2",+ "@aws-sdk/middleware-user-agent": "3.890.0",+ "@aws-sdk/types": "3.887.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -2246,19 +2251,29 @@}},"node_modules/@aws-sdk/xml-builder": {- "version": "3.873.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.873.0.tgz",- "integrity": "sha512-kLO7k7cGJ6KaHiExSJWojZurF7SnGMDHXRuQunFnEoD0n1yB6Lqy/S/zHiQ7oJnBhPr9q0TW9qFkrsZb1Uc54w==",+ "version": "3.887.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.887.0.tgz",+ "integrity": "sha512-lMwgWK1kNgUhHGfBvO/5uLe7TKhycwOn3eRCqsKPT9aPCx/HWuTlpcQp8oW2pCRGLS7qzcxqpQulcD+bbUL7XQ==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.3.2",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {"node": ">=18.0.0"}},+ "node_modules/@aws/lambda-invoke-store": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.0.1.tgz",+ "integrity": "sha512-ORHRQ2tmvnBXc8t/X9Z8IcSbBA4xTLKuN873FopzklHMeqBst7YG0d+AX97inkvDX+NChYtSr+qGfcqGFaI8Zw==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18.0.0"+ }+ },"node_modules/@babel/code-frame": {"version": "7.27.1","resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",@@ -4517,17 +4532,27 @@"node": ">=6.9.0"}},+ "node_modules/@inquirer/ansi": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.0.tgz",+ "integrity": "sha512-JWaTfCxI1eTmJ1BIv86vUfjVatOdxwD0DAVKYevY8SazeUUZtW+tNbsdejVO1GYE0GXJW1N1ahmiC3TFd+7wZA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },"node_modules/@inquirer/checkbox": {- "version": "4.2.2",- "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.2.tgz",- "integrity": "sha512-E+KExNurKcUJJdxmjglTl141EwxWyAHplvsYJQgSwXf8qiNWkTxTuCCqmhFEmbIXd4zLaGMfQFJ6WrZ7fSeV3g==",+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.4.tgz",+ "integrity": "sha512-2n9Vgf4HSciFq8ttKXk+qy+GsyTXPV1An6QAwe/8bkbbqvG4VW1I/ZY1pNu2rf+h9bdzMLPbRSfcNxkHBy/Ydw==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/ansi": "^1.0.0",+ "@inquirer/core": "^10.2.2","@inquirer/figures": "^1.0.13","@inquirer/type": "^3.0.8",- "ansi-escapes": "^4.3.2","yoctocolors-cjs": "^2.1.2"},"engines": {@@ -4565,15 +4590,15 @@}},"node_modules/@inquirer/core": {- "version": "10.2.0",- "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.2.0.tgz",- "integrity": "sha512-NyDSjPqhSvpZEMZrLCYUquWNl+XC/moEcVFqS55IEYIYsY0a1cUCevSqk7ctOlnm/RaSBU5psFryNlxcmGrjaA==",+ "version": "10.2.2",+ "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.2.2.tgz",+ "integrity": "sha512-yXq/4QUnk4sHMtmbd7irwiepjB8jXU0kkFRL4nr/aDBA2mDz13cMakEWdDwX3eSCTkk03kwcndD1zfRAIlELxA==","dev": true,"license": "MIT","dependencies": {+ "@inquirer/ansi": "^1.0.0","@inquirer/figures": "^1.0.13","@inquirer/type": "^3.0.8",- "ansi-escapes": "^4.3.2","cli-width": "^4.1.0","mute-stream": "^2.0.0","signal-exit": "^4.1.0",@@ -4644,14 +4669,14 @@}},"node_modules/@inquirer/editor": {- "version": "4.2.18",- "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.18.tgz",- "integrity": "sha512-yeQN3AXjCm7+Hmq5L6Dm2wEDeBRdAZuyZ4I7tWSSanbxDzqM0KqzoDbKM7p4ebllAYdoQuPJS6N71/3L281i6w==",+ "version": "4.2.20",+ "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.20.tgz",+ "integrity": "sha512-7omh5y5bK672Q+Brk4HBbnHNowOZwrb/78IFXdrEB9PfdxL3GudQyDk8O9vQ188wj3xrEebS2M9n18BjJoI83g==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",- "@inquirer/external-editor": "^1.0.1",+ "@inquirer/core": "^10.2.2",+ "@inquirer/external-editor": "^1.0.2","@inquirer/type": "^3.0.8"},"engines": {@@ -4667,13 +4692,13 @@}},"node_modules/@inquirer/expand": {- "version": "4.0.18",- "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.18.tgz",- "integrity": "sha512-xUjteYtavH7HwDMzq4Cn2X4Qsh5NozoDHCJTdoXg9HfZ4w3R6mxV1B9tL7DGJX2eq/zqtsFjhm0/RJIMGlh3ag==",+ "version": "4.0.20",+ "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.20.tgz",+ "integrity": "sha512-Dt9S+6qUg94fEvgn54F2Syf0Z3U8xmnBI9ATq2f5h9xt09fs2IJXSCIXyyVHwvggKWFXEY/7jATRo2K6Dkn6Ow==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/core": "^10.2.2","@inquirer/type": "^3.0.8","yoctocolors-cjs": "^2.1.2"},@@ -4690,14 +4715,14 @@}},"node_modules/@inquirer/external-editor": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz",- "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==",+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.2.tgz",+ "integrity": "sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==","dev": true,"license": "MIT","dependencies": {"chardet": "^2.1.0",- "iconv-lite": "^0.6.3"+ "iconv-lite": "^0.7.0"},"engines": {"node": ">=18"@@ -4711,6 +4736,23 @@}}},+ "node_modules/@inquirer/external-editor/node_modules/iconv-lite": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",+ "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },"node_modules/@inquirer/figures": {"version": "1.0.13","resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.13.tgz",@@ -4722,13 +4764,13 @@}},"node_modules/@inquirer/input": {- "version": "4.2.2",- "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.2.tgz",- "integrity": "sha512-hqOvBZj/MhQCpHUuD3MVq18SSoDNHy7wEnQ8mtvs71K8OPZVXJinOzcvQna33dNYLYE4LkA9BlhAhK6MJcsVbw==",+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.4.tgz",+ "integrity": "sha512-cwSGpLBMwpwcZZsc6s1gThm0J+it/KIJ+1qFL2euLmSKUMGumJ5TcbMgxEjMjNHRGadouIYbiIgruKoDZk7klw==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/core": "^10.2.2","@inquirer/type": "^3.0.8"},"engines": {@@ -4744,13 +4786,13 @@}},"node_modules/@inquirer/number": {- "version": "3.0.18",- "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.18.tgz",- "integrity": "sha512-7exgBm52WXZRczsydCVftozFTrrwbG5ySE0GqUd2zLNSBXyIucs2Wnm7ZKLe/aUu6NUg9dg7Q80QIHCdZJiY4A==",+ "version": "3.0.20",+ "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.20.tgz",+ "integrity": "sha512-bbooay64VD1Z6uMfNehED2A2YOPHSJnQLs9/4WNiV/EK+vXczf/R988itL2XLDGTgmhMF2KkiWZo+iEZmc4jqg==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/core": "^10.2.2","@inquirer/type": "^3.0.8"},"engines": {@@ -4766,15 +4808,15 @@}},"node_modules/@inquirer/password": {- "version": "4.0.18",- "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.18.tgz",- "integrity": "sha512-zXvzAGxPQTNk/SbT3carAD4Iqi6A2JS2qtcqQjsL22uvD+JfQzUrDEtPjLL7PLn8zlSNyPdY02IiQjzoL9TStA==",+ "version": "4.0.20",+ "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.20.tgz",+ "integrity": "sha512-nxSaPV2cPvvoOmRygQR+h0B+Av73B01cqYLcr7NXcGXhbmsYfUb8fDdw2Us1bI2YsX+VvY7I7upgFYsyf8+Nug==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",- "@inquirer/type": "^3.0.8",- "ansi-escapes": "^4.3.2"+ "@inquirer/ansi": "^1.0.0",+ "@inquirer/core": "^10.2.2",+ "@inquirer/type": "^3.0.8"},"engines": {"node": ">=18"@@ -4819,13 +4861,13 @@}},"node_modules/@inquirer/rawlist": {- "version": "4.1.6",- "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.6.tgz",- "integrity": "sha512-KOZqa3QNr3f0pMnufzL7K+nweFFCCBs6LCXZzXDrVGTyssjLeudn5ySktZYv1XiSqobyHRYYK0c6QsOxJEhXKA==",+ "version": "4.1.8",+ "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.8.tgz",+ "integrity": "sha512-CQ2VkIASbgI2PxdzlkeeieLRmniaUU1Aoi5ggEdm6BIyqopE9GuDXdDOj9XiwOqK5qm72oI2i6J+Gnjaa26ejg==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/core": "^10.2.2","@inquirer/type": "^3.0.8","yoctocolors-cjs": "^2.1.2"},@@ -4842,13 +4884,13 @@}},"node_modules/@inquirer/search": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.1.1.tgz",- "integrity": "sha512-TkMUY+A2p2EYVY3GCTItYGvqT6LiLzHBnqsU1rJbrpXUijFfM6zvUx0R4civofVwFCmJZcKqOVwwWAjplKkhxA==",+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.1.3.tgz",+ "integrity": "sha512-D5T6ioybJJH0IiSUK/JXcoRrrm8sXwzrVMjibuPs+AgxmogKslaafy1oxFiorNI4s3ElSkeQZbhYQgLqiL8h6Q==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/core": "^10.2.2","@inquirer/figures": "^1.0.13","@inquirer/type": "^3.0.8","yoctocolors-cjs": "^2.1.2"@@ -4866,16 +4908,16 @@}},"node_modules/@inquirer/select": {- "version": "4.3.2",- "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.3.2.tgz",- "integrity": "sha512-nwous24r31M+WyDEHV+qckXkepvihxhnyIaod2MG7eCE6G0Zm/HUF6jgN8GXgf4U7AU6SLseKdanY195cwvU6w==",+ "version": "4.3.4",+ "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.3.4.tgz",+ "integrity": "sha512-Qp20nySRmfbuJBBsgPU7E/cL62Hf250vMZRzYDcBHty2zdD1kKCnoDFWRr0WO2ZzaXp3R7a4esaVGJUx0E6zvA==","dev": true,"license": "MIT","dependencies": {- "@inquirer/core": "^10.2.0",+ "@inquirer/ansi": "^1.0.0",+ "@inquirer/core": "^10.2.2","@inquirer/figures": "^1.0.13","@inquirer/type": "^3.0.8",- "ansi-escapes": "^4.3.2","yoctocolors-cjs": "^2.1.2"},"engines": {@@ -6163,9 +6205,9 @@"license": "MIT"},"node_modules/@jridgewell/trace-mapping": {- "version": "0.3.30",- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz",- "integrity": "sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==",+ "version": "0.3.31",+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==","dev": true,"license": "MIT","dependencies": {@@ -6958,16 +7000,16 @@}},"node_modules/@napi-rs/wasm-runtime": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.3.tgz",- "integrity": "sha512-rZxtMsLwjdXkMUGC3WwsPwLNVqVqnTJT6MNIB6e+5fhMcSCPP0AOsNWuMQ5mdCq6HNjs/ZeWAEchpqeprqBD2Q==",+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.5.tgz",+ "integrity": "sha512-TBr9Cf9onSAS2LQ2+QHx6XcC6h9+RIzJgbqG3++9TUZSH204AwEy5jg3BTQ0VATsyoGj4ee49tN/y6rvaOOtcg==","dev": true,"license": "MIT","optional": true,"dependencies": {- "@emnapi/core": "^1.4.5",- "@emnapi/runtime": "^1.4.5",- "@tybys/wasm-util": "^0.10.0"+ "@emnapi/core": "^1.5.0",+ "@emnapi/runtime": "^1.5.0",+ "@tybys/wasm-util": "^0.10.1"}},"node_modules/@nestjs/axios": {@@ -9058,9 +9100,9 @@"license": "MIT"},"node_modules/@rollup/rollup-android-arm-eabi": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.50.1.tgz",- "integrity": "sha512-HJXwzoZN4eYTdD8bVV22DN8gsPCAj3V20NHKOs8ezfXanGpmVPR7kalUHd+Y31IJp9stdB87VKPFbsGY3H/2ag==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.50.2.tgz",+ "integrity": "sha512-uLN8NAiFVIRKX9ZQha8wy6UUs06UNSZ32xj6giK/rmMXAgKahwExvK6SsmgU5/brh4w/nSgj8e0k3c1HBQpa0A==","cpu": ["arm"],@@ -9072,9 +9114,9 @@]},"node_modules/@rollup/rollup-android-arm64": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.50.1.tgz",- "integrity": "sha512-PZlsJVcjHfcH53mOImyt3bc97Ep3FJDXRpk9sMdGX0qgLmY0EIWxCag6EigerGhLVuL8lDVYNnSo8qnTElO4xw==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.50.2.tgz",+ "integrity": "sha512-oEouqQk2/zxxj22PNcGSskya+3kV0ZKH+nQxuCCOGJ4oTXBdNTbv+f/E3c74cNLeMO1S5wVWacSws10TTSB77g==","cpu": ["arm64"],@@ -9086,9 +9128,9 @@]},"node_modules/@rollup/rollup-darwin-arm64": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.50.1.tgz",- "integrity": "sha512-xc6i2AuWh++oGi4ylOFPmzJOEeAa2lJeGUGb4MudOtgfyyjr4UPNK+eEWTPLvmPJIY/pgw6ssFIox23SyrkkJw==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.50.2.tgz",+ "integrity": "sha512-OZuTVTpj3CDSIxmPgGH8en/XtirV5nfljHZ3wrNwvgkT5DQLhIKAeuFSiwtbMto6oVexV0k1F1zqURPKf5rI1Q==","cpu": ["arm64"],@@ -9100,9 +9142,9 @@]},"node_modules/@rollup/rollup-darwin-x64": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.50.1.tgz",- "integrity": "sha512-2ofU89lEpDYhdLAbRdeyz/kX3Y2lpYc6ShRnDjY35bZhd2ipuDMDi6ZTQ9NIag94K28nFMofdnKeHR7BT0CATw==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.50.2.tgz",+ "integrity": "sha512-Wa/Wn8RFkIkr1vy1k1PB//VYhLnlnn5eaJkfTQKivirOvzu5uVd2It01ukeQstMursuz7S1bU+8WW+1UPXpa8A==","cpu": ["x64"],@@ -9114,9 +9156,9 @@]},"node_modules/@rollup/rollup-freebsd-arm64": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.50.1.tgz",- "integrity": "sha512-wOsE6H2u6PxsHY/BeFHA4VGQN3KUJFZp7QJBmDYI983fgxq5Th8FDkVuERb2l9vDMs1D5XhOrhBrnqcEY6l8ZA==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.50.2.tgz",+ "integrity": "sha512-QkzxvH3kYN9J1w7D1A+yIMdI1pPekD+pWx7G5rXgnIlQ1TVYVC6hLl7SOV9pi5q9uIDF9AuIGkuzcbF7+fAhow==","cpu": ["arm64"],@@ -9128,9 +9170,9 @@]},"node_modules/@rollup/rollup-freebsd-x64": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.50.1.tgz",- "integrity": "sha512-A/xeqaHTlKbQggxCqispFAcNjycpUEHP52mwMQZUNqDUJFFYtPHCXS1VAG29uMlDzIVr+i00tSFWFLivMcoIBQ==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.50.2.tgz",+ "integrity": "sha512-dkYXB0c2XAS3a3jmyDkX4Jk0m7gWLFzq1C3qUnJJ38AyxIF5G/dyS4N9B30nvFseCfgtCEdbYFhk0ChoCGxPog==","cpu": ["x64"],@@ -9142,9 +9184,9 @@]},"node_modules/@rollup/rollup-linux-arm-gnueabihf": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.50.1.tgz",- "integrity": "sha512-54v4okehwl5TaSIkpp97rAHGp7t3ghinRd/vyC1iXqXMfjYUTm7TfYmCzXDoHUPTTf36L8pr0E7YsD3CfB3ZDg==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.50.2.tgz",+ "integrity": "sha512-9VlPY/BN3AgbukfVHAB8zNFWB/lKEuvzRo1NKev0Po8sYFKx0i+AQlCYftgEjcL43F2h9Ui1ZSdVBc4En/sP2w==","cpu": ["arm"],@@ -9156,9 +9198,9 @@]},"node_modules/@rollup/rollup-linux-arm-musleabihf": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.50.1.tgz",- "integrity": "sha512-p/LaFyajPN/0PUHjv8TNyxLiA7RwmDoVY3flXHPSzqrGcIp/c2FjwPPP5++u87DGHtw+5kSH5bCJz0mvXngYxw==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.50.2.tgz",+ "integrity": "sha512-+GdKWOvsifaYNlIVf07QYan1J5F141+vGm5/Y8b9uCZnG/nxoGqgCmR24mv0koIWWuqvFYnbURRqw1lv7IBINw==","cpu": ["arm"],@@ -9170,9 +9212,9 @@]},"node_modules/@rollup/rollup-linux-arm64-gnu": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.50.1.tgz",- "integrity": "sha512-2AbMhFFkTo6Ptna1zO7kAXXDLi7H9fGTbVaIq2AAYO7yzcAsuTNWPHhb2aTA6GPiP+JXh85Y8CiS54iZoj4opw==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.50.2.tgz",+ "integrity": "sha512-df0Eou14ojtUdLQdPFnymEQteENwSJAdLf5KCDrmZNsy1c3YaCNaJvYsEUHnrg+/DLBH612/R0xd3dD03uz2dg==","cpu": ["arm64"],@@ -9184,9 +9226,9 @@]},"node_modules/@rollup/rollup-linux-arm64-musl": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.50.1.tgz",- "integrity": "sha512-Cgef+5aZwuvesQNw9eX7g19FfKX5/pQRIyhoXLCiBOrWopjo7ycfB292TX9MDcDijiuIJlx1IzJz3IoCPfqs9w==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.50.2.tgz",+ "integrity": "sha512-iPeouV0UIDtz8j1YFR4OJ/zf7evjauqv7jQ/EFs0ClIyL+by++hiaDAfFipjOgyz6y6xbDvJuiU4HwpVMpRFDQ==","cpu": ["arm64"],@@ -9197,10 +9239,10 @@"linux"]},- "node_modules/@rollup/rollup-linux-loongarch64-gnu": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.50.1.tgz",- "integrity": "sha512-RPhTwWMzpYYrHrJAS7CmpdtHNKtt2Ueo+BlLBjfZEhYBhK00OsEqM08/7f+eohiF6poe0YRDDd8nAvwtE/Y62Q==",+ "node_modules/@rollup/rollup-linux-loong64-gnu": {+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.50.2.tgz",+ "integrity": "sha512-OL6KaNvBopLlj5fTa5D5bau4W82f+1TyTZRr2BdnfsrnQnmdxh4okMxR2DcDkJuh4KeoQZVuvHvzuD/lyLn2Kw==","cpu": ["loong64"],@@ -9212,9 +9254,9 @@]},"node_modules/@rollup/rollup-linux-ppc64-gnu": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.50.1.tgz",- "integrity": "sha512-eSGMVQw9iekut62O7eBdbiccRguuDgiPMsw++BVUg+1K7WjZXHOg/YOT9SWMzPZA+w98G+Fa1VqJgHZOHHnY0Q==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.50.2.tgz",+ "integrity": "sha512-I21VJl1w6z/K5OTRl6aS9DDsqezEZ/yKpbqlvfHbW0CEF5IL8ATBMuUx6/mp683rKTK8thjs/0BaNrZLXetLag==","cpu": ["ppc64"],@@ -9226,9 +9268,9 @@]},"node_modules/@rollup/rollup-linux-riscv64-gnu": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.50.1.tgz",- "integrity": "sha512-S208ojx8a4ciIPrLgazF6AgdcNJzQE4+S9rsmOmDJkusvctii+ZvEuIC4v/xFqzbuP8yDjn73oBlNDgF6YGSXQ==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.50.2.tgz",+ "integrity": "sha512-Hq6aQJT/qFFHrYMjS20nV+9SKrXL2lvFBENZoKfoTH2kKDOJqff5OSJr4x72ZaG/uUn+XmBnGhfr4lwMRrmqCQ==","cpu": ["riscv64"],@@ -9240,9 +9282,9 @@]},"node_modules/@rollup/rollup-linux-riscv64-musl": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.50.1.tgz",- "integrity": "sha512-3Ag8Ls1ggqkGUvSZWYcdgFwriy2lWo+0QlYgEFra/5JGtAd6C5Hw59oojx1DeqcA2Wds2ayRgvJ4qxVTzCHgzg==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.50.2.tgz",+ "integrity": "sha512-82rBSEXRv5qtKyr0xZ/YMF531oj2AIpLZkeNYxmKNN6I2sVE9PGegN99tYDLK2fYHJITL1P2Lgb4ZXnv0PjQvw==","cpu": ["riscv64"],@@ -9254,9 +9296,9 @@]},"node_modules/@rollup/rollup-linux-s390x-gnu": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.50.1.tgz",- "integrity": "sha512-t9YrKfaxCYe7l7ldFERE1BRg/4TATxIg+YieHQ966jwvo7ddHJxPj9cNFWLAzhkVsbBvNA4qTbPVNsZKBO4NSg==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.50.2.tgz",+ "integrity": "sha512-4Q3S3Hy7pC6uaRo9gtXUTJ+EKo9AKs3BXKc2jYypEcMQ49gDPFU2P1ariX9SEtBzE5egIX6fSUmbmGazwBVF9w==","cpu": ["s390x"],@@ -9268,9 +9310,9 @@]},"node_modules/@rollup/rollup-linux-x64-gnu": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.50.1.tgz",- "integrity": "sha512-MCgtFB2+SVNuQmmjHf+wfI4CMxy3Tk8XjA5Z//A0AKD7QXUYFMQcns91K6dEHBvZPCnhJSyDWLApk40Iq/H3tA==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.50.2.tgz",+ "integrity": "sha512-9Jie/At6qk70dNIcopcL4p+1UirusEtznpNtcq/u/C5cC4HBX7qSGsYIcG6bdxj15EYWhHiu02YvmdPzylIZlA==","cpu": ["x64"],@@ -9282,9 +9324,9 @@]},"node_modules/@rollup/rollup-linux-x64-musl": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.50.1.tgz",- "integrity": "sha512-nEvqG+0jeRmqaUMuwzlfMKwcIVffy/9KGbAGyoa26iu6eSngAYQ512bMXuqqPrlTyfqdlB9FVINs93j534UJrg==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.50.2.tgz",+ "integrity": "sha512-HPNJwxPL3EmhzeAnsWQCM3DcoqOz3/IC6de9rWfGR8ZCuEHETi9km66bH/wG3YH0V3nyzyFEGUZeL5PKyy4xvw==","cpu": ["x64"],@@ -9296,9 +9338,9 @@]},"node_modules/@rollup/rollup-openharmony-arm64": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.50.1.tgz",- "integrity": "sha512-RDsLm+phmT3MJd9SNxA9MNuEAO/J2fhW8GXk62G/B4G7sLVumNFbRwDL6v5NrESb48k+QMqdGbHgEtfU0LCpbA==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.50.2.tgz",+ "integrity": "sha512-nMKvq6FRHSzYfKLHZ+cChowlEkR2lj/V0jYj9JnGUVPL2/mIeFGmVM2mLaFeNa5Jev7W7TovXqXIG2d39y1KYA==","cpu": ["arm64"],@@ -9310,9 +9352,9 @@]},"node_modules/@rollup/rollup-win32-arm64-msvc": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.50.1.tgz",- "integrity": "sha512-hpZB/TImk2FlAFAIsoElM3tLzq57uxnGYwplg6WDyAxbYczSi8O2eQ+H2Lx74504rwKtZ3N2g4bCUkiamzS6TQ==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.50.2.tgz",+ "integrity": "sha512-eFUvvnTYEKeTyHEijQKz81bLrUQOXKZqECeiWH6tb8eXXbZk+CXSG2aFrig2BQ/pjiVRj36zysjgILkqarS2YA==","cpu": ["arm64"],@@ -9324,9 +9366,9 @@]},"node_modules/@rollup/rollup-win32-ia32-msvc": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.50.1.tgz",- "integrity": "sha512-SXjv8JlbzKM0fTJidX4eVsH+Wmnp0/WcD8gJxIZyR6Gay5Qcsmdbi9zVtnbkGPG8v2vMR1AD06lGWy5FLMcG7A==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.50.2.tgz",+ "integrity": "sha512-cBaWmXqyfRhH8zmUxK3d3sAhEWLrtMjWBRwdMMHJIXSjvjLKvv49adxiEz+FJ8AP90apSDDBx2Tyd/WylV6ikA==","cpu": ["ia32"],@@ -9338,9 +9380,9 @@]},"node_modules/@rollup/rollup-win32-x64-msvc": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.50.1.tgz",- "integrity": "sha512-StxAO/8ts62KZVRAm4JZYq9+NqNsV7RvimNK+YM7ry//zebEH6meuugqW/P5OFUCjyQgui+9fUxT6d5NShvMvA==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.50.2.tgz",+ "integrity": "sha512-APwKy6YUhvZaEoHyM+9xqmTpviEI+9eL7LoCH+aLcvWYHJ663qG5zx7WzWZY+a9qkg5JtzcMyJ9z0WtQBMDmgA==","cpu": ["x64"],@@ -9352,14 +9394,14 @@]},"node_modules/@schematics/angular": {- "version": "20.2.2",- "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-20.2.2.tgz",- "integrity": "sha512-VzJsEIiBmHzJAOVaKHn1CwTuOqvI1GwZuneUk/tmyYKkKdWEgxnoNBvz1ql6eHstkLz3S9yt6aUuAgjQC+J2Xw==",+ "version": "20.3.1",+ "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-20.3.1.tgz",+ "integrity": "sha512-v2SNPaEHuMZyL85tYEQeFJvf7cFxSzXHbotcCrXRBuK3RSAvYXxWlpuBU+jGfZq2FjFZ+G7nHJZLAA/a1UqAvA==","dev": true,"license": "MIT","dependencies": {- "@angular-devkit/core": "20.2.2",- "@angular-devkit/schematics": "20.2.2",+ "@angular-devkit/core": "20.3.1",+ "@angular-devkit/schematics": "20.3.1","jsonc-parser": "3.3.1"},"engines": {@@ -9504,13 +9546,13 @@}},"node_modules/@smithy/abort-controller": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.1.0.tgz",- "integrity": "sha512-wEhSYznxOmx7EdwK1tYEWJF5+/wmSFsff9BfTOn8oO/+KPl3gsmThrb6MJlWbOC391+Ya31s5JuHiC2RlT80Zg==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.1.1.tgz",+ "integrity": "sha512-vkzula+IwRvPR6oKQhMYioM3A/oX/lFCZiwuxkQbRhqJS2S4YRY2k7k/SyR2jMf3607HLtbEwlRxi0ndXHMjRg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9518,16 +9560,16 @@}},"node_modules/@smithy/config-resolver": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.2.0.tgz",- "integrity": "sha512-FA10YhPFLy23uxeWu7pOM2ctlw+gzbPMTZQwrZ8FRIfyJ/p8YIVz7AVTB5jjLD+QIerydyKcVMZur8qzzDILAQ==",+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.2.2.tgz",+ "integrity": "sha512-IT6MatgBWagLybZl1xQcURXRICvqz1z3APSCAI9IqdvfCkrA7RaQIEfgC6G/KvfxnDfQUDqFV+ZlixcuFznGBQ==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/node-config-provider": "^4.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/types": "^4.5.0","@smithy/util-config-provider": "^4.1.0",- "@smithy/util-middleware": "^4.1.0",+ "@smithy/util-middleware": "^4.1.1","tslib": "^2.6.2"},"engines": {@@ -9535,19 +9577,19 @@}},"node_modules/@smithy/core": {- "version": "3.10.0",- "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.10.0.tgz",- "integrity": "sha512-bXyD3Ij6b1qDymEYlEcF+QIjwb9gObwZNaRjETJsUEvSIzxFdynSQ3E4ysY7lUFSBzeWBNaFvX+5A0smbC2q6A==",+ "version": "3.11.0",+ "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.11.0.tgz",+ "integrity": "sha512-Abs5rdP1o8/OINtE49wwNeWuynCu0kme1r4RI3VXVrHr4odVDG7h7mTnw1WXXfN5Il+c25QOnrdL2y56USfxkA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/middleware-serde": "^4.1.0",- "@smithy/protocol-http": "^5.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/middleware-serde": "^4.1.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","@smithy/util-base64": "^4.1.0","@smithy/util-body-length-browser": "^4.1.0",- "@smithy/util-middleware": "^4.1.0",- "@smithy/util-stream": "^4.3.0",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-stream": "^4.3.1","@smithy/util-utf8": "^4.1.0","@types/uuid": "^9.0.1","tslib": "^2.6.2",@@ -9558,16 +9600,16 @@}},"node_modules/@smithy/credential-provider-imds": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.1.0.tgz",- "integrity": "sha512-iVwNhxTsCQTPdp++4C/d9xvaDmuEWhXi55qJobMp9QMaEHRGH3kErU4F8gohtdsawRqnUy/ANylCjKuhcR2mPw==",+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.1.2.tgz",+ "integrity": "sha512-JlYNq8TShnqCLg0h+afqe2wLAwZpuoSgOyzhYvTgbiKBWRov+uUve+vrZEQO6lkdLOWPh7gK5dtb9dS+KGendg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/node-config-provider": "^4.2.0",- "@smithy/property-provider": "^4.1.0",- "@smithy/types": "^4.4.0",- "@smithy/url-parser": "^4.1.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/types": "^4.5.0",+ "@smithy/url-parser": "^4.1.1","tslib": "^2.6.2"},"engines": {@@ -9575,15 +9617,15 @@}},"node_modules/@smithy/fetch-http-handler": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.2.0.tgz",- "integrity": "sha512-VZenjDdVaUGiy3hwQtxm75nhXZrhFG+3xyL93qCQAlYDyhT/jeDWM8/3r5uCFMlTmmyrIjiDyiOynVFchb0BSg==",+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.2.1.tgz",+ "integrity": "sha512-5/3wxKNtV3wO/hk1is+CZUhL8a1yy/U+9u9LKQ9kZTkMsHaQjJhc3stFfiujtMnkITjzWfndGA2f7g9Uh9vKng==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/protocol-http": "^5.2.0",- "@smithy/querystring-builder": "^4.1.0",- "@smithy/types": "^4.4.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/querystring-builder": "^4.1.1",+ "@smithy/types": "^4.5.0","@smithy/util-base64": "^4.1.0","tslib": "^2.6.2"},@@ -9592,13 +9634,13 @@}},"node_modules/@smithy/hash-node": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.1.0.tgz",- "integrity": "sha512-mXkJQ/6lAXTuoSsEH+d/fHa4ms4qV5LqYoPLYhmhCRTNcMMdg+4Ya8cMgU1W8+OR40eX0kzsExT7fAILqtTl2w==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.1.1.tgz",+ "integrity": "sha512-H9DIU9WBLhYrvPs9v4sYvnZ1PiAI0oc8CgNQUJ1rpN3pP7QADbTOUjchI2FB764Ub0DstH5xbTqcMJu1pnVqxA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","@smithy/util-buffer-from": "^4.1.0","@smithy/util-utf8": "^4.1.0","tslib": "^2.6.2"@@ -9608,13 +9650,13 @@}},"node_modules/@smithy/invalid-dependency": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.1.0.tgz",- "integrity": "sha512-4/FcV6aCMzgpM4YyA/GRzTtG28G0RQJcWK722MmpIgzOyfSceWcI9T9c8matpHU9qYYLaWtk8pSGNCLn5kzDRw==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.1.1.tgz",+ "integrity": "sha512-1AqLyFlfrrDkyES8uhINRlJXmHA2FkG+3DY8X+rmLSqmFwk3DJnvhyGzyByPyewh2jbmV+TYQBEfngQax8IFGg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9635,14 +9677,14 @@}},"node_modules/@smithy/middleware-content-length": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.1.0.tgz",- "integrity": "sha512-x3dgLFubk/ClKVniJu+ELeZGk4mq7Iv0HgCRUlxNUIcerHTLVmq7Q5eGJL0tOnUltY6KFw5YOKaYxwdcMwox/w==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.1.1.tgz",+ "integrity": "sha512-9wlfBBgTsRvC2JxLJxv4xDGNBrZuio3AgSl0lSFX7fneW2cGskXTYpFxCdRYD2+5yzmsiTuaAJD1Wp7gWt9y9w==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/protocol-http": "^5.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9650,19 +9692,19 @@}},"node_modules/@smithy/middleware-endpoint": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.2.0.tgz",- "integrity": "sha512-J1eCF7pPDwgv7fGwRd2+Y+H9hlIolF3OZ2PjptonzzyOXXGh/1KGJAHpEcY1EX+WLlclKu2yC5k+9jWXdUG4YQ==",+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.2.2.tgz",+ "integrity": "sha512-M51KcwD+UeSOFtpALGf5OijWt915aQT5eJhqnMKJt7ZTfDfNcvg2UZgIgTZUoiORawb6o5lk4n3rv7vnzQXgsA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/core": "^3.10.0",- "@smithy/middleware-serde": "^4.1.0",- "@smithy/node-config-provider": "^4.2.0",- "@smithy/shared-ini-file-loader": "^4.1.0",- "@smithy/types": "^4.4.0",- "@smithy/url-parser": "^4.1.0",- "@smithy/util-middleware": "^4.1.0",+ "@smithy/core": "^3.11.0",+ "@smithy/middleware-serde": "^4.1.1",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0",+ "@smithy/url-parser": "^4.1.1",+ "@smithy/util-middleware": "^4.1.1","tslib": "^2.6.2"},"engines": {@@ -9670,19 +9712,19 @@}},"node_modules/@smithy/middleware-retry": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.2.0.tgz",- "integrity": "sha512-raL5oWYf5ALl3jCJrajE8enKJEnV/2wZkKS6mb3ZRY2tg3nj66ssdWy5Ps8E6Yu8Wqh3Tt+Sb9LozjvwZupq+A==",+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.2.2.tgz",+ "integrity": "sha512-KZJueEOO+PWqflv2oGx9jICpHdBYXwCI19j7e2V3IMwKgFcXc9D9q/dsTf4B+uCnYxjNoS1jpyv6pGNGRsKOXA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/node-config-provider": "^4.2.0",- "@smithy/protocol-http": "^5.2.0",- "@smithy/service-error-classification": "^4.1.0",- "@smithy/smithy-client": "^4.6.0",- "@smithy/types": "^4.4.0",- "@smithy/util-middleware": "^4.1.0",- "@smithy/util-retry": "^4.1.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/service-error-classification": "^4.1.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0",+ "@smithy/util-middleware": "^4.1.1",+ "@smithy/util-retry": "^4.1.1","@types/uuid": "^9.0.1","tslib": "^2.6.2","uuid": "^9.0.1"@@ -9692,14 +9734,14 @@}},"node_modules/@smithy/middleware-serde": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.1.0.tgz",- "integrity": "sha512-CtLFYlHt7c2VcztyVRc+25JLV4aGpmaSv9F1sPB0AGFL6S+RPythkqpGDa2XBQLJQooKkjLA1g7Xe4450knShg==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.1.1.tgz",+ "integrity": "sha512-lh48uQdbCoj619kRouev5XbWhCwRKLmphAif16c4J6JgJ4uXjub1PI6RL38d3BLliUvSso6klyB/LTNpWSNIyg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/protocol-http": "^5.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9707,13 +9749,13 @@}},"node_modules/@smithy/middleware-stack": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.1.0.tgz",- "integrity": "sha512-91Fuw4IKp0eK8PNhMXrHRcYA1jvbZ9BJGT91wwPy3bTQT8mHTcQNius/EhSQTlT9QUI3Ki1wjHeNXbWK0tO8YQ==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.1.1.tgz",+ "integrity": "sha512-ygRnniqNcDhHzs6QAPIdia26M7e7z9gpkIMUe/pK0RsrQ7i5MblwxY8078/QCnGq6AmlUUWgljK2HlelsKIb/A==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9721,15 +9763,15 @@}},"node_modules/@smithy/node-config-provider": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.2.0.tgz",- "integrity": "sha512-8/fpilqKurQ+f8nFvoFkJ0lrymoMJ+5/CQV5IcTv/MyKhk2Q/EFYCAgTSWHD4nMi9ux9NyBBynkyE9SLg2uSLA==",+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.2.2.tgz",+ "integrity": "sha512-SYGTKyPvyCfEzIN5rD8q/bYaOPZprYUPD2f5g9M7OjaYupWOoQFYJ5ho+0wvxIRf471i2SR4GoiZ2r94Jq9h6A==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/property-provider": "^4.1.0",- "@smithy/shared-ini-file-loader": "^4.1.0",- "@smithy/types": "^4.4.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/shared-ini-file-loader": "^4.2.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9737,16 +9779,16 @@}},"node_modules/@smithy/node-http-handler": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.2.0.tgz",- "integrity": "sha512-G4NV70B4hF9vBrUkkvNfWO6+QR4jYjeO4tc+4XrKCb4nPYj49V9Hu8Ftio7Mb0/0IlFyEOORudHrm+isY29nCA==",+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.2.1.tgz",+ "integrity": "sha512-REyybygHlxo3TJICPF89N2pMQSf+p+tBJqpVe1+77Cfi9HBPReNjTgtZ1Vg73exq24vkqJskKDpfF74reXjxfw==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/abort-controller": "^4.1.0",- "@smithy/protocol-http": "^5.2.0",- "@smithy/querystring-builder": "^4.1.0",- "@smithy/types": "^4.4.0",+ "@smithy/abort-controller": "^4.1.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/querystring-builder": "^4.1.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9754,13 +9796,13 @@}},"node_modules/@smithy/property-provider": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.1.0.tgz",- "integrity": "sha512-eksMjMHUlG5PwOUWO3k+rfLNOPVPJ70mUzyYNKb5lvyIuAwS4zpWGsxGiuT74DFWonW0xRNy+jgzGauUzX7SyA==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.1.1.tgz",+ "integrity": "sha512-gm3ZS7DHxUbzC2wr8MUCsAabyiXY0gaj3ROWnhSx/9sPMc6eYLMM4rX81w1zsMaObj2Lq3PZtNCC1J6lpEY7zg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9768,13 +9810,13 @@}},"node_modules/@smithy/protocol-http": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.2.0.tgz",- "integrity": "sha512-bwjlh5JwdOQnA01be+5UvHK4HQz4iaRKlVG46hHSJuqi0Ribt3K06Z1oQ29i35Np4G9MCDgkOGcHVyLMreMcbg==",+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.2.1.tgz",+ "integrity": "sha512-T8SlkLYCwfT/6m33SIU/JOVGNwoelkrvGjFKDSDtVvAXj/9gOT78JVJEas5a+ETjOu4SVvpCstKgd0PxSu/aHw==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9782,13 +9824,13 @@}},"node_modules/@smithy/querystring-builder": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.1.0.tgz",- "integrity": "sha512-JqTWmVIq4AF8R8OK/2cCCiQo5ZJ0SRPsDkDgLO5/3z8xxuUp1oMIBBjfuueEe+11hGTZ6rRebzYikpKc6yQV9Q==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.1.1.tgz",+ "integrity": "sha512-J9b55bfimP4z/Jg1gNo+AT84hr90p716/nvxDkPGCD4W70MPms0h8KF50RDRgBGZeL83/u59DWNqJv6tEP/DHA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","@smithy/util-uri-escape": "^4.1.0","tslib": "^2.6.2"},@@ -9797,13 +9839,13 @@}},"node_modules/@smithy/querystring-parser": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.1.0.tgz",- "integrity": "sha512-VgdHhr8YTRsjOl4hnKFm7xEMOCRTnKw3FJ1nU+dlWNhdt/7eEtxtkdrJdx7PlRTabdANTmvyjE4umUl9cK4awg==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.1.1.tgz",+ "integrity": "sha512-63TEp92YFz0oQ7Pj9IuI3IgnprP92LrZtRAkE3c6wLWJxfy/yOPRt39IOKerVr0JS770olzl0kGafXlAXZ1vng==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9811,26 +9853,26 @@}},"node_modules/@smithy/service-error-classification": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.1.0.tgz",- "integrity": "sha512-UBpNFzBNmS20jJomuYn++Y+soF8rOK9AvIGjS9yGP6uRXF5rP18h4FDUsoNpWTlSsmiJ87e2DpZo9ywzSMH7PQ==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.1.1.tgz",+ "integrity": "sha512-Iam75b/JNXyDE41UvrlM6n8DNOa/r1ylFyvgruTUx7h2Uk7vDNV9AAwP1vfL1fOL8ls0xArwEGVcGZVd7IO/Cw==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0"+ "@smithy/types": "^4.5.0"},"engines": {"node": ">=18.0.0"}},"node_modules/@smithy/shared-ini-file-loader": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.1.0.tgz",- "integrity": "sha512-W0VMlz9yGdQ/0ZAgWICFjFHTVU0YSfGoCVpKaExRM/FDkTeP/yz8OKvjtGjs6oFokCRm0srgj/g4Cg0xuHu8Rw==",+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.2.0.tgz",+ "integrity": "sha512-OQTfmIEp2LLuWdxa8nEEPhZmiOREO6bcB6pjs0AySf4yiZhl6kMOfqmcwcY8BaBPX+0Tb+tG7/Ia/6mwpoZ7Pw==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9838,17 +9880,17 @@}},"node_modules/@smithy/signature-v4": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.2.0.tgz",- "integrity": "sha512-ObX1ZqG2DdZQlXx9mLD7yAR8AGb7yXurGm+iWx9x4l1fBZ8CZN2BRT09aSbcXVPZXWGdn5VtMuupjxhOTI2EjA==",+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.2.1.tgz",+ "integrity": "sha512-M9rZhWQLjlQVCCR37cSjHfhriGRN+FQ8UfgrYNufv66TJgk+acaggShl3KS5U/ssxivvZLlnj7QH2CUOKlxPyA==","dev": true,"license": "Apache-2.0","dependencies": {"@smithy/is-array-buffer": "^4.1.0",- "@smithy/protocol-http": "^5.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0","@smithy/util-hex-encoding": "^4.1.0",- "@smithy/util-middleware": "^4.1.0",+ "@smithy/util-middleware": "^4.1.1","@smithy/util-uri-escape": "^4.1.0","@smithy/util-utf8": "^4.1.0","tslib": "^2.6.2"@@ -9858,18 +9900,18 @@}},"node_modules/@smithy/smithy-client": {- "version": "4.6.0",- "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.6.0.tgz",- "integrity": "sha512-TvlIshqx5PIi0I0AiR+PluCpJ8olVG++xbYkAIGCUkByaMUlfOXLgjQTmYbr46k4wuDe8eHiTIlUflnjK2drPQ==",+ "version": "4.6.2",+ "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.6.2.tgz",+ "integrity": "sha512-u82cjh/x7MlMat76Z38TRmEcG6JtrrxN4N2CSNG5o2v2S3hfLAxRgSgFqf0FKM3dglH41Evknt/HOX+7nfzZ3g==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/core": "^3.10.0",- "@smithy/middleware-endpoint": "^4.2.0",- "@smithy/middleware-stack": "^4.1.0",- "@smithy/protocol-http": "^5.2.0",- "@smithy/types": "^4.4.0",- "@smithy/util-stream": "^4.3.0",+ "@smithy/core": "^3.11.0",+ "@smithy/middleware-endpoint": "^4.2.2",+ "@smithy/middleware-stack": "^4.1.1",+ "@smithy/protocol-http": "^5.2.1",+ "@smithy/types": "^4.5.0",+ "@smithy/util-stream": "^4.3.1","tslib": "^2.6.2"},"engines": {@@ -9877,9 +9919,9 @@}},"node_modules/@smithy/types": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.4.0.tgz",- "integrity": "sha512-4jY91NgZz+ZnSFcVzWwngOW6VuK3gR/ihTwSU1R/0NENe9Jd8SfWgbhDCAGUWL3bI7DiDSW7XF6Ui6bBBjrqXw==",+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.5.0.tgz",+ "integrity": "sha512-RkUpIOsVlAwUIZXO1dsz8Zm+N72LClFfsNqf173catVlvRZiwPy0x2u0JLEA4byreOPKDZPGjmPDylMoP8ZJRg==","dev": true,"license": "Apache-2.0","dependencies": {@@ -9890,14 +9932,14 @@}},"node_modules/@smithy/url-parser": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.1.0.tgz",- "integrity": "sha512-/LYEIOuO5B2u++tKr1NxNxhZTrr3A63jW8N73YTwVeUyAlbB/YM+hkftsvtKAcMt3ADYo0FsF1GY3anehffSVQ==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.1.1.tgz",+ "integrity": "sha512-bx32FUpkhcaKlEoOMbScvc93isaSiRM75pQ5IgIBaMkT7qMlIibpPRONyx/0CvrXHzJLpOn/u6YiDX2hcvs7Dg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/querystring-parser": "^4.1.0",- "@smithy/types": "^4.4.0",+ "@smithy/querystring-parser": "^4.1.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -9973,15 +10015,15 @@}},"node_modules/@smithy/util-defaults-mode-browser": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.1.0.tgz",- "integrity": "sha512-D27cLtJtC4EEeERJXS+JPoogz2tE5zeE3zhWSSu6ER5/wJ5gihUxIzoarDX6K1U27IFTHit5YfHqU4Y9RSGE0w==",+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.1.2.tgz",+ "integrity": "sha512-QKrOw01DvNHKgY+3p4r9Ut4u6EHLVZ01u6SkOMe6V6v5C+nRPXJeWh72qCT1HgwU3O7sxAIu23nNh+FOpYVZKA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/property-provider": "^4.1.0",- "@smithy/smithy-client": "^4.6.0",- "@smithy/types": "^4.4.0",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0","bowser": "^2.11.0","tslib": "^2.6.2"},@@ -9990,18 +10032,18 @@}},"node_modules/@smithy/util-defaults-mode-node": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.1.0.tgz",- "integrity": "sha512-gnZo3u5dP1o87plKupg39alsbeIY1oFFnCyV2nI/++pL19vTtBLgOyftLEjPjuXmoKn2B2rskX8b7wtC/+3Okg==",+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.1.2.tgz",+ "integrity": "sha512-l2yRmSfx5haYHswPxMmCR6jGwgPs5LjHLuBwlj9U7nNBMS43YV/eevj+Xq1869UYdiynnMrCKtoOYQcwtb6lKg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/config-resolver": "^4.2.0",- "@smithy/credential-provider-imds": "^4.1.0",- "@smithy/node-config-provider": "^4.2.0",- "@smithy/property-provider": "^4.1.0",- "@smithy/smithy-client": "^4.6.0",- "@smithy/types": "^4.4.0",+ "@smithy/config-resolver": "^4.2.2",+ "@smithy/credential-provider-imds": "^4.1.2",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/property-provider": "^4.1.1",+ "@smithy/smithy-client": "^4.6.2",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -10009,14 +10051,14 @@}},"node_modules/@smithy/util-endpoints": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.1.0.tgz",- "integrity": "sha512-5LFg48KkunBVGrNs3dnQgLlMXJLVo7k9sdZV5su3rjO3c3DmQ2LwUZI0Zr49p89JWK6sB7KmzyI2fVcDsZkwuw==",+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.1.2.tgz",+ "integrity": "sha512-+AJsaaEGb5ySvf1SKMRrPZdYHRYSzMkCoK16jWnIMpREAnflVspMIDeCVSZJuj+5muZfgGpNpijE3mUNtjv01Q==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/node-config-provider": "^4.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/node-config-provider": "^4.2.2",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -10037,13 +10079,13 @@}},"node_modules/@smithy/util-middleware": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.1.0.tgz",- "integrity": "sha512-612onNcKyxhP7/YOTKFTb2F6sPYtMRddlT5mZvYf1zduzaGzkYhpYIPxIeeEwBZFjnvEqe53Ijl2cYEfJ9d6/Q==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.1.1.tgz",+ "integrity": "sha512-CGmZ72mL29VMfESz7S6dekqzCh8ZISj3B+w0g1hZFXaOjGTVaSqfAEFAq8EGp8fUL+Q2l8aqNmt8U1tglTikeg==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.4.0",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -10051,14 +10093,14 @@}},"node_modules/@smithy/util-retry": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.1.0.tgz",- "integrity": "sha512-5AGoBHb207xAKSVwaUnaER+L55WFY8o2RhlafELZR3mB0J91fpL+Qn+zgRkPzns3kccGaF2vy0HmNVBMWmN6dA==",+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.1.1.tgz",+ "integrity": "sha512-jGeybqEZ/LIordPLMh5bnmnoIgsqnp4IEimmUp5c5voZ8yx+5kAlN5+juyr7p+f7AtZTgvhmInQk4Q0UVbrZ0Q==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/service-error-classification": "^4.1.0",- "@smithy/types": "^4.4.0",+ "@smithy/service-error-classification": "^4.1.1",+ "@smithy/types": "^4.5.0","tslib": "^2.6.2"},"engines": {@@ -10066,15 +10108,15 @@}},"node_modules/@smithy/util-stream": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.3.0.tgz",- "integrity": "sha512-ZOYS94jksDwvsCJtppHprUhsIscRnCKGr6FXCo3SxgQ31ECbza3wqDBqSy6IsAak+h/oAXb1+UYEBmDdseAjUQ==",+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.3.1.tgz",+ "integrity": "sha512-khKkW/Jqkgh6caxMWbMuox9+YfGlsk9OnHOYCGVEdYQb/XVzcORXHLYUubHmmda0pubEDncofUrPNniS9d+uAA==","dev": true,"license": "Apache-2.0","dependencies": {- "@smithy/fetch-http-handler": "^5.2.0",- "@smithy/node-http-handler": "^4.2.0",- "@smithy/types": "^4.4.0",+ "@smithy/fetch-http-handler": "^5.2.1",+ "@smithy/node-http-handler": "^4.2.1",+ "@smithy/types": "^4.5.0","@smithy/util-base64": "^4.1.0","@smithy/util-buffer-from": "^4.1.0","@smithy/util-hex-encoding": "^4.1.0",@@ -10717,9 +10759,9 @@}},"node_modules/@tybys/wasm-util": {- "version": "0.10.0",- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.0.tgz",- "integrity": "sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==",+ "version": "0.10.1",+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",+ "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==","dev": true,"license": "MIT","optional": true,@@ -11052,9 +11094,9 @@"license": "MIT"},"node_modules/@types/node": {- "version": "22.18.1",- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.1.tgz",- "integrity": "sha512-rzSDyhn4cYznVG+PCzGe1lwuMYJrcBS1fc3JqSa2PvtABwWo+dZ1ij5OVok3tqfpEBCBoaR4d7upFJk73HRJDw==",+ "version": "22.18.5",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.5.tgz",+ "integrity": "sha512-g9BpPfJvxYBXUWI9bV37j6d6LTMNQ88hPwdWWUeYZnMhlo66FIg9gCc1/DZb15QylJSKwOZjwrckvOTWpOiChg==","license": "MIT","dependencies": {"undici-types": "~6.21.0"@@ -11143,6 +11185,16 @@"pdfjs-dist": "*"}},+ "node_modules/@types/qrcode": {+ "version": "1.5.5",+ "resolved": "https://registry.npmjs.org/@types/qrcode/-/qrcode-1.5.5.tgz",+ "integrity": "sha512-CdfBi/e3Qk+3Z/fXYShipBT13OJ2fDO2Q2w5CIP5anLTLIndQG9z6P1cnm+8zCWSpm5dnxMFd/uREtb0EXuQzg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },"node_modules/@types/qs": {"version": "6.14.0","resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz",@@ -11293,17 +11345,17 @@}},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.43.0.tgz",- "integrity": "sha512-8tg+gt7ENL7KewsKMKDHXR1vm8tt9eMxjJBYINf6swonlWgkYn5NwyIgXpbbDxTNU5DgpDFfj95prcTq2clIQQ==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.44.0.tgz",+ "integrity": "sha512-EGDAOGX+uwwekcS0iyxVDmRV9HX6FLSM5kzrAToLTsr9OWCIKG/y3lQheCq18yZ5Xh78rRKJiEpP0ZaCs4ryOQ==","dev": true,"license": "MIT","dependencies": {"@eslint-community/regexpp": "^4.10.0",- "@typescript-eslint/scope-manager": "8.43.0",- "@typescript-eslint/type-utils": "8.43.0",- "@typescript-eslint/utils": "8.43.0",- "@typescript-eslint/visitor-keys": "8.43.0",+ "@typescript-eslint/scope-manager": "8.44.0",+ "@typescript-eslint/type-utils": "8.44.0",+ "@typescript-eslint/utils": "8.44.0",+ "@typescript-eslint/visitor-keys": "8.44.0","graphemer": "^1.4.0","ignore": "^7.0.0","natural-compare": "^1.4.0",@@ -11317,22 +11369,22 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "@typescript-eslint/parser": "^8.43.0",+ "@typescript-eslint/parser": "^8.44.0","eslint": "^8.57.0 || ^9.0.0","typescript": ">=4.8.4 <6.0.0"}},"node_modules/@typescript-eslint/parser": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.43.0.tgz",- "integrity": "sha512-B7RIQiTsCBBmY+yW4+ILd6mF5h1FUwJsVvpqkrgpszYifetQ2Ke+Z4u6aZh0CblkUGIdR59iYVyXqqZGkZ3aBw==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.44.0.tgz",+ "integrity": "sha512-VGMpFQGUQWYT9LfnPcX8ouFojyrZ/2w3K5BucvxL/spdNehccKhB4jUyB1yBCXpr2XFm0jkECxgrpXBW2ipoAw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/scope-manager": "8.43.0",- "@typescript-eslint/types": "8.43.0",- "@typescript-eslint/typescript-estree": "8.43.0",- "@typescript-eslint/visitor-keys": "8.43.0",+ "@typescript-eslint/scope-manager": "8.44.0",+ "@typescript-eslint/types": "8.44.0",+ "@typescript-eslint/typescript-estree": "8.44.0",+ "@typescript-eslint/visitor-keys": "8.44.0","debug": "^4.3.4"},"engines": {@@ -11348,14 +11400,14 @@}},"node_modules/@typescript-eslint/project-service": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.43.0.tgz",- "integrity": "sha512-htB/+D/BIGoNTQYffZw4uM4NzzuolCoaA/BusuSIcC8YjmBYQioew5VUZAYdAETPjeed0hqCaW7EHg+Robq8uw==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.44.0.tgz",+ "integrity": "sha512-ZeaGNraRsq10GuEohKTo4295Z/SuGcSq2LzfGlqiuEvfArzo/VRrT0ZaJsVPuKZ55lVbNk8U6FcL+ZMH8CoyVA==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.43.0",- "@typescript-eslint/types": "^8.43.0",+ "@typescript-eslint/tsconfig-utils": "^8.44.0",+ "@typescript-eslint/types": "^8.44.0","debug": "^4.3.4"},"engines": {@@ -11370,14 +11422,14 @@}},"node_modules/@typescript-eslint/scope-manager": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.43.0.tgz",- "integrity": "sha512-daSWlQ87ZhsjrbMLvpuuMAt3y4ba57AuvadcR7f3nl8eS3BjRc8L9VLxFLk92RL5xdXOg6IQ+qKjjqNEimGuAg==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.44.0.tgz",+ "integrity": "sha512-87Jv3E+al8wpD+rIdVJm/ItDBe/Im09zXIjFoipOjr5gHUhJmTzfFLuTJ/nPTMc2Srsroy4IBXwcTCHyRR7KzA==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.43.0",- "@typescript-eslint/visitor-keys": "8.43.0"+ "@typescript-eslint/types": "8.44.0",+ "@typescript-eslint/visitor-keys": "8.44.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -11388,9 +11440,9 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.43.0.tgz",- "integrity": "sha512-ALC2prjZcj2YqqL5X/bwWQmHA2em6/94GcbB/KKu5SX3EBDOsqztmmX1kMkvAJHzxk7TazKzJfFiEIagNV3qEA==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.44.0.tgz",+ "integrity": "sha512-x5Y0+AuEPqAInc6yd0n5DAcvtoQ/vyaGwuX5HE9n6qAefk1GaedqrLQF8kQGylLUb9pnZyLf+iEiL9fr8APDtQ==","dev": true,"license": "MIT","engines": {@@ -11405,15 +11457,15 @@}},"node_modules/@typescript-eslint/type-utils": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.43.0.tgz",- "integrity": "sha512-qaH1uLBpBuBBuRf8c1mLJ6swOfzCXryhKND04Igr4pckzSEW9JX5Aw9AgW00kwfjWJF0kk0ps9ExKTfvXfw4Qg==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.44.0.tgz",+ "integrity": "sha512-9cwsoSxJ8Sak67Be/hD2RNt/fsqmWnNE1iHohG8lxqLSNY8xNfyY7wloo5zpW3Nu9hxVgURevqfcH6vvKCt6yg==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.43.0",- "@typescript-eslint/typescript-estree": "8.43.0",- "@typescript-eslint/utils": "8.43.0",+ "@typescript-eslint/types": "8.44.0",+ "@typescript-eslint/typescript-estree": "8.44.0",+ "@typescript-eslint/utils": "8.44.0","debug": "^4.3.4","ts-api-utils": "^2.1.0"},@@ -11430,9 +11482,9 @@}},"node_modules/@typescript-eslint/types": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.43.0.tgz",- "integrity": "sha512-vQ2FZaxJpydjSZJKiSW/LJsabFFvV7KgLC5DiLhkBcykhQj8iK9BOaDmQt74nnKdLvceM5xmhaTF+pLekrxEkw==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.44.0.tgz",+ "integrity": "sha512-ZSl2efn44VsYM0MfDQe68RKzBz75NPgLQXuGypmym6QVOWL5kegTZuZ02xRAT9T+onqvM6T8CdQk0OwYMB6ZvA==","dev": true,"license": "MIT","engines": {@@ -11444,16 +11496,16 @@}},"node_modules/@typescript-eslint/typescript-estree": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.43.0.tgz",- "integrity": "sha512-7Vv6zlAhPb+cvEpP06WXXy/ZByph9iL6BQRBDj4kmBsW98AqEeQHlj/13X+sZOrKSo9/rNKH4Ul4f6EICREFdw==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.44.0.tgz",+ "integrity": "sha512-lqNj6SgnGcQZwL4/SBJ3xdPEfcBuhCG8zdcwCPgYcmiPLgokiNDKlbPzCwEwu7m279J/lBYWtDYL+87OEfn8Jw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.43.0",- "@typescript-eslint/tsconfig-utils": "8.43.0",- "@typescript-eslint/types": "8.43.0",- "@typescript-eslint/visitor-keys": "8.43.0",+ "@typescript-eslint/project-service": "8.44.0",+ "@typescript-eslint/tsconfig-utils": "8.44.0",+ "@typescript-eslint/types": "8.44.0",+ "@typescript-eslint/visitor-keys": "8.44.0","debug": "^4.3.4","fast-glob": "^3.3.2","is-glob": "^4.0.3",@@ -11499,16 +11551,16 @@}},"node_modules/@typescript-eslint/utils": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.43.0.tgz",- "integrity": "sha512-S1/tEmkUeeswxd0GGcnwuVQPFWo8NzZTOMxCvw8BX7OMxnNae+i8Tm7REQen/SwUIPoPqfKn7EaZ+YLpiB3k9g==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.44.0.tgz",+ "integrity": "sha512-nktOlVcg3ALo0mYlV+L7sWUD58KG4CMj1rb2HUVOO4aL3K/6wcD+NERqd0rrA5Vg06b42YhF6cFxeixsp9Riqg==","dev": true,"license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.7.0",- "@typescript-eslint/scope-manager": "8.43.0",- "@typescript-eslint/types": "8.43.0",- "@typescript-eslint/typescript-estree": "8.43.0"+ "@typescript-eslint/scope-manager": "8.44.0",+ "@typescript-eslint/types": "8.44.0",+ "@typescript-eslint/typescript-estree": "8.44.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -11523,13 +11575,13 @@}},"node_modules/@typescript-eslint/visitor-keys": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.43.0.tgz",- "integrity": "sha512-T+S1KqRD4sg/bHfLwrpF/K3gQLBM1n7Rp7OjjikjTEssI2YJzQpi5WXoynOaQ93ERIuq3O8RBTOUYDKszUCEHw==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.44.0.tgz",+ "integrity": "sha512-zaz9u8EJ4GBmnehlrpoKvj/E3dNbuQ7q0ucyZImm3cLqJ8INTc970B1qEqDX/Rzq65r3TvVTN7kHWPBoyW7DWw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/types": "8.43.0",+ "@typescript-eslint/types": "8.44.0","eslint-visitor-keys": "^4.2.1"},"engines": {@@ -12609,19 +12661,19 @@}},"node_modules/angular-eslint": {- "version": "20.2.0",- "resolved": "https://registry.npmjs.org/angular-eslint/-/angular-eslint-20.2.0.tgz",- "integrity": "sha512-DaBdj55ykBQOExCzcSJUOdTEJaBbV2+y6gCfgMopWoR2q6aUrH2XzxvbN4gEAYOfIrS22VP5ugk4/QTu9gwPfg==",+ "version": "20.3.0",+ "resolved": "https://registry.npmjs.org/angular-eslint/-/angular-eslint-20.3.0.tgz",+ "integrity": "sha512-MvmeFuPmJHRmfL1A9IMtZJEYaU6sF++saJgpsU7aOD6YDZCGJ0J6HxlJ/q7YRbWYuI1q+gF/qALxdnuwHYadSg==","dev": true,"license": "MIT","dependencies": {"@angular-devkit/core": ">= 20.0.0 < 21.0.0","@angular-devkit/schematics": ">= 20.0.0 < 21.0.0",- "@angular-eslint/builder": "20.2.0",- "@angular-eslint/eslint-plugin": "20.2.0",- "@angular-eslint/eslint-plugin-template": "20.2.0",- "@angular-eslint/schematics": "20.2.0",- "@angular-eslint/template-parser": "20.2.0",+ "@angular-eslint/builder": "20.3.0",+ "@angular-eslint/eslint-plugin": "20.3.0",+ "@angular-eslint/eslint-plugin-template": "20.3.0",+ "@angular-eslint/schematics": "20.3.0",+ "@angular-eslint/template-parser": "20.3.0","@typescript-eslint/types": "^8.0.0","@typescript-eslint/utils": "^8.0.0"},@@ -12662,6 +12714,7 @@"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"type-fest": "^0.21.3"},@@ -12678,6 +12731,7 @@"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==","dev": true,"license": "(MIT OR CC0-1.0)",+ "peer": true,"engines": {"node": ">=10"},@@ -13102,9 +13156,9 @@}},"node_modules/axios": {- "version": "1.11.0",- "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz",- "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==",+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz",+ "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==","license": "MIT","peer": true,"dependencies": {@@ -13124,10 +13178,18 @@}},"node_modules/b4a": {- "version": "1.6.7",- "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz",- "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==",- "license": "Apache-2.0"+ "version": "1.7.1",+ "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.7.1.tgz",+ "integrity": "sha512-ZovbrBV0g6JxK5cGUF1Suby1vLfKjv4RWi8IxoaO/Mon8BDD9I21RxjHFtgQ+kskJqLAVyQZly3uMBui+vhc8Q==",+ "license": "Apache-2.0",+ "peerDependencies": {+ "react-native-b4a": "*"+ },+ "peerDependenciesMeta": {+ "react-native-b4a": {+ "optional": true+ }+ }},"node_modules/babel-jest": {"version": "30.1.2",@@ -13359,6 +13421,16 @@"node": "^4.5.0 || >= 5.9"}},+ "node_modules/baseline-browser-mapping": {+ "version": "2.8.4",+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.4.tgz",+ "integrity": "sha512-L+YvJwGAgwJBV1p6ffpSTa2KRc69EeeYGYjRVWKs0GKrK+LON0GC0gV+rKSNtALEDvMDqkvCFq9r1r94/Gjwxw==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "baseline-browser-mapping": "dist/cli.js"+ }+ },"node_modules/bcryptjs": {"version": "3.0.2","resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-3.0.2.tgz",@@ -13514,9 +13586,9 @@}},"node_modules/browserslist": {- "version": "4.25.4",- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.4.tgz",- "integrity": "sha512-4jYpcjabC606xJ3kw2QwGEZKX0Aw7sgQdZCvIK9dhVSPh76BKo+C+btT1RRofH7B+8iNpEbgGNVWiLki5q93yg==",+ "version": "4.26.2",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.26.2.tgz",+ "integrity": "sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A==","dev": true,"funding": [{@@ -13534,9 +13606,10 @@],"license": "MIT","dependencies": {- "caniuse-lite": "^1.0.30001737",- "electron-to-chromium": "^1.5.211",- "node-releases": "^2.0.19",+ "baseline-browser-mapping": "^2.8.3",+ "caniuse-lite": "^1.0.30001741",+ "electron-to-chromium": "^1.5.218",+ "node-releases": "^2.0.21","update-browserslist-db": "^1.1.3"},"bin": {@@ -13844,9 +13917,9 @@}},"node_modules/caniuse-lite": {- "version": "1.0.30001741",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001741.tgz",- "integrity": "sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==",+ "version": "1.0.30001743",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001743.tgz",+ "integrity": "sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw==","dev": true,"funding": [{@@ -14947,9 +15020,9 @@"license": "MIT"},"node_modules/debug": {- "version": "4.4.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",- "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",+ "version": "4.4.3",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==","license": "MIT","dependencies": {"ms": "^2.1.3"@@ -15174,9 +15247,9 @@}},"node_modules/detect-libc": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",- "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.0.tgz",+ "integrity": "sha512-vEtk+OcP7VBRtQZ1EJ3bdgzSfBjgnEalLTp5zjJrS+2Z1w2KZly4SBdac/WDU3hhsNAZ9E8SC96ME4Ey8MZ7cg==","license": "Apache-2.0","engines": {"node": ">=8"@@ -15718,9 +15791,9 @@"license": "MIT"},"node_modules/electron-to-chromium": {- "version": "1.5.215",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.215.tgz",- "integrity": "sha512-TIvGp57UpeNetj/wV/xpFNpWGb0b/ROw372lHPx5Aafx02gjTBtWnEEcaSX3W2dLM3OSdGGyHX/cHl01JQsLaQ==",+ "version": "1.5.218",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.218.tgz",+ "integrity": "sha512-uwwdN0TUHs8u6iRgN8vKeWZMRll4gBkz+QMqdS7DDe49uiK68/UX92lFb61oiFPrpYZNeZIqa4bA7O6Aiasnzg==","dev": true,"license": "ISC"},@@ -16001,9 +16074,9 @@"license": "MIT"},"node_modules/error-ex": {- "version": "1.3.2",- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",+ "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==","dev": true,"license": "MIT","dependencies": {@@ -17545,9 +17618,9 @@"license": "MIT"},"node_modules/fs-extra": {- "version": "11.3.1",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz",- "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==",+ "version": "11.3.2",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",+ "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==","license": "MIT","dependencies": {"graceful-fs": "^4.2.0",@@ -17672,9 +17745,9 @@}},"node_modules/get-east-asian-width": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.1.tgz",- "integrity": "sha512-R1QfovbPsKmosqTnPoRFiJ7CF9MLRgb53ChvMZm+r4p76/+8yKDy17qLL2PKInORy2RkZZekuK0efYgmzTkXyQ==",+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz",+ "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==","dev": true,"license": "MIT","engines": {@@ -17947,9 +18020,9 @@}},"node_modules/globals": {- "version": "16.3.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-16.3.0.tgz",- "integrity": "sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==",+ "version": "16.4.0",+ "resolved": "https://registry.npmjs.org/globals/-/globals-16.4.0.tgz",+ "integrity": "sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==","dev": true,"license": "MIT","engines": {@@ -21187,6 +21260,24 @@"node": ">=20"}},+ "node_modules/ldapts/node_modules/debug": {+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",+ "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "ms": "^2.1.3"+ },+ "engines": {+ "node": ">=6.0"+ },+ "peerDependenciesMeta": {+ "supports-color": {+ "optional": true+ }+ }+ },"node_modules/ldapts/node_modules/uuid": {"version": "11.1.0","resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz",@@ -21236,9 +21327,9 @@}},"node_modules/libphonenumber-js": {- "version": "1.12.15",- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.15.tgz",- "integrity": "sha512-TMDCtIhWUDHh91wRC+wFuGlIzKdPzaTUHHVrIZ3vPUEoNaXFLrsIQ1ZpAeZeXApIF6rvDksMTvjrIQlLKaYxqQ==",+ "version": "1.12.17",+ "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.17.tgz",+ "integrity": "sha512-bsxi8FoceAYR/bjHcLYc2ShJ/aVAzo5jaxAYiMHF0BD+NTp47405CGuPNKYpw+lHadN9k/ClFGc9X5vaZswIrA==","license": "MIT"},"node_modules/light-my-request": {@@ -21628,9 +21719,9 @@}},"node_modules/log-update/node_modules/ansi-escapes": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz",- "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==",+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.1.0.tgz",+ "integrity": "sha512-YdhtCd19sKRKfAAUsrcC1wzm4JuzJoiX4pOJqIoW2qmKj5WzG/dL8uUJ0361zaXtHqK7gEhOwtAtz7t3Yq3X5g==","dev": true,"license": "MIT","dependencies": {@@ -22857,9 +22948,9 @@}},"node_modules/mysql2": {- "version": "3.14.5",- "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.14.5.tgz",- "integrity": "sha512-40hDf8LPUsuuJ2hFq+UgOuPwt2IFLIRDvMv6ez9hKbXeYuZPxDDwiJW7KdknvOsQqKznaKczOT1kELgFkhDvFg==",+ "version": "3.15.0",+ "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.15.0.tgz",+ "integrity": "sha512-tT6pomf5Z/I7Jzxu8sScgrYBMK9bUFWd7Kbo6Fs1L0M13OOIJ/ZobGKS3Z7tQ8Re4lj+LnLXIQVZZxa3fhYKzA==","license": "MIT","dependencies": {"aws-ssl-profiles": "^1.1.1",@@ -22996,9 +23087,9 @@}},"node_modules/ngx-bootstrap": {- "version": "20.0.1",- "resolved": "https://registry.npmjs.org/ngx-bootstrap/-/ngx-bootstrap-20.0.1.tgz",- "integrity": "sha512-xrI4oM2CZhmV81FbC2n+AE6MGJKdlbepefEZraQLUbMG5ssqtyzybqN7uDuKEwLesB/F7OeM36/GJp5Jm0OMJA==",+ "version": "20.0.2",+ "resolved": "https://registry.npmjs.org/ngx-bootstrap/-/ngx-bootstrap-20.0.2.tgz",+ "integrity": "sha512-huABQ3acd3GgFKj1ROfQXpgUp+rD24YJi1XC3IJtG2ZXUNPNsUUlhncPVEuOUW1nTTEsD6GNLGKyU4bndrpigg==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -23044,9 +23135,9 @@}},"node_modules/ngx-toastr": {- "version": "19.0.0",- "resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-19.0.0.tgz",- "integrity": "sha512-6pTnktwwWD+kx342wuMOWB4+bkyX9221pAgGz3SHOJH0/MI9erLucS8PeeJDFwbUYyh75nQ6AzVtolgHxi52dQ==",+ "version": "19.1.0",+ "resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-19.1.0.tgz",+ "integrity": "sha512-Qa7Kg7QzGKNtp1v04hu3poPKKx8BGBD/Onkhm6CdH5F0vSMdq+BdR/f8DTpZnGFksW891tAFufpiWb9UZX+3vg==","license": "MIT","dependencies": {"tslib": "^2.3.0"@@ -23184,9 +23275,9 @@"peer": true},"node_modules/node-releases": {- "version": "2.0.20",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.20.tgz",- "integrity": "sha512-7gK6zSXEH6neM212JgfYFXe+GmZQM+fia5SsusuBIUgnPheLFBmIPhtFoAQRj8/7wASYQnbDlHPVwY0BefoFgA==",+ "version": "2.0.21",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.21.tgz",+ "integrity": "sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw==","dev": true,"license": "MIT"},@@ -23254,9 +23345,9 @@}},"node_modules/normalize-url": {- "version": "8.0.2",- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.2.tgz",- "integrity": "sha512-Ee/R3SyN4BuynXcnTaekmaVdbDAEiNrHqjQIA37mHU8G9pf7aaAD4ZX3XjBLo6rsdcxA/gtkcNYZLt30ACgynw==",+ "version": "8.1.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.1.0.tgz",+ "integrity": "sha512-X06Mfd/5aKsRHc0O0J5CUedwnPmnDtLF2+nq+KN9KSDlJHkPuh0JUviWjEWMe0SW/9TDdSLVPuk7L5gGTIA1/w==","dev": true,"license": "MIT","engines": {@@ -24310,9 +24401,9 @@}},"node_modules/pino": {- "version": "9.9.4",- "resolved": "https://registry.npmjs.org/pino/-/pino-9.9.4.tgz",- "integrity": "sha512-d1XorUQ7sSKqVcYdXuEYs2h1LKxejSorMEJ76XoZ0pPDf8VzJMe7GlPXpMBZeQ9gE4ZPIp5uGD+5Nw7scxiigg==",+ "version": "9.9.5",+ "resolved": "https://registry.npmjs.org/pino/-/pino-9.9.5.tgz",+ "integrity": "sha512-d1s98p8/4TfYhsJ09r/Azt30aYELRi6NNnZtEbqFw6BoGsdPVf5lKNK3kUwH8BmJJfpTLNuicjUQjaMbd93dVg==","license": "MIT","dependencies": {"atomic-sleep": "^1.0.0",@@ -24865,6 +24956,12 @@"license": "MIT","peer": true},+ "node_modules/qrcode-generator": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/qrcode-generator/-/qrcode-generator-2.0.4.tgz",+ "integrity": "sha512-mZSiP6RnbHl4xL2Ap5HfkjLnmxfKcPWpWe/c+5XxCuetEenqmNFf1FH/ftXPCtFG5/TDobjsjz6sSNL0Sr8Z9g==",+ "license": "MIT"+ },"node_modules/qs": {"version": "6.14.0","resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",@@ -25502,9 +25599,9 @@}},"node_modules/rollup": {- "version": "4.50.1",- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.50.1.tgz",- "integrity": "sha512-78E9voJHwnXQMiQdiqswVLZwJIzdBKJ1GdI5Zx6XwoFKUIk09/sSrr+05QFzvYb8q6Y9pPV45zzDuYa3907TZA==",+ "version": "4.50.2",+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.50.2.tgz",+ "integrity": "sha512-BgLRGy7tNS9H66aIMASq1qSYbAAJV6Z6WR4QYTvj5FgF15rZ/ympT1uixHXwzbZUBDbkvqUI1KR0fH1FhMaQ9w==","dev": true,"license": "MIT","dependencies": {@@ -25518,27 +25615,27 @@"npm": ">=8.0.0"},"optionalDependencies": {- "@rollup/rollup-android-arm-eabi": "4.50.1",- "@rollup/rollup-android-arm64": "4.50.1",- "@rollup/rollup-darwin-arm64": "4.50.1",- "@rollup/rollup-darwin-x64": "4.50.1",- "@rollup/rollup-freebsd-arm64": "4.50.1",- "@rollup/rollup-freebsd-x64": "4.50.1",- "@rollup/rollup-linux-arm-gnueabihf": "4.50.1",- "@rollup/rollup-linux-arm-musleabihf": "4.50.1",- "@rollup/rollup-linux-arm64-gnu": "4.50.1",- "@rollup/rollup-linux-arm64-musl": "4.50.1",- "@rollup/rollup-linux-loongarch64-gnu": "4.50.1",- "@rollup/rollup-linux-ppc64-gnu": "4.50.1",- "@rollup/rollup-linux-riscv64-gnu": "4.50.1",- "@rollup/rollup-linux-riscv64-musl": "4.50.1",- "@rollup/rollup-linux-s390x-gnu": "4.50.1",- "@rollup/rollup-linux-x64-gnu": "4.50.1",- "@rollup/rollup-linux-x64-musl": "4.50.1",- "@rollup/rollup-openharmony-arm64": "4.50.1",- "@rollup/rollup-win32-arm64-msvc": "4.50.1",- "@rollup/rollup-win32-ia32-msvc": "4.50.1",- "@rollup/rollup-win32-x64-msvc": "4.50.1",+ "@rollup/rollup-android-arm-eabi": "4.50.2",+ "@rollup/rollup-android-arm64": "4.50.2",+ "@rollup/rollup-darwin-arm64": "4.50.2",+ "@rollup/rollup-darwin-x64": "4.50.2",+ "@rollup/rollup-freebsd-arm64": "4.50.2",+ "@rollup/rollup-freebsd-x64": "4.50.2",+ "@rollup/rollup-linux-arm-gnueabihf": "4.50.2",+ "@rollup/rollup-linux-arm-musleabihf": "4.50.2",+ "@rollup/rollup-linux-arm64-gnu": "4.50.2",+ "@rollup/rollup-linux-arm64-musl": "4.50.2",+ "@rollup/rollup-linux-loong64-gnu": "4.50.2",+ "@rollup/rollup-linux-ppc64-gnu": "4.50.2",+ "@rollup/rollup-linux-riscv64-gnu": "4.50.2",+ "@rollup/rollup-linux-riscv64-musl": "4.50.2",+ "@rollup/rollup-linux-s390x-gnu": "4.50.2",+ "@rollup/rollup-linux-x64-gnu": "4.50.2",+ "@rollup/rollup-linux-x64-musl": "4.50.2",+ "@rollup/rollup-openharmony-arm64": "4.50.2",+ "@rollup/rollup-win32-arm64-msvc": "4.50.2",+ "@rollup/rollup-win32-ia32-msvc": "4.50.2",+ "@rollup/rollup-win32-x64-msvc": "4.50.2","fsevents": "~2.3.2"}},@@ -26978,9 +27075,9 @@}},"node_modules/tar-fs": {- "version": "2.1.3",- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz",- "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==",+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz",+ "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==","license": "MIT","dependencies": {"chownr": "^1.1.1",@@ -27298,6 +27395,12 @@"safe-buffer": "~5.1.0"}},+ "node_modules/time2fa": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/time2fa/-/time2fa-1.4.2.tgz",+ "integrity": "sha512-badZQkQpCi8eZWN02HTjoBBg+leBmwiLWFQtweklEhY8+JEGXSgd2Xy6nGBtPi+7HigSczclYTljAEJA4Z9D4g==",+ "license": "MIT"+ },"node_modules/tinyglobby": {"version": "0.2.14","resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",@@ -27478,9 +27581,9 @@}},"node_modules/ts-jest": {- "version": "29.4.1",- "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.1.tgz",- "integrity": "sha512-SaeUtjfpg9Uqu8IbeDKtdaS0g8lS6FT6OzM3ezrDfErPJPHNDo/Ey+VFGP1bQIDfagYDLyRpd7O15XpG1Es2Uw==",+ "version": "29.4.2",+ "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.2.tgz",+ "integrity": "sha512-pBNOkn4HtuLpNrXTMVRC9b642CBaDnKqWXny4OzuoULT9S7Kf8MMlaRe2veKax12rjf5WcpMBhVPbQurlWGNxA==","dev": true,"license": "MIT","dependencies": {@@ -27918,16 +28021,16 @@}},"node_modules/typescript-eslint": {- "version": "8.43.0",- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.43.0.tgz",- "integrity": "sha512-FyRGJKUGvcFekRRcBKFBlAhnp4Ng8rhe8tuvvkR9OiU0gfd4vyvTRQHEckO6VDlH57jbeUQem2IpqPq9kLJH+w==",+ "version": "8.44.0",+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.44.0.tgz",+ "integrity": "sha512-ib7mCkYuIzYonCq9XWF5XNw+fkj2zg629PSa9KNIQ47RXFF763S5BIX4wqz1+FLPogTZoiw8KmCiRPRa8bL3qw==","dev": true,"license": "MIT","dependencies": {- "@typescript-eslint/eslint-plugin": "8.43.0",- "@typescript-eslint/parser": "8.43.0",- "@typescript-eslint/typescript-estree": "8.43.0",- "@typescript-eslint/utils": "8.43.0"+ "@typescript-eslint/eslint-plugin": "8.44.0",+ "@typescript-eslint/parser": "8.44.0",+ "@typescript-eslint/typescript-estree": "8.44.0",+ "@typescript-eslint/utils": "8.44.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -28228,18 +28331,18 @@}},"node_modules/vite": {- "version": "7.1.2",- "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.2.tgz",- "integrity": "sha512-J0SQBPlQiEXAF7tajiH+rUooJPo0l8KQgyg4/aMunNtrOa7bwuZJsJbDWzeljqQpgftxuq5yNJxQ91O9ts29UQ==",+ "version": "7.1.5",+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.5.tgz",+ "integrity": "sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==","dev": true,"license": "MIT","dependencies": {"esbuild": "^0.25.0",- "fdir": "^6.4.6",+ "fdir": "^6.5.0","picomatch": "^4.0.3","postcss": "^8.5.6","rollup": "^4.43.0",- "tinyglobby": "^0.2.14"+ "tinyglobby": "^0.2.15"},"bin": {"vite": "bin/vite.js"@@ -28302,6 +28405,23 @@}}},+ "node_modules/vite/node_modules/tinyglobby": {+ "version": "0.2.15",+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "fdir": "^6.5.0",+ "picomatch": "^4.0.3"+ },+ "engines": {+ "node": ">=12.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/SuperchupuDev"+ }+ },"node_modules/w3c-xmlserializer": {"version": "5.0.0","resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",