diff --git a/dist/SampleContract.dist.sol b/dist/SampleContract.dist.sol index eedfe50..e51a25e 100644 --- a/dist/SampleContract.dist.sol +++ b/dist/SampleContract.dist.sol @@ -2,7 +2,7 @@ // SPDX-License-Identifier: MIT -// File @openzeppelin/contracts/utils/Context.sol@v5.0.1 +// File @openzeppelin/contracts/utils/Context.sol@v5.0.2 // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) @@ -34,7 +34,7 @@ abstract contract Context { } -// File @openzeppelin/contracts/access/Ownable.sol@v5.0.1 +// File @openzeppelin/contracts/access/Ownable.sol@v5.0.2 // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) @@ -136,7 +136,7 @@ abstract contract Ownable is Context { } -// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v5.0.1 +// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v5.0.2 // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) @@ -165,7 +165,7 @@ interface IERC165 { } -// File @openzeppelin/contracts/token/ERC721/IERC721.sol@v5.0.1 +// File @openzeppelin/contracts/token/ERC721/IERC721.sol@v5.0.2 // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) @@ -302,7 +302,7 @@ interface IERC721 is IERC165 { } -// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v5.0.1 +// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v5.0.2 // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) @@ -385,7 +385,7 @@ interface IERC20 { } -// File eth-token-recover/contracts/recover/RecoverERC20.sol@v6.1.3 +// File eth-token-recover/contracts/recover/RecoverERC20.sol@v6.2.0 // Original license: SPDX_License_Identifier: MIT @@ -413,7 +413,7 @@ abstract contract RecoverERC20 { } -// File eth-token-recover/contracts/recover/RecoverERC721.sol@v6.1.3 +// File eth-token-recover/contracts/recover/RecoverERC721.sol@v6.2.0 // Original license: SPDX_License_Identifier: MIT @@ -446,7 +446,7 @@ abstract contract RecoverERC721 { } -// File eth-token-recover/contracts/TokenRecover.sol@v6.1.3 +// File eth-token-recover/contracts/TokenRecover.sol@v6.2.0 // Original license: SPDX_License_Identifier: MIT diff --git a/package-lock.json b/package-lock.json index 6f23003..a3a42d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@openzeppelin/contracts": "5.0.1", - "eth-token-recover": "6.1.3" + "@openzeppelin/contracts": "5.0.2", + "eth-token-recover": "6.2.0" }, "devDependencies": { "@nomiclabs/hardhat-truffle5": "^2.0.7", @@ -34,7 +34,7 @@ "sol2uml": "^2.5.20", "solhint": "^4.1.1", "solhint-plugin-openzeppelin": "file:scripts/solhint-custom", - "solidity-coverage": "^0.8.8", + "solidity-coverage": "^0.8.10", "solidity-docgen": "^0.6.0-beta.36", "surya": "^0.4.11", "truffle": "^5.11.5", @@ -2169,9 +2169,9 @@ } }, "node_modules/@openzeppelin/contracts": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-5.0.1.tgz", - "integrity": "sha512-yQJaT5HDp9hYOOp4jTYxMsR02gdFZFXhewX5HW9Jo4fsqSVqqyIO/xTHdWDaKX5a3pv1txmf076Lziz+sO7L1w==" + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-5.0.2.tgz", + "integrity": "sha512-ytPc6eLGcHHnapAZ9S+5qsdomhjo6QBHTDRRBFfTxXIpsicMhVPouPgmUPebZZZGX7vt9USA+Z+0M0dSVtSUEA==" }, "node_modules/@openzeppelin/test-helpers": { "version": "0.5.16", @@ -6015,6 +6015,7 @@ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz", "integrity": "sha512-DnhQwcFEaYsvYDnACLZhMmCWd3rkOeEvglpa4q5i/5Jlm3UIsWaxVzuXvDLFCSCWRO3yy2/+V/G7FusFgejnfQ==", "dev": true, + "optional": true, "dependencies": { "buffer": "^6.0.3", "catering": "^2.0.0", @@ -6046,6 +6047,7 @@ "url": "https://feross.org/support" } ], + "optional": true, "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -7821,6 +7823,7 @@ "resolved": "https://registry.npmjs.org/catering/-/catering-2.1.1.tgz", "integrity": "sha512-K7Qy8O9p76sL3/3m7/zLKbRkyOlSZAgzEaLhyj2mXS8PsCud2Eo4hAb8aLtZqHh0QGqLcb9dlJSu6lHRVENm1w==", "dev": true, + "optional": true, "engines": { "node": ">=6" } @@ -9474,6 +9477,7 @@ "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.4.1.tgz", "integrity": "sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ==", "dev": true, + "optional": true, "engines": { "node": ">=6" } @@ -10862,11 +10866,11 @@ } }, "node_modules/eth-token-recover": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/eth-token-recover/-/eth-token-recover-6.1.3.tgz", - "integrity": "sha512-hqs3MZtOkBZafBqNnt5038ilVEakSnqj8KYUr0729nKkCs+jlHzZfmMaY9JZdNtuJM0C69K0UElCtcW+UXIR7Q==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/eth-token-recover/-/eth-token-recover-6.2.0.tgz", + "integrity": "sha512-q0exWablngSuWMoLapWfSrH3Z0soItPPQyRuvFcUa8rpgXC5Xg4IEBXE+I3pkeOEkqdXXBNgZDxVxnP7OWVtew==", "dependencies": { - "@openzeppelin/contracts": "5.0.1" + "@openzeppelin/contracts": "5.0.2" } }, "node_modules/ethereum-bloom-filters": { @@ -16929,7 +16933,8 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz", "integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==", - "dev": true + "dev": true, + "optional": true }, "node_modules/immutable": { "version": "4.3.5", @@ -17140,6 +17145,7 @@ "url": "https://feross.org/support" } ], + "optional": true, "engines": { "node": ">=4" } @@ -17816,6 +17822,7 @@ "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-3.1.0.tgz", "integrity": "sha512-BWRCMHBxbIqPxJ8vHOvKUsaO0v1sLYZtjN3K2iZJsRBYtp+ONsY6Jfi6hy9K3+zolgQRryhIn2NRZjZnWJ9NmQ==", "dev": true, + "optional": true, "dependencies": { "catering": "^2.1.0" }, @@ -17923,6 +17930,7 @@ "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-2.1.0.tgz", "integrity": "sha512-E486g1NCjW5cF78KGPrMDRBYzPuueMZ6VBXHT6gC7A8UYWGiM14fGgp+s/L1oFfDWSPV/+SFkYCmZ0SiESkRKA==", "dev": true, + "optional": true, "engines": { "node": ">=10" } @@ -17943,6 +17951,7 @@ "integrity": "sha512-iB8O/7Db9lPaITU1aA2txU/cBEXAt4vWwKQRrrWuS6XDgbP4QZGj9BL2aNbwb002atoQ/lIotJkfyzz+ygQnUQ==", "dev": true, "hasInstallScript": true, + "optional": true, "dependencies": { "abstract-leveldown": "~6.2.1", "napi-macros": "~2.0.0", @@ -17957,6 +17966,7 @@ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz", "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==", "dev": true, + "optional": true, "dependencies": { "buffer": "^5.5.0", "immediate": "^3.2.3", @@ -17973,6 +17983,7 @@ "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz", "integrity": "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw==", "dev": true, + "optional": true, "engines": { "node": ">=6" } @@ -17982,6 +17993,7 @@ "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz", "integrity": "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==", "dev": true, + "optional": true, "dependencies": { "xtend": "^4.0.2" }, @@ -17994,6 +18006,7 @@ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.1.1.tgz", "integrity": "sha512-dSq1xmcPDKPZ2EED2S6zw/b9NKsqzXRE6dVr8TVQnI3FJOTteUMuqF3Qqs6LZg+mLGYJWqQzMbIjMtJqTv87nQ==", "dev": true, + "optional": true, "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -19126,7 +19139,8 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz", "integrity": "sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg==", - "dev": true + "dev": true, + "optional": true }, "node_modules/natural-compare": { "version": "1.4.0", @@ -22685,9 +22699,9 @@ "dev": true }, "node_modules/solidity-coverage": { - "version": "0.8.8", - "resolved": "https://registry.npmjs.org/solidity-coverage/-/solidity-coverage-0.8.8.tgz", - "integrity": "sha512-7RN6/8YAFMQNeMdSulARtE0VC5JitBAUMwvkr10FkOK+nux5q+WykrgSZntkWrX/VHzRa096P4OOViO0T9Q9Cw==", + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/solidity-coverage/-/solidity-coverage-0.8.10.tgz", + "integrity": "sha512-6nvlWLnCjBIVnCgTZiIo2XBI62O3YJuU83xj+bklnH/B+dXGTjuQB7SccZfysUC3LFkjtZO/KjzUJ/hiSlkXWw==", "dev": true, "dependencies": { "@ethersproject/abi": "^5.0.9", @@ -25770,6 +25784,7 @@ } }, "scripts/solhint-custom": { + "name": "solhint-plugin-openzeppelin", "version": "0.0.0", "dev": true } diff --git a/package.json b/package.json index 80ec2bb..d91fef2 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "sol2uml": "^2.5.20", "solhint": "^4.1.1", "solhint-plugin-openzeppelin": "file:scripts/solhint-custom", - "solidity-coverage": "^0.8.8", + "solidity-coverage": "^0.8.10", "solidity-docgen": "^0.6.0-beta.36", "surya": "^0.4.11", "truffle": "^5.11.5", @@ -82,8 +82,8 @@ "yargs": "^17.7.2" }, "dependencies": { - "@openzeppelin/contracts": "5.0.1", - "eth-token-recover": "6.1.3" + "@openzeppelin/contracts": "5.0.2", + "eth-token-recover": "6.2.0" }, "overrides": { "truffle-flattener": {