diff --git a/package-lock.json b/package-lock.json index 83541816..4bbe6b26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,6 +28,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^18.16.0", + "chai": "^4.4.1", "circomlibjs": "^0.1.7", "dotenv": "^16.4.5", "ethers": "^6.13.1", @@ -38,6 +39,7 @@ "merkletreejs": "^0.4.0", "mock-local-storage": "^1.1.24", "prettier": "^3.3.3", + "prettier-plugin-solidity": "^1.3.1", "solhint": "^5.0.1", "solhint-plugin-prettier": "^0.1.0", "solidity-coverage": "^0.8.12", @@ -1193,81 +1195,81 @@ } }, "node_modules/@nomicfoundation/edr": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr/-/edr-0.5.0.tgz", - "integrity": "sha512-nAUyjGhxntXje/1AkDX9POfH+pqUxdi4XHzIhaf/dJYs7fgAFxL3STBK1OYcA3LR7vtiylLHMz7wxjqLzlLGKg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr/-/edr-0.5.1.tgz", + "integrity": "sha512-rLh6sLvPWTaGLJh5cyHs82volz+9+314PPTHFYaf4/hA+F+IJpJdDyW8OVFVApTRGpMet1XhUcOxTDi4NoTHBQ==", "dev": true, "dependencies": { - "@nomicfoundation/edr-darwin-arm64": "0.5.0", - "@nomicfoundation/edr-darwin-x64": "0.5.0", - "@nomicfoundation/edr-linux-arm64-gnu": "0.5.0", - "@nomicfoundation/edr-linux-arm64-musl": "0.5.0", - "@nomicfoundation/edr-linux-x64-gnu": "0.5.0", - "@nomicfoundation/edr-linux-x64-musl": "0.5.0", - "@nomicfoundation/edr-win32-x64-msvc": "0.5.0" + "@nomicfoundation/edr-darwin-arm64": "0.5.1", + "@nomicfoundation/edr-darwin-x64": "0.5.1", + "@nomicfoundation/edr-linux-arm64-gnu": "0.5.1", + "@nomicfoundation/edr-linux-arm64-musl": "0.5.1", + "@nomicfoundation/edr-linux-x64-gnu": "0.5.1", + "@nomicfoundation/edr-linux-x64-musl": "0.5.1", + "@nomicfoundation/edr-win32-x64-msvc": "0.5.1" }, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-darwin-arm64": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.5.0.tgz", - "integrity": "sha512-G6OX/PESdfU4ZOyJ4MDh4eevW0wt2mduuxA+thXtTcStOiQTtPuV205h4kLOR5wRB1Zz6Zy0LedTMax7TzOtGw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.5.1.tgz", + "integrity": "sha512-bDpvVn0I/vLeSB84ned08EnGgk5e+ttjbIT/W9KsWpUSUTs7TqTeceZOljWtxtvIxPS5rOCQ0cu4ZSRJcTQ+bQ==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-darwin-x64": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.5.0.tgz", - "integrity": "sha512-fI7uHfHqPtdPZjkFUTpotc/F5gGv41ws+jSZy9+2AR9RDMOAIXMEArOx9rGLBcevWu8SFnyH/l/77kG/5FXbDw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.5.1.tgz", + "integrity": "sha512-v/ZtT3uVYqEivbPtv5teceM6YsnXRE1lLRmri6kBh4skeJ9S6CUcIHPkOg6yX0hiAQiRKabxacZV4uKy8DR26w==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-linux-arm64-gnu": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.5.0.tgz", - "integrity": "sha512-eMC3sWPkBZILg2/YB4Xv6IR0nggCLt5hS8K8jjHeGEeUs9pf8poBF2Oy+G4lSu0YLLjexGzHypz9/P+pIuxZHw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.5.1.tgz", + "integrity": "sha512-DWLMKOwEXp/m4oN+eZOaHksCGl7aYWB4CI1paUsLisTP5/H9SmjEEL7BgQG6vOV6ifMEN4I4ZWzmPGzal58AQw==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-linux-arm64-musl": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.5.0.tgz", - "integrity": "sha512-yPK0tKjYRxe5ktggFr8aBHH0DCI9uafuaD8QuzyrQAfSf/m/ebTdgthROdbYp6eRk5mJyfAQT/45fM3tnlYsWw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.5.1.tgz", + "integrity": "sha512-6HKYGPGYvatQeU8O4G1w4l4eArcv4bv31vlUEaVo0vC2yYQrCyzZQmloCZJR10EmROqpZWBRxwdea42z01dIgw==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-linux-x64-gnu": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.5.0.tgz", - "integrity": "sha512-Hds8CRYi4DEyuErjcwUNSvNpMzmOYUihW4qYCoKgSBUVS5saX1PyPYvFYuYpeU5J8/T2iMk6yAPVLCxtKbgnKg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.5.1.tgz", + "integrity": "sha512-3V2Ebftwxp82pGEqP4Ya4g1lffTdu42x+jzzIHxWn1NYZjrZ702R1xA48+sJvaHmZV9tmj9Rul5Dpa6tTATAdQ==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-linux-x64-musl": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.5.0.tgz", - "integrity": "sha512-1hXMDSzdyh5ojwO3ZSRbt7t5KKYycGUlFdC3lgJRZ7gStB8xjb7RA3hZn2csn9OydS950Ne4nh+puNq91iXApw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.5.1.tgz", + "integrity": "sha512-QlHNf+m4jAM3jd/18sMoacK0w/+0ZuxiT1d1IyNpqJrQFxrXc/qdi69jY4trknctkfNnLZB3T/v+2KGvMB+FcQ==", "dev": true, "engines": { "node": ">= 18" } }, "node_modules/@nomicfoundation/edr-win32-x64-msvc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.5.0.tgz", - "integrity": "sha512-CFagD423400xXkRmACIR13FoocN48qi4ogRnuFQIvBDtEE3aMEajfFj4bycmQQDqnqChsZy/jwD4OxbX6oaNJw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.5.1.tgz", + "integrity": "sha512-hgHksH69GMlpxSIYViUFXOR9xebGiGTuWFqoy5veH6TPYymWKrDLu22h30WcEMJaWclCRPj3zsBdbumqBFaLqw==", "dev": true, "engines": { "node": ">= 18" @@ -1521,9 +1523,9 @@ "dev": true }, "node_modules/@pnpm/npm-conf": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz", - "integrity": "sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.3.0.tgz", + "integrity": "sha512-DqrO+oXGR7HCuicNy6quk6ALJSDDPKI7RZz1bP5im8mSL8J2e+9w26LdkjuAfpAjOutYUJVbnXnx4IbTQeIgfw==", "dev": true, "dependencies": { "@pnpm/config.env-replace": "^1.1.0", @@ -2170,9 +2172,9 @@ } }, "node_modules/antlr4": { - "version": "4.13.1-patch-1", - "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.13.1-patch-1.tgz", - "integrity": "sha512-OjFLWWLzDMV9rdFhpvroCWR4ooktNg9/nvVYSA5z28wuVpU36QUNuioR1XLnQtcjVlf8npjyz593PxnU/f/Cow==", + "version": "4.13.2", + "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.13.2.tgz", + "integrity": "sha512-QiVbZhyy4xAZ17UPEuG3YTOt8ZaoeOR1CvEAqrEsDBsOqINslaB147i9xqljZqoyf5S+EUlGStaj+t22LT9MOg==", "dev": true, "engines": { "node": ">=16" @@ -2284,7 +2286,6 @@ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", "dev": true, - "peer": true, "engines": { "node": "*" } @@ -2728,7 +2729,6 @@ "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", "dev": true, - "peer": true, "dependencies": { "assertion-error": "^1.1.0", "check-error": "^1.0.3", @@ -3052,9 +3052,9 @@ } }, "node_modules/core-js": { - "version": "3.37.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.37.1.tgz", - "integrity": "sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==", + "version": "3.38.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.0.tgz", + "integrity": "sha512-XPpwqEodRljce9KswjZShh95qJ1URisBeKCjUdq27YdenkslVe7OO0ZJhlYXAChW7OhXaRLl8AAba7IBfoIHug==", "dev": true, "hasInstallScript": true, "funding": { @@ -5768,7 +5768,6 @@ "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", "dev": true, - "peer": true, "dependencies": { "get-func-name": "^2.0.1" } @@ -6552,7 +6551,6 @@ "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", "dev": true, - "peer": true, "engines": { "node": "*" } @@ -7465,9 +7463,9 @@ } }, "node_modules/solhint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/solhint/-/solhint-5.0.2.tgz", - "integrity": "sha512-fDoflGz1jztGRqEDiLI25wSvpjGu0fIqeRXXYKYt4qBOA0EJi8RZwlM11+K2ZAcGFW2K8bevJ2A/wtZ0lDi/bw==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/solhint/-/solhint-5.0.3.tgz", + "integrity": "sha512-OLCH6qm/mZTCpplTXzXTJGId1zrtNuDYP5c2e6snIv/hdRVxPfBBz/bAlL91bY/Accavkayp2Zp2BaDSrLVXTQ==", "dev": true, "dependencies": { "@solidity-parser/parser": "^0.18.0", diff --git a/package.json b/package.json index fb27394e..c1d04a89 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^18.16.0", + "chai": "^4.4.1", "circomlibjs": "^0.1.7", "dotenv": "^16.4.5", "ethers": "^6.13.1", @@ -64,6 +65,7 @@ "merkletreejs": "^0.4.0", "mock-local-storage": "^1.1.24", "prettier": "^3.3.3", + "prettier-plugin-solidity": "^1.3.1", "solhint": "^5.0.1", "solhint-plugin-prettier": "^0.1.0", "solidity-coverage": "^0.8.12",