@lenne.tech/nest-server 11.25.3 → 11.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FRAMEWORK-API.md +1 -1
- package/dist/core/common/decorators/unified-field.decorator.d.ts +1 -1
- package/dist/core/common/decorators/unified-field.decorator.js +2 -2
- package/dist/core/common/decorators/unified-field.decorator.js.map +1 -1
- package/dist/core/common/helpers/interceptor.helper.js +1 -1
- package/dist/core/common/helpers/interceptor.helper.js.map +1 -1
- package/dist/core/common/interfaces/server-options.interface.d.ts +3 -3
- package/dist/core/modules/auth/guards/auth.guard.js +9 -9
- package/dist/core/modules/auth/guards/auth.guard.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +22 -20
- package/src/core/common/decorators/unified-field.decorator.ts +2 -2
- package/src/core/common/helpers/interceptor.helper.ts +1 -1
- package/src/core/common/interfaces/server-options.interface.ts +3 -3
- package/src/core/modules/auth/guards/auth.guard.ts +2 -2
- package/src/core/modules/health-check/core-health-check.service.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/nest-server",
|
|
3
|
-
"version": "11.25.
|
|
3
|
+
"version": "11.25.4",
|
|
4
4
|
"description": "Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -76,25 +76,25 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@apollo/server": "5.5.0",
|
|
78
78
|
"@as-integrations/express5": "1.1.2",
|
|
79
|
-
"@better-auth/passkey": "1.
|
|
79
|
+
"@better-auth/passkey": "1.6.9",
|
|
80
80
|
"@getbrevo/brevo": "3.0.1",
|
|
81
|
-
"@nestjs/apollo": "13.
|
|
81
|
+
"@nestjs/apollo": "13.3.0",
|
|
82
82
|
"@nestjs/common": "11.1.19",
|
|
83
83
|
"@nestjs/core": "11.1.19",
|
|
84
|
-
"@nestjs/graphql": "13.
|
|
84
|
+
"@nestjs/graphql": "13.3.0",
|
|
85
85
|
"@nestjs/jwt": "11.0.2",
|
|
86
86
|
"@nestjs/mongoose": "11.0.4",
|
|
87
87
|
"@nestjs/passport": "11.0.5",
|
|
88
88
|
"@nestjs/platform-express": "11.1.19",
|
|
89
89
|
"@nestjs/schedule": "6.1.3",
|
|
90
|
-
"@nestjs/swagger": "11.
|
|
90
|
+
"@nestjs/swagger": "11.4.2",
|
|
91
91
|
"@nestjs/terminus": "11.1.1",
|
|
92
92
|
"@nestjs/websockets": "11.1.19",
|
|
93
|
-
"@tus/file-store": "2.
|
|
94
|
-
"@tus/server": "2.
|
|
93
|
+
"@tus/file-store": "2.1.0",
|
|
94
|
+
"@tus/server": "2.4.0",
|
|
95
95
|
"@types/supertest": "7.2.0",
|
|
96
96
|
"bcrypt": "6.0.0",
|
|
97
|
-
"better-auth": "1.
|
|
97
|
+
"better-auth": "1.6.9",
|
|
98
98
|
"class-transformer": "0.5.1",
|
|
99
99
|
"class-validator": "0.15.1",
|
|
100
100
|
"compression": "1.8.1",
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
"json-to-graphql-query": "2.3.0",
|
|
111
111
|
"lodash": "4.18.1",
|
|
112
112
|
"mongodb": "7.1.1",
|
|
113
|
-
"mongoose": "9.
|
|
113
|
+
"mongoose": "9.5.0",
|
|
114
114
|
"multer": "2.1.1",
|
|
115
115
|
"node-mailjet": "6.0.11",
|
|
116
|
-
"nodemailer": "8.0.
|
|
116
|
+
"nodemailer": "8.0.7",
|
|
117
117
|
"passport": "0.7.0",
|
|
118
118
|
"passport-jwt": "4.0.1",
|
|
119
119
|
"reflect-metadata": "0.2.2",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"@nestjs/schematics": "11.1.0",
|
|
130
130
|
"@nestjs/testing": "11.1.19",
|
|
131
131
|
"@swc/cli": "0.8.1",
|
|
132
|
-
"@swc/core": "1.15.
|
|
132
|
+
"@swc/core": "1.15.32",
|
|
133
133
|
"@types/compression": "1.8.1",
|
|
134
134
|
"@types/cookie-parser": "1.4.10",
|
|
135
135
|
"@types/ejs": "3.1.5",
|
|
@@ -139,16 +139,16 @@
|
|
|
139
139
|
"@types/node": "25.6.0",
|
|
140
140
|
"@types/nodemailer": "8.0.0",
|
|
141
141
|
"@types/passport": "1.0.17",
|
|
142
|
-
"@vitest/coverage-v8": "4.1.
|
|
143
|
-
"@vitest/ui": "4.1.
|
|
142
|
+
"@vitest/coverage-v8": "4.1.5",
|
|
143
|
+
"@vitest/ui": "4.1.5",
|
|
144
144
|
"ansi-colors": "4.1.3",
|
|
145
145
|
"find-file-up": "2.0.1",
|
|
146
146
|
"husky": "9.1.7",
|
|
147
147
|
"nodemon": "3.1.14",
|
|
148
148
|
"npm-watch": "0.13.0",
|
|
149
|
-
"otpauth": "9.5.
|
|
150
|
-
"oxfmt": "0.
|
|
151
|
-
"oxlint": "1.
|
|
149
|
+
"otpauth": "9.5.1",
|
|
150
|
+
"oxfmt": "0.47.0",
|
|
151
|
+
"oxlint": "1.62.0",
|
|
152
152
|
"rimraf": "6.1.3",
|
|
153
153
|
"ts-node": "10.9.2",
|
|
154
154
|
"tsconfig-paths": "4.2.0",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"unplugin-swc": "1.5.9",
|
|
159
159
|
"vite": "7.3.2",
|
|
160
160
|
"vite-plugin-node": "7.0.0",
|
|
161
|
-
"vitest": "4.1.
|
|
161
|
+
"vitest": "4.1.5"
|
|
162
162
|
},
|
|
163
163
|
"main": "dist/index.js",
|
|
164
164
|
"types": "dist/index.d.ts",
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"watch": {
|
|
180
180
|
"build:dev": "src"
|
|
181
181
|
},
|
|
182
|
-
"packageManager": "pnpm@10.33.
|
|
182
|
+
"packageManager": "pnpm@10.33.2",
|
|
183
183
|
"pnpm": {
|
|
184
184
|
"//overrides": {
|
|
185
185
|
"axios@<1.15.0": "Security: SSRF via NO_PROXY bypass (GHSA-3p68-rc4w-qgx5) and unrestricted cloud metadata exfiltration (GHSA-fvcv-3m26-pcqx) - transitive via @getbrevo/brevo and node-mailjet. Remove when @getbrevo/brevo ships axios>=1.15.0",
|
|
@@ -200,7 +200,8 @@
|
|
|
200
200
|
"lodash@>=4.0.0 <4.18.0": "Security: CVE in lodash@4.17.x - transitive via @nestjs/graphql. 4.18.1 is the latest patched version",
|
|
201
201
|
"defu@<=6.1.6": "Security: prototype pollution via __proto__ key - transitive via better-auth",
|
|
202
202
|
"follow-redirects@<=1.15.11": "Security: Custom Authentication Headers leak on cross-domain redirect (GHSA-r4q5-vmmm-2653) - transitive via axios>@getbrevo/brevo and axios>node-mailjet",
|
|
203
|
-
"uuid@<14.0.0": "Security: Missing buffer bounds check in v3/v5/v6 (GHSA-w5hq-g745-h8pq) - transitive via @compodoc/compodoc and @compodoc/compodoc>@compodoc/live-server>http-auth"
|
|
203
|
+
"uuid@<14.0.0": "Security: Missing buffer bounds check in v3/v5/v6 (GHSA-w5hq-g745-h8pq) - transitive via @compodoc/compodoc and @compodoc/compodoc>@compodoc/live-server>http-auth",
|
|
204
|
+
"postcss@<8.5.10": "Security: XSS via Unescaped </style> in CSS Stringify Output (GHSA-qx2v-qp2m-jg93) - transitive via vite. Remove when vite ships with postcss>=8.5.10"
|
|
204
205
|
},
|
|
205
206
|
"overrides": {
|
|
206
207
|
"axios@<1.15.0": "1.15.0",
|
|
@@ -221,7 +222,8 @@
|
|
|
221
222
|
"lodash@>=4.0.0 <4.18.0": "4.18.1",
|
|
222
223
|
"defu@<=6.1.6": "6.1.7",
|
|
223
224
|
"follow-redirects@<=1.15.11": "1.16.0",
|
|
224
|
-
"uuid@<14.0.0": "14.0.0"
|
|
225
|
+
"uuid@<14.0.0": "14.0.0",
|
|
226
|
+
"postcss@<8.5.10": "8.5.12"
|
|
225
227
|
},
|
|
226
228
|
"onlyBuiltDependencies": [
|
|
227
229
|
"bcrypt",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Field, FieldOptions, HideField } from '@nestjs/graphql';
|
|
2
|
-
import { TypeMetadataStorage } from '@nestjs/graphql/dist/schema-builder/storages/type-metadata.storage';
|
|
2
|
+
import { TypeMetadataStorage } from '@nestjs/graphql/dist/schema-builder/storages/type-metadata.storage.js';
|
|
3
3
|
import { Prop, PropOptions } from '@nestjs/mongoose';
|
|
4
4
|
import { ApiHideProperty, ApiProperty, ApiPropertyOptions } from '@nestjs/swagger';
|
|
5
|
-
import { EnumAllowedTypes } from '@nestjs/swagger/dist/interfaces/schema-object-metadata.interface';
|
|
5
|
+
import type { EnumAllowedTypes } from '@nestjs/swagger/dist/interfaces/schema-object-metadata.interface.js';
|
|
6
6
|
import { Type } from 'class-transformer';
|
|
7
7
|
import {
|
|
8
8
|
IsArray,
|
|
@@ -70,7 +70,7 @@ function resolveFromGraphQlMetadata(context: ExecutionContext): (new (...args: a
|
|
|
70
70
|
// @Query/@Mutation return types at runtime. This path has been stable since @nestjs/graphql v10.
|
|
71
71
|
// Wrapped in try/catch so a path change in a future version degrades gracefully (returns null).
|
|
72
72
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
73
|
-
const { TypeMetadataStorage } = require('@nestjs/graphql/dist/schema-builder/storages/type-metadata.storage');
|
|
73
|
+
const { TypeMetadataStorage } = require('@nestjs/graphql/dist/schema-builder/storages/type-metadata.storage.js');
|
|
74
74
|
|
|
75
75
|
const handler = context.getHandler();
|
|
76
76
|
const target = context.getClass();
|
|
@@ -2,12 +2,12 @@ import { ApolloDriverConfig } from '@nestjs/apollo';
|
|
|
2
2
|
import { Type } from '@nestjs/common';
|
|
3
3
|
import { GqlModuleAsyncOptions } from '@nestjs/graphql';
|
|
4
4
|
import { JwtModuleOptions } from '@nestjs/jwt';
|
|
5
|
-
import { JwtSignOptions } from '@nestjs/jwt/dist/interfaces';
|
|
5
|
+
import type { JwtSignOptions } from '@nestjs/jwt/dist/interfaces/index.js';
|
|
6
6
|
import { MongooseModuleOptions } from '@nestjs/mongoose';
|
|
7
7
|
import { ServeStaticOptions } from '@nestjs/platform-express/interfaces/serve-static-options.interface';
|
|
8
8
|
import { CronExpression } from '@nestjs/schedule';
|
|
9
|
-
import { MongoosePingCheckSettings } from '@nestjs/terminus/dist/health-indicator/database/mongoose.health';
|
|
10
|
-
import { DiskHealthIndicatorOptions } from '@nestjs/terminus/dist/health-indicator/disk/disk-health-options.type';
|
|
9
|
+
import type { MongoosePingCheckSettings } from '@nestjs/terminus/dist/health-indicator/database/mongoose.health.js';
|
|
10
|
+
import type { DiskHealthIndicatorOptions } from '@nestjs/terminus/dist/health-indicator/disk/disk-health-options.type.js';
|
|
11
11
|
import compression from 'compression';
|
|
12
12
|
import { CollationOptions } from 'mongodb';
|
|
13
13
|
import type * as JSONTransport from 'nodemailer/lib/json-transport';
|
|
@@ -2,8 +2,8 @@ import { CanActivate, ExecutionContext, Logger, mixin, Optional } from '@nestjs/
|
|
|
2
2
|
import { ModuleRef } from '@nestjs/core';
|
|
3
3
|
import { GqlExecutionContext } from '@nestjs/graphql';
|
|
4
4
|
import { AuthModuleOptions, Type } from '@nestjs/passport';
|
|
5
|
-
import { defaultOptions } from '@nestjs/passport/dist/options';
|
|
6
|
-
import { memoize } from '@nestjs/passport/dist/utils/memoize.util';
|
|
5
|
+
import { defaultOptions } from '@nestjs/passport/dist/options.js';
|
|
6
|
+
import { memoize } from '@nestjs/passport/dist/utils/memoize.util.js';
|
|
7
7
|
import passport = require('passport');
|
|
8
8
|
|
|
9
9
|
import { BetterAuthTokenService } from '../../better-auth/better-auth-token.service';
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
MemoryHealthIndicator,
|
|
7
7
|
MongooseHealthIndicator,
|
|
8
8
|
} from '@nestjs/terminus';
|
|
9
|
-
import { MongoosePingCheckSettings } from '@nestjs/terminus/dist/health-indicator/database/mongoose.health';
|
|
10
|
-
import { DiskHealthIndicatorOptions } from '@nestjs/terminus/dist/health-indicator/disk/disk-health-options.type';
|
|
9
|
+
import type { MongoosePingCheckSettings } from '@nestjs/terminus/dist/health-indicator/database/mongoose.health.js';
|
|
10
|
+
import type { DiskHealthIndicatorOptions } from '@nestjs/terminus/dist/health-indicator/disk/disk-health-options.type.js';
|
|
11
11
|
|
|
12
12
|
import { ConfigService } from '../../common/services/config.service';
|
|
13
13
|
|