diff --git a/express-api/package.json b/express-api/package.json index 4ee3cae67b..12fbbeb55e 100644 --- a/express-api/package.json +++ b/express-api/package.json @@ -39,13 +39,13 @@ "tsconfig-paths": "4.2.0", "typeorm": "0.3.20", "typeorm-naming-strategies": "4.1.0", - "winston": "3.16.0", + "winston": "3.17.0", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz", "zod": "3.23.3" }, "devDependencies": { - "@eslint/js": "9.11.1", - "@faker-js/faker": "9.0.1", + "@eslint/js": "9.14.0", + "@faker-js/faker": "9.2.0", "@types/compression": "1.7.4", "@types/cookie-parser": "1.4.5", "@types/cors": "2.8.15", @@ -53,13 +53,13 @@ "@types/jest": "29.5.10", "@types/morgan": "1.9.9", "@types/multer": "1.4.11", - "@types/node": "22.7.4", + "@types/node": "22.9.0", "@types/nunjucks": "3.2.6", "@types/supertest": "6.0.2", "@types/swagger-jsdoc": "6.0.4", "@types/swagger-ui-express": "4.1.6", "cross-env": "7.0.3", - "eslint": "9.11.1", + "eslint": "9.14.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", "jest": "29.7.0", @@ -69,6 +69,6 @@ "ts-jest": "29.2.0", "tsc-alias": "1.8.8", "typescript": "5.6.2", - "typescript-eslint": "8.8.0" + "typescript-eslint": "8.14.0" } } diff --git a/express-api/tests/integration/users/users.test.ts b/express-api/tests/integration/users/users.test.ts index 12355e1d25..7216e4c72f 100644 --- a/express-api/tests/integration/users/users.test.ts +++ b/express-api/tests/integration/users/users.test.ts @@ -22,7 +22,7 @@ const mockUser: IUser = { middleName: faker.person.middleName(), lastName: faker.person.lastName(), email: faker.internet.email(), - username: faker.internet.userName(), + username: faker.internet.username(), position: 'Tester', }; const TOKEN = ''; diff --git a/express-api/tests/testUtils/factories.ts b/express-api/tests/testUtils/factories.ts index 50f37bebd8..a4c036f4e3 100644 --- a/express-api/tests/testUtils/factories.ts +++ b/express-api/tests/testUtils/factories.ts @@ -144,7 +144,7 @@ export const produceUser = (props?: Partial): User => { MiddleName: faker.person.middleName(), LastName: faker.person.lastName(), Email: faker.internet.email(), - Username: faker.internet.userName(), + Username: faker.internet.username(), Position: 'Tester', Note: '', LastLogin: faker.date.anytime(),