From 5b4bff8fa2d81ad2917793d54dbfdcbc7ac08651 Mon Sep 17 00:00:00 2001 From: chimpdev Date: Tue, 17 Dec 2024 01:21:01 +0300 Subject: [PATCH] fix: update mongoose and related dependencies to latest versions --- server/package.json | 2 +- server/pnpm-lock.yaml | 54 +++++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/server/package.json b/server/package.json index 7de6ce1f..0517386e 100644 --- a/server/package.json +++ b/server/package.json @@ -57,7 +57,7 @@ "lodash.shuffle": "^4.2.0", "module-alias": "^2.2.3", "moment": "^2.30.1", - "mongoose": "^8.0.0", + "mongoose": "^8.9.1", "morgan": "^1.10.0", "ms": "^2.1.3", "multer": "1.4.5-lts.1", diff --git a/server/pnpm-lock.yaml b/server/pnpm-lock.yaml index 62e549be..18a782b4 100644 --- a/server/pnpm-lock.yaml +++ b/server/pnpm-lock.yaml @@ -111,8 +111,8 @@ importers: specifier: ^2.30.1 version: 2.30.1 mongoose: - specifier: ^8.0.0 - version: 8.2.3 + specifier: ^8.9.1 + version: 8.9.1 morgan: specifier: ^1.10.0 version: 1.10.0 @@ -508,8 +508,8 @@ packages: resolution: {integrity: sha512-6K72T4XEjNTu1WrIFMfvG0FgOkDhexCD+V7IKtajyW2fzZaHeMF57mgrFAVskNOlVMuWvb1wzQ/JZ68cfxm9mw==} engines: {node: '>=20'} - '@mongodb-js/saslprep@1.1.5': - resolution: {integrity: sha512-XLNOMH66KhJzUJNwT/qlMnS4WsNDWD5ASdyaSH3EtK+F4r/CFGa3jT4GNi4mfOitGvWXtdLgQJkQjxSVrio+jA==} + '@mongodb-js/saslprep@1.1.9': + resolution: {integrity: sha512-tVkljjeEaAhCqTzajSdgbQ6gE6f3oneVwa3iXR6csiEwXXOFsiC6Uh9iAjAhXPtqa/XMDHWjjeNH/77m/Yq2dw==} '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -879,8 +879,8 @@ packages: brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - bson@6.5.0: - resolution: {integrity: sha512-DXf1BTAS8vKyR90BO4x5v3rKVarmkdkzwOrnYDFdjAY694ILNDkmA3uRh1xXJEl+C1DAh8XCvAQ+Gh3kzubtpg==} + bson@6.10.1: + resolution: {integrity: sha512-P92xmHDQjSKPLHqFxefqMxASNq/aWJMEZugpCjf+AF/pgcUpMMQCg7t7+ewko0/u8AapvF3luf/FoehddEK+sA==} engines: {node: '>=16.20.1'} buffer-crc32@1.0.0: @@ -1468,8 +1468,8 @@ packages: jws@3.2.2: resolution: {integrity: sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==} - kareem@2.5.1: - resolution: {integrity: sha512-7jFxRVm+jD+rkq3kY0iZDJfsO2/t4BBPeEb2qKn2lR/9KhuksYk5hxzfRYWMPV8P/x2d0kHD306YyWLzjjH+uA==} + kareem@2.6.3: + resolution: {integrity: sha512-C3iHfuGUXK2u8/ipq9LfjFfXFxAZMQJJq7vLS45r3D9Y2xQ/m4S8zaR4zMLFWh9AsNPXmcFfUDhTEO8UIC/V6Q==} engines: {node: '>=12.0.0'} keyv@4.5.4: @@ -1602,12 +1602,12 @@ packages: mongodb-connection-string-url@3.0.0: resolution: {integrity: sha512-t1Vf+m1I5hC2M5RJx/7AtxgABy1cZmIPQRMXw+gEIPn/cZNF3Oiy+l0UIypUwVB5trcWHq3crg2g3uAR9aAwsQ==} - mongodb@6.3.0: - resolution: {integrity: sha512-tt0KuGjGtLUhLoU263+xvQmPHEGTw5LbcNC73EoFRYgSHwZt5tsoJC110hDyO1kjQzpgNrpdcSza9PknWN4LrA==} + mongodb@6.12.0: + resolution: {integrity: sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==} engines: {node: '>=16.20.1'} peerDependencies: '@aws-sdk/credential-providers': ^3.188.0 - '@mongodb-js/zstd': ^1.1.0 + '@mongodb-js/zstd': ^1.1.0 || ^2.0.0 gcp-metadata: ^5.2.0 kerberos: ^2.0.1 mongodb-client-encryption: '>=6.0.0 <7' @@ -1629,8 +1629,8 @@ packages: socks: optional: true - mongoose@8.2.3: - resolution: {integrity: sha512-ZB8K8AgbVgLCcqjtmZMxaQBEztwEEZCtAIPMx2Q56Uo4WWKmwf5Nu/EEIFo8d/17P946X0z6xzxwIqCxUMKxrA==} + mongoose@8.9.1: + resolution: {integrity: sha512-whM6lWMdeKlUm4d2LSLS/q6cWtTp13lUrL5hy2YTsQdTSN+dsAu8HLdLUQOEgtBE59qp4IqLrjSXCSETbxhkQQ==} engines: {node: '>=16.20.1'} morgan@1.10.0: @@ -1886,8 +1886,8 @@ packages: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} - sift@16.0.1: - resolution: {integrity: sha512-Wv6BjQ5zbhW7VFefWusVP33T/EM0vYikCaQ2qR8yULbsilAT8/wQaXvuQ3ptGLpoKx+lihJE3y2UTgKDyyNHZQ==} + sift@17.1.3: + resolution: {integrity: sha512-Rtlj66/b0ICeFzYTuNvX/EF1igRbbnGSvEyT79McoZa/DeGhMyC5pWKOEsZKnpkqtSeovd5FL/bjHWC3CIIvCQ==} signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} @@ -2815,7 +2815,7 @@ snapshots: '@lemonsqueezy/lemonsqueezy.js@3.2.0': {} - '@mongodb-js/saslprep@1.1.5': + '@mongodb-js/saslprep@1.1.9': dependencies: sparse-bitfield: 3.0.3 @@ -3320,7 +3320,7 @@ snapshots: dependencies: balanced-match: 1.0.2 - bson@6.5.0: {} + bson@6.10.1: {} buffer-crc32@1.0.0: {} @@ -3972,7 +3972,7 @@ snapshots: jwa: 1.4.1 safe-buffer: 5.2.1 - kareem@2.5.1: {} + kareem@2.6.3: {} keyv@4.5.4: dependencies: @@ -4086,21 +4086,21 @@ snapshots: '@types/whatwg-url': 11.0.4 whatwg-url: 13.0.0 - mongodb@6.3.0: + mongodb@6.12.0: dependencies: - '@mongodb-js/saslprep': 1.1.5 - bson: 6.5.0 + '@mongodb-js/saslprep': 1.1.9 + bson: 6.10.1 mongodb-connection-string-url: 3.0.0 - mongoose@8.2.3: + mongoose@8.9.1: dependencies: - bson: 6.5.0 - kareem: 2.5.1 - mongodb: 6.3.0 + bson: 6.10.1 + kareem: 2.6.3 + mongodb: 6.12.0 mpath: 0.9.0 mquery: 5.0.0 ms: 2.1.3 - sift: 16.0.1 + sift: 17.1.3 transitivePeerDependencies: - '@aws-sdk/credential-providers' - '@mongodb-js/zstd' @@ -4388,7 +4388,7 @@ snapshots: get-intrinsic: 1.2.4 object-inspect: 1.13.1 - sift@16.0.1: {} + sift@17.1.3: {} signal-exit@4.1.0: {}