Skip to content

Commit 73a7c3b

Browse files
committed
Nest 11
1 parent 1f154e2 commit 73a7c3b

File tree

4 files changed

+736
-823
lines changed

4 files changed

+736
-823
lines changed

package.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
3636
"@faker-js/faker": "^8.2.0",
3737
"@fastify/compress": "^8.0.1",
3838
"@fastify/cookie": "^11.0.1",
39-
"@fastify/cors": "^10.0.1",
39+
"@fastify/cors": "^11.0.1",
4040
"@ffprobe-installer/ffprobe": "^2.1.2",
4141
"@golevelup/nestjs-discovery": "^4.0.0",
4242
"@graphql-hive/yoga": "^0.38.2",
4343
"@graphql-tools/utils": "^10.5.4",
4444
"@graphql-yoga/plugin-apq": "^3.7.0",
4545
"@leeoniya/ufuzzy": "^1.0.11",
46-
"@nestjs/common": "^10.2.7",
47-
"@nestjs/core": "^10.2.7",
48-
"@nestjs/graphql": "^12.0.9",
49-
"@nestjs/platform-fastify": "^10.4.3",
46+
"@nestjs/common": "^11.1.0",
47+
"@nestjs/core": "^11.1.0",
48+
"@nestjs/graphql": "^13.1.0",
49+
"@nestjs/platform-fastify": "^11.1.0",
5050
"@patarapolw/prettyprint": "^1.0.3",
5151
"@seedcompany/cache": "^3.0.2",
5252
"@seedcompany/common": ">=0.17 <1",
@@ -99,7 +99,7 @@
9999
"prismjs-terminal": "^1.2.3",
100100
"react": "^18.2.0",
101101
"react-dom": "^18.2.0",
102-
"reflect-metadata": "^0.1.13",
102+
"reflect-metadata": "^0.2.2",
103103
"rimraf": "^5.0.5",
104104
"rxjs": "^7.8.1",
105105
"sanitize-filename": "^1.6.3",
@@ -115,9 +115,9 @@
115115
"devDependencies": {
116116
"@gel/generate": "^0.7.0-canary.20250422T080308",
117117
"@graphql-hive/cli": "^0.44.2",
118-
"@nestjs/cli": "^10.2.1",
119-
"@nestjs/schematics": "^10.0.3",
120-
"@nestjs/testing": "^10.2.7",
118+
"@nestjs/cli": "^11.0.7",
119+
"@nestjs/schematics": "^11.0.5",
120+
"@nestjs/testing": "^11.1.0",
121121
"@seedcompany/eslint-plugin": "^3.4.1",
122122
"@tsconfig/strictest": "^2.0.2",
123123
"@types/common-tags": "^1.8.3",
@@ -156,13 +156,9 @@
156156
"@nestjs/cli/fork-ts-checker-webpack-plugin": "npm:empty-npm-package@*",
157157
"@nestjs/cli/webpack": "npm:empty-npm-package@*",
158158
"@nestjs/cli/typescript": "^5.1.6",
159-
"@nestjs/graphql/graphql-ws": "^5",
160-
"@nestjs/platform-fastify/@fastify/cors": "^10",
161-
"@nestjs/platform-fastify/@fastify/formbody": "^8",
162-
"@nestjs/platform-fastify/@fastify/middie": "^9",
163-
"@nestjs/platform-fastify/fastify": "^5",
164-
"@nestjs/platform-fastify/light-my-request": "^6",
165159
"@whatwg-node/fetch": "patch:@whatwg-node/fetch@npm%3A0.9.22#~/.yarn/patches/@whatwg-node-fetch-npm-0.9.22-a60314fb39.patch",
160+
"process-warning": "^5",
161+
"secure-json-parse": "^4",
166162
"subscriptions-transport-ws": "npm:empty-npm-package@*"
167163
},
168164
"dependenciesMeta": {

src/core/exception/exception.normalizer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ export class ExceptionNormalizer {
342342
if (type === Nest.HttpException) {
343343
return (ex as Nest.HttpException).getStatus() < 500 ? 'Client' : 'Server';
344344
}
345+
if (type === Nest.IntrinsicException) {
346+
return [];
347+
}
345348
if (type === Gel.GelError) {
346349
const transient =
347350
ex instanceof Gel.GelError &&

src/core/resources/loader.registry.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ export class ResourceLoaderRegistry implements OnModuleInit {
7272
.flatMap((nestModule) => [...nestModule.providers.values()])
7373
.filter((provider) => provider.scope === Scope.REQUEST)
7474
.flatMap((provider) => {
75+
if (!provider.metatype) {
76+
return [];
77+
}
7578
const metadata = Reflect.getMetadata(
7679
LOADER_OF_RESOURCE,
7780
provider.metatype,

0 commit comments

Comments
 (0)