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 fcbe352e0..adcf27f5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,11 +28,11 @@ importers: specifier: ^20.0.0 version: 20.16.5 chai: - specifier: ^4.1.0 - version: 4.5.0 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + 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.5.0 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + 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.5.0 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.1) mongoose: specifier: ^8.0.0 version: 8.6.1 @@ -191,11 +191,11 @@ importers: specifier: ^18.0.0 version: 18.3.5 chai: - specifier: ^4.1.0 - version: 4.5.0 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + 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.5.0 + specifier: ^5.0.0 + version: 5.1.1 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.1) vue: specifier: ^3.2.45 version: 3.5.3 @@ -4750,8 +4750,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.6: @@ -5309,26 +5310,24 @@ packages: redeyed: 2.1.1 dev: false - /chai-spies@1.1.0(chai@4.5.0): + /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.5.0 + chai: 5.1.1 dev: true - /chai@4.5.0: - resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} - 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.1.0 + 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: @@ -5355,10 +5354,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: @@ -5929,11 +5927,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.1.0 dev: true /deep-extend@0.6.0: @@ -8747,8 +8743,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 @@ -9716,8 +9712,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.1.0: @@ -11266,11 +11263,6 @@ packages: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} - /type-detect@4.1.0: - resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} - engines: {node: '>=4'} - dev: true - /type-fest@0.16.0: resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==} engines: {node: '>=10'} @@ -11968,4 +11960,4 @@ packages: /zone.js@0.15.0: resolution: {integrity: sha512-9oxn0IIjbCZkJ67L+LkhYWRyAy7axphb3VgE2MBDlOqnmHMPWGYMxJxBYFueFq/JGY2GMwS0rU+UCLunEmy5UA==} - dev: true \ No newline at end of file + dev: true