From df59ca6599bdc6fe8b401f2c57773a8cdeaa323f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 03:23:59 +0000 Subject: [PATCH] chore(deps): update dependency mongoose to v8 --- packages/casl-mongoose/package.json | 4 +- pnpm-lock.yaml | 66 ++++++++++++----------------- 2 files changed, 28 insertions(+), 42 deletions(-) diff --git a/packages/casl-mongoose/package.json b/packages/casl-mongoose/package.json index a9ea6aecb..afd31b72e 100644 --- a/packages/casl-mongoose/package.json +++ b/packages/casl-mongoose/package.json @@ -41,7 +41,7 @@ "license": "MIT", "peerDependencies": { "@casl/ability": "^6.3.2", - "mongoose": "^6.0.13 || ^7.0.0" + "mongoose": "^6.0.13 || ^7.0.0 || ^8.0.0" }, "devDependencies": { "@casl/ability": "^6.0.0", @@ -49,7 +49,7 @@ "@types/jest": "^29.0.0", "chai": "^4.1.0", "chai-spies": "^1.0.0", - "mongoose": "^7.0.0" + "mongoose": "^8.0.0" }, "files": [ "dist", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e20949bef..adc74369d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,8 +142,8 @@ importers: specifier: ^1.0.0 version: 1.1.0(chai@4.3.10) mongoose: - specifier: ^7.0.0 - version: 7.6.4 + specifier: ^8.0.0 + version: 8.0.0 packages/casl-prisma: dependencies: @@ -3437,7 +3437,6 @@ packages: dependencies: sparse-bitfield: 3.0.3 dev: true - optional: true /@ngtools/webpack@17.0.0(@angular/compiler-cli@16.2.12)(typescript@5.0.4)(webpack@5.89.0): resolution: {integrity: sha512-/Bb5MXlphNp3UDsQDa4EB4AwpF4D/plrCPd5YGfVvD43j5g5Rpen+cqz5jai1zfAkF1dPl2qq0nRp/jwmJO3uA==} @@ -5397,9 +5396,9 @@ packages: dependencies: node-int64: 0.4.0 - /bson@5.5.1: - resolution: {integrity: sha512-ix0EwukN2EpC0SRWIj/7B5+A6uQMQy6KMREI9qQqvgpkV2frH63T0UDVd1SYedL6dNCmDBYB3QtXi4ISk9YT+g==} - engines: {node: '>=14.20.1'} + /bson@6.2.0: + resolution: {integrity: sha512-ID1cI+7bazPDyL9wYy9GaQ8gEEohWvcUl/Yf0dIdutJxnmInEEyCsb4awy/OiBfall7zBA179Pahi3vCdFze3Q==} + engines: {node: '>=16.20.1'} dev: true /buffer-from@1.1.2: @@ -7652,10 +7651,6 @@ packages: p-is-promise: 3.0.0 dev: false - /ip@2.0.0: - resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} - dev: true - /ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} @@ -8948,7 +8943,6 @@ packages: resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==} requiresBuild: true dev: true - optional: true /meow@8.1.2: resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==} @@ -9081,41 +9075,45 @@ packages: whatwg-url: 11.0.0 dev: true - /mongodb@5.9.0: - resolution: {integrity: sha512-g+GCMHN1CoRUA+wb1Agv0TI4YTSiWr42B5ulkiAfLLHitGK1R+PkSAf3Lr5rPZwi/3F04LiaZEW0Kxro9Fi2TA==} - engines: {node: '>=14.20.1'} + /mongodb@6.2.0: + resolution: {integrity: sha512-d7OSuGjGWDZ5usZPqfvb36laQ9CPhnWkAGHT61x5P95p/8nMVeH8asloMwW6GcYFeB0Vj4CB/1wOTDG2RA9BFA==} + engines: {node: '>=16.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' + '@mongodb-js/zstd': ^1.1.0 + gcp-metadata: ^5.2.0 + kerberos: ^2.0.1 + mongodb-client-encryption: '>=6.0.0 <7' snappy: ^7.2.2 + socks: ^2.7.1 peerDependenciesMeta: '@aws-sdk/credential-providers': optional: true '@mongodb-js/zstd': optional: true + gcp-metadata: + optional: true kerberos: optional: true mongodb-client-encryption: optional: true snappy: optional: true + socks: + optional: true dependencies: - bson: 5.5.1 - mongodb-connection-string-url: 2.6.0 - socks: 2.7.1 - optionalDependencies: '@mongodb-js/saslprep': 1.1.1 + bson: 6.2.0 + mongodb-connection-string-url: 2.6.0 dev: true - /mongoose@7.6.4: - resolution: {integrity: sha512-kadPkS/f5iZJrrMxxOvSoOAErXmdnb28lMvHmuYgmV1ZQTpRqpp132PIPHkJMbG4OC2H0eSXYw/fNzYTH+LUcw==} - engines: {node: '>=14.20.1'} + /mongoose@8.0.0: + resolution: {integrity: sha512-PzwkLgm1Jhj0NQdgGfnFsu0QP9V1sBFgbavEgh/IPAUzKAagzvEhuaBuAQOQGjczVWnpIU9tBqyd02cOTgsPlA==} + engines: {node: '>=16.20.1'} dependencies: - bson: 5.5.1 + bson: 6.2.0 kareem: 2.5.1 - mongodb: 5.9.0 + mongodb: 6.2.0 mpath: 0.9.0 mquery: 5.0.0 ms: 2.1.3 @@ -9123,9 +9121,11 @@ packages: transitivePeerDependencies: - '@aws-sdk/credential-providers' - '@mongodb-js/zstd' + - gcp-metadata - kerberos - mongodb-client-encryption - snappy + - socks - supports-color dev: true @@ -10657,11 +10657,6 @@ packages: is-fullwidth-code-point: 4.0.0 dev: false - /smart-buffer@4.2.0: - resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} - engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - dev: true - /smob@1.4.1: resolution: {integrity: sha512-9LK+E7Hv5R9u4g4C3p+jjLstaLe11MDsL21UpYaCNmapvMkYhqCV4A/f/3gyH8QjMyh6l68q9xC85vihY9ahMQ==} dev: false @@ -10724,14 +10719,6 @@ packages: websocket-driver: 0.7.4 dev: true - /socks@2.7.1: - resolution: {integrity: sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==} - engines: {node: '>= 10.13.0', npm: '>= 3.0.0'} - dependencies: - ip: 2.0.0 - smart-buffer: 4.2.0 - dev: true - /source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} @@ -10784,7 +10771,6 @@ packages: dependencies: memory-pager: 1.5.0 dev: true - optional: true /spawn-error-forwarder@1.0.0: resolution: {integrity: sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==}