From 9d4dcdd53ea2847e60fd2800897b774495fb71ee Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 08:22:27 -0700 Subject: [PATCH] chore(deps): update devdependency chai to v5 (#86) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chai](http://chaijs.com) ([source](https://redirect.github.com/chaijs/chai)) | [`^4.5.0` -> `^5.1.1`](https://renovatebot.com/diffs/npm/chai/4.5.0/5.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chai/5.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chai/5.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chai/4.5.0/5.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chai/4.5.0/5.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/chai](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai)) | [`^4.3.16` -> `^5.0.0`](https://renovatebot.com/diffs/npm/@types%2fchai/4.3.19/5.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fchai/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fchai/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fchai/4.3.19/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fchai/4.3.19/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
chaijs/chai (chai) ### [`v5.1.1`](https://redirect.github.com/chaijs/chai/releases/tag/v5.1.1) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v5.1.0...v5.1.1) #### What's Changed - Set up ESLint for JSDoc comments by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1605](https://redirect.github.com/chaijs/chai/pull/1605) - build(deps-dev): bump ip from 1.1.8 to 1.1.9 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/chaijs/chai/pull/1608](https://redirect.github.com/chaijs/chai/pull/1608) - Correct Mocha import instructions by [@​MattiSG](https://redirect.github.com/MattiSG) in [https://github.com/chaijs/chai/pull/1611](https://redirect.github.com/chaijs/chai/pull/1611) - fix: support some virtual contexts in `toThrow` by [@​43081j](https://redirect.github.com/43081j) in [https://github.com/chaijs/chai/pull/1609](https://redirect.github.com/chaijs/chai/pull/1609) #### New Contributors - [@​MattiSG](https://redirect.github.com/MattiSG) made their first contribution in [https://github.com/chaijs/chai/pull/1611](https://redirect.github.com/chaijs/chai/pull/1611) **Full Changelog**: https://github.com/chaijs/chai/compare/v5.1.0...v5.1.1 ### [`v5.1.0`](https://redirect.github.com/chaijs/chai/releases/tag/v5.1.0) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v5.0.3...v5.1.0) #### What's Changed - Remove useless guards and add parentheses to constuctors by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1593](https://redirect.github.com/chaijs/chai/pull/1593) - Cleanup jsdoc comments by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1596](https://redirect.github.com/chaijs/chai/pull/1596) - Convert comments in "legal comments" format to jsdoc or normal comments by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1598](https://redirect.github.com/chaijs/chai/pull/1598) - Implement `iterable` assertion by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1592](https://redirect.github.com/chaijs/chai/pull/1592) - Assert interface fix by [@​developer-bandi](https://redirect.github.com/developer-bandi) in [https://github.com/chaijs/chai/pull/1601](https://redirect.github.com/chaijs/chai/pull/1601) - Set support in same members by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1583](https://redirect.github.com/chaijs/chai/pull/1583) - Fix publish script by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1602](https://redirect.github.com/chaijs/chai/pull/1602) #### New Contributors - [@​developer-bandi](https://redirect.github.com/developer-bandi) made their first contribution in [https://github.com/chaijs/chai/pull/1601](https://redirect.github.com/chaijs/chai/pull/1601) **Full Changelog**: https://github.com/chaijs/chai/compare/v5.0.3...v5.1.0 ### [`v5.0.3`](https://redirect.github.com/chaijs/chai/releases/tag/v5.0.3) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v5.0.2...v5.0.3) Fix bad v5.0.2 publish. **Full Changelog**: https://github.com/chaijs/chai/compare/v5.0.2...v5.0.3 ### [`v5.0.2`](https://redirect.github.com/chaijs/chai/releases/tag/v5.0.2) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v5.0.0...v5.0.2) #### What's Changed - build(deps): bump nanoid and mocha by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/chaijs/chai/pull/1558](https://redirect.github.com/chaijs/chai/pull/1558) - remove `bump-cli` by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1559](https://redirect.github.com/chaijs/chai/pull/1559) - Update developer dependencies by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1560](https://redirect.github.com/chaijs/chai/pull/1560) - fix: removes `??` for node compat (5.x) by [@​43081j](https://redirect.github.com/43081j) in [https://github.com/chaijs/chai/pull/1576](https://redirect.github.com/chaijs/chai/pull/1576) - Update `loupe` to latest version by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1579](https://redirect.github.com/chaijs/chai/pull/1579) - Re-enable some webkit tests by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1580](https://redirect.github.com/chaijs/chai/pull/1580) - Remove a bunch of if statements in test/should.js by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1581](https://redirect.github.com/chaijs/chai/pull/1581) - Remove a bunch of unused files by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1582](https://redirect.github.com/chaijs/chai/pull/1582) - Fix 1564 by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1566](https://redirect.github.com/chaijs/chai/pull/1566) **Full Changelog**: https://github.com/chaijs/chai/compare/v5.0.1...v5.0.2 ### [`v5.0.0`](https://redirect.github.com/chaijs/chai/releases/tag/v5.0.0) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v4.5.0...v5.0.0) #### BREAKING CHANGES - Chai now only supports EcmaScript Modules (ESM). This means your tests will need to either have `import {...} from 'chai'` or `import('chai')`. `require('chai')` will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls. - Dropped support for Internet Explorer. - Dropped support for NodeJS < 18. - Minimum supported browsers are now Firefox 100, Safari 14.1, Chrome 100, Edge 100. Support for browsers prior to these versions is "best effort" (bug reports on older browsers will be assessed individually and may be marked as wontfix). #### What's Changed - feat: use chaijs/loupe for inspection by [@​pcorpet](https://redirect.github.com/pcorpet) in [https://github.com/chaijs/chai/pull/1401](https://redirect.github.com/chaijs/chai/pull/1401) - docs: fix URL in README by [@​Izzur](https://redirect.github.com/Izzur) in [https://github.com/chaijs/chai/pull/1413](https://redirect.github.com/chaijs/chai/pull/1413) - Remove `get-func-name` dependency by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1416](https://redirect.github.com/chaijs/chai/pull/1416) - Convert Makefile script to npm scripts by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1424](https://redirect.github.com/chaijs/chai/pull/1424) - Clean up README badges by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1422](https://redirect.github.com/chaijs/chai/pull/1422) - fix: package.json - deprecation warning on exports field by [@​stevenjoezhang](https://redirect.github.com/stevenjoezhang) in [https://github.com/chaijs/chai/pull/1400](https://redirect.github.com/chaijs/chai/pull/1400) - fix: deep-eql bump package to support symbols by [@​snewcomer](https://redirect.github.com/snewcomer) in [https://github.com/chaijs/chai/pull/1458](https://redirect.github.com/chaijs/chai/pull/1458) - ES module conversion PoC by [@​43081j](https://redirect.github.com/43081j) in [https://github.com/chaijs/chai/pull/1498](https://redirect.github.com/chaijs/chai/pull/1498) - chore: drop commonjs support by [@​43081j](https://redirect.github.com/43081j) in [https://github.com/chaijs/chai/pull/1503](https://redirect.github.com/chaijs/chai/pull/1503) - Update pathval by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1527](https://redirect.github.com/chaijs/chai/pull/1527) - Update check-error by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1528](https://redirect.github.com/chaijs/chai/pull/1528) - update `deep-eql` to latest version by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1542](https://redirect.github.com/chaijs/chai/pull/1542) - Inline `type-detect` as a simple function by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1544](https://redirect.github.com/chaijs/chai/pull/1544) - Update loupe by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1545](https://redirect.github.com/chaijs/chai/pull/1545) - Typo 'Test an object' not 'Test and object' by [@​mavaddat](https://redirect.github.com/mavaddat) in [https://github.com/chaijs/chai/pull/1460](https://redirect.github.com/chaijs/chai/pull/1460) - Update `assertion-error` to it's latest major version! by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1543](https://redirect.github.com/chaijs/chai/pull/1543) - Replacing Karma with Web Test Runner by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1546](https://redirect.github.com/chaijs/chai/pull/1546) #### New Contributors - [@​Izzur](https://redirect.github.com/Izzur) made their first contribution in [https://github.com/chaijs/chai/pull/1413](https://redirect.github.com/chaijs/chai/pull/1413) - [@​stevenjoezhang](https://redirect.github.com/stevenjoezhang) made their first contribution in [https://github.com/chaijs/chai/pull/1400](https://redirect.github.com/chaijs/chai/pull/1400) - [@​43081j](https://redirect.github.com/43081j) made their first contribution in [https://github.com/chaijs/chai/pull/1498](https://redirect.github.com/chaijs/chai/pull/1498) **Full Changelog**: https://github.com/chaijs/chai/compare/4.3.1...v5.0.0
--- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Europe/London, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/zkSync-Community-Hub/community-code). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- code/multisig/package-lock.json | 194 +++++++++++++++++++-- code/multisig/package.json | 4 +- code/webauthn/contracts/package-lock.json | 198 ++++++++++++++++++++-- code/webauthn/contracts/package.json | 4 +- 4 files changed, 363 insertions(+), 37 deletions(-) diff --git a/code/multisig/package-lock.json b/code/multisig/package-lock.json index cf499f55..7651d808 100644 --- a/code/multisig/package-lock.json +++ b/code/multisig/package-lock.json @@ -10,9 +10,9 @@ "@matterlabs/hardhat-zksync": "1.1.0", "@matterlabs/zksync-contracts": "^0.6.1", "@openzeppelin/contracts": "4.9.5", - "@types/chai": "^4.3.16", + "@types/chai": "^5.0.0", "@types/mocha": "^10.0.7", - "chai": "^4.5.0", + "chai": "^5.1.1", "dotenv": "^16.4.5", "ethers": "^6.13.2", "hardhat": "^2.22.7", @@ -1070,6 +1070,25 @@ "zksync-ethers": "^6.8.0" } }, + "node_modules/@matterlabs/hardhat-zksync-deploy/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-ethers": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-ethers/-/hardhat-zksync-ethers-1.2.0.tgz", @@ -1089,6 +1108,25 @@ "zksync-ethers": "^6.11.2" } }, + "node_modules/@matterlabs/hardhat-zksync-ethers/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-node": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-node/-/hardhat-zksync-node-1.1.1.tgz", @@ -1110,6 +1148,25 @@ "hardhat": "^2.22.5" } }, + "node_modules/@matterlabs/hardhat-zksync-node/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-solc": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-1.2.4.tgz", @@ -1133,6 +1190,25 @@ "hardhat": "^2.22.5" } }, + "node_modules/@matterlabs/hardhat-zksync-solc/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-upgradable": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-upgradable/-/hardhat-zksync-upgradable-1.6.0.tgz", @@ -1184,6 +1260,44 @@ "hardhat": "^2.22.5" } }, + "node_modules/@matterlabs/hardhat-zksync-verify/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@matterlabs/hardhat-zksync/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/zksync-contracts": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/@matterlabs/zksync-contracts/-/zksync-contracts-0.6.1.tgz", @@ -2596,9 +2710,9 @@ } }, "node_modules/@types/chai": { - "version": "4.3.19", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.19.tgz", - "integrity": "sha512-2hHHvQBVE2FiSK4eN0Br6snX9MtolHaTo/batnLjlGRhoQzlCL61iVpxoqO7SfFyOw+P/pwv+0zNHzKoGWz9Cw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.0.0.tgz", + "integrity": "sha512-+DwhEHAaFPPdJ2ral3kNHFQXnTfscEEFsUxzD+d7nlcLrFK23JtNjH71RGasTcHb88b4vVi4mTyfpf8u2L8bdA==", "dev": true, "license": "MIT" }, @@ -3230,22 +3344,70 @@ } }, "node_modules/chai": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", - "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz", + "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==", "dev": true, "license": "MIT", "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.6", - "pathval": "^1.1.1", - "type-detect": "^4.1.0" + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" }, "engines": { - "node": ">=4" + "node": ">=12" + } + }, + "node_modules/chai/node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/chai/node_modules/check-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", + "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, + "node_modules/chai/node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chai/node_modules/loupe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.1.tgz", + "integrity": "sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.1" + } + }, + "node_modules/chai/node_modules/pathval": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", + "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" } }, "node_modules/chalk": { diff --git a/code/multisig/package.json b/code/multisig/package.json index 292a71bd..f6847051 100644 --- a/code/multisig/package.json +++ b/code/multisig/package.json @@ -17,9 +17,9 @@ "@matterlabs/hardhat-zksync": "1.1.0", "@matterlabs/zksync-contracts": "^0.6.1", "@openzeppelin/contracts": "4.9.5", - "@types/chai": "^4.3.16", + "@types/chai": "^5.0.0", "@types/mocha": "^10.0.7", - "chai": "^4.5.0", + "chai": "^5.1.1", "dotenv": "^16.4.5", "ethers": "^6.13.2", "hardhat": "^2.22.7", diff --git a/code/webauthn/contracts/package-lock.json b/code/webauthn/contracts/package-lock.json index d9d71c54..88cd42de 100644 --- a/code/webauthn/contracts/package-lock.json +++ b/code/webauthn/contracts/package-lock.json @@ -11,9 +11,9 @@ "@matterlabs/zksync-contracts": "^0.6.1", "@nomicfoundation/hardhat-verify": "^2.0.9", "@openzeppelin/contracts": "^4.9.5", - "@types/chai": "^4.3.16", + "@types/chai": "^5.0.0", "@types/mocha": "^10.0.7", - "chai": "^4.5.0", + "chai": "^5.1.1", "dotenv": "^16.4.5", "ethers": "^6.13.2", "hardhat": "^2.22.7", @@ -654,6 +654,25 @@ "path-browserify": "^1.0.1" } }, + "node_modules/@matterlabs/hardhat-zksync-ethers/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-ethers/node_modules/code-block-writer": { "version": "13.0.2", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.2.tgz", @@ -690,6 +709,25 @@ "hardhat": "^2.22.5" } }, + "node_modules/@matterlabs/hardhat-zksync-node/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-solc": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-1.2.3.tgz", @@ -712,6 +750,25 @@ "hardhat": "^2.22.5" } }, + "node_modules/@matterlabs/hardhat-zksync-solc/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-upgradable": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-upgradable/-/hardhat-zksync-upgradable-1.5.2.tgz", @@ -768,6 +825,25 @@ "path-browserify": "^1.0.1" } }, + "node_modules/@matterlabs/hardhat-zksync-upgradable/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync-upgradable/node_modules/code-block-writer": { "version": "13.0.2", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.2.tgz", @@ -808,6 +884,25 @@ "hardhat": "^2.22.5" } }, + "node_modules/@matterlabs/hardhat-zksync-verify/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync/node_modules/@matterlabs/hardhat-zksync-deploy": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-1.5.0.tgz", @@ -842,6 +937,25 @@ "path-browserify": "^1.0.1" } }, + "node_modules/@matterlabs/hardhat-zksync/node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "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.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@matterlabs/hardhat-zksync/node_modules/code-block-writer": { "version": "13.0.2", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.2.tgz", @@ -2041,10 +2155,11 @@ } }, "node_modules/@types/chai": { - "version": "4.3.19", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.19.tgz", - "integrity": "sha512-2hHHvQBVE2FiSK4eN0Br6snX9MtolHaTo/batnLjlGRhoQzlCL61iVpxoqO7SfFyOw+P/pwv+0zNHzKoGWz9Cw==", - "dev": true + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.0.0.tgz", + "integrity": "sha512-+DwhEHAaFPPdJ2ral3kNHFQXnTfscEEFsUxzD+d7nlcLrFK23JtNjH71RGasTcHb88b4vVi4mTyfpf8u2L8bdA==", + "dev": true, + "license": "MIT" }, "node_modules/@types/lru-cache": { "version": "5.1.1", @@ -2671,21 +2786,70 @@ } }, "node_modules/chai": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", - "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz", + "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==", "dev": true, + "license": "MIT", "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.6", - "pathval": "^1.1.1", - "type-detect": "^4.1.0" + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" }, "engines": { - "node": ">=4" + "node": ">=12" + } + }, + "node_modules/chai/node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/chai/node_modules/check-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", + "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, + "node_modules/chai/node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chai/node_modules/loupe": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.1.tgz", + "integrity": "sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.1" + } + }, + "node_modules/chai/node_modules/pathval": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", + "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" } }, "node_modules/chalk": { diff --git a/code/webauthn/contracts/package.json b/code/webauthn/contracts/package.json index c28354cd..fa17f9ea 100644 --- a/code/webauthn/contracts/package.json +++ b/code/webauthn/contracts/package.json @@ -20,9 +20,9 @@ "@matterlabs/zksync-contracts": "^0.6.1", "@nomicfoundation/hardhat-verify": "^2.0.9", "@openzeppelin/contracts": "^4.9.5", - "@types/chai": "^4.3.16", + "@types/chai": "^5.0.0", "@types/mocha": "^10.0.7", - "chai": "^4.5.0", + "chai": "^5.1.1", "dotenv": "^16.4.5", "ethers": "^6.13.2", "hardhat": "^2.22.7",