diff --git a/ethpm.json b/ethpm.json index c8c5e51..0e06360 100644 --- a/ethpm.json +++ b/ethpm.json @@ -1,6 +1,6 @@ { "package_name": "eth-token-recover", - "version": "2.4.0", + "version": "2.4.1", "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 c2c67cb..95f1a4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eth-token-recover", - "version": "2.4.0", + "version": "2.4.1", "description": "TokenRecover allows the contract owner to recover any ERC20 token sent into the contract for error", "files": [ "contracts", @@ -48,6 +48,7 @@ "@nomiclabs/buidler": "^1.0.1", "@nomiclabs/buidler-truffle5": "^1.0.1", "@nomiclabs/buidler-web3": "^1.0.1", + "@openzeppelin/test-helpers": "^0.5.3", "chai": "^4.2.0", "coveralls": "^3.0.7", "eslint": "^6.6.0", @@ -57,15 +58,14 @@ "eslint-plugin-node": "^10.0.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1", - "ethereumjs-util": "^6.1.0", + "ethereumjs-util": "^6.2.0", "ethjs-abi": "^0.2.1", "ganache-cli": "^6.7.0", "ganache-cli-coverage": "https://github.com/frangio/ganache-cli/releases/download/v6.4.1-coverage/ganache-cli-coverage-6.4.1.tgz", - "openzeppelin-test-helpers": "^0.5.1", "pify": "^4.0.1", "solhint": "^2.3.0", "solidity-coverage": "github:rotcivegaf/solidity-coverage#5875f5b7bc74d447f3312c9c0e9fc7814b482477", - "truffle": "^5.0.43", + "truffle": "^5.0.44", "vuepress": "^0.14.11", "web3": "^1.2.2" } diff --git a/test/TokenRecover.behaviour.js b/test/TokenRecover.behaviour.js index fb0e2d8..eaef5ea 100644 --- a/test/TokenRecover.behaviour.js +++ b/test/TokenRecover.behaviour.js @@ -1,4 +1,4 @@ -const { BN, expectRevert } = require('openzeppelin-test-helpers'); +const { BN, expectRevert } = require('@openzeppelin/test-helpers'); const { shouldBehaveLikeOwnable } = require('./ownership/Ownable.behavior'); diff --git a/test/ownership/Ownable.behavior.js b/test/ownership/Ownable.behavior.js index 348d313..94e342c 100644 --- a/test/ownership/Ownable.behavior.js +++ b/test/ownership/Ownable.behavior.js @@ -1,4 +1,4 @@ -const { constants, expectEvent, expectRevert } = require('openzeppelin-test-helpers'); +const { constants, expectEvent, expectRevert } = require('@openzeppelin/test-helpers'); const { ZERO_ADDRESS } = constants; function shouldBehaveLikeOwnable (owner, [anyone]) {