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 63fc54326..5d40f87d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,11 +28,11 @@ importers: specifier: ^20.0.0 version: 20.11.10 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.0.3 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.0.3) 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.0.3 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.0.3) 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.1 + specifier: ^5.0.0 + version: 5.0.3 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.0.3) mongoose: specifier: ^7.0.0 version: 7.6.8 @@ -191,11 +191,11 @@ importers: specifier: ^18.0.0 version: 18.2.48 chai: - specifier: ^4.1.0 - version: 4.4.1 + specifier: ^5.0.0 + version: 5.0.3 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.0.3) 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.1 + specifier: ^5.0.0 + version: 5.0.3 chai-spies: specifier: ^1.0.0 - version: 1.1.0(chai@4.4.1) + version: 1.1.0(chai@5.0.3) vue: specifier: ^3.2.45 version: 3.4.15 @@ -5001,8 +5001,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 /asynckit@0.4.0: @@ -5582,26 +5583,24 @@ packages: redeyed: 2.1.1 dev: false - /chai-spies@1.1.0(chai@4.4.1): + /chai-spies@1.1.0(chai@5.0.3): resolution: {integrity: sha512-ikaUhQvQWchRYj2K54itFp3nrcxaFRpSDQxDlRzSn9aWgu9Pi7lD8yFxTso4WnQ39+WZ69oB/qOvqp+isJIIWA==} engines: {node: '>= 4.0.0'} peerDependencies: chai: '*' dependencies: - chai: 4.4.1 + chai: 5.0.3 dev: true - /chai@4.4.1: - resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} - engines: {node: '>=4'} + /chai@5.0.3: + resolution: {integrity: sha512-wKGCtYv2kVY5WEjKqQ3fSIZWtTFveZCtzinhTZbx3/trVkxefiwovhpU9kRVCwxvKKCEjTWXPdM1/T7zPoDgow==} + 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: @@ -5631,10 +5630,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: @@ -6145,11 +6143,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: @@ -8787,8 +8783,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 @@ -9641,8 +9637,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: