From 7fee72674b063f70ebf845c05f4ca39f8edba3f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:30:21 +0000 Subject: [PATCH] chore(deps): update dependency chai to v5 --- packages/casl-ability/package.json | 2 +- packages/casl-aurelia/package.json | 2 +- packages/casl-mongoose/package.json | 2 +- packages/casl-react/package.json | 2 +- packages/casl-vue/package.json | 2 +- pnpm-lock.yaml | 79 ++++++++++++++--------------- 6 files changed, 43 insertions(+), 46 deletions(-) diff --git a/packages/casl-ability/package.json b/packages/casl-ability/package.json index 76e33f0e9..c3dce2be1 100644 --- a/packages/casl-ability/package.json +++ b/packages/casl-ability/package.json @@ -56,7 +56,7 @@ "@casl/dx": "workspace:^1.0.0", "@types/jest": "^29.0.0", "@types/node": "^20.0.0", - "chai": "^4.1.0", + "chai": "^5.0.0", "chai-spies": "^1.0.0", "expect-type": "^0.15.0" }, diff --git a/packages/casl-aurelia/package.json b/packages/casl-aurelia/package.json index a419c31f4..3a0355c96 100644 --- a/packages/casl-aurelia/package.json +++ b/packages/casl-aurelia/package.json @@ -54,7 +54,7 @@ "aurelia-pal-browser": "^1.8.0", "aurelia-polyfills": "^1.3.0", "aurelia-testing": "^1.0.0-beta.4.0.0", - "chai": "^4.1.0", + "chai": "^5.0.0", "chai-spies": "^1.0.0" }, "files": [ diff --git a/packages/casl-mongoose/package.json b/packages/casl-mongoose/package.json index b0104583c..687b6288d 100644 --- a/packages/casl-mongoose/package.json +++ b/packages/casl-mongoose/package.json @@ -47,7 +47,7 @@ "@casl/ability": "^6.0.0", "@casl/dx": "workspace:^1.0.0", "@types/jest": "^29.0.0", - "chai": "^4.1.0", + "chai": "^5.0.0", "chai-spies": "^1.0.0", "mongoose": "^8.0.0" }, diff --git a/packages/casl-react/package.json b/packages/casl-react/package.json index a687043e6..8f1f0266d 100644 --- a/packages/casl-react/package.json +++ b/packages/casl-react/package.json @@ -51,7 +51,7 @@ "@types/jest": "^29.0.0", "@types/node": "^20.0.0", "@types/react": "^18.0.0", - "chai": "^4.1.0", + "chai": "^5.0.0", "chai-spies": "^1.0.0", "react": "^18.0.0", "react-test-renderer": "^18.0.0" diff --git a/packages/casl-vue/package.json b/packages/casl-vue/package.json index 0f0646815..ebb2e7a92 100644 --- a/packages/casl-vue/package.json +++ b/packages/casl-vue/package.json @@ -48,7 +48,7 @@ "@casl/ability": "^6.0.0", "@casl/dx": "workspace:^1.0.0", "@types/jest": "^29.0.0", - "chai": "^4.1.0", + "chai": "^5.0.0", "chai-spies": "^1.0.0", "vue": "^3.2.45" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e9b9ce19..3bcf6eb0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,11 +28,11 @@ importers: specifier: ^20.0.0 version: 20.14.10 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.1.1) expect-type: specifier: ^0.15.0 version: 0.15.0 @@ -118,11 +118,11 @@ importers: specifier: ^1.0.0-beta.4.0.0 version: 1.1.0 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.1.1) packages/casl-mongoose: devDependencies: @@ -136,11 +136,11 @@ importers: specifier: ^29.0.0 version: 29.5.12 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.1.1) mongoose: specifier: ^8.0.0 version: 8.5.1 @@ -191,11 +191,11 @@ importers: specifier: ^18.0.0 version: 18.3.3 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.1.1) react: specifier: ^18.0.0 version: 18.3.1 @@ -215,11 +215,11 @@ importers: specifier: ^29.0.0 version: 29.5.12 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.1.1) vue: specifier: ^3.2.45 version: 3.4.31 @@ -5492,8 +5492,9 @@ packages: engines: {node: '>=0.10.0'} dev: false - /assertion-error@1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + /assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} dev: true /async@3.2.5: @@ -6087,26 +6088,24 @@ packages: redeyed: 2.1.1 dev: false - /chai-spies@1.1.0(chai@4.4.1): + /chai-spies@1.1.0(chai@5.1.1): resolution: {integrity: sha512-ikaUhQvQWchRYj2K54itFp3nrcxaFRpSDQxDlRzSn9aWgu9Pi7lD8yFxTso4WnQ39+WZ69oB/qOvqp+isJIIWA==} engines: {node: '>= 4.0.0'} peerDependencies: chai: '*' dependencies: - chai: 4.4.1 + chai: 5.1.1 dev: true - /chai@4.4.1: - resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} - engines: {node: '>=4'} + /chai@5.1.1: + resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + engines: {node: '>=12'} dependencies: - assertion-error: 1.1.0 - check-error: 1.0.3 - deep-eql: 4.1.4 - get-func-name: 2.0.2 - loupe: 2.3.7 - pathval: 1.1.1 - type-detect: 4.0.8 + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.1 + pathval: 2.0.0 dev: true /chalk@2.4.2: @@ -6133,10 +6132,9 @@ packages: resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} engines: {node: '>=10'} - /check-error@1.0.3: - resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} - dependencies: - get-func-name: 2.0.2 + /check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} dev: true /chokidar@3.6.0: @@ -6692,11 +6690,9 @@ packages: babel-plugin-macros: optional: true - /deep-eql@4.1.4: - resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} + /deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} - dependencies: - type-detect: 4.0.8 dev: true /deep-extend@0.6.0: @@ -9448,8 +9444,8 @@ packages: js-tokens: 4.0.0 dev: true - /loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + /loupe@3.1.1: + resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} dependencies: get-func-name: 2.0.2 dev: true @@ -10404,8 +10400,9 @@ packages: engines: {node: '>=12'} dev: true - /pathval@1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + /pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} dev: true /picocolors@1.0.1: