Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nomicfoundation/hardhat-toolbox

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nomicfoundation/hardhat-toolbox - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

dist/src/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc