etherscan-link
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -6,4 +6,4 @@ const prefixForNetwork = require('./prefix-for-network') | ||
const prefix = prefixForNetwork(network) | ||
return 'http://' + prefix + 'etherscan.io/address/' + address | ||
return 'https://' + prefix + 'etherscan.io/address/' + address | ||
} | ||
@@ -5,3 +5,3 @@ const prefixForNetwork = require('./prefix-for-network') | ||
const prefix = prefixForNetwork(network) | ||
return 'http://' + prefix + 'etherscan.io/tx/' + hash | ||
return 'https://' + prefix + 'etherscan.io/tx/' + hash | ||
} |
{ | ||
"name": "etherscan-link", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "A library for generating etherscan links.", | ||
"main": "index.js", | ||
"files": [ | ||
"account-link.js", | ||
"explorer-link.js", | ||
"index.js", | ||
"prefix-for-network.js" | ||
], | ||
"scripts": { | ||
@@ -25,4 +31,4 @@ "test": "mocha" | ||
"devDependencies": { | ||
"mocha": "^4.0.1" | ||
"mocha": "^7.1.1" | ||
} | ||
} |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
3376
8
38
1
1