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

normalize-hex

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-hex - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "normalize-hex",
"version": "0.0.5",
"version": "0.0.6",
"description": "Normalize a hex string",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,3 +5,3 @@ const test = require('tape')

test('normalizeHex', t => {
t.plan(19)
t.plan(20)

@@ -27,2 +27,3 @@ t.equal(normalizeHex(), '0')

t.equal(normalizeHex('0x', {evenLength: true, addPrefix: true}), '0x00')
t.equal(normalizeHex('0x4d703b30964c3581dd015fa5efa9e9216f3ae98cf37a7d3a06ccda02d858ff01', {addPrefix: true}), '0x4d703b30964c3581dd015fa5efa9e9216f3ae98cf37a7d3a06ccda02d858ff01')
})
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