Skip to content

Commit 2188b19

Browse files
authored
Merge pull request #8691 from ever-co/fix/packages-update
chore(deps): update NestJS packages to latest versions
2 parents ebce53f + 5a37c91 commit 2188b19

File tree

33 files changed

+575
-363
lines changed

33 files changed

+575
-363
lines changed

apps/api/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@
5858
"yargs": "^17.5.0"
5959
},
6060
"devDependencies": {
61-
"@nestjs/schematics": "^10.1.1",
62-
"@nestjs/testing": "^10.3.7",
61+
"@nestjs/cli": "^10.4.9",
62+
"@nestjs/schematics": "^10.2.3",
63+
"@nestjs/testing": "^10.4.15",
6364
"nodemon": "^3.1.0",
6465
"pm2": "^5.3.1",
6566
"ts-node": "^10.9.2",

apps/desktop-api/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"@grpc/grpc-js": "^1.6.7",
4141
"@mikro-orm/core": "^6.2.3",
4242
"@mikro-orm/nestjs": "^5.2.3",
43-
"@nestjs/common": "^10.3.7",
44-
"@nestjs/core": "^10.3.7",
43+
"@nestjs/common": "^10.4.15",
44+
"@nestjs/core": "^10.4.15",
4545
"@nestjs/typeorm": "^10.0.2",
4646
"@gauzy/plugin-integration-wakatime": "^0.1.0"
4747
},
4848
"devDependencies": {
49-
"@nestjs/testing": "^10.3.7",
49+
"@nestjs/testing": "^10.4.15",
5050
"@types/node": "^20.14.9"
5151
},
5252
"engines": {

apps/desktop-timer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"electron-store": "^8.1.0",
7070
"electron-updater": "^6.1.7",
7171
"electron-util": "^0.18.1",
72-
"express": "^4.18.2",
72+
"express": "^4.21.2",
7373
"locutus": "^2.0.30",
7474
"moment": "^2.30.1",
7575
"moment-duration-format": "^2.3.2",

apps/desktop/src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"@gauzy/plugin-sentry": "file:../../../dist/packages/plugins/sentry-tracing",
170170
"@gauzy/plugin-videos": "file:../../../dist/packages/plugins/videos",
171171
"@gauzy/ui-config": "file:../../../dist/packages/ui-config",
172-
"@nestjs/platform-express": "^10.3.7",
172+
"@nestjs/platform-express": "^10.4.15",
173173
"@sentry/electron": "^4.18.0",
174174
"@sentry/node": "^7.101.1",
175175
"@sentry/profiling-node": "^7.101.1",

apps/gauzy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@gauzy/plugin-maintenance-ui": "^0.1.0",
6565
"@gauzy/plugin-onboarding-ui": "^0.1.0",
6666
"@gauzy/plugin-public-layout-ui": "^0.1.0",
67-
"@jitsu/js": "^1.9.10",
67+
"@jitsu/js": "^1.9.12",
6868
"@kurkle/color": "^0.3.2",
6969
"@nebular/auth": "^14.0.2",
7070
"@nebular/bootstrap": "^9.1.0-rc.6",

apps/server-api/src/package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@
157157
"@gauzy/plugin-sentry": "file:../../../dist/packages/plugins/sentry-tracing",
158158
"@gauzy/plugin-videos": "file:../../../dist/packages/plugins/videos",
159159
"@gauzy/ui-config": "file:../../../dist/packages/ui-config",
160-
"@nestjs/platform-express": "^10.3.7",
161160
"@sentry/electron": "^4.18.0",
162161
"@sentry/node": "^7.101.1",
163162
"@sentry/profiling-node": "^7.101.1",
@@ -226,24 +225,25 @@
226225
"@mikro-orm/mysql": "^6.2.3",
227226
"@mikro-orm/nestjs": "^5.2.3",
228227
"@mikro-orm/postgresql": "^6.2.3",
229-
"@nestjs/apollo": "^12.1.0",
230-
"@nestjs/axios": "^3.0.2",
231-
"@nestjs/cache-manager": "^2.2.1",
232-
"@nestjs/common": "^10.3.7",
233-
"@nestjs/core": "^10.3.7",
234-
"@nestjs/cqrs": "^10.2.7",
235-
"@nestjs/graphql": "^12.1.1",
228+
"@nestjs/apollo": "^12.2.2",
229+
"@nestjs/axios": "^3.1.3",
230+
"@nestjs/cache-manager": "^2.3.0",
231+
"@nestjs/common": "^10.4.15",
232+
"@nestjs/core": "^10.4.15",
233+
"@nestjs/cqrs": "^10.2.8",
234+
"@nestjs/graphql": "^12.2.2",
236235
"@nestjs/jwt": "^10.2.0",
237-
"@nestjs/mapped-types": "^2.0.5",
238-
"@nestjs/microservices": "^10.3.7",
236+
"@nestjs/mapped-types": "^2.0.6",
237+
"@nestjs/microservices": "^10.4.15",
239238
"@nestjs/passport": "^10.0.3",
240-
"@nestjs/platform-socket.io": "^10.3.7",
241-
"@nestjs/serve-static": "^4.0.1",
242-
"@nestjs/swagger": "^7.3.0",
239+
"@nestjs/platform-express": "^10.4.15",
240+
"@nestjs/platform-socket.io": "^10.4.15",
241+
"@nestjs/serve-static": "^4.0.2",
242+
"@nestjs/swagger": "^8.1.0",
243243
"@nestjs/terminus": "^10.2.3",
244-
"@nestjs/throttler": "^5.1.2",
244+
"@nestjs/throttler": "^6.3.0",
245245
"@nestjs/typeorm": "^10.0.2",
246-
"@nestjs/websockets": "^10.3.7",
246+
"@nestjs/websockets": "^10.4.15",
247247
"@nestjsx/crud": "^5.0.0-alpha.3",
248248
"@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
249249
"@opentelemetry/api": "^1.4.1",
@@ -274,8 +274,8 @@
274274
"date-fns": "^2.28.0",
275275
"dotenv": "^16.0.3",
276276
"email-templates": "^8.0.8",
277-
"express": "^4.18.2",
278-
"express-session": "^1.17.3",
277+
"express": "^4.21.2",
278+
"express-session": "^1.18.1",
279279
"fast-json-stringify": "^2.4.1",
280280
"fastify-swagger": "^4.12.4",
281281
"fs-extra": "^10.1.0",
@@ -340,7 +340,7 @@
340340
"@octokit/rest": "^20.0.2",
341341
"upwork-api": "^1.3.8",
342342
"html-to-text": "^9.0.5",
343-
"@jitsu/js": "^1.8.2"
343+
"@jitsu/js": "^1.9.12"
344344
},
345345
"optionalDependencies": {
346346
"node-linux": "^0.1.12",

apps/server/src/package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@
157157
"@gauzy/plugin-sentry": "file:../../../dist/packages/plugins/sentry-tracing",
158158
"@gauzy/plugin-videos": "file:../../../dist/packages/plugins/videos",
159159
"@gauzy/ui-config": "file:../../../dist/packages/ui-config",
160-
"@nestjs/platform-express": "^10.3.7",
161160
"@sentry/electron": "^4.18.0",
162161
"@sentry/node": "^7.101.1",
163162
"@sentry/profiling-node": "^7.101.1",
@@ -226,24 +225,25 @@
226225
"@mikro-orm/mysql": "^6.2.3",
227226
"@mikro-orm/nestjs": "^5.2.3",
228227
"@mikro-orm/postgresql": "^6.2.3",
229-
"@nestjs/apollo": "^12.1.0",
230-
"@nestjs/axios": "^3.0.2",
231-
"@nestjs/cache-manager": "^2.2.1",
232-
"@nestjs/common": "^10.3.7",
233-
"@nestjs/core": "^10.3.7",
234-
"@nestjs/cqrs": "^10.2.7",
235-
"@nestjs/graphql": "^12.1.1",
228+
"@nestjs/apollo": "^12.2.2",
229+
"@nestjs/axios": "^3.1.3",
230+
"@nestjs/cache-manager": "^2.3.0",
231+
"@nestjs/common": "^10.4.15",
232+
"@nestjs/core": "^10.4.15",
233+
"@nestjs/cqrs": "^10.2.8",
234+
"@nestjs/graphql": "^12.2.2",
236235
"@nestjs/jwt": "^10.2.0",
237-
"@nestjs/mapped-types": "^2.0.5",
238-
"@nestjs/microservices": "^10.3.7",
236+
"@nestjs/mapped-types": "^2.0.6",
237+
"@nestjs/microservices": "^10.4.15",
239238
"@nestjs/passport": "^10.0.3",
240-
"@nestjs/platform-socket.io": "^10.3.7",
241-
"@nestjs/serve-static": "^4.0.1",
242-
"@nestjs/swagger": "^7.3.0",
239+
"@nestjs/platform-express": "^10.4.15",
240+
"@nestjs/platform-socket.io": "^10.4.15",
241+
"@nestjs/serve-static": "^4.0.2",
242+
"@nestjs/swagger": "^8.1.0",
243243
"@nestjs/terminus": "^10.2.3",
244-
"@nestjs/throttler": "^5.1.2",
244+
"@nestjs/throttler": "^6.3.0",
245245
"@nestjs/typeorm": "^10.0.2",
246-
"@nestjs/websockets": "^10.3.7",
246+
"@nestjs/websockets": "^10.4.15",
247247
"@nestjsx/crud": "^5.0.0-alpha.3",
248248
"@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
249249
"@opentelemetry/api": "^1.4.1",
@@ -274,8 +274,8 @@
274274
"date-fns": "^2.28.0",
275275
"dotenv": "^16.0.3",
276276
"email-templates": "^8.0.8",
277-
"express": "^4.18.2",
278-
"express-session": "^1.17.3",
277+
"express": "^4.21.2",
278+
"express-session": "^1.18.1",
279279
"fast-json-stringify": "^2.4.1",
280280
"fastify-swagger": "^4.12.4",
281281
"fs-extra": "^10.1.0",
@@ -340,7 +340,7 @@
340340
"@octokit/rest": "^20.0.2",
341341
"upwork-api": "^1.3.8",
342342
"html-to-text": "^9.0.5",
343-
"@jitsu/js": "^1.8.2"
343+
"@jitsu/js": "^1.9.12"
344344
},
345345
"optionalDependencies": {
346346
"node-linux": "^0.1.12",

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,10 @@
398398
"@nebular/eva-icons": "^14.0.2",
399399
"@nebular/security": "^14.0.2",
400400
"@nebular/theme": "^14.0.2",
401-
"@nestjs/common": "^10.3.7",
402-
"@nestjs/core": "^10.3.7",
403-
"@nestjs/mapped-types": "^2.0.5",
404-
"@nestjs/platform-express": "^10.3.7",
401+
"@nestjs/common": "^10.4.15",
402+
"@nestjs/core": "^10.4.15",
403+
"@nestjs/mapped-types": "^2.0.6",
404+
"@nestjs/platform-express": "^10.4.15",
405405
"@ng-select/ng-select": "^13.9.0",
406406
"angular2-smart-table": "^3.4.0",
407407
"autoprefixer": "^10.4.20",
@@ -438,8 +438,8 @@
438438
"@compodoc/compodoc": "^1.1.19",
439439
"@cypress/browserify-preprocessor": "^3.0.2",
440440
"@electron/remote": "^2.0.8",
441-
"@nestjs/schematics": "^10.1.1",
442-
"@nestjs/testing": "^10.3.7",
441+
"@nestjs/schematics": "^10.2.3",
442+
"@nestjs/testing": "^10.4.15",
443443
"@nstudio/angular": "^20.0.3",
444444
"@nstudio/electron": "^20.0.3",
445445
"@nstudio/electron-angular": "^20.0.3",

packages/auth/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"@gauzy/common": "^0.1.0",
2222
"@gauzy/config": "^0.1.0",
2323
"@gauzy/contracts": "^0.1.0",
24-
"@nestjs/axios": "^3.0.2",
25-
"@nestjs/common": "^10.3.7",
24+
"@nestjs/axios": "^3.1.3",
25+
"@nestjs/common": "^10.4.15",
2626
"@nestjs/config": "^3.2.0",
2727
"@nestjs/passport": "^10.0.3",
2828
"axios": "^1.7.4",
2929
"bcrypt": "^5.1.1",
30-
"express": "^4.18.2",
30+
"express": "^4.21.2",
3131
"passport": "^0.6.0",
3232
"passport-auth0": "^1.3.3",
3333
"passport-facebook": "^3.0.0",

packages/common/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"dependencies": {
2121
"@gauzy/contracts": "^0.1.0",
2222
"@mikro-orm/nestjs": "^5.2.3",
23-
"@nestjs/common": "^10.3.7",
24-
"@nestjs/core": "^10.3.7",
23+
"@nestjs/common": "^10.4.15",
24+
"@nestjs/core": "^10.4.15",
2525
"@nestjs/typeorm": "^10.0.2",
2626
"apollo-server-core": "^3.10.1",
2727
"graphql": "15.7.2",

packages/config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@mikro-orm/mysql": "^6.2.3",
3434
"@mikro-orm/nestjs": "^5.2.3",
3535
"@mikro-orm/postgresql": "^6.2.3",
36-
"@nestjs/common": "^10.3.7",
36+
"@nestjs/common": "^10.4.15",
3737
"@nestjs/config": "^3.2.0",
3838
"@nestjs/typeorm": "^10.0.2",
3939
"app-root-path": "^3.0.0",

packages/core/package.json

+20-20
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,25 @@
4545
"@mikro-orm/mysql": "^6.2.3",
4646
"@mikro-orm/nestjs": "^5.2.3",
4747
"@mikro-orm/postgresql": "^6.2.3",
48-
"@nestjs/apollo": "^12.1.0",
49-
"@nestjs/axios": "^3.0.2",
50-
"@nestjs/cache-manager": "^2.2.1",
51-
"@nestjs/common": "^10.3.7",
52-
"@nestjs/core": "^10.3.7",
53-
"@nestjs/cqrs": "^10.2.7",
54-
"@nestjs/graphql": "^12.1.1",
48+
"@nestjs/apollo": "^12.2.2",
49+
"@nestjs/axios": "^3.1.3",
50+
"@nestjs/cache-manager": "^2.3.0",
51+
"@nestjs/common": "^10.4.15",
52+
"@nestjs/core": "^10.4.15",
53+
"@nestjs/cqrs": "^10.2.8",
54+
"@nestjs/graphql": "^12.2.2",
5555
"@nestjs/jwt": "^10.2.0",
56-
"@nestjs/mapped-types": "^2.0.5",
57-
"@nestjs/microservices": "^10.3.7",
56+
"@nestjs/mapped-types": "^2.0.6",
57+
"@nestjs/microservices": "^10.4.15",
5858
"@nestjs/passport": "^10.0.3",
59-
"@nestjs/platform-express": "^10.3.7",
60-
"@nestjs/platform-socket.io": "^10.3.7",
61-
"@nestjs/serve-static": "^4.0.1",
62-
"@nestjs/swagger": "^7.3.0",
59+
"@nestjs/platform-express": "^10.4.15",
60+
"@nestjs/platform-socket.io": "^10.4.15",
61+
"@nestjs/serve-static": "^4.0.2",
62+
"@nestjs/swagger": "^8.1.0",
6363
"@nestjs/terminus": "^10.2.3",
64-
"@nestjs/throttler": "^5.1.2",
64+
"@nestjs/throttler": "^6.3.0",
6565
"@nestjs/typeorm": "^10.0.2",
66-
"@nestjs/websockets": "^10.3.7",
66+
"@nestjs/websockets": "^10.4.15",
6767
"@nestjsx/crud": "^5.0.0-alpha.3",
6868
"@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
6969
"@opentelemetry/api": "^1.4.1",
@@ -120,8 +120,8 @@
120120
"date-fns": "^2.28.0",
121121
"dotenv": "^16.0.3",
122122
"email-templates": "^8.0.8",
123-
"express": "^4.18.2",
124-
"express-session": "^1.17.3",
123+
"express": "^4.21.2",
124+
"express-session": "^1.18.1",
125125
"fast-json-stringify": "^2.4.1",
126126
"fastify-swagger": "^4.12.4",
127127
"fs-extra": "^10.1.0",
@@ -178,9 +178,9 @@
178178
"yargs": "^17.5.0"
179179
},
180180
"devDependencies": {
181-
"@nestjs/cli": "^10.3.2",
182-
"@nestjs/schematics": "^10.1.1",
183-
"@nestjs/testing": "^10.3.7",
181+
"@nestjs/cli": "^10.4.9",
182+
"@nestjs/schematics": "^10.2.3",
183+
"@nestjs/testing": "^10.4.15",
184184
"@types/bcrypt": "^5.0.2",
185185
"@types/email-templates": "^7.1.0",
186186
"@types/express": "^4.17.13",

packages/core/src/lib/auth/auth.controller.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export class AuthController {
6060
* @returns
6161
*/
6262
@ApiOperation({ summary: 'Check if user is authenticated' })
63-
@ApiOkResponse({ status: HttpStatus.OK, description: 'The success server response' })
64-
@ApiBadRequestResponse({ status: HttpStatus.BAD_REQUEST })
63+
@ApiOkResponse({ description: 'The success server response' })
64+
@ApiBadRequestResponse({ description: 'Bad request response' })
6565
@Get('/authenticated')
6666
@Public()
6767
async authenticated(): Promise<boolean> {

packages/core/src/lib/core/crud/pagination-params.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { SimpleObjectLiteral, convertNativeParameters, parseObject } from './pag
1414
* Specifies what columns should be retrieved.
1515
*/
1616
export class OptionsSelect<T = any> {
17-
@ApiPropertyOptional({ type: 'object' })
17+
@ApiPropertyOptional({ type: Object })
1818
@IsOptional()
1919
@Transform(({ value }: TransformFnParams) => parseObject(value, parseToBoolean))
2020
readonly select?: FindOptionsSelect<T>;
@@ -24,7 +24,7 @@ export class OptionsSelect<T = any> {
2424
* Indicates what relations of entity should be loaded (simplified left join form).
2525
*/
2626
export class OptionsRelations<T = any> extends OptionsSelect<T> {
27-
@ApiPropertyOptional({ type: 'object' })
27+
@ApiPropertyOptional({ type: Object })
2828
@IsOptional()
2929
readonly relations?: FindOptionsRelations<T>;
3030
}
@@ -33,14 +33,14 @@ export class OptionParams<T> extends OptionsRelations<T> {
3333
/**
3434
* Order, in which entities should be ordered.
3535
*/
36-
@ApiPropertyOptional({ type: 'object' })
36+
@ApiPropertyOptional({ type: Object })
3737
@IsOptional()
3838
readonly order: FindOptionsOrder<T>;
3939

4040
/**
4141
* Simple condition that should be applied to match entities.
4242
*/
43-
@ApiProperty({ type: 'object' })
43+
@ApiProperty({ type: Object })
4444
@IsNotEmpty()
4545
@ValidateNested({ each: true })
4646
@Type(() => TenantOrganizationBaseDTO)

packages/core/src/lib/email-history/email-history.controller.ts

-3
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,13 @@ export class EmailHistoryController {
4141

4242
@ApiOperation({ summary: 'Find all sent emails under specific tenant.' })
4343
@ApiOkResponse({
44-
status: HttpStatus.OK,
4544
description: 'Found emails',
4645
type: EmailHistory
4746
})
4847
@ApiNotFoundResponse({
49-
status: HttpStatus.NOT_FOUND,
5048
description: 'No records found'
5149
})
5250
@ApiInternalServerErrorResponse({
53-
status: HttpStatus.INTERNAL_SERVER_ERROR,
5451
description: 'Invalid input, The response body may contain clues as to what went wrong'
5552
})
5653
@Get()

packages/core/src/lib/organization-project/dto/update-project-setting.dto.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class UpdateProjectSettingDTO
1616
| Embeddable Columns
1717
|--------------------------------------------------------------------------
1818
*/
19-
@ApiPropertyOptional({ type: 'object' })
19+
@ApiPropertyOptional({ type: Object })
2020
@IsOptional()
2121
readonly customFields?: Record<string, any>;
2222
}

0 commit comments

Comments
 (0)