normalize-hex
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"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') | ||
}) |
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
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
5325
66