fix: upgrade mongoose to 9.11.4 and align community model type

This commit is contained in:
dahyeon committed 2026-11-11 20:26:38 +09:00
1 parent 2d8027cb16
commit 5882585f69
3 files changed
+28 -27

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@
"class-transformer": "^0.5.1", "class-transformer": "^0.5.1",
"class-validator": "^0.15.1", "class-validator": "^0.15.1",
"jose": "^6.2.2", "jose": "^6.2.2",
"mongoose": "9.9.2", "mongoose": "9.11.4",
"nats": "^2.29.3", "nats": "^2.29.3",
"newrelic": "^14.3.3", "newrelic": "^14.3.3",
"redis": "^5.12.1", "redis": "^5.12.1",
@@ -7,6 +7,7 @@ import { readFile } from 'node:fs/promises';
import { resolve } from 'node:path'; import { resolve } from 'node:path';
import { ConnectionService, resolveMongoDbName } from '../connection.service'; import { ConnectionService, resolveMongoDbName } from '../connection.service';
import type { import type {
Community,
MatchGameResult, MatchGameResult,
MatchParticipant, MatchParticipant,
MatchSeriesResult, MatchSeriesResult,
@@ -260,7 +261,7 @@ async function main() {
} }
async function resolveCommunity( async function resolveCommunity(
CommunityModel: mongoose.Model<unknown>, CommunityModel: mongoose.Model<Community>,
communityId?: string, communityId?: string,
): Promise<CommunityLean> { ): Promise<CommunityLean> {
const community = communityId const community = communityId
+25 -25
View File
@@ -69,8 +69,8 @@ importers:
specifier: ^6.2.2 specifier: ^6.2.2
version: 6.2.2 version: 6.2.2
mongoose: mongoose:
specifier: 9.9.2 specifier: 9.11.4
version: 9.9.2(@aws-sdk/credential-providers@3.993.0) version: 9.11.4(@aws-sdk/credential-providers@3.993.0)
nats: nats:
specifier: ^2.29.3 specifier: ^2.29.3
version: 2.29.3 version: 2.29.3
@@ -1363,8 +1363,8 @@ packages:
'@microsoft/tsdoc@0.16.0': '@microsoft/tsdoc@0.16.0':
resolution: {integrity: sha512-xgAyonlVVS+q7Vc7qLW0UrJU7rSFcETRWsqdXZtjzRU8dF+6CkozTK4V4y1LwOX7j8r/vHphjDeMeGI4tNGeGA==} resolution: {integrity: sha512-xgAyonlVVS+q7Vc7qLW0UrJU7rSFcETRWsqdXZtjzRU8dF+6CkozTK4V4y1LwOX7j8r/vHphjDeMeGI4tNGeGA==}
'@mongodb-js/saslprep@1.4.13': '@mongodb-js/saslprep@1.6.3':
resolution: {integrity: sha512-E3Sv4eCYAlKYUTx8S3ioQcDUscOif+8zZ5OnW1IzJ+Tt+EO+ke8mn+Y3FX6N1H79picwbdOavVOb1jPi2EOyrg==} resolution: {integrity: sha512-aHGFvT95c82CoQ7hb6qXpz8Hcc5PJb3ZtQ+P01QDBbyQday0mjcrJPeNJOHCgWe0pGX0zKmKP+1mWi/I/BCX9Q==}
'@napi-rs/wasm-runtime@0.2.12': '@napi-rs/wasm-runtime@0.2.12':
resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==}
@@ -2703,8 +2703,8 @@ packages:
bser@2.1.1: bser@2.1.1:
resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==}
bson@7.3.1: bson@7.3.4:
resolution: {integrity: sha512-h/C0qe6857pQhcSJHLfsR1uYGj98Ge3wKAD3Ed9KqH3wcVh+BM4Jq4xISD7vs9OPuT07n+q3QQVjslJ286j6ag==} resolution: {integrity: sha512-eb33j2Ha6xgygjJ8bhI3sYaI9cLAbSaopZLRJQ5/rxk32XyBSoVVcbeHIzVGJx1SyQpyyoElkoEZgQrg+RVVoA==}
engines: {node: '>=20.19.0'} engines: {node: '>=20.19.0'}
buffer-from@1.1.2: buffer-from@1.1.2:
@@ -3826,8 +3826,8 @@ packages:
jsonfile@6.2.0: jsonfile@6.2.0:
resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
kareem@3.3.0: kareem@3.4.1:
resolution: {integrity: sha512-kpSuLD3/7RenBnjnJdOHXCKC8dTd1JzeOiJhN0necWWci6cC+qX+VuwPnMVgb+a4+KNJSfgqahpnfWaeDXCimw==} resolution: {integrity: sha512-UlgCAFNAdk/HLSsbfkmbH8pJqpEN52Ek8RG53Ys1i3Q3gbCQruSrWpplZlgIGyDHX/LNoLW97ei3OG43s7UhUA==}
engines: {node: '>=18.0.0'} engines: {node: '>=18.0.0'}
keyv@4.5.4: keyv@4.5.4:
@@ -4180,8 +4180,8 @@ packages:
resolution: {integrity: sha512-ZoS07RoFqpKYQwAk59qmrx8+jJHNHU30UjlU96QktiGn1ltvDr+vCznLX5DiUBLEpMAHatHNWV1nM/74ul66kA==} resolution: {integrity: sha512-ZoS07RoFqpKYQwAk59qmrx8+jJHNHU30UjlU96QktiGn1ltvDr+vCznLX5DiUBLEpMAHatHNWV1nM/74ul66kA==}
engines: {node: '>=20.19.0'} engines: {node: '>=20.19.0'}
mongodb@7.5.0: mongodb@7.7.0:
resolution: {integrity: sha512-5FnrEDLnvp6ycUOGLNLLU33BfCx2qmp2mJjGPDwKLruYsVzXVSK5fsGpoDXvsXJwBfBsD7ebMRdawbDxC2814g==} resolution: {integrity: sha512-XG1xXEqyouAV8GCb3PuRaujofeXKpAJAPvXYWZgHl6Dz4QHSJ1nRLl0+GpqaLTwKvC0RFE9truOur34RNFY1nw==}
engines: {node: '>=20.19.0'} engines: {node: '>=20.19.0'}
peerDependencies: peerDependencies:
'@aws-sdk/credential-providers': ^3.806.0 '@aws-sdk/credential-providers': ^3.806.0
@@ -4207,16 +4207,16 @@ packages:
socks: socks:
optional: true optional: true
mongoose@9.9.2: mongoose@9.11.4:
resolution: {integrity: sha512-Nz8Rwu9jvADm0pyX0M3mEy8bx3wB5b/tRDI4XnjL7p6tZgmdyL9g0gE/EC9It6/XMIbcvniwYQDKYs91Qm+o+g==} resolution: {integrity: sha512-+xME0fduXl1sWF+NZpJHZaNcwQSt+X2vbJ/h7GRSZ/ltLycAkGZSEABhzic0+q3IMF66KqF0viEE5+frchKCAQ==}
engines: {node: '>=20.19.0'} engines: {node: '>=20.19.0'}
mpath@0.9.0: mpath@0.9.0:
resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==} resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==}
engines: {node: '>=4.0.0'} engines: {node: '>=4.0.0'}
mquery@6.0.0: mquery@6.0.1:
resolution: {integrity: sha512-b2KQNsmgtkscfeDgkYMcWGn9vZI9YoXh802VDEwE6qc50zxBFQ0Oo8ROkawbPAsXCY1/Z1yp0MagqsZStPWJjw==} resolution: {integrity: sha512-/Nijmq3JcpHwDM+5CwBp5yEl6fUa6jLsIhPsoQywlGXU/ZrKIvSpBzfaGnW9BLqcne/CoUwd1ch7MRqptDgFTA==}
engines: {node: '>=20.19.0'} engines: {node: '>=20.19.0'}
ms@2.1.3: ms@2.1.3:
@@ -6698,7 +6698,7 @@ snapshots:
'@microsoft/tsdoc@0.16.0': {} '@microsoft/tsdoc@0.16.0': {}
'@mongodb-js/saslprep@1.4.13': '@mongodb-js/saslprep@1.6.3':
dependencies: dependencies:
sparse-bitfield: 3.0.3 sparse-bitfield: 3.0.3
@@ -8201,7 +8201,7 @@ snapshots:
dependencies: dependencies:
node-int64: 0.4.0 node-int64: 0.4.0
bson@7.3.1: {} bson@7.3.4: {}
buffer-from@1.1.2: {} buffer-from@1.1.2: {}
@@ -9507,7 +9507,7 @@ snapshots:
optionalDependencies: optionalDependencies:
graceful-fs: 4.2.11 graceful-fs: 4.2.11
kareem@3.3.0: {} kareem@3.4.1: {}
keyv@4.5.4: keyv@4.5.4:
dependencies: dependencies:
@@ -9793,21 +9793,21 @@ snapshots:
'@types/whatwg-url': 13.0.0 '@types/whatwg-url': 13.0.0
whatwg-url: 14.2.0 whatwg-url: 14.2.0
mongodb@7.5.0(@aws-sdk/credential-providers@3.993.0): mongodb@7.7.0(@aws-sdk/credential-providers@3.993.0):
dependencies: dependencies:
'@mongodb-js/saslprep': 1.4.13 '@mongodb-js/saslprep': 1.6.3
bson: 7.3.1 bson: 7.3.4
mongodb-connection-string-url: 7.0.2 mongodb-connection-string-url: 7.0.2
optionalDependencies: optionalDependencies:
'@aws-sdk/credential-providers': 3.993.0 '@aws-sdk/credential-providers': 3.993.0
mongoose@9.9.2(@aws-sdk/credential-providers@3.993.0): mongoose@9.11.4(@aws-sdk/credential-providers@3.993.0):
dependencies: dependencies:
'@standard-schema/spec': 1.1.0 '@standard-schema/spec': 1.1.0
kareem: 3.3.0 kareem: 3.4.1
mongodb: 7.5.0(@aws-sdk/credential-providers@3.993.0) mongodb: 7.7.0(@aws-sdk/credential-providers@3.993.0)
mpath: 0.9.0 mpath: 0.9.0
mquery: 6.0.0 mquery: 6.0.1
ms: 2.1.3 ms: 2.1.3
sift: 17.1.3 sift: 17.1.3
transitivePeerDependencies: transitivePeerDependencies:
@@ -9821,7 +9821,7 @@ snapshots:
mpath@0.9.0: {} mpath@0.9.0: {}
mquery@6.0.0: {} mquery@6.0.1: {}
ms@2.1.3: {} ms@2.1.3: {}