@nomicfoundation/hardhat-toolbox
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -23,5 +23,6 @@ "use strict"; | ||
// hardhat-gas-reporter doesn't use extendConfig, so | ||
// config.gasReporter === userConfig.gasReporter | ||
// we use userConfig.gasReporter here for the types | ||
const gasReporterConfig = userConfig.gasReporter; | ||
// the values of config.gasReporter and userConfig.gasReporter | ||
// are the same. The userConfigVersion is frozen though, so we | ||
// shouldn't use it. | ||
const gasReporterConfig = configAsAny.gasReporter; | ||
configAsAny.gasReporter = gasReporterConfig !== null && gasReporterConfig !== void 0 ? gasReporterConfig : {}; | ||
@@ -28,0 +29,0 @@ if ((gasReporterConfig === null || gasReporterConfig === void 0 ? void 0 : gasReporterConfig.enabled) === undefined) { |
{ | ||
"name": "@nomicfoundation/hardhat-toolbox", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Nomic Foundation's recommended bundle of Hardhat plugins", | ||
@@ -27,2 +27,3 @@ "repository": "github:nomicfoundation/hardhat", | ||
"build": "tsc --build .", | ||
"prepublishOnly": "yarn build", | ||
"clean": "rimraf dist" | ||
@@ -29,0 +30,0 @@ }, |
@@ -23,5 +23,7 @@ import "@nomicfoundation/hardhat-chai-matchers"; | ||
// hardhat-gas-reporter doesn't use extendConfig, so | ||
// config.gasReporter === userConfig.gasReporter | ||
// we use userConfig.gasReporter here for the types | ||
const gasReporterConfig = userConfig.gasReporter; | ||
// the values of config.gasReporter and userConfig.gasReporter | ||
// are the same. The userConfigVersion is frozen though, so we | ||
// shouldn't use it. | ||
const gasReporterConfig = | ||
configAsAny.gasReporter as typeof userConfig.gasReporter; | ||
@@ -28,0 +30,0 @@ configAsAny.gasReporter = gasReporterConfig ?? {}; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
11596
85
1