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

@openzeppelin/hardhat-upgrades

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openzeppelin/hardhat-upgrades - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

5

dist/utils/etherscan-api.js

@@ -19,7 +19,6 @@ "use strict";

async function callEtherscanApi(etherscan, params) {
const parameters = new URLSearchParams({ ...params, apikey: etherscan.apiKey });
const parameters = { ...params, apikey: etherscan.apiKey };
const response = await (0, undici_1.request)(etherscan.apiUrl, {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: parameters.toString(),
query: parameters,
});

@@ -26,0 +25,0 @@ if (!(response.statusCode >= 200 && response.statusCode <= 299)) {

4

package.json
{
"name": "@openzeppelin/hardhat-upgrades",
"version": "3.0.1",
"version": "3.0.2",
"description": "",

@@ -60,3 +60,3 @@ "repository": "https://github.com/OpenZeppelin/openzeppelin-upgrades/tree/master/packages/plugin-hardhat",

},
"gitHead": "54a2ed54a7367e595763e645aee21c4363b22482"
"gitHead": "25dbafa315416a1a95f39793256476bd8131731c"
}

@@ -17,8 +17,6 @@ import { UpgradesError } from '@openzeppelin/upgrades-core';

export async function callEtherscanApi(etherscan: Etherscan, params: any): Promise<EtherscanResponseBody> {
const parameters = new URLSearchParams({ ...params, apikey: etherscan.apiKey });
const parameters = { ...params, apikey: etherscan.apiKey };
const response = await request(etherscan.apiUrl, {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: parameters.toString(),
query: parameters,
});

@@ -25,0 +23,0 @@

Sorry, the diff of this file is not supported yet

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