@openzeppelin/hardhat-upgrades
Advanced tools
Comparing version 1.3.1 to 1.4.0
# Changelog | ||
## 1.4.0 (2020-11-24) | ||
- Add `silenceWarnings` to emit a single warning and silence all subsequent ones. ([#228](https://github.com/OpenZeppelin/openzeppelin-upgrades/pull/228)) | ||
## 1.3.1 (2020-11-18) | ||
@@ -4,0 +8,0 @@ |
@@ -24,3 +24,5 @@ "use strict"; | ||
const { makeUpgradeProxy, makePrepareUpgrade } = require('./upgrade-proxy'); | ||
const { silenceWarnings } = require('@openzeppelin/upgrades-core'); | ||
return { | ||
silenceWarnings, | ||
deployProxy: makeDeployProxy(hre), | ||
@@ -27,0 +29,0 @@ upgradeProxy: makeUpgradeProxy(hre), |
import 'hardhat/types/runtime'; | ||
import type { silenceWarnings } from '@openzeppelin/upgrades-core'; | ||
import type { DeployFunction } from './deploy-proxy'; | ||
@@ -10,2 +11,3 @@ import type { UpgradeFunction, PrepareUpgradeFunction } from './upgrade-proxy'; | ||
prepareUpgrade: PrepareUpgradeFunction; | ||
silenceWarnings: typeof silenceWarnings; | ||
}; | ||
@@ -12,0 +14,0 @@ } |
{ | ||
"name": "@openzeppelin/hardhat-upgrades", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "", | ||
@@ -34,3 +34,3 @@ "repository": "https://github.com/OpenZeppelin/openzeppelin-upgrades/tree/master/packages/plugin-hardhat", | ||
"dependencies": { | ||
"@openzeppelin/upgrades-core": "^1.3.0" | ||
"@openzeppelin/upgrades-core": "^1.4.0" | ||
}, | ||
@@ -40,4 +40,3 @@ "peerDependencies": { | ||
"hardhat": "^2.0.2" | ||
}, | ||
"gitHead": "5ff07ae4a543df406ef8e4a864a2a41a711eebc8" | ||
} | ||
} |
@@ -29,4 +29,6 @@ /* eslint-disable @typescript-eslint/no-var-requires */ | ||
const { makeUpgradeProxy, makePrepareUpgrade } = require('./upgrade-proxy'); | ||
const { silenceWarnings } = require('@openzeppelin/upgrades-core'); | ||
return { | ||
silenceWarnings, | ||
deployProxy: makeDeployProxy(hre), | ||
@@ -33,0 +35,0 @@ upgradeProxy: makeUpgradeProxy(hre), |
import 'hardhat/types/runtime'; | ||
import type { silenceWarnings } from '@openzeppelin/upgrades-core'; | ||
import type { DeployFunction } from './deploy-proxy'; | ||
@@ -12,4 +13,5 @@ import type { UpgradeFunction, PrepareUpgradeFunction } from './upgrade-proxy'; | ||
prepareUpgrade: PrepareUpgradeFunction; | ||
silenceWarnings: typeof silenceWarnings; | ||
}; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
589
47897
48