diff --git a/.solhint.json b/.solhint.json index c1f6524..02f8e5d 100644 --- a/.solhint.json +++ b/.solhint.json @@ -9,6 +9,6 @@ "separate-by-one-line-in-contract": "off", "two-lines-top-level-separator": "off", "mark-callable-contracts": "off", - "compiler-version": ["error", "^0.5.15"] + "compiler-version": ["error", "^0.5.16"] } } diff --git a/README.md b/README.md index 4cbc297..a9130b7 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ npm install eth-token-recover ## Usage ```solidity -pragma solidity ^0.5.15; +pragma solidity ^0.5.16; import "eth-token-recover/contracts/TokenRecover.sol"; diff --git a/buidler.config.js b/buidler.config.js index c5e4493..66ec3d6 100644 --- a/buidler.config.js +++ b/buidler.config.js @@ -9,7 +9,7 @@ module.exports = { }, }, solc: { - version: '0.5.15', + version: '0.5.16', evmVersion: 'istanbul', optimizer: { enabled: true, diff --git a/contracts/TokenRecover.sol b/contracts/TokenRecover.sol index 7e6acd6..07e44a5 100644 --- a/contracts/TokenRecover.sol +++ b/contracts/TokenRecover.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.5.15; +pragma solidity ^0.5.16; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; diff --git a/contracts/mocks/ERC20Mock.sol b/contracts/mocks/ERC20Mock.sol index c3831cc..8e328b5 100644 --- a/contracts/mocks/ERC20Mock.sol +++ b/contracts/mocks/ERC20Mock.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.5.15; +pragma solidity ^0.5.16; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/ethpm.json b/ethpm.json index 0e06360..417fcc3 100644 --- a/ethpm.json +++ b/ethpm.json @@ -1,6 +1,6 @@ { "package_name": "eth-token-recover", - "version": "2.4.1", + "version": "2.4.3", "description": "TokenRecover allows the contract owner to recover any ERC20 token sent into the contract for error", "authors": [ "Vittorio Minacori (https://github.com/vittominacori)" diff --git a/package.json b/package.json index bd80015..2d34193 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eth-token-recover", - "version": "2.4.2", + "version": "2.4.3", "description": "TokenRecover allows the contract owner to recover any ERC20 token sent into the contract for error", "files": [ "contracts", @@ -55,7 +55,7 @@ "eslint-config-standard": "^14.1.0", "eslint-plugin-import": "^2.19.1", "eslint-plugin-mocha-no-only": "^1.1.0", - "eslint-plugin-node": "^10.0.0", + "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1", "ethereumjs-util": "^6.2.0", @@ -63,8 +63,8 @@ "ganache-cli": "^6.8.0-istanbul.0", "pify": "^4.0.1", "solhint": "^2.3.0", - "solidity-coverage": "^0.7.0-beta.3", - "truffle": "^5.1.5", + "solidity-coverage": "^0.7.0", + "truffle": "^5.1.6", "vuepress": "^0.14.11", "web3": "^1.2.4" } diff --git a/truffle-config.js b/truffle-config.js index 048d3d5..d6bd4e3 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -1,7 +1,7 @@ require('chai/register-should'); const solcStable = { - version: '0.5.15', + version: '0.5.16', settings: { optimizer: { enabled: true,