diff --git a/packages/casl-ability/package.json b/packages/casl-ability/package.json index 7e366c9db..a76d77ead 100644 --- a/packages/casl-ability/package.json +++ b/packages/casl-ability/package.json @@ -58,7 +58,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 c060af422..7f5f778f1 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": "^7.0.0" }, diff --git a/packages/casl-react/package.json b/packages/casl-react/package.json index 3cd10e05c..61d6cd5f4 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 59f3349ad..03858ccc3 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 1cbe7b5c5..e8796328c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,11 +28,11 @@ importers: specifier: ^20.0.0 version: 20.10.7 chai: - specifier: ^4.1.0 - version: 4.4.0 + specifier: ^5.0.0 + version: 5.0.0 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.0) + version: 1.1.0(chai@5.0.0) 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.0 + specifier: ^5.0.0 + version: 5.0.0 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.0) + version: 1.1.0(chai@5.0.0) packages/casl-mongoose: devDependencies: @@ -136,11 +136,11 @@ importers: specifier: ^29.0.0 version: 29.5.11 chai: - specifier: ^4.1.0 - version: 4.4.0 + specifier: ^5.0.0 + version: 5.0.0 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.0) + version: 1.1.0(chai@5.0.0) mongoose: specifier: ^7.0.0 version: 7.6.7 @@ -191,11 +191,11 @@ importers: specifier: ^18.0.0 version: 18.2.47 chai: - specifier: ^4.1.0 - version: 4.4.0 + specifier: ^5.0.0 + version: 5.0.0 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.0) + version: 1.1.0(chai@5.0.0) react: specifier: ^18.0.0 version: 18.2.0 @@ -215,11 +215,11 @@ importers: specifier: ^29.0.0 version: 29.5.11 chai: - specifier: ^4.1.0 - version: 4.4.0 + specifier: ^5.0.0 + version: 5.0.0 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.0) + version: 1.1.0(chai@5.0.0) vue: specifier: ^3.2.45 version: 3.4.5 @@ -5043,8 +5043,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-each-series@0.1.1: @@ -5718,26 +5719,24 @@ packages: redeyed: 2.1.1 dev: false - /chai-spies@1.1.0(chai@4.4.0): + /chai-spies@1.1.0(chai@5.0.0): resolution: {integrity: sha512-ikaUhQvQWchRYj2K54itFp3nrcxaFRpSDQxDlRzSn9aWgu9Pi7lD8yFxTso4WnQ39+WZ69oB/qOvqp+isJIIWA==} engines: {node: '>= 4.0.0'} peerDependencies: chai: '*' dependencies: - chai: 4.4.0 + chai: 5.0.0 dev: true - /chai@4.4.0: - resolution: {integrity: sha512-x9cHNq1uvkCdU+5xTkNh5WtgD4e4yDFCsp9jVc7N7qVeKeftv3gO/ZrviX5d+3ZfxdYnZXZYujjRInu1RogU6A==} - engines: {node: '>=4'} + /chai@5.0.0: + resolution: {integrity: sha512-HO5p0oEKd5M6HEcwOkNAThAE3j960vIZvVcc0t2tI06Dd0ATu69cEnMB2wOhC5/ZyQ6m67w3ePjU/HzXsSsdBA==} + engines: {node: '>=12'} dependencies: - assertion-error: 1.1.0 - check-error: 1.0.3 - deep-eql: 4.1.3 - 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.0.0 + deep-eql: 5.0.1 + loupe: 3.1.0 + pathval: 2.0.0 dev: true /chalk@2.4.2: @@ -5767,10 +5766,9 @@ packages: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} dev: true - /check-error@1.0.3: - resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} - dependencies: - get-func-name: 2.0.2 + /check-error@2.0.0: + resolution: {integrity: sha512-tjLAOBHKVxtPoHe/SA7kNOMvhCRdCJ3vETdeY0RuAc9popf+hyaSV6ZEg9hr4cpWF7jmo/JSWEnLDrnijS9Tog==} + engines: {node: '>= 16'} dev: true /chokidar@3.5.3: @@ -6322,11 +6320,9 @@ packages: babel-plugin-macros: optional: true - /deep-eql@4.1.3: - resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + /deep-eql@5.0.1: + resolution: {integrity: sha512-nwQCf6ne2gez3o1MxWifqkciwt0zhl0LO1/UwVu4uMBuPmflWM4oQ70XMqHqnBJA+nhzncaqL9HVL6KkHJ28lw==} engines: {node: '>=6'} - dependencies: - type-detect: 4.0.8 dev: true /deep-extend@0.6.0: @@ -9140,8 +9136,8 @@ packages: js-tokens: 4.0.0 dev: true - /loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + /loupe@3.1.0: + resolution: {integrity: sha512-qKl+FrLXUhFuHUoDJG7f8P8gEMHq9NFS0c6ghXG1J0rldmZFQZoNVv/vyirE9qwCIhWZDsvEFd1sbFu3GvRQFg==} dependencies: get-func-name: 2.0.2 dev: true @@ -10021,8 +10017,9 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - /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.0: