From 8a99490785364acda7767b97c672c7acd558c9ed Mon Sep 17 00:00:00 2001 From: Valentin Agachi Date: Fri, 15 Nov 2024 11:30:11 +0100 Subject: [PATCH] chore: Upgrade mongoose to v8.8.1 --- package.json | 2 +- pnpm-lock.yaml | 109 +++++++++++-------------------------------------- renovate.json | 21 ++++++++-- 3 files changed, 42 insertions(+), 90 deletions(-) diff --git a/package.json b/package.json index 39bca9ab9..d54e927b4 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "lint-staged": "15.2.9", "mongodb": "6.10.0", "mongodb-memory-server": "10.1.2", - "mongoose": "7.5.2", + "mongoose": "8.8.1", "pinst": "3.0.0", "prettier": "3.3.2", "standard-version": "9.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5cd4af1a3..2da361d5d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: 10.1.2 version: 10.1.2(socks@2.7.1) mongoose: - specifier: 7.5.2 - version: 7.5.2 + specifier: 8.8.1 + version: 8.8.1(socks@2.7.1) pinst: specifier: 3.0.0 version: 3.0.0 @@ -1047,9 +1047,6 @@ packages: '@types/whatwg-url@11.0.3': resolution: {integrity: sha512-z1ELvMijRL1QmU7QuzDkeYXSF2+dXI0ITKoQsIoVKcNBOiK5RMmWy+pYYxJTHFt8vkpZe7UsvRErQwcxZkjoUw==} - '@types/whatwg-url@8.2.2': - resolution: {integrity: sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==} - '@types/yargs-parser@21.0.0': resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} @@ -1324,10 +1321,6 @@ packages: bser@2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - bson@5.5.0: - resolution: {integrity: sha512-B+QB4YmDx9RStKv8LLSl/aVIEV3nYJc3cJNNTK2Cd1TL+7P+cNpw9mAPeCgc5K+j01Dv6sxUzcITXDx7ZU3F0w==} - engines: {node: '>=14.20.1'} - bson@6.7.0: resolution: {integrity: sha512-w2IquM5mYzYZv6rs3uN2DZTOBe2a0zXLj53TGDqwF4l6Sz/XsISrisXOJihArF9+BZ6Cq/GjVht7Sjfmri7ytQ==} engines: {node: '>=16.20.1'} @@ -2805,8 +2798,8 @@ packages: resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} engines: {'0': node >= 0.2.0} - 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@3.1.0: @@ -3061,9 +3054,6 @@ packages: resolution: {integrity: sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==} engines: {node: '>=0.10.0'} - mongodb-connection-string-url@2.6.0: - resolution: {integrity: sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ==} - mongodb-connection-string-url@3.0.0: resolution: {integrity: sha512-t1Vf+m1I5hC2M5RJx/7AtxgABy1cZmIPQRMXw+gEIPn/cZNF3Oiy+l0UIypUwVB5trcWHq3crg2g3uAR9aAwsQ==} @@ -3075,27 +3065,6 @@ packages: resolution: {integrity: sha512-aDGEWuUVHTiBvaaq03LbpvvSk8IVtepbvp314p1cq7f2xdSpl7igMnYpPfYY5nkks1I5I6OL2ypHjaJj4kBp+g==} engines: {node: '>=16.20.1'} - mongodb@5.8.1: - resolution: {integrity: sha512-wKyh4kZvm6NrCPH8AxyzXm3JBoEf4Xulo0aUWh3hCgwgYJxyQ1KLST86ZZaSWdj6/kxYUA3+YZuyADCE61CMSg==} - engines: {node: '>=14.20.1'} - peerDependencies: - '@aws-sdk/credential-providers': ^3.188.0 - '@mongodb-js/zstd': ^1.0.0 - kerberos: ^1.0.0 || ^2.0.0 - mongodb-client-encryption: '>=2.3.0 <3' - snappy: ^7.2.2 - peerDependenciesMeta: - '@aws-sdk/credential-providers': - optional: true - '@mongodb-js/zstd': - optional: true - kerberos: - optional: true - mongodb-client-encryption: - optional: true - snappy: - optional: true - mongodb@6.10.0: resolution: {integrity: sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==} engines: {node: '>=16.20.1'} @@ -3123,9 +3092,9 @@ packages: socks: optional: true - mongoose@7.5.2: - resolution: {integrity: sha512-yEkmI1jfiog7QUvMWz3eB/XoA3/5DrVvSz+z3V5hnq8VtZIHC7ujEV0RKzRXwr8QNMOs+OTB7+aK7R/N/V3yXA==} - engines: {node: '>=14.20.1'} + mongoose@8.8.1: + resolution: {integrity: sha512-l7DgeY1szT98+EKU8GYnga5WnyatAu+kOQ2VlVX1Mxif6A0Umt0YkSiksCiyGxzx8SPhGe9a53ND1GD4yVDrPA==} + engines: {node: '>=16.20.1'} mpath@0.9.0: resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==} @@ -3679,8 +3648,8 @@ packages: side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} - 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@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -3937,10 +3906,6 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@3.0.0: - resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} - engines: {node: '>=12'} - tr46@4.1.1: resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} engines: {node: '>=14'} @@ -4142,10 +4107,6 @@ packages: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} - whatwg-url@11.0.0: - resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} - engines: {node: '>=12'} - whatwg-url@13.0.0: resolution: {integrity: sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==} engines: {node: '>=16'} @@ -5529,11 +5490,6 @@ snapshots: dependencies: '@types/webidl-conversions': 7.0.0 - '@types/whatwg-url@8.2.2': - dependencies: - '@types/node': 20.16.13 - '@types/webidl-conversions': 7.0.0 - '@types/yargs-parser@21.0.0': {} '@types/yargs@17.0.24': @@ -5886,8 +5842,6 @@ snapshots: dependencies: node-int64: 0.4.0 - bson@5.5.0: {} - bson@6.7.0: {} buffer-crc32@0.2.13: {} @@ -7097,7 +7051,8 @@ snapshots: hasown: 2.0.2 side-channel: 1.0.4 - ip@2.0.1: {} + ip@2.0.1: + optional: true is-array-buffer@3.0.4: dependencies: @@ -7657,7 +7612,7 @@ snapshots: jsonparse@1.3.1: {} - kareem@2.5.1: {} + kareem@2.6.3: {} keyv@3.1.0: dependencies: @@ -7900,11 +7855,6 @@ snapshots: modify-values@1.0.1: {} - mongodb-connection-string-url@2.6.0: - dependencies: - '@types/whatwg-url': 8.2.2 - whatwg-url: 11.0.0 - mongodb-connection-string-url@3.0.0: dependencies: '@types/whatwg-url': 11.0.3 @@ -7948,14 +7898,6 @@ snapshots: - socks - supports-color - mongodb@5.8.1: - dependencies: - bson: 5.5.0 - mongodb-connection-string-url: 2.6.0 - socks: 2.7.1 - optionalDependencies: - '@mongodb-js/saslprep': 1.1.5 - mongodb@6.10.0(socks@2.7.1): dependencies: '@mongodb-js/saslprep': 1.1.5 @@ -7964,21 +7906,23 @@ snapshots: optionalDependencies: socks: 2.7.1 - mongoose@7.5.2: + mongoose@8.8.1(socks@2.7.1): dependencies: - bson: 5.5.0 - kareem: 2.5.1 - mongodb: 5.8.1 + bson: 6.7.0 + kareem: 2.6.3 + mongodb: 6.10.0(socks@2.7.1) 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' + - gcp-metadata - kerberos - mongodb-client-encryption - snappy + - socks - supports-color mpath@0.9.0: {} @@ -8513,7 +8457,7 @@ snapshots: get-intrinsic: 1.2.4 object-inspect: 1.13.1 - sift@16.0.1: {} + sift@17.1.3: {} signal-exit@3.0.7: {} @@ -8533,12 +8477,14 @@ snapshots: ansi-styles: 6.2.1 is-fullwidth-code-point: 5.0.0 - smart-buffer@4.2.0: {} + smart-buffer@4.2.0: + optional: true socks@2.7.1: dependencies: ip: 2.0.1 smart-buffer: 4.2.0 + optional: true sort-array@5.0.0: dependencies: @@ -8758,10 +8704,6 @@ snapshots: tr46@0.0.3: {} - tr46@3.0.0: - dependencies: - punycode: 2.3.0 - tr46@4.1.1: dependencies: punycode: 2.3.0 @@ -8964,11 +8906,6 @@ snapshots: webidl-conversions@7.0.0: {} - whatwg-url@11.0.0: - dependencies: - tr46: 3.0.0 - webidl-conversions: 7.0.0 - whatwg-url@13.0.0: dependencies: tr46: 4.1.1 diff --git a/renovate.json b/renovate.json index bb4625cd7..7fe4c2728 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,5 @@ { - "branchConcurrentLimit": 10, + "branchConcurrentLimit": 3, "commitMessageAction": "Upgrade", "commitMessagePrefix": "chore:", "commitMessageTopic": "{{depName}}", @@ -46,6 +46,17 @@ "@types/node" ] }, + { + "extends": [ + "schedule:monthly" + ], + "matchPackageNames": [ + "mongoose" + ], + "matchUpdateTypes": [ + "major" + ] + }, { "enabled": false, "groupName": "Skip major Node.js versions", @@ -59,9 +70,13 @@ }, { "enabled": false, - "groupName": "Skip certain packages", + "groupName": "Skip non-major Mongoose versions", "matchPackageNames": [ "mongoose" + ], + "matchUpdateTypes": [ + "minor", + "patch" ] } ], @@ -77,7 +92,7 @@ "avaly", "ejmartin504" ], - "stabilityDays": 3, + "stabilityDays": 7, "timezone": "Etc/UTC", "vulnerabilityAlerts": { "labels": [