@aws-sdk/util-hex-encoding
Advanced tools
Comparing version 3.55.0 to 3.58.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28) | ||
**Note:** Version bump only for package @aws-sdk/util-hex-encoding | ||
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21) | ||
@@ -8,0 +16,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": "@aws-sdk/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
32413