diff --git a/packages/casl-ability/package.json b/packages/casl-ability/package.json index e4cef827f..5923935fb 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": "^22.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 736fd37bd..2c3c128b4 100644 --- a/packages/casl-react/package.json +++ b/packages/casl-react/package.json @@ -51,7 +51,7 @@ "@types/jest": "^29.0.0", "@types/node": "^22.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 a93f3e016..d423370e3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,11 +28,11 @@ importers: specifier: ^22.0.0 version: 22.5.4 chai: - specifier: ^4.1.0 - version: 4.5.0 + specifier: ^5.0.0 + version: 5.1.2 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.2) 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.2 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.2) 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.2 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.2) 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.2 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.2) 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.2 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.5.0) + version: 1.1.0(chai@5.1.2) vue: specifier: ^3.2.45 version: 3.5.3 @@ -4744,8 +4744,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: @@ -5303,26 +5304,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.2): resolution: {integrity: sha512-ikaUhQvQWchRYj2K54itFp3nrcxaFRpSDQxDlRzSn9aWgu9Pi7lD8yFxTso4WnQ39+WZ69oB/qOvqp+isJIIWA==} engines: {node: '>= 4.0.0'} peerDependencies: chai: '*' dependencies: - chai: 4.5.0 + chai: 5.1.2 dev: true - /chai@4.5.0: - resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} - engines: {node: '>=4'} + /chai@5.1.2: + resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} + 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.2 + pathval: 2.0.0 dev: true /chalk@2.4.2: @@ -5349,10 +5348,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: @@ -5923,11 +5921,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: @@ -7014,10 +7010,6 @@ packages: engines: {node: '>=18'} dev: true - /get-func-name@2.0.2: - resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} - dev: true - /get-intrinsic@1.2.4: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} @@ -8741,10 +8733,8 @@ packages: js-tokens: 4.0.0 dev: true - /loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} - dependencies: - get-func-name: 2.0.2 + /loupe@3.1.2: + resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} dev: true /lru-cache@10.4.3: @@ -9710,8 +9700,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: @@ -11260,11 +11251,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'}