Skip to content

Commit

Permalink
fix: dont normalize hex input string
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Feb 11, 2025
1 parent 6f33e93 commit 0fb4d68
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/iso-base/src/rfc4648.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ export function rfc4648(base, padding = false, normalize) {
return {
encode(input, pad) {
if (typeof input === 'string') {
if (normalize) {
input = normalize(input)
}
input = utf8.decode(input)
}

Expand Down

0 comments on commit 0fb4d68

Please sign in to comment.