diff --git a/packages/core/package.json b/packages/core/package.json index f5daa3b34f..785af7d391 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -72,7 +72,7 @@ "prettier": "2.0.5", "prettier-plugin-solidity": "1.0.0-beta.11", "readline": "^1.3.0", - "solhint": "^3.3.4", + "solhint": "3.4.1", "solhint-plugin-prettier": "^0.0.5", "solidity-coverage": "0.8.2", "ts-node": "^10.9.1", diff --git a/packages/dependency-metatx/.solhint.json b/packages/dependency-metatx/.solhint.json index 9fb97ba3de..aa24631333 100644 --- a/packages/dependency-metatx/.solhint.json +++ b/packages/dependency-metatx/.solhint.json @@ -8,14 +8,8 @@ "endOfLine": "auto" } ], - "code-complexity": ["error", 7], "compiler-version": ["error", "^0.8.0"], - "const-name-snakecase": "off", - "func-name-mixedcase": "off", - "constructor-syntax": "error", "func-visibility": ["error", {"ignoreConstructors": true}], - "not-rely-on-time": "off", - "no-inline-assembly": "off", - "reason-string": ["warn", {"maxLength": 64}] + "func-named-parameters": ["error", 3] } } diff --git a/packages/dependency-metatx/contracts/ERC2771HandlerUpgradeable.sol b/packages/dependency-metatx/contracts/ERC2771HandlerUpgradeable.sol index cc3fc6971a..6ba4152f86 100644 --- a/packages/dependency-metatx/contracts/ERC2771HandlerUpgradeable.sol +++ b/packages/dependency-metatx/contracts/ERC2771HandlerUpgradeable.sol @@ -21,12 +21,14 @@ contract ERC2771HandlerUpgradeable is Initializable, ERC2771HandlerAbstract { /// @notice initialize the trusted forwarder address /// @param forwarder trusted forwarder address or zero to disable it + // solhint-disable-next-line func-name-mixedcase function __ERC2771Handler_init(address forwarder) internal onlyInitializing { __ERC2771Handler_init_unchained(forwarder); } /// @notice initialize the trusted forwarder address /// @param forwarder trusted forwarder address or zero to disable it + // solhint-disable-next-line func-name-mixedcase function __ERC2771Handler_init_unchained(address forwarder) internal onlyInitializing { _setTrustedForwarder(forwarder); } diff --git a/packages/example-hardhat/.solhint.json b/packages/example-hardhat/.solhint.json index 9fb97ba3de..6333c2b430 100644 --- a/packages/example-hardhat/.solhint.json +++ b/packages/example-hardhat/.solhint.json @@ -8,14 +8,7 @@ "endOfLine": "auto" } ], - "code-complexity": ["error", 7], "compiler-version": ["error", "^0.8.0"], - "const-name-snakecase": "off", - "func-name-mixedcase": "off", - "constructor-syntax": "error", - "func-visibility": ["error", {"ignoreConstructors": true}], - "not-rely-on-time": "off", - "no-inline-assembly": "off", - "reason-string": ["warn", {"maxLength": 64}] + "func-visibility": ["error", {"ignoreConstructors": true}] } } diff --git a/packages/example-hardhat/contracts/Lock.sol b/packages/example-hardhat/contracts/Lock.sol index be672adf05..a8f909aec3 100644 --- a/packages/example-hardhat/contracts/Lock.sol +++ b/packages/example-hardhat/contracts/Lock.sol @@ -5,13 +5,14 @@ pragma solidity ^0.8.9; // import "hardhat/console.sol"; contract Lock { - uint public unlockTime; + uint256 public unlockTime; address payable public owner; - event Withdrawal(uint amount, uint when); + event Withdrawal(uint256 amount, uint256 when); - constructor(uint _unlockTime) payable { - require(block.timestamp < _unlockTime, "Unlock time should be in the future"); + constructor(uint256 _unlockTime) payable { + // solhint-disable-next-line not-rely-on-time + require(block.timestamp < _unlockTime, "Should be in the future"); unlockTime = _unlockTime; owner = payable(msg.sender); @@ -21,9 +22,11 @@ contract Lock { // Uncomment this line, and the import of "hardhat/console.sol", to print a log in your terminal // console.log("Unlock time is %o and block timestamp is %o", unlockTime, block.timestamp); + // solhint-disable-next-line not-rely-on-time require(block.timestamp >= unlockTime, "You can't withdraw yet"); require(msg.sender == owner, "You aren't the owner"); + // solhint-disable-next-line not-rely-on-time emit Withdrawal(address(this).balance, block.timestamp); owner.transfer(address(this).balance); diff --git a/packages/example-hardhat/contracts/LockUpgradeable.sol b/packages/example-hardhat/contracts/LockUpgradeable.sol index 01e073a71c..36abdb6c14 100644 --- a/packages/example-hardhat/contracts/LockUpgradeable.sol +++ b/packages/example-hardhat/contracts/LockUpgradeable.sol @@ -8,13 +8,14 @@ import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Ini ///@dev This contract is used as an example of an upgradeable contract contract LockUpgradeable is Initializable { - uint public unlockTime; + uint256 public unlockTime; address payable public owner; - event Withdrawal(uint amount, uint when); + event Withdrawal(uint256 amount, uint256 when); - function initialize(uint _unlockTime) external payable initializer { - require(block.timestamp < _unlockTime, "Unlock time should be in the future"); + function initialize(uint256 _unlockTime) external payable initializer { + // solhint-disable-next-line not-rely-on-time + require(block.timestamp < _unlockTime, "Should be in the future"); unlockTime = _unlockTime; owner = payable(msg.sender); @@ -24,9 +25,11 @@ contract LockUpgradeable is Initializable { // Uncomment this line, and the import of "hardhat/console.sol", to print a log in your terminal // console.log("Unlock time is %o and block timestamp is %o", unlockTime, block.timestamp); + // solhint-disable-next-line not-rely-on-time require(block.timestamp >= unlockTime, "You can't withdraw yet"); require(msg.sender == owner, "You aren't the owner"); + // solhint-disable-next-line not-rely-on-time emit Withdrawal(address(this).balance, block.timestamp); owner.transfer(address(this).balance); diff --git a/packages/example-hardhat/test/lock.ts b/packages/example-hardhat/test/lock.ts index 926ff61007..a918ac3801 100644 --- a/packages/example-hardhat/test/lock.ts +++ b/packages/example-hardhat/test/lock.ts @@ -37,7 +37,7 @@ describe('LockUpgradable', function () { const latestTime = await time.latest(); const Lock = await ethers.getContractFactory('Lock'); await expect(Lock.deploy(latestTime, {value: 1})).to.be.revertedWith( - 'Unlock time should be in the future' + 'Should be in the future' ); }); }); diff --git a/packages/example-hardhat/test/lockUpgradable.ts b/packages/example-hardhat/test/lockUpgradable.ts index a79169b4e6..8af35ea1e3 100644 --- a/packages/example-hardhat/test/lockUpgradable.ts +++ b/packages/example-hardhat/test/lockUpgradable.ts @@ -38,7 +38,7 @@ describe('LockUpgradable', function () { const Lock = await ethers.getContractFactory('LockUpgradeable'); const lock = await Lock.deploy(); await expect(lock.initialize(latestTime, {value: 1})).to.be.revertedWith( - 'Unlock time should be in the future' + 'Should be in the future' ); }); diff --git a/packages/giveaway/.solhint.json b/packages/giveaway/.solhint.json index 9fb97ba3de..017b188e81 100644 --- a/packages/giveaway/.solhint.json +++ b/packages/giveaway/.solhint.json @@ -8,14 +8,10 @@ "endOfLine": "auto" } ], - "code-complexity": ["error", 7], + "func-named-parameters": "off", "compiler-version": ["error", "^0.8.0"], - "const-name-snakecase": "off", "func-name-mixedcase": "off", - "constructor-syntax": "error", "func-visibility": ["error", {"ignoreConstructors": true}], - "not-rely-on-time": "off", - "no-inline-assembly": "off", - "reason-string": ["warn", {"maxLength": 64}] + "not-rely-on-time": "off" } } diff --git a/packages/giveaway/contracts/test/FakeProxy.sol b/packages/giveaway/contracts/test/FakeProxy.sol index 80d125fb07..a899b57958 100644 --- a/packages/giveaway/contracts/test/FakeProxy.sol +++ b/packages/giveaway/contracts/test/FakeProxy.sol @@ -11,6 +11,7 @@ contract FakeProxy is ERC1967UpgradeUpgradeable { } function _delegate(address implementation) internal virtual { + // solhint-disable-next-line no-inline-assembly assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) diff --git a/yarn.lock b/yarn.lock index 26a834ca34..8634726c09 100644 --- a/yarn.lock +++ b/yarn.lock @@ -42,12 +42,12 @@ __metadata: linkType: hard "@aws-sdk/types@npm:^3.1.0": - version: 3.378.0 - resolution: "@aws-sdk/types@npm:3.378.0" + version: 3.387.0 + resolution: "@aws-sdk/types@npm:3.387.0" dependencies: - "@smithy/types": ^2.0.2 + "@smithy/types": ^2.1.0 tslib: ^2.5.0 - checksum: c4c7ebb48a625cb990a1288466f2dd8f0d770078cc77b60d5ee4a803b473ff41df474271dff26d3dadad151d5a016b398167738dd4926266ff1cd04585d4d8e8 + checksum: 39c5c3eea4cd8705c0c9dafa187ac6e14585a1bb6d162bbda8dc3ea5522020302ccd3ff7c8b425225c625d2b83ae6e6f6b71f621da790830a8a55ed5643197ec languageName: node linkType: hard @@ -70,11 +70,12 @@ __metadata: linkType: hard "@babel/code-frame@npm:^7.0.0": - version: 7.22.5 - resolution: "@babel/code-frame@npm:7.22.5" + version: 7.22.10 + resolution: "@babel/code-frame@npm:7.22.10" dependencies: - "@babel/highlight": ^7.22.5 - checksum: cfe804f518f53faaf9a1d3e0f9f74127ab9a004912c3a16fda07fb6a633393ecb9918a053cb71804204c1b7ec3d49e1699604715e2cfb0c9f7bc4933d324ebb6 + "@babel/highlight": ^7.22.10 + chalk: ^2.4.2 + checksum: 89a06534ad19759da6203a71bad120b1d7b2ddc016c8e07d4c56b35dea25e7396c6da60a754e8532a86733092b131ae7f661dbe6ba5d165ea777555daa2ed3c9 languageName: node linkType: hard @@ -85,14 +86,14 @@ __metadata: languageName: node linkType: hard -"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/highlight@npm:7.22.5" +"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/highlight@npm:7.22.10" dependencies: "@babel/helper-validator-identifier": ^7.22.5 - chalk: ^2.0.0 + chalk: ^2.4.2 js-tokens: ^4.0.0 - checksum: f61ae6de6ee0ea8d9b5bcf2a532faec5ab0a1dc0f7c640e5047fc61630a0edb88b18d8c92eb06566d30da7a27db841aca11820ecd3ebe9ce514c9350fbed39c4 + checksum: f714a1e1a72dd9d72f6383f4f30fd342e21a8df32d984a4ea8f5eab691bb6ba6db2f8823d4b4cf135d98869e7a98925b81306aa32ee3c429f8cfa52c75889e1b languageName: node linkType: hard @@ -236,9 +237,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.1": - version: 2.1.1 - resolution: "@eslint/eslintrc@npm:2.1.1" +"@eslint/eslintrc@npm:^2.1.2": + version: 2.1.2 + resolution: "@eslint/eslintrc@npm:2.1.2" dependencies: ajv: ^6.12.4 debug: ^4.3.2 @@ -249,14 +250,14 @@ __metadata: js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: bf909ea183d27238c257a82d4ffdec38ca94b906b4b8dfae02ecbe7ecc9e5a8182ef5e469c808bb8cb4fea4750f43ac4ca7c4b4a167b6cd7e3aaacd386b2bd25 + checksum: bc742a1e3b361f06fedb4afb6bf32cbd27171292ef7924f61c62f2aed73048367bcc7ac68f98c06d4245cd3fabc43270f844e3c1699936d4734b3ac5398814a7 languageName: node linkType: hard -"@eslint/js@npm:^8.46.0": - version: 8.46.0 - resolution: "@eslint/js@npm:8.46.0" - checksum: 7aed479832302882faf5bec37e9d068f270f84c19b3fb529646a7c1b031e73a312f730569c78806492bc09cfce3d7651dfab4ce09a56cbb06bc6469449e56377 +"@eslint/js@npm:^8.47.0": + version: 8.47.0 + resolution: "@eslint/js@npm:8.47.0" + checksum: 0ef57fe27b6d4c305b33f3b2d2fee1ab397a619006f1d6f4ce5ee4746b8f03d11a4e098805a7d78601ca534cf72917d37f0ac19896c992a32e26299ecb9f9de1 languageName: node linkType: hard @@ -1024,8 +1025,8 @@ __metadata: linkType: hard "@nomicfoundation/hardhat-chai-matchers@npm:^2.0.1": - version: 2.0.1 - resolution: "@nomicfoundation/hardhat-chai-matchers@npm:2.0.1" + version: 2.0.2 + resolution: "@nomicfoundation/hardhat-chai-matchers@npm:2.0.2" dependencies: "@types/chai-as-promised": ^7.1.3 chai-as-promised: ^7.1.1 @@ -1036,7 +1037,7 @@ __metadata: chai: ^4.2.0 ethers: ^6.1.0 hardhat: ^2.9.4 - checksum: 53b517a7840ea93c25e0a8faaf947ccb6f942b514b53c07bc9f5a55d88e2c9743faf907d0020b3847d2196df7fd2d82ad60ce4354b7d7be7ebc3c0313d03d243 + checksum: 62d7d69f6b34a06bc43fe0dab8adc9e3b6f907f1b68bb5cf47feb78a4c7ef057b9a4aa713611abeca38df9d8fe166bbd9bbf98e42c4edbdf7aece477b3f9485a languageName: node linkType: hard @@ -1117,8 +1118,8 @@ __metadata: linkType: hard "@nomicfoundation/hardhat-verify@npm:^1.0.0": - version: 1.1.0 - resolution: "@nomicfoundation/hardhat-verify@npm:1.1.0" + version: 1.1.1 + resolution: "@nomicfoundation/hardhat-verify@npm:1.1.1" dependencies: "@ethersproject/abi": ^5.1.2 "@ethersproject/address": ^5.0.2 @@ -1131,7 +1132,7 @@ __metadata: undici: ^5.14.0 peerDependencies: hardhat: ^2.0.4 - checksum: 9bfe2991d111f8bb1771c8c0f518ccc22f34eeda2ab8d82afadedc19c8079c8029a01d2ca77a7eb167f54bf33489cdfc199f61e3666880a037b74622d6b5f942 + checksum: 2d83d32d6833f23fb62c30c68c9a2ab3956098030edcf459e69639960f059c72572d203bcf92f191c69c9cb0fbbf011a1113bacde1e3cbb28d5e812334f04f32 languageName: node linkType: hard @@ -1510,7 +1511,7 @@ __metadata: prettier: 2.0.5 prettier-plugin-solidity: 1.0.0-beta.11 readline: ^1.3.0 - solhint: ^3.3.4 + solhint: 3.4.1 solhint-plugin-prettier: ^0.0.5 solidity-coverage: 0.8.2 ts-node: ^10.9.1 @@ -1785,12 +1786,12 @@ __metadata: languageName: node linkType: hard -"@smithy/types@npm:^2.0.2": - version: 2.0.2 - resolution: "@smithy/types@npm:2.0.2" +"@smithy/types@npm:^2.1.0": + version: 2.1.0 + resolution: "@smithy/types@npm:2.1.0" dependencies: tslib: ^2.5.0 - checksum: 4afdd7c77b212abd9e0770a1489057aa0470f8a59061c4fb2175b1f12e02180db3d85e16f2cd870a95c17bd28a5a4b8ef1dff1ade6852f85eafea12872d9588e + checksum: 15c61c1b6520ef21257b64e4be7c8334c1206db8f21c9fb301838b5e09699996060c4361e51d2c63ee972f8678df68a8a60e2dd18216ae70751393d9d4188c5a languageName: node linkType: hard @@ -1983,12 +1984,12 @@ __metadata: linkType: hard "@types/eslint@npm:^8": - version: 8.44.1 - resolution: "@types/eslint@npm:8.44.1" + version: 8.44.2 + resolution: "@types/eslint@npm:8.44.2" dependencies: "@types/estree": "*" "@types/json-schema": "*" - checksum: 8b45be72d3c22a1ee0b1cc7e7fb0e34e32bbf959e6b7e0e46d160c17894aedf159c1db5c85750f10068884c741eebc37a1cc7ea659de23a8df0c9a3203e2ff9d + checksum: 25b3ef61bae96350026593c9914c8a61ee02fde48ab8d568a73ee45032f13c0028c62e47a5ff78715af488dfe8e8bba913f7d30f859f60c7f9e639d328e80482 languageName: node linkType: hard @@ -2098,9 +2099,9 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:^20.2.5": - version: 20.4.6 - resolution: "@types/node@npm:20.4.6" - checksum: 28dfc13da87f579264840bc5b8a2cde2dcb93662464a0d58f0fa98eba1aae978e3c73e893474238c4a1226d0b1a14e3936520ff9795e1c4e06fad3282be83d18 + version: 20.4.9 + resolution: "@types/node@npm:20.4.9" + checksum: 504e3da96274f3865c1251830f4750bb0a8f6ef6f8648902cd3bba33370c5f219235471bfbf55cce726b25c8eacfcc8e2aad0ec3b13e27ea6708b00d4a9a46c8 languageName: node linkType: hard @@ -2601,13 +2602,11 @@ __metadata: linkType: hard "agentkeepalive@npm:^4.2.1": - version: 4.3.0 - resolution: "agentkeepalive@npm:4.3.0" + version: 4.5.0 + resolution: "agentkeepalive@npm:4.5.0" dependencies: - debug: ^4.1.0 - depd: ^2.0.0 humanize-ms: ^1.2.1 - checksum: 982453aa44c11a06826c836025e5162c846e1200adb56f2d075400da7d32d87021b3b0a58768d949d824811f5654223d5a8a3dad120921a2439625eb847c6260 + checksum: 13278cd5b125e51eddd5079f04d6fe0914ac1b8b91c1f3db2c1822f99ac1a7457869068997784342fe455d59daaff22e14fb7b8c3da4e741896e7e31faf92481 languageName: node linkType: hard @@ -2646,15 +2645,15 @@ __metadata: linkType: hard "amazon-cognito-identity-js@npm:^6.0.1": - version: 6.3.1 - resolution: "amazon-cognito-identity-js@npm:6.3.1" + version: 6.3.2 + resolution: "amazon-cognito-identity-js@npm:6.3.2" dependencies: "@aws-crypto/sha256-js": 1.2.2 buffer: 4.9.2 fast-base64-decode: ^1.0.0 isomorphic-unfetch: ^3.0.0 js-cookie: ^2.2.1 - checksum: a38d1c809417d2894613a2fba896434cad3514ed2a16ec6be8084b14788440a4829b50c0dd0ecae3c878ff76bcd1f8df1a862b545eeeb0ca219c6e28cdf598fc + checksum: e1855b1671bbe1017fd0c0204efef77586a5f1962e14942dc4a468060386e2e81a33f211b1a3560f3a6fecca591415aa725025ee91a6911be1985a346ac15a6a languageName: node linkType: hard @@ -3405,7 +3404,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.0, chalk@npm:^2.4.1, chalk@npm:^2.4.2": +"chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -3981,7 +3980,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": +"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.1, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -4117,7 +4116,7 @@ __metadata: languageName: node linkType: hard -"depd@npm:2.0.0, depd@npm:^2.0.0": +"depd@npm:2.0.0": version: 2.0.0 resolution: "depd@npm:2.0.0" checksum: abbe19c768c97ee2eed6282d8ce3031126662252c58d711f646921c9623f9052e3e1906443066beec1095832f534e57c523b7333f8e7e0d93051ab6baef5ab3a @@ -4676,10 +4675,10 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.2": - version: 3.4.2 - resolution: "eslint-visitor-keys@npm:3.4.2" - checksum: 9e0e7e4aaea705c097ae37c97410e5f167d4d2193be2edcb1f0760762ede3df01545e4820ae314f42dcec687745f2c6dcaf6d83575c4a2a241eb0c8517d724f2 +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 languageName: node linkType: hard @@ -4734,13 +4733,13 @@ __metadata: linkType: hard "eslint@npm:^8.41.0, eslint@npm:^8.43.0": - version: 8.46.0 - resolution: "eslint@npm:8.46.0" + version: 8.47.0 + resolution: "eslint@npm:8.47.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.1 - "@eslint/js": ^8.46.0 + "@eslint/eslintrc": ^2.1.2 + "@eslint/js": ^8.47.0 "@humanwhocodes/config-array": ^0.11.10 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -4751,7 +4750,7 @@ __metadata: doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.2 + eslint-visitor-keys: ^3.4.3 espree: ^9.6.1 esquery: ^1.4.2 esutils: ^2.0.2 @@ -4776,7 +4775,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 7a7d36b1a3bbc12e08fbb5bc36fd482a7a5a1797e62e762499dd45601b9e45aaa53a129f31ce0b4444551a9639b8b681ad535f379893dd1e3ae37b31dccd82aa + checksum: 1988617f703eadc5c7540468d54dc8e5171cf2bb9483f6172799cd1ff54a9a5e4470f003784e8cef92687eaa14de37172732787040e67817581a20bcb9c15970 languageName: node linkType: hard @@ -5966,11 +5965,11 @@ __metadata: linkType: hard "globals@npm:^13.19.0, globals@npm:^13.6.0, globals@npm:^13.9.0": - version: 13.20.0 - resolution: "globals@npm:13.20.0" + version: 13.21.0 + resolution: "globals@npm:13.21.0" dependencies: type-fest: ^0.20.2 - checksum: ad1ecf914bd051325faad281d02ea2c0b1df5d01bd94d368dcc5513340eac41d14b3c61af325768e3c7f8d44576e72780ec0b6f2d366121f8eec6e03c3a3b97a + checksum: 86c92ca8a04efd864c10852cd9abb1ebe6d447dcc72936783e66eaba1087d7dba5c9c3421a48d6ca722c319378754dbcc3f3f732dbe47592d7de908edf58a773 languageName: node linkType: hard @@ -6833,12 +6832,12 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.12.0": - version: 2.12.1 - resolution: "is-core-module@npm:2.12.1" +"is-core-module@npm:^2.13.0": + version: 2.13.0 + resolution: "is-core-module@npm:2.13.0" dependencies: has: ^1.0.3 - checksum: f04ea30533b5e62764e7b2e049d3157dc0abd95ef44275b32489ea2081176ac9746ffb1cdb107445cf1ff0e0dfcad522726ca27c27ece64dadf3795428b8e468 + checksum: 053ab101fb390bfeb2333360fd131387bed54e476b26860dc7f5a700bbf34a0ec4454f7c8c4d43e8a0030957e4b3db6e16d35e1890ea6fb654c833095e040355 languageName: node linkType: hard @@ -7110,15 +7109,15 @@ __metadata: linkType: hard "jackspeak@npm:^2.0.3": - version: 2.2.2 - resolution: "jackspeak@npm:2.2.2" + version: 2.2.3 + resolution: "jackspeak@npm:2.2.3" dependencies: "@isaacs/cliui": ^8.0.2 "@pkgjs/parseargs": ^0.11.0 dependenciesMeta: "@pkgjs/parseargs": optional: true - checksum: 7b1468dd910afc00642db87448f24b062346570b8b47531409aa9012bcb95fdf7ec2b1c48edbb8b57a938c08391f8cc01b5034fc335aa3a2e74dbcc0ee5c555a + checksum: 8add557045eb51f619d247ac9786dbfa7ee4d52a0eb3fb488c2637aecfd15d12c284a4ff7dead2c1aba34d6228d9452e4509fb771daae87793a48786b095ee07 languageName: node linkType: hard @@ -7688,9 +7687,9 @@ __metadata: linkType: hard "lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.0.0 - resolution: "lru-cache@npm:10.0.0" - checksum: 18f101675fe283bc09cda0ef1e3cc83781aeb8373b439f086f758d1d91b28730950db785999cd060d3c825a8571c03073e8c14512b6655af2188d623031baf50 + version: 10.0.1 + resolution: "lru-cache@npm:10.0.1" + checksum: 06f8d0e1ceabd76bb6f644a26dbb0b4c471b79c7b514c13c6856113879b3bf369eb7b497dad4ff2b7e2636db202412394865b33c332100876d838ad1372f0181 languageName: node linkType: hard @@ -9466,15 +9465,15 @@ __metadata: linkType: hard "resolve@npm:^1.1.6": - version: 1.22.3 - resolution: "resolve@npm:1.22.3" + version: 1.22.4 + resolution: "resolve@npm:1.22.4" dependencies: - is-core-module: ^2.12.0 + is-core-module: ^2.13.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: fb834b81348428cb545ff1b828a72ea28feb5a97c026a1cf40aa1008352c72811ff4d4e71f2035273dc536dcfcae20c13604ba6283c612d70fa0b6e44519c374 + checksum: 23f25174c2736ce24c6d918910e0d1f89b6b38fefa07a995dff864acd7863d59a7f049e691f93b4b2ee29696303390d921552b6d1b841ed4a8101f517e1d0124 languageName: node linkType: hard @@ -9495,15 +9494,15 @@ __metadata: linkType: hard "resolve@patch:resolve@^1.1.6#~builtin": - version: 1.22.3 - resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=c3c19d" + version: 1.22.4 + resolution: "resolve@patch:resolve@npm%3A1.22.4#~builtin::version=1.22.4&hash=c3c19d" dependencies: - is-core-module: ^2.12.0 + is-core-module: ^2.13.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: ad59734723b596d0891321c951592ed9015a77ce84907f89c9d9307dd0c06e11a67906a3e628c4cae143d3e44898603478af0ddeb2bba3f229a9373efe342665 + checksum: c45f2545fdc4d21883861b032789e20aa67a2f2692f68da320cc84d5724cd02f2923766c5354b3210897e88f1a7b3d6d2c7c22faeead8eed7078e4c783a444bc languageName: node linkType: hard @@ -9763,7 +9762,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.2.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8": +"semver@npm:^7.2.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -9989,7 +9988,7 @@ __metadata: languageName: node linkType: hard -"solhint@npm:^3.3.4, solhint@npm:^3.4.1": +"solhint@npm:3.4.1": version: 3.4.1 resolution: "solhint@npm:3.4.1" dependencies: @@ -10020,6 +10019,37 @@ __metadata: languageName: node linkType: hard +"solhint@npm:^3.4.1": + version: 3.5.1 + resolution: "solhint@npm:3.5.1" + dependencies: + "@solidity-parser/parser": ^0.16.0 + ajv: ^6.12.6 + antlr4: ^4.11.0 + ast-parents: ^0.0.1 + chalk: ^4.1.2 + commander: ^10.0.0 + cosmiconfig: ^8.0.0 + fast-diff: ^1.2.0 + glob: ^8.0.3 + ignore: ^5.2.4 + js-yaml: ^4.1.0 + lodash: ^4.17.21 + pluralize: ^8.0.0 + prettier: ^2.8.3 + semver: ^7.5.2 + strip-ansi: ^6.0.1 + table: ^6.8.1 + text-table: ^0.2.0 + dependenciesMeta: + prettier: + optional: true + bin: + solhint: solhint.js + checksum: ae24b8b95c65df3a075a26a26ce92b1a41297c738e43444df77c1be81e1be44e1838b151970de0b5164c94b17a96e981758d634473d3b574ab5dca2109176559 + languageName: node + linkType: hard + "solidity-ast@npm:^0.4.49": version: 0.4.49 resolution: "solidity-ast@npm:0.4.49"