@trivikr-test/util-hex-encoding
Advanced tools
Comparing version 3.55.0 to 3.58.0
@@ -20,3 +20,3 @@ "use strict"; | ||
for (let i = 0; i < encoded.length; i += 2) { | ||
const encodedByte = encoded.substr(i, 2).toLowerCase(); | ||
const encodedByte = encoded.slice(i, i + 2).toLowerCase(); | ||
if (encodedByte in HEX_TO_SHORT) { | ||
@@ -23,0 +23,0 @@ out[i / 2] = HEX_TO_SHORT[encodedByte]; |
@@ -17,3 +17,3 @@ var SHORT_TO_HEX = {}; | ||
for (var i = 0; i < encoded.length; i += 2) { | ||
var encodedByte = encoded.substr(i, 2).toLowerCase(); | ||
var encodedByte = encoded.slice(i, i + 2).toLowerCase(); | ||
if (encodedByte in HEX_TO_SHORT) { | ||
@@ -20,0 +20,0 @@ out[i / 2] = HEX_TO_SHORT[encodedByte]; |
{ | ||
"name": "@trivikr-test/util-hex-encoding", | ||
"version": "3.55.0", | ||
"version": "3.58.0", | ||
"description": "Converts binary buffers to and from lowercase hexadecimal encoding", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
15837